![]() |
|
|
#9 |
|
Архивный участник
Join Date: Apr 2005
Posts: 555
|
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. |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|