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 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: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
  #8  
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
  #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, 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
  #14  
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
  #15  
Old 01-06-2006, 12:00 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by Malinko
Remind me to kick you.

Sacred Shadow provided a good method to search for certain scripts. Keep that note in mind for future debugging.
Yeah, deleting the scripts and then finding the problem is an awesome idea! It sure beats the heck out of finding and removing the problem!
Reply With Quote
  #16  
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
  #17  
Old 01-06-2006, 12:32 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
actually, i just reduced severside timeouts, and deleted svr side loops (i think all of them, at least reduced in size) so less lag havent had any problems...yet
Reply With Quote
  #18  
Old 01-31-2006, 03:12 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
Well, it's happened again. My NPC server refuses to come back, and we were getting along too! There are no serverside loops or timeouts, and i removed a few useless NPCs and weapons. The NPC server still will not start with the /npcstart or the admin pannel
Reply With Quote
  #19  
Old 01-31-2006, 06:49 AM
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
Well, it's happened again. My NPC server refuses to come back, and we were getting along too! There are no serverside loops or timeouts, and i removed a few useless NPCs and weapons. The NPC server still will not start with the /npcstart or the admin pannel
It's running away from your amazing scripts!
__________________
Reply With Quote
  #20  
Old 01-31-2006, 05:41 PM
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
Quote:
Originally Posted by Kronan
It's running away from your amazing scripts!
I giggle'd.
Reply With Quote
  #21  
Old 01-31-2006, 04:33 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
=|
Reply With Quote
  #22  
Old 01-31-2006, 05:55 PM
Jackel9 Jackel9 is offline
Dimension Zero Founder
Jackel9's Avatar
Join Date: Nov 2005
Location: NC SONZ
Posts: 193
Jackel9 is on a distinguished road
Lol Did someone like ban the NPC Server lol
It's Possible
just like Disconnecting the NPC Server....
__________________

Reply With Quote
  #23  
Old 01-31-2006, 08:28 PM
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 Jackel9
Lol Did someone like ban the NPC Server lol
It's Possible
just like Disconnecting the NPC Server....
The NPC-Server is not affected by a ban.
__________________
Skyld
Reply With Quote
  #24  
Old 01-31-2006, 10:15 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
okay, well it may as well be banned x_X it still wont come back. This is the worst it's ever been, and the conditions aren't as bad (no timeouts serverside, less weapins etc). It's now been off for a day x_X. can someone please check on this??

Last edited by excaliber7388; 02-01-2006 at 03:44 AM..
Reply With Quote
  #25  
Old 02-01-2006, 11:35 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
To late to edit
Anyway, the NPC server is FINALLY back (after being down for about two days). However, I would still like to know why it went down in the first place. I am reducing loops of all kinds, both server and clientside, and I'm continuing to check the scripts. Is there anything else I should do to prevent this?
Reply With Quote
  #26  
Old 02-01-2006, 11:47 PM
Maniaman Maniaman is offline
Registered User
Join Date: Aug 2005
Posts: 326
Maniaman is on a distinguished road
clientside loops will not affect the npcserver, unless you are triggering the server in these loops.
__________________

Current Maloria Event: (click to go to it)
Reply With Quote
  #27  
Old 02-01-2006, 11:53 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
I should have been more specific but yeah...i was thinking, what would happen if I made another NPC, and made it like the NPC server? I doubt anthing, but I was wondering, since in stats it says # of NPC servers:1
Reply With Quote
  #28  
Old 02-02-2006, 01:06 AM
Antago Antago is offline
Banned
Antago's Avatar
Join Date: Mar 2001
Location: Akron, Ohio
Posts: 1,488
Antago is on a distinguished road
Runaway NPC Servers! Who ever thought this day would come? Well, I tell you, NPC Admins everywhere may be trying many different forms of methods of discipline.

I am concerned that you bring up the option of timeouts. Timeouts usually only work for children, I think NPC Servers may be different. Perhaps purchasing a leash or sending it to the corner would be better. Or is the corner a part of the timeout?

Usually timeouts involve sitting in your room, but because I am not sure of the circumstances, I cannot say for sure. But from a psychologist's point of view, I would suggest possibly depriving it of scripts as a form of punishment might help. Whenever it comes around again, throw it a script as a little reward. Little by little, you may be able to win its trust back.

But I am just not sure a mere timeout is enough in tragic and rebellious situations like these.
Reply With Quote
  #29  
