Graal Forums

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

zell12 05-04-2002 10:12 AM

Spiffy Clock for RC...
 
Well, there should be a clock for RC. #1 reason is that Staff usually jail people for a few hrs, but end up leaving, and the staff on have no clue what time they set it. So, if the Clock was GMT, the staff would set the time for the jail sentence according to that. :)

Or, if the time was automated, like you can right click em, and select somthing like
Punishment > Ban Player.
Jail Player.

And like, when you click one of them, a window pops up, asking for how long to set the ban/jail time to. If Ban, it would have things like, 5 days, 6 days, etc... for Jailing, it would be 1 hour, 2hour, etc... up to days. When the sentence is passes the person is automatically warped to onlinestartlocal.graal or the start level an/or the player is unbanned. For Jailing, the RC would read the jaillevel=jail.graal in the server options to know what level to warp th player to. You could aslo give them rights, like, setnick, sethead, toall toguild, pms to staff guilds, and you could also change their nick.

Slaktmaster 05-04-2002 06:05 PM

Script a time jail?

BBflat 05-04-2002 09:35 PM

Quote:

Originally posted by Slaktmaster
Script a time jail?
A time jail requires the player to be online (usually). There are usually several bug in them, as well. Anyhow, I rather agree with this thing about the clock. I guess one could script a time jail, but I don't think one can script a time ban. I hereby support the clock.

zell12 05-04-2002 10:49 PM

I think this would improve the admistration, if you can auto unban/unjail players, then can we have a list in RC, so when a player is warped/banned, there account name appears on a window of some sort.

screen_name 05-04-2002 11:17 PM

NPC Code:

if (isweapon) {
timeout=.1;
}

if (timeout) {
this.keeptrack++;
if (this.keeptrack==10) {
setstring player.jailtime,#v(strtofloat(#s(player.jailtime))-1);
}
if (strtofloat(#s(player.jailtime))<=0) {
destroy;
}
timeout=.1;
}



easy as that

zell12 05-04-2002 11:35 PM

still, it would be easier <.<

Slaktmaster 05-05-2002 12:00 AM

Use timevar and you won't have to be online.

zell12 05-05-2002 12:04 AM

Well, I still think that the clock would be nice for alot of reason, I already said :rolleyes:

screen_name 05-05-2002 12:48 AM

with the script above, you have to spend the specified amount of time in jail, so they just cant leave and come back when their time should be up

Falcor 05-05-2002 05:21 AM

you could have a script in player weapons. then set a serverr string to jail people.

suchas

serverr.jail=zell12,1h 2m 3s
ect etc

zell12 05-05-2002 06:37 AM

spiffy :D

BBflat 05-05-2002 11:45 PM

Still, that doesn't unban people. NPCs just don't do that. The clock would solve that.

zell12 05-05-2002 11:47 PM

thats why he said "set a serverr string to jail people."
not ban people.

BBflat 05-05-2002 11:49 PM

Quote:

Originally posted by zell12
thats why he said "set a serverr string to jail people."
not ban people.

I got so far. But if you want to ban someone for a certain amount of time and you won't be around then or something, then the server would automatically unban the person. The jail thing sounds great.

adam 05-08-2002 10:48 AM

When you jail somebody the time they are in jail should only pass while they are online. :cool: Finally we can see the jails full of people.


All times are GMT +2. The time now is 11:19 AM.

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