Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-14-2008, 08:45 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
Exclamation Server Restart Command

We have added a new command for server owners to restart their server:

/global servercontrol restart
(you can also do /global help)

This is similar to the old website admin panel. It only works for server owners, and only for developer servers (not classic and gold).
Reply With Quote
  #2  
Old 01-14-2008, 11:23 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
Sidenote: If you are having trouble using servercontrol restart or you need a gold/classic server restarted, you can contact myself or Bell.
Reply With Quote
  #3  
Old 01-14-2008, 11:29 PM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Thanks! I'm glad this finally got implemented.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #4  
Old 01-15-2008, 12:24 AM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Nice feature
__________________
Reply With Quote
  #5  
Old 01-15-2008, 12:28 AM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Yess
What's it do restart the GServer? If so does that like completely erase it or something? Never tried or found out..
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #6  
Old 01-15-2008, 12:41 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 Switch View Post
Yess
What's it do restart the GServer? If so does that like completely erase it or something? Never tried or found out..
It will shut down the NPC-Server and GServer, and then start them again. It won't delete anything.

You maybe ought to /savenpcs first though (since I'm not sure if it'll do that itself).
Reply With Quote
  #7  
Old 01-15-2008, 12:43 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Switch View Post
Yess
What's it do restart the GServer? If so does that like completely erase it or something? Never tried or found out..
You can already 'restart' the GServer by killing the process then calling it again (/npckill and /npcstart). Chance you can lose active dbnpcs doing this so you should do a /savenpcs first just to make sure. Should only kill the Gserver when it is completed locked up. Good way to test this: use /stats and see if the "Top 20 of npcs taken most CPU time:" shows up. If it does, see if any of the processes are way to high and solve is needed. If not, cycle the gserver
Reply With Quote
  #8  
Old 01-15-2008, 12:44 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 Twinny View Post
It will restart the whole server. You can already 'restart' the GServer by killing the process then calling it again (/npckill and /npcstart). You can lose active dbnpcs doing this so you should do a /savenpcs first.
You are probably safer using /npcshutdown to make sure that script executions are cleanly ended, /npckill is a bit more of an extreme measure.
Reply With Quote
  #9  
Old 01-15-2008, 12:47 AM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
ah k, thanks.
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #10  
Old 01-15-2008, 12:51 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Skyld View Post
You are probably safer using /npcshutdown to make sure that script executions are cleanly ended, /npckill is a bit more of an extreme measure.
Sucks that only the owner can do it though. Maybe if the admin/globals can add authorised people? Would suck if development had to be stalled until a a global/owner can be notified of the problem
Reply With Quote
  #11  
Old 01-15-2008, 01:38 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by Twinny View Post
Sucks that only the owner can do it though. Maybe if the admin/globals can add authorised people? Would suck if development had to be stalled until a a global/owner can be notified of the problem
I think you're asking for too much
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #12  
Old 01-15-2008, 06:28 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Twinny it sounds to me like you're confusing the GServer and the NPC-Server?
__________________
Reply With Quote
  #13  
Old 01-15-2008, 07:46 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by Inverness View Post
Twinny it sounds to me like you're confusing the GServer and the NPC-Server?
Yeah, you're definitely right there
Reply With Quote
  #14  
Old 01-15-2008, 06:16 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
Restarting the gserver is normally only needed when there is some problem when updating / resizing a gmap, to make sure the old levels are unloaded.
Reply With Quote
  #15  
Old 01-15-2008, 06:27 PM
Pimmeh Pimmeh is offline
Rgesitreed Uesr
Pimmeh's Avatar
Join Date: May 2007
Location: Utrecht, the Netherlands
Posts: 1,586
Pimmeh has a spectacular aura about
Send a message via AIM to Pimmeh Send a message via MSN to Pimmeh
Yeah, Gmap problems do get fixed with this!
I had a problem about a week ago, thanks a lot Stefan!
__________________
Oh, Death,
No wealth, no ruin, no silver, no gold
Nothing satisfies me but your soul
Reply With Quote
  #16  
Old 01-15-2008, 07:48 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Hmm, I uploaded a gmap that was just regular levels(not terrain), but when I warp to the gmap, everything is screwed up and it's being considered a terrain... is that the same problem?
Reply With Quote
  #17  
Old 01-19-2008, 01:38 AM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
Maybe allow anyone with the "change staff accounts" RC right to use this command? (Since it has no other use that I am aware of)
__________________
Trying to be nice now...
Reply With Quote
  #18  
Old 01-19-2008, 02:32 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
No, only the owner needs to have such abilities, not anyone he foolishly gives full rights to.
__________________
Reply With Quote
  #19  
Old 01-19-2008, 01:11 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Inverness View Post
No, only the owner needs to have such abilities, not anyone he foolishly gives full rights to.
100 percent agree. (friggin fix the bad request error with percent symbols already D:)
Reply With Quote
  #20  
Old 01-19-2008, 01:42 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 bscharff View Post
Maybe allow anyone with the "change staff accounts" RC right to use this command? (Since it has no other use that I am aware of)
It is something that does not really have any use for non-global staff anymore.
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 10:13 PM.


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