Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File
Line
Function
/inc/functions.php
3388
errorHandler->error
/showthread.php
116
build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File
Line
Function
/inc/functions.php
3331
errorHandler->error
/inc/functions.php
3324
build_forum_breadcrumb
/showthread.php
195
build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
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)
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
05-07-2019 05:20 AM
The following 1 user Likes Coruja's post:1 user Likes Coruja's post pushim (05-14-2019)