Jail Suggestion
+2
HoboHere
Ducky_Becky
6 posters
LightningMS :: Server :: Suggestions
Page 1 of 1
Jail Suggestion
On many occasions, I've seen my friends get jailed; for different reasons but they are always forgotten. Today, my friend passed 6 hours in jail when forgotten. It was for spamming but really, 1/4th of the day jailed?
I suggest the jail should have a timer so if GMs go afk, log off or are just plain busy , they have a way to get out without having their friends smega-ing / spamming to remind them that so-and-so is still in jail .
K THANKS FOR READING(:
Re: Jail Suggestion
I SECOND THAT!!!!!!!!!!!!!!!!!!
HoboHere- Donor
- Posts : 21
Join date : 2011-04-10
Age : 28
Location : Street
Re: Jail Suggestion
[You must be registered and logged in to see this link.] i still like this song ._.
HoboHere- Donor
- Posts : 21
Join date : 2011-04-10
Age : 28
Location : Street
Re: Jail Suggestion
I agree; I've never been jailed but I heard it sucks.. but 6 hours? wow that's crazy.
•Bacárdí™- Moderator
- Posts : 764
Join date : 2011-04-05
Location : if(!troll(['id'])){ post_submit ('spam && flame')}
Re: Jail Suggestion
agreed the only thing is it would be really hard to code because what if you have two people in jail that both came at a diff time
o.o
unless you can have a different timer for each person, not too sure
o.o
unless you can have a different timer for each person, not too sure
Tribe- Posts : 207
Join date : 2011-04-02
Age : 32
Location : Ontario, Canada
Re: Jail Suggestion
You'll probably have to make a new table next to all the characters with the jail time value.
•Bacárdí™- Moderator
- Posts : 764
Join date : 2011-04-05
Location : if(!troll(['id'])){ post_submit ('spam && flame')}
Re: Jail Suggestion
It is not possible to make a timer to stay for a period of time in a map,
We have another method that will be tooken into action as soon as possible.
We have another method that will be tooken into action as soon as possible.
*[Faith]*- Posts : 89
Join date : 2011-03-04
Age : 30
Location : Mississauga, Ontario
Re: Jail Suggestion
Actually there's no actual timing for jailing someone. Some people are even jailed for 1 whole day. Sometimes not GM forgotten about them. There may be other reason. Thanks for the suggestion anyway.
[Masterbade]- Posts : 201
Join date : 2011-01-31
Age : 34
Location : Singapore
Re: Jail Suggestion
Jim, We're taking another method of this into consideration.
*[Faith]*- Posts : 89
Join date : 2011-03-04
Age : 30
Location : Mississauga, Ontario
Re: Jail Suggestion
You can ;
code;
-------------------------------------------------------------------------
} else if (sub[0].equals("jail")) {
int mapid = 930000800; //jail map
int free = 910000000; //Warps you here after alloted time
int time = Integer.parseInt(sub[2]); // Time is in milleseconds
final MapleCharacter criminal = c.getChannelServer().getPlayerStorage().getCharacterByName(sub[1]);
MapleMap jail = c.getChannelServer().getMapFactory().getMap(mapid);
final MapleMap freedom = c.getChannelServer().getMapFactory().getMap(free);
criminal.changeMap(jail, jail.getPortal(0));
criminal.dropMessage("You have been Jailed for" + sub[2] + "for Not listening to GM.");
TimerManager.getInstance().schedule(new Runnable() {
@Override
public void run() {
criminal.changeMap(freedom, freedom.getPortal(0));
}
}, time);
--------------------------------------------------------------------------------------------------
Everything should go to the char.java and would work like !jail <player> <time in mil secs> so like for 1 hour it'll be 36000
credits go to HorrorChix89;
code;
-------------------------------------------------------------------------
} else if (sub[0].equals("jail")) {
int mapid = 930000800; //jail map
int free = 910000000; //Warps you here after alloted time
int time = Integer.parseInt(sub[2]); // Time is in milleseconds
final MapleCharacter criminal = c.getChannelServer().getPlayerStorage().getCharacterByName(sub[1]);
MapleMap jail = c.getChannelServer().getMapFactory().getMap(mapid);
final MapleMap freedom = c.getChannelServer().getMapFactory().getMap(free);
criminal.changeMap(jail, jail.getPortal(0));
criminal.dropMessage("You have been Jailed for" + sub[2] + "for Not listening to GM.");
TimerManager.getInstance().schedule(new Runnable() {
@Override
public void run() {
criminal.changeMap(freedom, freedom.getPortal(0));
}
}, time);
--------------------------------------------------------------------------------------------------
Everything should go to the char.java and would work like !jail <player> <time in mil secs> so like for 1 hour it'll be 36000
credits go to HorrorChix89;
•Bacárdí™- Moderator
- Posts : 764
Join date : 2011-04-05
Location : if(!troll(['id'])){ post_submit ('spam && flame')}
LightningMS :: Server :: Suggestions
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|