Old 02-02-2006, 02:37 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
Quote:
Originally Posted by Antago
Runaway NPC Servers! Who ever thought this day would come? Well, I tell you, NPC Admins everywhere may be trying many different forms of methods of discipline.

I am concerned that you bring up the option of timeouts. Timeouts usually only work for children, I think NPC Servers may be different. Perhaps purchasing a leash or sending it to the corner would be better. Or is the corner a part of the timeout?

Usually timeouts involve sitting in your room, but because I am not sure of the circumstances, I cannot say for sure. But from a psychologist's point of view, I would suggest possibly depriving it of scripts as a form of punishment might help. Whenever it comes around again, throw it a script as a little reward. Little by little, you may be able to win its trust back.

But I am just not sure a mere timeout is enough in tragic and rebellious situations like these.
Well, we give him plenty of love, and support his crazed plans for graal world conquest (watch out other servers, he's coming ), but for some reason he desides to hang out for a bit...I think he went out drinking last time. Anyway, I want to know if I can have another one, or how to repair this one But I realy would like a nother, a back up for when our first one runs away, if at all possible. However, getting this one some help would be nice too
Reply With Quote
  #30  
Old 02-02-2006, 04: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
Quote:
Originally Posted by Antago
Runaway NPC Servers! Who ever thought this day would come? Well, I tell you, NPC Admins everywhere may be trying many different forms of methods of discipline.

I am concerned that you bring up the option of timeouts. Timeouts usually only work for children, I think NPC Servers may be different. Perhaps purchasing a leash or sending it to the corner would be better. Or is the corner a part of the timeout?

Usually timeouts involve sitting in your room, but because I am not sure of the circumstances, I cannot say for sure. But from a psychologist's point of view, I would suggest possibly depriving it of scripts as a form of punishment might help. Whenever it comes around again, throw it a script as a little reward. Little by little, you may be able to win its trust back.

But I am just not sure a mere timeout is enough in tragic and rebellious situations like these.
I rofl'd
Reply With Quote
  #31  
Old 02-02-2006, 04:33 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, the timeout's in a corner, at 0,0 XD but anyway is it possible to have more than one NPC server to handle the work? Would it be as simple as creating a new NPC that is of the control type and setting all the flags and scripts a like, so that there is a backup?
Reply With Quote
  #32  
Old 02-03-2006, 01:00 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
Yeah, the timeout's in a corner, at 0,0 XD but anyway is it possible to have more than one NPC server to handle the work?
I highly doubt it. Surely both NPC-Servers would run each script, there would be no benefit.
__________________
Skyld
Reply With Quote
  #33  
Old 02-03-2006, 03:12 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
Yes, true, however what if yuo divided stuff up between them somehow, and then if one crashes, use the other to take it's work, while you work on finding and fixing the problem.
Reply With Quote
  #34  
Old 02-04-2006, 07:41 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
It ent down again today. It's back up. I have to know whats wrong x_X
Reply With Quote
  #35  
Old 03-20-2006, 11:15 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
ARG! This time it happened with no new changes, wtf?
And why won't the Admin Pannel ever work? I hit restart, nothing happens, i hit stop, nothing happens, and obviously, start does nothing either. Sometimes they work, but recently, i hit confirm, and nothing happens
Reply With Quote
  #36  
Old 03-20-2006, 11:26 PM
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
ARG! This time it happened with no new changes, wtf?
And why won't the Admin Pannel ever work? I hit restart, nothing happens, i hit stop, nothing happens, and obviously, start does nothing either. Sometimes they work, but recently, i hit confirm, and nothing happens
In RC, type /stats and see if any NPCs are taking up an unusual amount of time.
__________________
Skyld
Reply With Quote
  #37  
Old 03-21-2006, 03:52 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 do, normally there aren't any NPCs with more than 5% (I'm being generous there, it's normally around 1% or less for the top 20 scripts)
Reply With Quote
  #38  
Old 03-21-2006, 03:55 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
Kind of weird problem yes. I guess some level contains a local npcs with bad script, and once someone enters the room it goes into endless-loop.
Reply With Quote
  #39  
Old 03-21-2006, 04:15 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
Thats possible, since the past few have occured when there were no recent changes to the script. I suppose I could start tracking them down, there may be a constantly true while loop serverside somewhere (I hope not, I'd feel like an idiot, but thats probably a problem)
Reply With Quote
  #40  
Old 04-04-2006, 06:53 PM
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
The freezing should be fixed now.
Problem were things like 'while (playertouchsme) { }' which confused the optimizer which decides if an object has a script or not (and can be removed from the serverside npcs list)
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 06:12 AM.


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