![]() |
i want disable RED name for PK.
How i disable RED name for PK players? :shock:
My server is only RP and Red name is a big problem. Plz help me! |
try in pkflag with a 0
lin2db Database -> Table -> Server (open table) id = 1 name = same as the worldname in l2server.ini ip = WAN IP inner_ip = LAN IP ageLimit = 0 pk_flag = 0 kind=0 port=7777 |
lol'
thanks! im a dumb! Very easy.... thaks so much... |
L2 Roleplayer server, cool!
Never thought i'd see the day (i come from everquest, i can understand :D) |
I try PkFalg = 0
But Red nam continue if u have karma > 0 Next ideia plz. =´( |
I am successfully running a Roleplaying server for 9 months now, i have average 250 people online. No swearing, no stupid names, fantasy behaviour requied.
|
if u want to set all pre-existing red names to white, you can do so in the user_data table in the lin2world database
|
but how? btw I see something with karma in settings or pc_parameters.txt
is there way to set how much karma to get banned by guards/npcs ? |
Two step process.
a] Run Microsoft SQL Query Analyzer (Programs -> Microsoft SQL Server -> SQL Query Analyzer). b] Type this code in a blank query window and hit F5 (l2 server must be offline) [php:1:4ee80ab9b9]/* Code by Sakumi */ USE lin2db; UPDATE server SET PKflag = '0' WHERE PKflag > '0'; USE lin2world; UPDATE user_data SET PK = '0' WHERE PK > '0'; UPDATE user_data SET PKpardon = '0' WHERE PKpardon > '0'; /* Code by Sakumi */[/php:1:4ee80ab9b9] Ok i would like to note this is UNTESTED. The SQL is correct and does what it is susposed to. Now, this is all based on the theory L2 can disallow PKs. Now... Im not sure what would happen. A player tries to kill another player, stops at 0 hp? Im kind of busy testing things on my internal test enviroment to test this, so please test localy before applying to your real server. I don't want a bunch of pissed off RPers who now have reds back to 0 pks and 0 karma who can still kill them (lol). So please test. Hope this helped. |
Did this work for you, or no?
|
Dont work for me
I set all karma 0 kind 0 Pkpardon 0 pk_flag 0 I test kill one player and my name RED! |
and there's the problem.. modifyin' user_data has no effect without server restart. so there's no exit.. i think you can try to make SQL-TELNET linked tool to make changes on the fly by injecting data in Cached (telnet server-ip 2009: -> 29;charName;deltaSp;deltaExp;deltaAlign;deltaPk;de ltaPkPardon;deltaDuel <- there deltaAlign is "Karma" of your char.)
|
i test again but don´t work!
Set all values for 0 (karma, pk......) restart server. and RED name again after kill my status pvp 0/0 after kill my status pvp 0/1 - RED NAME Other sugestion? |
make all terriotories a PVP zone (like an arena)
|
| All times are GMT. The time now is 15:49. |