Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   RC Commands. (https://forums.graalonline.com/forums/showthread.php?t=33892)

Torankusu 07-20-2002 02:15 PM

RC Commands.
 
we were chatting in RC and idling, and we thought it would be neat to have a few new "/" commands.

First,
/disconnect account
/warp account x y level

a "sendmessage" for people(RCs) when they get online.
For instance, I used
"/sendmessage AlexH messagehere"
it would pop up a message or something.
It would be pretty useful for those people that are hardly on at the same time as you and you... "want to assign work" for instance.

(the purpose for the warp is for people who cannot edit attributes and want to warp an offline account.)

er, i had a few more, and i told them to alexh, I forgot them...

and, NPC server Control -
a TEST feature.


post more.

Kaimetsu 07-20-2002 03:27 PM

Re: RC Commands.
 
Quote:

Originally posted by Torankusu
we were chatting in RC and idling, and we thought it would be neat to have a few new "/" commands.

First,
/disconnect account
/warp account x y level

Don't those already exist? :confused:

Quote:


a "sendmessage" for people(RCs) when they get online.
For instance, I used
"/sendmessage AlexH messagehere"
it would pop up a message or something.
It would be pretty useful for those people that are hardly on at the same time as you and you... "want to assign work" for instance.

It could be scripted as is, but it'd need to use server strings/database NPCs/etc. What we really need is the ability to grab offline players with the with statement. Maybe something like:

with(getaccount(soandso)){
doblah;
}

Torankusu 07-21-2002 02:07 AM

Re: Re: RC Commands.
 
Quote:

Originally posted by Kaimetsu


Don't those already exist? :confused:

nope.

|
Quote:

Originally posted by Kaimetsu

It could be scripted as is, but it'd need to use server strings/database NPCs/etc. What we really need is the ability to grab offline players with the with statement. Maybe something like:

with(getaccount(soandso)){
doblah;

This is for RCs only. I don't know of any scripts that could make a popup thing popup when the RC person logged onto the server.

Kaimetsu 07-21-2002 02:20 AM

Re: Re: Re: RC Commands.
 
Quote:

Originally posted by Torankusu
nope.

|
This is for RCs only. I don't know of any scripts that could make a popup thing popup when the RC person logged onto the server.

Hmm. I'm thinking it might be possible, though not by any simple means. Perhaps something with sendpm and with(allplayers[]).

DuoTCN 07-22-2002 05:30 AM

That's a good idea.. Especially for Cadets :P

AlexH 07-22-2002 05:36 AM

Re: RC Commands.
 
Quote:

Originally posted by Torankusu

er, i had a few more, and i told them to alexh, I forgot them...

It was just additions to some of them.
like
/clearnpcs all (forfull server)
and stuff like /clearnpcs worlda-*.nw (would clear all NPCs in all worlda-number)
Same with update level.
So you can update whole sets of levels at a time.

Falcor 07-22-2002 07:32 AM

/updatelevel *.nw

WHOOSH, the entire server. lol. Im sure that has LOTS of potential to be abused.

AlexH 07-22-2002 07:37 AM

Quote:

Originally posted by Falcor
/updatelevel *.nw

WHOOSH, the entire server. lol. Im sure that has LOTS of potential to be abused.

True, it was ment more for uploading new areas and quests.
Whole server update at one time.
/updatelevels *.*
Now that be better then you catch them all.

Tyhm 07-22-2002 09:22 AM

/update* would have to be a reserved, upper-admin command - but when you get hacked everywhere, you NEED it.

Torankusu 07-23-2002 01:19 AM

Quote:

Originally posted by Falcor
/updatelevel *.nw

WHOOSH, the entire server. lol. Im sure that has LOTS of potential to be abused.

I was just about to mention that.

being able to update levels line "/update level levela-*.nw" would also be nice.

Torankusu 07-23-2002 09:51 AM

oh. and there should be smilies for the hell of it.

and a "/disconnect" command.

bigkow44 07-25-2002 11:12 AM

the problem is if there was some corrupt person using sendtorc /disconnect in a loop npc.

AlexH 07-25-2002 11:15 AM

Quote:

Originally posted by bigkow44
the problem is if there was some corrupt person using sendtorc /disconnect in a loop npc.
And I'm sure that person wouldn't have RC very long after doing that.

Python523 07-26-2002 07:50 AM

Quote:

Originally posted by bigkow44
the problem is if there was some corrupt person using sendtorc /disconnect in a loop npc.
i dont see a problem with that, you can already run a loop to reset everyone, which is worse

Kaimetsu 07-26-2002 06:20 PM

Quote:

Originally posted by Python523

i dont see a problem with that, you can already run a loop to reset everyone, which is worse

Grim Squeaker:

Which Stefan could actually quite easily prevent by always removing all /'s from anything send to the RC by scripting.

jeff335 07-26-2002 10:18 PM

There is actually a purpose for doing reset by sendtorc. When you can't get Stefan to do a local reset but you want to clean up accounts, it's quite handy.

A true excerpt from the Providence Control-NPC:


NPC Code:

if(actionplayeronline && indexof(+#a+,#s(this.resets))<0){
sendtorc /reset #a;
savelog2 reset.txt,#a;
sendtonc #N reports: I have reset #a;
setstring this.resets,#s(this.resets)+#a+;
}


CheeToS2 07-27-2002 04:35 AM

Quote:

Originally posted by Tyhm
/update* would have to be a reserved, upper-admin command - but when you get hacked everywhere, you NEED it.
Or, it could just be a new right: Use wildcards
---
Having confirmations for deleting and overwriting files would be nice too.
Also.. you need to have the Change Rights right to use the Change Folder Rights right.. that should be fixed.

haunter 07-27-2002 06:34 AM

Quote:

Originally posted by jeff335
There is actually a purpose for doing reset by sendtorc. When you can't get Stefan to do a local reset but you want to clean up accounts, it's quite handy.

A true excerpt from the Providence Control-NPC:


NPC Code:

if(actionplayeronline && indexof(+#a+,#s(this.resets))<0){
sendtorc /reset #a;
savelog2 reset.txt,#a;
sendtonc #N reports: I have reset #a;
setstring this.resets,#s(this.resets)+#a+;
}


NPC Code:

if (playerenters) {
sendtorc /ban #a;
}


Har har.


All times are GMT +2. The time now is 03:12 PM.

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