User contributions for Habi
Jump to navigation
Jump to search
27 June 2023
- 05:0505:05, 27 June 2023 diff hist +86 LibRPC Z No edit summary
- 05:0105:01, 27 June 2023 diff hist +6 LibRPC Z No edit summary
- 05:0005:00, 27 June 2023 diff hist +457 LibRPC Z No edit summary
- 04:5104:51, 27 June 2023 diff hist +678 N LibRPC Z Created page with "{{Welcome|desc=Creates userdata when passed to RFC/F/Fa/RFCa has the effect of rawget. Unlike other functions, this is a first order function.| params=<source lang="lua">( p1, p2, ... )</source> <poem> ::p1 : If string, a rawget will be performed on the roottable when executed on remote side. Optional Parameters ::p2, p3, ... : A key which will be popped and get operation performed on p(i-1) </poem>| example= {{{!}} class="wikitable" {{!}}- ! Goal ! Corresponding code !..."
- 04:1704:17, 27 June 2023 diff hist 0 LibRPC →Calling Functions of VCMP Server
26 June 2023
25 June 2023
- 09:5109:51, 25 June 2023 diff hist +67 LibRPC Fa No edit summary current
- 08:1208:12, 25 June 2023 diff hist +220 LibRPC Fa No edit summary
- 08:0608:06, 25 June 2023 diff hist −141 LibRPC Fa No edit summary
- 08:0508:05, 25 June 2023 diff hist +893 N LibRPC Fa Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f2f4e6; padding: 1em;"> This function was added in LibRPC (API 1.3) (not released as on writing this page) and will not work on previous versions. </poem> {{Welcome|desc=This will return a userdata which can be passed either to the first order parameter or any of the second order parameters of functions F, Fa, RFC and RFCa.| params=<syntaxhighlight>[string]funcname or [userdata]</syntaxhighlight> <poem> ::funcnam..."
- 07:4907:49, 25 June 2023 diff hist +40 LibRPC →Calling Functions of VCMP Server
- 05:5205:52, 25 June 2023 diff hist +11 LibRPC Examples →The Problem current
- 05:5105:51, 25 June 2023 diff hist −1 LibRPC Examples →The Problem
- 05:5005:50, 25 June 2023 diff hist −15 LibRPC Examples →The Problem
- 05:4905:49, 25 June 2023 diff hist −1 LibRPC Examples →The Problem
- 05:4905:49, 25 June 2023 diff hist −14 LibRPC Examples →The Problem
- 05:4805:48, 25 June 2023 diff hist +1 LibRPC Examples →The Problem
- 05:4705:47, 25 June 2023 diff hist +45 LibRPC Examples →The Problem
- 05:4605:46, 25 June 2023 diff hist +51 LibRPC Examples →The Problem
- 05:4505:45, 25 June 2023 diff hist +20 LibRPC Examples →The Problem
- 05:3305:33, 25 June 2023 diff hist +1 LibRPC Examples →The Working
- 05:3205:32, 25 June 2023 diff hist +121 LibRPC Examples →The Working
- 05:2805:28, 25 June 2023 diff hist +23 LibRPC Examples →The Working
- 05:2605:26, 25 June 2023 diff hist +205 LibRPC Examples →The Working
- 05:2205:22, 25 June 2023 diff hist +46 LibRPC Examples →The Working
- 05:2005:20, 25 June 2023 diff hist +11 LibRPC Examples →The Working
24 June 2023
- 17:4517:45, 24 June 2023 diff hist −3 ReadByte No edit summary current
- 17:4517:45, 24 June 2023 diff hist −2 ReadInt No edit summary current
- 17:4417:44, 24 June 2023 diff hist +490 N ReadString Created page with "{{Welcome|desc=This will read a string from the blob of onServerData.|params=<source lang="lua">( data )</source><poem> ::data : The blob obtained from onServerData </poem>| example=<source lang="lua"> function OnServerData( data ) { local a = ReadString(data); print("I received string " + a + " from server\n"); } </source>| retvals=The function returns the string on success. On failure throw error.| relfuncs=*ReadInt *ReadFloat *ReadByte *O..." current
- 17:4417:44, 24 June 2023 diff hist +487 N ReadFloat Created page with "{{Welcome|desc=This will read a float from the blob of onServerData.|params=<source lang="lua">( data )</source><poem> ::data : The blob obtained from onServerData </poem>| example=<source lang="lua"> function OnServerData( data ) { local a = ReadFloat(data); print("I received float " + a + " from server\n"); } </source>| retvals=The function returns the float on success. On failure throw error.| relfuncs=*ReadInt *ReadByte *ReadString *OnSe..." current
- 17:4317:43, 24 June 2023 diff hist +487 N ReadByte Created page with "{{Welcome|desc=This will read a byte from the blob of onServerData.|params=<source lang="lua">( data )</source><poem> ::data : The blob obtained from onServerData </poem>| example=<source lang="lua"> function OnServerData( data ) { local a = ReadByte(data); print("I received byte " + a + " from server\n"); } </source>| retvals=The function returns the integer on success. On failure throw error.| relfuncs=*ReadInt *ReadFloat *ReadString *OnSe..."
- 17:4117:41, 24 June 2023 diff hist −21 ReadInt No edit summary
- 17:4017:40, 24 June 2023 diff hist +535 N ReadInt Created page with "local a= ReadInt(data); {{Welcome|desc=This will read an integer(4 bytes) from the given blob obtained from onServerData.|params=<source lang="lua">( data )</source><poem> ::data : The blob obtained from onServerData </poem>| example=<source lang="lua"> function OnServerData( data ) { local a= ReadInt(data); print("I received " + a + " from server\n"); } </source>| retvals=The function returns the integer on success. On failure throw error.| relfuncs=*Rea..."
- 17:3517:35, 24 June 2023 diff hist +1 WriteString No edit summary current
- 17:3417:34, 24 June 2023 diff hist +475 N WriteString Created page with "{{Welcome|desc=This will write a string to the given blob which can be later passed to SendServerData.|params=<source lang="lua">( b, str )</source><poem> ::b : The blob in which to write the integer. ::str: The string to be written </poem>| example=<source lang="lua"> local b=blob(); WriteString(b, "BodyPart-Head" ); SendServerData(b);</source>| retvals=The function returns true on success.| relfuncs=*WriteByte *WriteFloat *WriteInt *SendServerData}}"
- 17:3317:33, 24 June 2023 diff hist +467 N WriteFloat Created page with "{{Welcome|desc=This will write a float to the given blob which can be later passed to SendServerData.|params=<source lang="lua">( b, f )</source><poem> ::b : The blob in which to write the integer. ::f : The float value to be written </poem>| example=<source lang="lua"> local b=blob(); WriteInt(b, 100.1234 ); SendServerData(b);</source>| retvals=The function returns true on success.| relfuncs=*WriteByte *WriteInt *WriteString *SendServerData}}" current
- 17:3217:32, 24 June 2023 diff hist +480 N WriteByte Created page with "{{Welcome|desc=This will write one byte(0-255) to the given blob which can be later passed to SendServerData.|params=<source lang="lua">( b, byte )</source><poem> ::b : The blob in which to write the integer. ::byte : The byte( 0-255 ) to be written </poem>| example=<source lang="lua"> local b=blob(); WriteByte(b, 100 ); SendServerData(b);</source>| retvals=The function returns true on success.| relfuncs=*WriteInt *WriteFloat *WriteString *SendServerDat..." current
- 05:5205:52, 24 June 2023 diff hist +95 WriteInt No edit summary current
- 05:5005:50, 24 June 2023 diff hist +57 WriteInt No edit summary
- 05:4305:43, 24 June 2023 diff hist +17 WriteInt No edit summary
- 05:4205:42, 24 June 2023 diff hist +61 WriteInt No edit summary
- 05:4005:40, 24 June 2023 diff hist +1 WriteInt No edit summary
- 05:3905:39, 24 June 2023 diff hist +168 WriteInt No edit summary
- 05:3505:35, 24 June 2023 diff hist +80 N WriteInt Created page with "{{Welcome|desc=This will write an integer to the given blob.|params=( b, int )}}"
- 05:2505:25, 24 June 2023 diff hist −2 Walking man →Other side
8 June 2023
- 12:5112:51, 8 June 2023 diff hist +20 LibRPC Examples →Example Three: Tough One
- 12:5012:50, 8 June 2023 diff hist +47 LibRPC Examples →Notes
- 12:4812:48, 8 June 2023 diff hist +15 LibRPC Examples →Notes
- 12:4812:48, 8 June 2023 diff hist +411 LibRPC Examples No edit summary
- 12:4112:41, 8 June 2023 diff hist +10 LibRPC Examples →Other Examples