Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > NPC Server
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-22-2002, 12:31 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Exclamation NPC Server Question

when i say /stats in RC it lists something :

Top ten of npcs taken most CPU time:

What does npcs that take the most CPU time mean?
  #2  
Old 08-22-2002, 12:38 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
it means what NPCs are taking the LONGEST ammount of time to execute
  #3  
Old 08-22-2002, 12:41 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Quote:
Originally posted by Python523
it means what NPCs are taking the LONGEST ammount of time to execute
if this is true is there a such thing as ghost npcs?
the level doesnt exist anymore but the npcs are still in the level and are in the list of the top 10
  #4  
Old 08-22-2002, 12:44 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by user13-xo


if this is true is there a such thing as ghost npcs?
the level doesnt exist anymore but the npcs are still in the level and are in the list of the top 10
try updating the level and wait for the nc list to update, usually the NPCs do not update right away if you just delete/(re)upload a level
  #5  
Old 08-22-2002, 12:47 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Quote:
Originally posted by Python523

try updating the level and wait for the nc list to update, usually the NPCs do not update right away if you just delete/(re)upload a level
my co manager and I have already tried updating the level with it there and with it not there, the npc still remains.
When I remove a level or every level off Level List, it comes right back. Is this a error, or is this normal?
  #6  
Old 08-22-2002, 12:53 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by user13-xo

my co manager and I have already tried updating the level with it there and with it not there, the npc still remains.
When I remove a level or every level off Level List, it comes right back. Is this a error, or is this normal?
stefan made it so you cant remove levels from the npc level list unless the npc server is offline, so basically it means only people with direct access into the database can edit it
and how many seconds does it take for the top npc? most servers that dont have too much lag has there top npc around .06-.3 (maybe a little bit higher)
  #7  
Old 08-22-2002, 12:59 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Quote:
Originally posted by Python523

stefan made it so you cant remove levels from the npc level list unless the npc server is offline, so basically it means only people with direct access into the database can edit it
and how many seconds does it take for the top npc? most servers that dont have too much lag has there top npc around .06-.3 (maybe a little bit higher)
1. 2.230493 secs
2. 2.093126 secs
3. 1.484498 secs
4. 1.329864 secs
5. 1.058501 secs
6. 0.765579 secs
7. 0.328151 secs
8. 0.272026 secs
9. 0.257736 secs
10. 0.148282 secs

The Top 6 are the ones that are the ghost npcs.
  #8  
Old 08-22-2002, 01:02 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Quote:
Originally posted by Kaimetsu
Can't you just use the clearnpcs command thingum?
I have tried that, the npcs are still there -.-
  #9  
Old 08-22-2002, 01:07 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
I believe /clearnpcs is only for removing npcs done by putnpc2


and try searching for the level on the local npc search, see if the NPCs actually exist or if the list is just taking too long to update
  #10  
Old 08-22-2002, 01:09 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Quote:
Originally posted by Python523
I believe /clearnpcs is only for removing npcs done by putnpc2


and try searching for the level on the local npc search, see if the NPCs actually exist or if the list is just taking too long to update
I am getting Variables dump from level. Also the attrubutes of the npcs.
  #11  
Old 08-22-2002, 01:10 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by user13-xo


I am getting Variables dump from level. Also the attrubutes of the npcs.
next npc server restart SHOULD restart the list and clear the 'ghost' npcs
  #12  
Old 08-22-2002, 01:12 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Quote:
Originally posted by Python523

next npc server restart SHOULD restart the list and clear the 'ghost' npcs
Do you any way to contact Stefan or Unixmad?
  #13  
Old 08-22-2002, 01:13 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by user13-xo


Do you any way to contact Stefan or Unixmad?
hmm, kaimetsu's way should work, upload a blank level with the same name, go to the level, update it, then delete the level
  #14  
Old 08-22-2002, 01:21 PM
user13-xo user13-xo is offline
Registered User
Join Date: Nov 2001
Location: California
Posts: 297
user13-xo is on a distinguished road
Send a message via AIM to user13-xo
Quote:
Originally posted by Kaimetsu
Oh, so presumably they're NPCs in the .nw that didn't get deleted along with the level? Tried making a new level with the same name and then deleting that?
Thank you so much, this worked
 


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 12:06 PM.


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