Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-30-2003, 01:38 AM
KainM0rbid KainM0rbid is offline
Registered User
Join Date: Jun 2003
Location: Centreville, VA. U.S.A.
Posts: 4
KainM0rbid is on a distinguished road
Send a message via AIM to KainM0rbid
Exclamation 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
__________________
"...and God said let there be Graal,
and there was Graal."
~Me
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:06 PM.


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