![]() |
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?
|
Get rid of the script that's destroying it :o
|
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
|
I would have called the NPC-Server with "/npcstart". Maybe he does not like to be called "/npcstar" ^^
|
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.
|
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 x_x) 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? |
You have to re-upload the scripts as .txt files, then start the npc server.
|
Quote:
Also check for while () loops that haven't been used effectively. |
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
|
Quote:
And that's clientside, so don't look in there. |
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
|
Quote:
|
Quote:
Sacred Shadow provided a good method to search for certain scripts. Keep that note in mind for future debugging. |
yeah ^^ this is strange, maybe someone else upladed a serverside timeout loop x_X i'll have to search
|
Quote:
|
| All times are GMT +2. The time now is 05:45 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.