SphereCommunity
Invalid code=1107 - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Invalid code=1107 (/Thread-Invalid-code-1107)



Invalid code=1107 - pushim - 05-05-2019 08:16 AM

I testing a vendor system by cloud, but when i have a world save the npc is deleted and show this error in the console, what are the reason?

Code:
ERROR:UID=040001935, id=04559 'memory falas', Invalid code=1107 (In game char that is neither a player nor an NPC)
ERROR:UID=040001936, id=0a25 'lantern', Invalid code=1107 (In game char that is neither a player nor an NPC)
ERROR:UID=040001937, id=01f7b 'doublet', Invalid code=1107 (In game char that is neither a player nor an NPC)
ERROR:UID=040001938, id=01537 'kilt', Invalid code=1107 (In game char that is neither a player nor an NPC)
ERROR:UID=040001939, id=0170b 'boots', Invalid code=1107 (In game char that is neither a player nor an NPC)
ERROR:UID=04000193a, id=01713 'floppy hat', Invalid code=1107 (In game char that is neither a player nor an NPC)
ERROR:UID=04000193b, id=0e75 'backpack', Invalid code=1107 (In game char that is neither a player nor an NPC)
ERROR:UID=04000193d, id=02049 '2-tails Hair', Invalid code=1107 (In game char that is neither a player nor an NPC)
ERROR:UID=04000193e, id=01647 'light source', Invalid code=1107 (In game char that is neither a player nor an NPC)
ERROR:UID=0193f, id=0653d 'Harden', Invalid code=1205 (In game char that is neither a player nor an NPC)



RE: Invalid code=1107 - Coruja - 05-07-2019 05:20 AM

nah the script is too huge to check each line

but anyway taking a quick look in just some few seconds I found that chardef c_vendor_pod doesn't have any NPC brain set. So try add the brain to check if it works
Code:
[CHARDEF c_vendor_pod]
...
ON=@Create
NPC=brain_human    //add this line



RE: Invalid code=1107 - pushim - 05-14-2019 12:52 PM

You're the best Wink