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 06-22-2009, 01:50 PM
Rice2k Rice2k is offline
Rusty Bedsprings
Rice2k's Avatar
Join Date: Jul 2006
Location: Chesapeake,va
Posts: 120
Rice2k will become famous soon enough
Send a message via AIM to Rice2k Send a message via MSN to Rice2k
Server Reset buggy

Is their a way to reset your server as if you just bought it?
I'm wondering this because I had a server then it expired then i re-upgraded my server and it still had my files on their from 5month ago. The thing is thou the server its buggy nothing works after the upgrade. npcs,gmap. just wondering?
/serverreset? lol

(note i did send a ticket in but im still waiting after 3days.)
__________________

Quote:
Originally Posted by JackOd View Post
did anyone else see "Cubical killed rice2k with lightning (spar)" flooding the right side of the screen yesterday? You killed the poor guy like 5 times a second
Reply With Quote
  #2  
Old 06-22-2009, 05:19 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
This should help..

Quote:
Originally Posted by cbk1994
/global servercontrol restart

Get a PWA if you aren't the "owner" of the server.
__________________
Quote:
Reply With Quote
  #3  
Old 06-23-2009, 01:09 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by fowlplay4 View Post
This should help..
Heh, no. That's for restarting the gserver, which is normally only used if you're upgrading it or fixing some problems. It won't delete all the files on your server

I guess if you really wanted you could add this to the rights of (npcserver)

HTML Code:
rw levels/*
rw levels/*/*
rw levels/*/*/*
rw levels/*/*/*/*
rw levels/*/*/*/*/*
rw levels/*/*/*/*/*/*
then make a DB NPC with this in it:

PHP Code:
function onCreated() {
  echo(
"Beginning server takeover.");
  
  
temp.folder.loadFolder("levels/*"true);
  
  for (
temp.file folder) {
    
deletefile("levels/" file);
  }
  
  echo(
"Server takeover complete.");

You would then delete NPCs/classes/weapons. Weapons and classes can be deleted by adding these rights to yourself:

HTML Code:
rw scripts/*
rw weapons/*
then deleting all the files in those folders and restarting the NPC server. It's best to delete DB NPCs manually, though you could probably do it with the npcs/* folder.

To reset accounts, you could in theory clear the accounts folder, but this would be messy because you'd have to have a script only delete certain things (e.g. it would wipe out all comments if you use those for storing ideas or such, all staff rights, online time, etc). Best thing to do would be to follow the instructions in this thread.

Remember to remove the levels/* (etc) rights from the NPC-server (it's a major security flaw any scripter could abuse), and add a login level (otherwise a player's client will disconnect or crash or something).
__________________

Last edited by cbk1994; 06-23-2009 at 01:24 AM..
Reply With Quote
  #4  
Old 06-23-2009, 02:37 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Server takeover... sounds malicious .

USE AT YOUR OWN RISK!
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #5  
Old 06-23-2009, 09:53 PM
Rice2k Rice2k is offline
Rusty Bedsprings
Rice2k's Avatar
Join Date: Jul 2006
Location: Chesapeake,va
Posts: 120
Rice2k will become famous soon enough
Send a message via AIM to Rice2k Send a message via MSN to Rice2k
Bell Fix it <3
__________________

Quote:
Originally Posted by JackOd View Post
did anyone else see "Cubical killed rice2k with lightning (spar)" flooding the right side of the screen yesterday? You killed the poor guy like 5 times a second

Last edited by Rice2k; 06-23-2009 at 11:45 PM..
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 11:02 PM.


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