Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Sands of Glory's NPC-Server (https://forums.graalonline.com/forums/showthread.php?t=69092)

cbk1994 10-01-2006 12:51 AM

Sands of Glory's NPC-Server
 
The Sands of Glory NPC Server is acting strangely.
At first, I was updating a class. I updated the class, and /savenpcs, disconnect npcserver, /npcstart. Then I was on player, testing the class, the NPC Server reboots. Noone started it. I find that command like /savenpcs, /clearnpcs, etc. no longer give results.
If you try to write to anything in NC, it writes, then the NPC-Server is disconnected. If you /npcstart, the NPC-Server is back up, with the changes.

Any help is greatly appreciated.
Thanks,
Chris
[Edit:
If I do /stats, it returns GServer stats, etc. but it won't say the NPCs taking up the most CPU. It says:
GServer statistics:
Server uptime: 4466 hrs 26 mins
Sleeptime (secs/min): 59928
Connectiontries (last min): 2
Players-in (byte/l.m.): 13013
Players-out (byte/l.m.): 41720
RCs-in (byte/last min): 28
RCs-out (byte/last min): 2318
NPCServer-in (byte/l.m.): 0
NPCServer-out (byte/l.m.): 0
ServerList-in (byte/l.m.): 1166
ServerList-out (byte/l.m.): 260
Player-avrg-in (bit/sec): 1074
Player-avrg-out (bit/sec): 6354
Levels: 0
NPCs: 0
Players: 5
RCs: 6
NPCServers: 0
ServerListers: 1

Even if I start the NPC-Server (AGAIN) it doesnt list the most CPU
]

KuJi 10-01-2006 12:58 AM

Quote:

Originally Posted by cbkbud (Post 1224333)
The Sands of Glory NPC Server is acting strangely.
At first, I was updating a class. I updated the class, and /savenpcs, disconnect npcserver, /npcstart. Then I was on player, testing the class, the NPC Server reboots. Noone started it. I find that command like /savenpcs, /clearnpcs, etc. no longer give results.
If you try to write to anything in NC, it writes, then the NPC-Server is disconnected. If you /npcstart, the NPC-Server is back up, with the changes.

Any help is greatly appreciated.
Thanks,
Chris
[Edit:
If I do /stats, it returns GServer stats, etc. but it won't say the NPCs taking up the most CPU. It says:
GServer statistics:
Server uptime: 4466 hrs 26 mins
Sleeptime (secs/min): 59928
Connectiontries (last min): 2
Players-in (byte/l.m.): 13013
Players-out (byte/l.m.): 41720
RCs-in (byte/last min): 28
RCs-out (byte/last min): 2318
NPCServer-in (byte/l.m.): 0
NPCServer-out (byte/l.m.): 0
ServerList-in (byte/l.m.): 1166
ServerList-out (byte/l.m.): 260
Player-avrg-in (bit/sec): 1074
Player-avrg-out (bit/sec): 6354
Levels: 0
NPCs: 0
Players: 5
RCs: 6
NPCServers: 0
ServerListers: 1

Even if I start the NPC-Server (AGAIN) it doesnt list the most CPU
]

You probally threw it into a never-ending loop and crashed server. What were you doing last? Do you use swords?

shyguy2 10-01-2006 01:01 AM

Quote:

You probally threw it into a never-ending loop and crashed server. What were you doing last?
The last thing we were working on was a Class for a door,

Swords as in the default 'hit S to slash' swords? not normally, but w/o the NPC server yes some people have swords.

cbk1994 10-01-2006 01:23 AM

Quote:

Originally Posted by shyguy2 (Post 1224340)
The last thing we were working on was a Class for a door,

Swords as in the default 'hit S to slash' swords? not normally, but w/o the NPC server yes some people have swords.

The class would have used a .05 timeout on serverside, but it stopped working before I could hit Apply.
The version of the script in the level was there after it crashed, too.
The thing that crashed it was the gun system.

KuJi 10-01-2006 01:24 AM

Were there for loops in it? That was most likely the problem.

I am pretty sure a timeout of 0.05 acts as 0.1 on serverside or not at all.

shyguy2 10-01-2006 01:34 AM

Gun System wasn't the problem
we deleted it and it still happened.

Actually we deleted everything,
Classes, Weapons & NPCs,
minus the NPC Server & It's still happening

KuJi 10-01-2006 02:10 AM

Quote:

Originally Posted by shyguy2 (Post 1224353)
Gun System wasn't the problem
we deleted it and it still happened.

Actually we deleted everything,
Classes, Weapons & NPCs,
minus the NPC Server & It's still happening

When deleting them directly, it might be bad unless npc-server is off I guess.

Make sure weapons/classes/npcs folder is clean?

shyguy2 10-01-2006 02:13 AM

Everything is clean, minus the NPC Control
All the folders are clean.

The NPCs when you hit the buttons still show because
we can't do anything to those,
If we try to update a weapon at all the NPC Server just disconnects again.

cbk1994 10-01-2006 02:16 AM

