![]() |
Jail Script Help
Hello, I am working on a jail system, Iv'e made the staff bit where you chose who, the reason, the hours, the minutes and the seconds it works as this.
PHP Code:
I am pretty much stuck on this bit, each way I attempt to have a crack at it, it just screws up/doesn't function properly. This is all I have got so far but i am pretty sure if more than one person is jailed the server side this.whatevers will change and screw it all up. PHP Code:
Any suggestions are welcome :) |
Quote:
It would also be very inefficient to have a triggerserver every second for jailed players, it would be better to have a serverside NPC loop through all jailed players within a level each minute or so, |
Thats the problem..
I do not know how to do it as a DB NPC. And I thought that memory editing disconnects you? |
Quote:
PHP Code:
And while certain cheat programs are automatically detected some can avoid detection while other methods simply aren't detected. There's also the issue now that people are inserting false scripts into the client which could very easily modify these types of variables. |
Ah ok, I didnt even think of setting variables in the NPC, I was thinking of adding them to an array which I do not know how to do x-x
|
My advice: don't make a jail system. Bans are superior to jails in every way.
|
Quote:
|
Quote:
|
Quote:
You can't even ban via script—without a jail, how do you propose to contain players who have been caught by cheating detection systems? I'm not arguing that jails are better than bans, I'm merely contesting your assertion that bans are superior in every way to jails. They clearly aren't. |
Can also "destroy" a server with bans, can't with a jailing system.
|
Jailing rights may also be more appropriate over ban rights for new/trial police staff, it also gives jailed players the opportunity to PM staff RCs to dispute their punishment (ever been jailed after a bush NPC has repeatedly set your chat to "you are such a ****... bush!"?).
Jailing can also be handled automatically should someone be caught hacking via script, as can a scripted IP ban, but not a normal ban. |
Quote:
|
I don't see much purpose in "wait-"based jail systems because they're highly ineffective as a deterrent.
|
All times are GMT +2. The time now is 04:39 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.