Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 03.08.2005, 14:02   #1
patoreba
Архивный участник
 
Join Date: Apr 2005
Posts: 16
Default 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!
patoreba is offline  
Old 03.08.2005, 14:04   #2
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

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
SoaPy is offline  
Old 03.08.2005, 14:25   #3
patoreba
Архивный участник
 
Join Date: Apr 2005
Posts: 16
Default

lol'

thanks! im a dumb! Very easy.... thaks so much...
patoreba is offline  
Old 03.08.2005, 15:25   #4
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

L2 Roleplayer server, cool!

Never thought i'd see the day (i come from everquest, i can understand )
Sakumi is offline  
Old 03.08.2005, 20:00   #5
patoreba
Архивный участник
 
Join Date: Apr 2005
Posts: 16
Default

I try PkFalg = 0

But Red nam continue if u have karma > 0

Next ideia plz.

=´(
patoreba is offline  
Old 03.08.2005, 21:46   #6
Eliot
Архивный участник
 
Join Date: Mar 2005
Posts: 368
Default

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.
Eliot is offline  
Old 03.08.2005, 22:07   #7
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

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
Sakumi is offline  
Old 04.08.2005, 17:50   #8
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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 ?
rodier is offline  
Old 04.08.2005, 18:03   #9
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

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 is offline  
Old 08.08.2005, 22:59   #10
Sakumi
Архивный участник
 
Join Date: Apr 2005
Posts: 555
Default

Did this work for you, or no?
Sakumi is offline  
Old 29.08.2005, 17:02   #11
patoreba
Архивный участник
 
Join Date: Apr 2005
Posts: 16
Default

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!
patoreba is offline  
Old 30.08.2005, 04:23   #12
darkagent
Архивный участник
 
Join Date: Aug 2005
Posts: 54
Default

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.)
darkagent is offline  
Old 30.08.2005, 12:40   #13
patoreba
Архивный участник
 
Join Date: Apr 2005
Posts: 16
Default

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?
patoreba is offline  
Old 31.08.2005, 03:50   #14
darkagent
Архивный участник
 
Join Date: Aug 2005
Posts: 54
Default

make all terriotories a PVP zone (like an arena)
darkagent is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:12.