![]() |
Banning players
Hey,
first of all, i am sry if this question sounds stupid somehow but is there a way to ban a player from within the game? Maybe with a time until the ban should exist? Actually i am banning people through the database. But querying the databse while players are online causes hughe lags so i am curious if there's another way. Thanks in advance, Sub |
As far as i know, you cant from with in the game but you can telnet to the cacheD server and send
Ban Code:
39<tab>charName<tab>banHour<enter>Code:
34<tab>charName<enter> |
Will try it :) Thanks alot
|
try peer guardian on ur server it blocks ips from seeing the server just debug character u wish to ban write down ip add to peer guardian and use the regular l2admin to ban they will have to change ip to see server again
|
thats probably why proxy servers were invented XD
however i find this info quite useful. thx :) |
Good idea to use l2admin or l2zsystem(Zachar's edition)
l2zsystem is more interesting and usefull that corean l2admin. so use search to find links on l2zsystem. it's on PHP |
Hmm .... search won't bring up any result for l2zsytem nor google do.
Do you have any link for us? Thanks in advance, Sub |
yea? pleees links? or where by it?
|
i have full system l2zsytem for server off
:D |
I'm pretty sure //stoplogin works to ban a player from ingame, Don't think it works for permanent bans, Not sure if it only bans the char or the whole account. Don't really have any experience from that command but it's worth a try imo.
|
Thats what I use to ban (using character name)
Code:
$name=$_POST['name']; |
PHP Code:
|
You need command for Ban in MSSQL server?
Open Lin2World and: BAN update lin2db.dbo.user_account set warn_flag = 1, block_flag = 1, block_flag2 = 1, block_end_date = '2029-08-12 19:49:xx.xx0'where account = 'ACC'; UNBAN update lin2db.dbo.user_account set warn_flag = 0, block_flag = 0, block_flag2 = 0, block_end_date = null where account = 'ACC'; |
block_flag - ban without confirm
block_flag2 - ownage ;) warn_flag - nothing? You can also use pay_stat xD This may be used with editing client .dat as email confirmation. |
different block_flag == different client side message
You can like that ban for a reason :D |
| All times are GMT. The time now is 21:45. |