Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Disable reset via script (https://forums.graalonline.com/forums/showthread.php?t=86596)

Crow 06-28-2009 09:05 PM

Disable reset via script
 
It would be nice if it was only possible to reset via script if the npc server has reset rights. As far as I know, there's currently no way to prevent scripters from resetting anybody using sendtorc();

cbk1994 06-28-2009 09:19 PM

Agreed.

Tigairius 06-28-2009 11:42 PM

/signed

Robin 06-29-2009 12:04 AM

yeah allowing the npc server to send commands via sendtorc seems DANGEROUS.

Tigairius 06-29-2009 04:01 AM

Quote:

Originally Posted by Robin (Post 1502495)
yeah allowing the npc server to send commands via sendtorc seems DANGEROUS.

Um, /reset <account> is dangerous. Can't judge if that's sarcasm or not.

Kappa00p2p 06-29-2009 05:34 AM

/signed

Robin 06-29-2009 09:59 AM

Quote:

Originally Posted by Tigairius (Post 1502559)
Um, /reset <account> is dangerous. Can't judge if that's sarcasm or not.

No not sarcasm, agreement. /signed

Deas_Voice 06-29-2009 10:53 AM

i agree! /signed
i always gave the npcserver reset rights because i thought it was needed :oo:

Angel_Light 07-01-2009 12:21 AM

I use it to reset accounts when I do major updates with systems and stuff so the old ones don't conflict with the new ones. Just like alcohol and fireworks, it CAN be dangerous or really helpful.

Crow 07-01-2009 12:46 AM

Quote:

Originally Posted by Angel_Light (Post 1503170)
I use it to reset accounts when I do major updates with systems and stuff so the old ones don't conflict with the new ones. Just like alcohol and fireworks, it CAN be dangerous or really helpful.

Well, lets rephrase the problem then. You are giving fireworks (NPC-Control) to a friend (staff member). He has some fun lighting up fireworks (scripting) and contributes well to your party (server) by doing so. He ends up firing quite a bunch of fireworks into your house though, also hitting some party guests (mass-resetting all online players and ****ing with the server).
:p

I know it can be both useful and dangerous, but the way it is now, dangerous outweighs useful. Basically anybody can reset whoever he wishes (everybody who stops by your party gets fireworks and burns your house down, wohoo).

DustyPorViva 07-01-2009 12:50 AM

There simply needs to be an easier way for owner/admins to do a reset that doesn't involve a silly script. Or at least easier to request one.

Skyld 07-01-2009 01:09 AM

Quote:

Originally Posted by DustyPorViva (Post 1503195)
There simply needs to be an easier way for owner/admins to do a reset that doesn't involve a silly script. Or at least easier to request one.

Sure, make a less silly script to delete the files in the accounts/ folder.

DustyPorViva 07-01-2009 01:36 AM

Quote:

Originally Posted by Skyld (Post 1503205)
Sure, make a less silly script to delete the files in the accounts/ folder.

That's what I always imagined :) problem is, aren't rights and staff stuff stored in there too? Though I supposed it'd be easier to just omit staff and do an RC reset on them instead if it's really needed.

fowlplay4 07-01-2009 01:51 AM

Would be neat if it just checked the npcserver's rights for Resetting.

cbk1994 07-01-2009 02:19 AM

Quote:

Originally Posted by fowlplay4 (Post 1503232)
Would be neat if it just checked the npcserver's rights for Resetting.

I'd rather have a server option or something.

A cool way to do a reset would be like

PHP Code:

temp.folder.loadFolder("accounts/*"true);

for (
temp.acc folder) {
  if (! 
acc.ends(".txt")) {
    continue;
  }
  
  
temp.tokens acc.tokenize("/");
  
sendToRC("/reset" SPC acc[1].substring(0acc[1].length() - 4));


which would leave all comments and online time and rights.


All times are GMT +2. The time now is 08:04 AM.

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