Quote:

Originally Posted by shyguy2 (Post 1224367)
Everything is clean, minus the NPC Control
All the folders are clean.

The NPCs when you hit the buttons still show because
we can't do anything to those,
If we try to update a weapon at all the NPC Server just disconnects again.

Let me add that it does update the weapon, as soon as the NPC server is restarted.

KuJi 10-01-2006 02:37 AM

Wait hmm.. the npc server is off right?

Go into npcs folder and delete.

Log back on and its still there?


Does your npc server continously try to conncet? If so.. its advised you go into graalonline.com/adminpanel and shut it down then try the above.

shyguy2 10-01-2006 02:43 AM

Quote:

Does your npc server continously try to conncet? If so.. its advised you go into graalonline.com/adminpanel and shut it down then try the above.
No it doesn't try to connect, it just disconnects.
and we have been in the Admin Panel to shut it down & start it up.

This is basically whats happening:

The NPC Server out of nowhere[sometimes] disconnects,
we call him back [/npcstart] and it comes back for a perioid of time
If anyone tries to update a weapon, Class, or NPC it will immediatly shut down and NC is gone. once we call him back, the changes we made to said NPC will be there. Theres not really enough time to do alot of stuff, so basically scripting something would be line apply, call NPC, open repeat.

This has been going on for the past hour or so, and no progress,
We have deleted each & every Weapon Class & NPC other than the control NPC
We have tried the Admin Panel for shutting down & starting up the NPC Server, which it usually shows its status as "N/A"

xXziroXx 10-01-2006 02:51 AM

Go to the Admin Panel and tell me what version your NPC-Server is. That way I can tell you if its old, and if so - that might be the problem.

shyguy2 10-01-2006 02:55 AM

Sands of Glory Hosted (Invisible) Playerworld 6 "newmain" Graal 4.04-4.1
Game [Online]
NPC [N/A]

& we removed the Control NPC.txt.
still happening

cbk1994 10-01-2006 02:59 AM

function onCreated( NULL )
{
sendtoRC( "Welcome to the GServer for playerworld32 (RC)" );
sendtoNC( "FATAL ERROR! ABORT MISSION! (NC)" );
echo( "Test (echoing)" );
setPM( "BLAH" );
return;
}

Sands of (Server): Welcome to the GServer for playerworld32 (RC)
is the only thing in RC Chat
When I PM him
"I am the npcserver for
this game server. Almost
all npc actions are controlled
by me.
"

shyguy2 10-01-2006 03:10 AM

So everything works again...
We just shut down the Game Server from the Admin Panel and then started it back up.
Cleaned up alot of stuff ;o
Thanks everyone for their help.
:]

Moondeath_2 10-01-2006 03:11 AM

Quote:

Originally Posted by shyguy2 (Post 1224392)
So everything works again...
We just shut down the Game Server from the Admin Panel and then started it back up.
Cleaned up alot of stuff ;o
Thanks everyone for their help.
:]

Siwwy rabbit trix are for kidz! Just a tired gserver. ;)

cbk1994 10-01-2006 03:11 AM

Quote:

Originally Posted by shyguy2 (Post 1224392)
So everything works again...
We just shut down the Game Server from the Admin Panel and then started it back up.
Cleaned up alot of stuff ;o
Thanks everyone for their help.
:]

A special thanks to Moondeath.

KuJi 10-01-2006 04:24 AM

Quote:

Originally Posted by cbkbud (Post 1224394)
A special thanks to Moondeath.

I'll assume me suggesting that was just for my own boredom then, k.

Admins 10-01-2006 04:49 PM

There were updates for the client-RC which changes the sending of RC-chat to and from the npcserver, it requires restart of both gserver and npcserver. Will may be restart all servers tomorrow to avoid future problems with that.

KuJi 10-02-2006 06:12 PM

Shangri-La's npc server keeps crashing when you update an npc x.x

Don't think anyone has the adminpanel and the up time is like 3600 hours or so which is like 150 days z.z

zephirot 10-02-2006 06:47 PM

This should be stickied, it could help people with the same problem.

Darlene159 10-02-2006 06:55 PM

Quote:

Originally Posted by zephirot (Post 1225060)
This should be stickied, it could help people with the same problem.

http://forums.graalonline.com/forums...ad.php?t=68580

KuJi 10-02-2006 06:58 PM

Quote:

Originally Posted by Darlene159 (Post 1225063)

That has absolutely nothing to do with the npcserver. That's just about the clientrc.

Darlene159 10-02-2006 07:16 PM

Quote:

Originally Posted by KuJi (Post 1225065)
That has absolutely nothing to do with the npcserver. That's just about the clientrc.

Maybe the problem is tied in with it?
If not, my bad....

KuJi 10-02-2006 07:18 PM

Quote:

Originally Posted by Darlene159 (Post 1225066)
Maybe the problem is tied in with it?
If not, my bad....

It just started happening after cleaning out weapons etc..


All times are GMT +2. The time now is 05:33 AM.

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