Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 01:17 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
have you seen this npc server?

my npc server ran away, it won't come back if i call it from the RC with /npcstar, and it won't come if i try to bring it back with admin pannel ;( what can i do to bring it back?
Reply With Quote
  #2  
Old 01-05-2006, 01:26 AM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Get rid of the script that's destroying it :o
Reply With Quote
  #3  
Old 01-05-2006, 02:04 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Hmmm this happened two times in one week - it seems like your npcserver is going into an endless loop, so starting a new npcserver doesn't help. But using the admin panel to kill the npcserver should normally work
Reply With Quote
  #4  
Old 01-05-2006, 02:17 AM
dNeonb dNeonb is offline
OOB
dNeonb's Avatar
Join Date: Feb 2003
Location: Germany
Posts: 1,240
dNeonb is on a distinguished road
Send a message via ICQ to dNeonb Send a message via AIM to dNeonb Send a message via Yahoo to dNeonb
I would have called the NPC-Server with "/npcstart". Maybe he does not like to be called "/npcstar"
__________________

Forum PM
AIM GraalNeoN
ICQ 201894166
Reply With Quote
  #5  
Old 01-05-2006, 02:33 AM
Sacred Shadow Sacred Shadow is offline
Developer
Join Date: Dec 2004
Posts: 129
Sacred Shadow is on a distinguished road
You should have a weapons/, npcs/, and scripts/ folder in your FileBrowser, where all scripts are kept, I suggest putting them all on your desktop, and deleting them from FTP, and going through them and finding all npcs wth a timeout, // that timeout, Get someone with experience to help you find the problem.
Reply With Quote
  #6  
Old 01-05-2006, 02:50 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
a timeout? how cold that affect it? and btw, our NPC server does think he's a star :P
anyway, i first tried to disconnect it to get it working again (worked once before ) then i tried shuting it down from the admin panel, then restarting it, that didn't work either. Now there are a few weapons that use a timeout, but i don't think the NPC server does. (not anymore anyway ) if i run into any other trouble i'll work on it, however i removed the timeouts from the NPC server script, would this solve the problem?
Reply With Quote
  #7  
Old 01-05-2006, 03:06 AM
Sacred Shadow Sacred Shadow is offline
Developer
Join Date: Dec 2004
Posts: 129
Sacred Shadow is on a distinguished road
You have to re-upload the scripts as .txt files, then start the npc server.
Reply With Quote
  #8  
Old 01-05-2006, 03:12 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by excaliber7388
a timeout? how cold that affect it? and btw, our NPC server does think he's a star :P
anyway, i first tried to disconnect it to get it working again (worked once before ) then i tried shuting it down from the admin panel, then restarting it, that didn't work either. Now there are a few weapons that use a timeout, but i don't think the NPC server does. (not anymore anyway ) if i run into any other trouble i'll work on it, however i removed the timeouts from the NPC server script, would this solve the problem?
It depends on if a script on the serverside is doing too much in a given space of time.

Also check for while () loops that haven't been used effectively.
__________________
Skyld
Reply With Quote
  #9  
Old 01-05-2006, 03:34 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
i try not to use loops, however, there are quite a few on going timeout loops used for gui's and systems x_X i'm working on changing this however
Reply With Quote
  #10  
Old 01-05-2006, 09:09 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by excaliber7388
i try not to use loops, however, there are quite a few on going timeout loops used for gui's and systems x_X i'm working on changing this however
Gui information only needs to be updated when something is changed.
And that's clientside, so don't look in there.
__________________
Reply With Quote
  #11  
Old 01-05-2006, 04:55 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
so a clientside timeout wouldn't create any problems serverside? Because i have very few sevrerside timeouts, and i don't think any (except the one for time) loop
Reply With Quote
  #12  
Old 01-05-2006, 05:13 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by excaliber7388
so a clientside timeout wouldn't create any problems serverside? Because i have very few sevrerside timeouts, and i don't think any (except the one for time) loop
It wouldn't, unless you've used a triggeraction inside the clientside timeout.
__________________
Reply With Quote
  #13  
Old 01-05-2006, 06:55 PM
Malinko Malinko is offline
Unholy Nation
Join Date: Mar 2004
Location: Massachusetts, U.S.A.
Posts: 1,782
Malinko is on a distinguished road
Send a message via AIM to Malinko
Quote:
Originally Posted by dNeonb
I would have called the NPC-Server with "/npcstart". Maybe he does not like to be called "/npcstar"
Remind me to kick you.

Sacred Shadow provided a good method to search for certain scripts. Keep that note in mind for future debugging.
Reply With Quote
  #14  
Old 01-05-2006, 09:49 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
yeah this is strange, maybe someone else upladed a serverside timeout loop x_X i'll have to search
Reply With Quote
  #15  
Old 01-05-2006, 11:56 PM
Kronan Kronan is offline
yo
Kronan's Avatar
Join Date: May 2001
Location: Florida, USA
Posts: 682
Kronan is on a distinguished road
Send a message via ICQ to Kronan Send a message via AIM to Kronan Send a message via Yahoo to Kronan
Quote:
Originally Posted by excaliber7388
i try not to use loops, however, there are quite a few on going timeout loops used for gui's and systems x_X i'm working on changing this however
Timeout's are not normally neccessary for a GUI script.
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 10:02 PM.


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