Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   NPC-Server DB NPC List.... (https://forums.graalonline.com/forums/showthread.php?t=45853)

KainM0rbid 06-30-2003 01:38 AM

NPC-Server DB NPC List....
 
Whenever the NPC Server is disconnected then called back everything is restored BUT the DB NPCs are only visible through the levels they're in (you can't see them in the DB NPC List) the only way I have found to be able to put them back in the list is to delete them locally with the following code
NPC Code:

if (playerenters) {
for (i=0; i<npcscount; i++) {
with (npcs[i]) {
if (strequals(#N,<db npc's name>)) {
destroy;
}
}
}
}


and then re-adding them to the DB NPC List.
also, if you try adding the NPCs BACK into the list without the code above in the level they're in, it says that there is already one of that name, but still doesn't show the npc in the db npcs list.

This is a real pain in the arse and should be fixed.

---Kain Morbid


All times are GMT +2. The time now is 10:49 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.