Hi all,
I'm having some issues when the gmcp message I'm getting is too big, I even have to reinstall the plugin when it breaks so it can work well again. I adapted the GMCP_handler_NJG and GMCP_message_receiver_test given as example on my MUD.
The error I'm getting is:
Anyone have any idea how to solve it?
Thank you
I'm having some issues when the gmcp message I'm getting is too big, I even have to reinstall the plugin when it breaks so it can work well again. I adapted the GMCP_handler_NJG and GMCP_message_receiver_test given as example on my MUD.
The error I'm getting is:
Quote:
Run-time error
Plugin: GMCP_message_receiver_test (called from world: Avatar)
Function/Sub: OnPluginBroadcast called by Plugin GMCP_message_receiver_test
Reason: Executing plugin GMCP_message_receiver_test sub OnPluginBroadcast
C:\MUSHclient\lua\json\decode\util.lua:35: unexpected character @ character: 61 0:61 ["] line:
{ "location": "inv", "item": { "id": "15574945478", "name": "
stack traceback:
[C]: in function 'error'
C:\MUSHclient\lua\json\decode\util.lua:35: in function <C:\MUSHclient\lua\json\decode\util.lua:32>
[C]: in function 'match'
C:\MUSHclient\lua\json\decode.lua:74: in function <C:\MUSHclient\lua\json\decode.lua:72>
(tail call): ?
(tail call): ?
[string "Plugin: GMCP_message_receiver_test"]:262: in function <[string "Plugin: GMCP_message_receiver_test"]:245>
Run-time error
Plugin: GMCP_message_receiver_test (called from world: Avatar)
Function/Sub: OnPluginBroadcast called by Plugin GMCP_message_receiver_test
Reason: Executing plugin GMCP_message_receiver_test sub OnPluginBroadcast
C:\MUSHclient\lua\json\decode\util.lua:35: unexpected character @ character: 61 0:61 ["] line:
{ "location": "inv", "item": { "id": "15574945478", "name": "
stack traceback:
[C]: in function 'error'
C:\MUSHclient\lua\json\decode\util.lua:35: in function <C:\MUSHclient\lua\json\decode\util.lua:32>
[C]: in function 'match'
C:\MUSHclient\lua\json\decode.lua:74: in function <C:\MUSHclient\lua\json\decode.lua:72>
(tail call): ?
(tail call): ?
[string "Plugin: GMCP_message_receiver_test"]:262: in function <[string "Plugin: GMCP_message_receiver_test"]:245>
Anyone have any idea how to solve it?
Thank you