Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Темы без сохранившегося раздела (https://postpacific.mmorpg-game.online/forumdisplay.php?f=10001)
-   -   i want disable RED name for PK. (https://postpacific.mmorpg-game.online/showthread.php?t=1355)

patoreba 03.08.2005 14:02

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!

SoaPy 03.08.2005 14:04

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

patoreba 03.08.2005 14:25

lol'

thanks! im a dumb! Very easy.... thaks so much...

Sakumi 03.08.2005 15:25

L2 Roleplayer server, cool!

Never thought i'd see the day (i come from everquest, i can understand :D)

patoreba 03.08.2005 20:00

I try PkFalg = 0

But Red nam continue if u have karma > 0

Next ideia plz.

=´(

Eliot 03.08.2005 21:46

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.

Sakumi 03.08.2005 22:07

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

rodier 04.08.2005 17:50

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 ?

Sakumi 04.08.2005 18:03

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.

Sakumi 08.08.2005 22:59

Did this work for you, or no?

patoreba 29.08.2005 17:02

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!

darkagent 30.08.2005 04:23

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.)

patoreba 30.08.2005 12:40

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?

darkagent 31.08.2005 03:50

make all terriotories a PVP zone (like an arena)


All times are GMT. The time now is 22:31.