Library used to execute functions or script send from server. Available with npc v1.6 beta onwards.
ServerData Identifier
LibRPC when loaded works on server data whose first four bytes is the following:
Offset
|
Type
|
Value
|
0
|
Integer
|
0x40000000
|
ServerData structure
Offset
|
Type
|
Value
|
|
4
|
Character
|
'F' or 'G'
|
Function
|
Function structure
Offset*
|
Type
|
Value
|
0
|
Character
|
'F'
|
1-4
|
Unsigned Integer
|
size of the function buffer
|
5-6
|
unsigned short
|
length of the function name
|
7 - 7+len(funcname)-1
|
characters
|
Function Name
|
7+len - ...
|
...
|
...
|