Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bomy Island Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=80)
-   -   About Jail (https://forums.graalonline.com/forums/showthread.php?t=6470)

Fai 07-04-2001 06:24 AM

About Jail
 
Disable PMs/Toalls to anyone but Police/Admins/RCs from jail.

Crono Illusion 07-04-2001 06:27 AM

Re: About Jail
 
Quote:

Originally posted by Fai
Disable PMs/Toalls to anyone but Police/Admins/RCs from jail.
Yes.

NightLord 07-04-2001 09:15 AM

Re: About Jail
 
Quote:

Originally posted by Fai
Disable PMs/Toalls to anyone but Police/Admins/RCs from jail.
They haven't already?

Iracious 07-04-2001 09:19 AM

Admin building jail restricts PMs to RCs only, thus if we forget that they are in there.. well.. they have no way of contacting us. and the much nicer timer jail doesn't restrict anything

Tolerian28 07-04-2001 09:26 AM

Quote:

Originally posted by Iracious
Admin building jail restricts PMs to RCs only, thus if we forget that they are in there.. well.. they have no way of contacting us. and the much nicer timer jail doesn't restrict anything
hahaha they could be locked up forever!!

07-04-2001 09:42 AM

That may be the point ;)

Derrick 07-04-2001 09:45 AM

Yes, Fai's idea is the best idea.
I don't know why they have not done that already.

Hulk Hogan 07-04-2001 09:52 AM

Quote:

Originally posted by Derrick
Yes, Fai's idea is the best idea.
I don't know why they have not done that already.

your second sig doesn't work for me

Maduin 07-04-2001 10:37 AM

a big problem with jails is that if you jail a bomy to work, than they are stuck because they can't get the hammer. :)

Fai 07-04-2001 07:25 PM

When bomies go to work jail, they go to a cave. But the levels aren't linked right so you can't get out, can't get unjailed, and can't unstick, and need an admin to help you.

Valder 07-04-2001 08:04 PM

they should make those guys that walk around town have a scrit were you go

you:"Jail Player"
NPC guy:"What is the players accountname?"
you:"::accountname::"
NPC guy:"What is the duration of his sentence?"
you:"::Jail time::"
NPC guy:"::Accountname:: is now in jail for ::whatever time::"


Kaimetsu 07-04-2001 08:05 PM

Quote:

Originally posted by Valder
they should make those guys that walk around town have a scrit were you go

you:"Jail Player"
NPC guy:"What is the players accountname?"
you:"::accountname::"
NPC guy:"What is the duration of his sentence?"
you:"::Jail time::"
NPC guy:"::Accountname:: is now in jail for ::whatever time::"


*nods*

Easy to script from the NPC Server, I believe.

Tolerian28 07-04-2001 08:12 PM

Quote:

Originally posted by Valder
they should make those guys that walk around town have a scrit were you go

you:"Jail Player"
NPC guy:"What is the players accountname?"
you:"::accountname::"
NPC guy:"What is the duration of his sentence?"
you:"::Jail time::"
NPC guy:"::Accountname:: is now in jail for ::whatever time::"


Yeah sounds good :)

Slaktmaster 07-04-2001 08:20 PM

Very leet. Now do it someone!!!

Kaimetsu 07-04-2001 08:25 PM

Quote:

Originally posted by Slaktmaster
Very leet. Now do it someone!!!
*hopes this isn't aimed at him*

It'd have to be someone on the G2K1 staff. Few other people know exactly how their jail system works.

Slaktmaster 07-04-2001 08:28 PM

I didnt aim at you! I aimed at the 2001 staff.
And maybe I said it the wrong way.
Not HEI NOW DOE IT SUMWAN MAKE LEET JAIEL SYSTEMS
It would better with:
It would be really ood if someone made this

Kaimetsu 07-04-2001 08:33 PM

Actually, how does the G2K1 jail system work? Is there a scripted timer already?

Tolerian28 07-04-2001 08:35 PM

Quote:

Originally posted by Kaimetsu
Actually, how does the G2K1 jail system work? Is there a scripted timer already?
dunno.

grim_squeaker_x 07-04-2001 09:19 PM

Yes that's really simple with the NPC Server I think... I think this is the exact script for that:
NPC Code:
if (playerchats&&strequals(#g,police)) {
this.test=0;
if (startswith(jail player,#c)) {
tokenize #c;
if (tokenscount==4) {
with (getplayer(#t(2))) {
this.test=1;
setstring client.timeleftinjail,#v(strtofloat(#t(3)));
setlevel2 jail.graal,32,32;
}
if (this.test==0) setplayerprop #c,The account '#t(2)' is not online;
else setplayerprop #c,The account '#t(2)' has been jailed for #t(3) minutes;
}
else setplayerprop #c,Invalid setjail format, format should be: "jail player accountname time";
}
}

Only thing you'd need then is an NPC in the jail which decreases the timer.

Kaimetsu 07-04-2001 09:26 PM

I reckon dat'd be more efficient if you tokenised and then compared the first few words, rather than used startswith. And if you nested the #g comparison.

Aside from that, yeah, it looks good.

07-04-2001 11:00 PM

NPC Code:

with (getplayer(#t(2)))




That will load the account from the database, it doesn't matter if they are online or not.

grim_squeaker_x 07-04-2001 11:02 PM

Quote:

Originally posted by Napster69
NPC Code:

with (getplayer(#t(2)))




That will load the account from the database, it doesn't matter if they are online or not.

Okay I didn't know that I've never been able to use the NPC Server, in that case it's more of a check to see if the account exists.


All times are GMT +2. The time now is 06:09 PM.

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