Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 06.04.2006, 17:24   #1
Met45
Архивный участник
 
Join Date: Jan 2006
Posts: 281
Default [Share] Karma Clear Script

Hi ppl,

here's a script for clearing the karma...
some ppl will like it some not, I think it's only usefull for High Rate server...
u can use it as a monthly karma reset...

Quote:
--Created by MEt45
--Choose the Lin2World Database

USE lin2world
GO

--Select the Table (user_data)

UPDATE user_data

--Clear the Karma of all Users

SET user_data.align = '0'
WHERE align > '0'

--END
I hope some ppl can use it for their servers

thx MEt45
Met45 is offline  
Old 06.04.2006, 17:37   #2
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

this kind of stuff works only with cached not running... so sorry but sucks.

edit: well i just read u have it for monthy karma reset.. c'on it's a simple query
Sauron is offline  
Old 06.04.2006, 17:39   #3
Met45
Архивный участник
 
Join Date: Jan 2006
Posts: 281
Default

yeah I know...
I have made this for clearing some stuff in the database,
while server is down :wink:
Met45 is offline  
Old 06.04.2006, 17:51   #4
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

why u clean karma ?
demon is offline  
Old 06.04.2006, 17:54   #5
Met45
Архивный участник
 
Join Date: Jan 2006
Posts: 281
Default

Quote:
Originally Posted by demon
why u clean karma ?
for highrate pvp server???
ppl can do more pk's and get cleared every month...
it's for a bid more action on server
Met45 is offline  
Old 07.04.2006, 10:16   #6
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

erm why then u dont change pc_parameter.txt

pc_karma_increase_table_begin
and
pc_karma_increase_constant_begin

so ppl can get rid of it FASTER and not clean it for them

i dont get your point

Code:

pc_karma_increase_table_begin
	lvl_1=0.0772184315
	lvl_2=0.2069377971
	lvl_3=0.2315085083
	lvl_4=0.2467800843
	lvl_5=0.2514219611
	lvl_6=0.2510075822
	lvl_7=0.2532083418
	lvl_8=0.2473028945
	lvl_9=0.2377178509
	lvl_10=0.2285526643
	lvl_11=0.2654635163
	lvl_12=0.2963434737
	lvl_13=0.3266100461
	lvl_14=0.3561112664
	lvl_15=0.3847320291
	lvl_16=0.4123878064
	lvl_17=0.4390194136
	lvl_18=0.4645886341
	lvl_19=0.4890745518
	lvl_20=0.5124704707
	lvl_21=0.697914069
	lvl_22=0.7270620642
	lvl_23=0.7548951721
	lvl_24=0.781438302
	lvl_25=0.8067235867
	lvl_26=0.8307889422
	lvl_27=0.8536768399
	lvl_28=0.8754332624
	lvl_29=0.8961068152
	lvl_30=0.9157479758
	lvl_31=1.141901707
	lvl_32=1.164989746
	lvl_33=1.187007991
	lvl_34=1.208015809
	lvl_35=1.228072687
	lvl_36=1.247237891
	lvl_37=1.265570177
	lvl_38=1.283127553
	lvl_39=1.299967093
	lvl_40=1.316144786
	lvl_41=1.56563607
	lvl_42=1.584513182
	lvl_43=1.602782135
	lvl_44=1.620501182
	lvl_45=1.637727218
	lvl_46=1.654515749
	lvl_47=1.670920885
	lvl_48=1.686995336
	lvl_49=1.702790439
	lvl_50=1.718356182
	lvl_51=1.985792061
	lvl_52=2.004235517
	lvl_53=2.022556446
	lvl_54=2.040806338
	lvl_55=2.059035551
	lvl_56=2.077293378
	lvl_57=2.095628115
	lvl_58=2.11408714
	lvl_59=2.13271699
	lvl_60=2.151563446
	lvl_61=2.43895427
	lvl_62=2.461486587
	lvl_63=2.484389213
	lvl_64=2.507711247
	lvl_65=2.531501442
	lvl_66=2.555808296
	lvl_67=2.580680152
	lvl_68=2.606165297
	lvl_69=2.632312062
	lvl_70=2.659168923
	lvl_71=2.686784604
	lvl_72=2.715208178
	lvl_73=2.744489172
	lvl_74=2.774677676
	lvl_75=2.805824444
	lvl_76=2.837981005
	lvl_77=2.871199773
	lvl_78=2.905534154
	lvl_79=2.941038662
	lvl_80=2.977769028
pc_karma_increase_table_end


pc_karma_increase_constant_begin
	penalty_start_karma=0
	penalty_duration_default=0
	penalty_duration_increase=0
	down_time_multiple=0
	criminal_duration_multiple=0
pc_karma_increase_constant_end
this will clean karma FAST ?

but i guess is smarter to delete karma from server every month
demon is offline  
Old 07.04.2006, 10:25   #7
Megatronpt
Архивный участник
 
Join Date: Jan 2006
Posts: 584
Default

I simply prefer the:

Code:
delete from lin2world.dbo.user_data
where pk > 0;
That's how I deal with those guys
Megatronpt is offline  
Old 07.04.2006, 11:15   #8
Met45
Архивный участник
 
Join Date: Jan 2006
Posts: 281
Default

Quote:
Originally Posted by Megatronpt
I simply prefer the:

Code:
delete from lin2world.dbo.user_data
where pk > 0;
That's how I deal with those guys
I think that will delete the whole "line" in the table, or am I wrong?

and to demon:

If u have 999999 karma ur pc paramter thingy is too slow to get rid of the karma...
Met45 is offline  
Old 07.04.2006, 11:26   #9
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

is somehow funny...
people here say its great if others show screens of what they've got to work, but woe betide those who share their little progress.
even if its not of use for you, theres no reason for crying out loud and saying: "woah! this is crap!" or whatever...
maybe someone else can make use of it, and obviously Met45 and probably some other guys can.
and one more thing:
nobody forces you to use it

and Met45, thanks for sharing
toolpunk is offline  
Old 07.04.2006, 11:33   #10
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

funny thread
why need this script? You wish be Rome Father? "Come to me, PK! Pray and all karma will be clear!"

You can do npc in Town Church.
"I pray"
and all karma clear. No free sure. Pray must be natural. 10 SS, 100 leaf, 1000 heal potion


But, better. Someone must do retail quest "Sin Eater" and all PK must be happy.
HF is offline  
Old 07.04.2006, 11:34   #11
Met45
Архивный участник
 
Join Date: Jan 2006
Posts: 281
Default

Quote:
Originally Posted by toolpunk
is somehow funny...
people here say its great if others show screens of what they've got to work, but woe betide those who share their little progress.
even if its not of use for you, theres no reason for crying out loud and saying: "woah! this is crap!" or whatever...
maybe someone else can make use of it, and obviously Met45 and probably some other guys can.
and one more thing:
nobody forces you to use it

and Met45, thanks for sharing
yeah np tp....

PS.: Immer diese Zicken hier... ^^
Met45 is offline  
Old 07.04.2006, 13:33   #12
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

Quote:
Originally Posted by toolpunk
is somehow funny...
people here say its great if others show screens of what they've got to work, but woe betide those who share their little progress.
even if its not of use for you, theres no reason for crying out loud and saying: "woah! this is crap!" or whatever...
maybe someone else can make use of it, and obviously Met45 and probably some other guys can.
and one more thing:
nobody forces you to use it

and Met45, thanks for sharing
i said if they re gonna post a thread of pictures do not enter if you don't like seing them, this is different... "[Share] Karma Clear Script" i entered and found a simple query which can be done by anyone here, if you can set up a l2server you can do this, i could start flooding this forum with crapy threads, like the change hair potion, since i don't have the exe hexed i could do a query to change it.
Oh i have anotherone, i don't know how to code on ai, so yeah i made a sql query to delevel you to 40 changing your class but be aware the server needs to be down.
so toolpunk if you like useless stuff that's not even close to official try l2j. they have a nice unstable very moded server :wink:
Sauron is offline  
Old 07.04.2006, 14:10   #13
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

Kind of dissapointing, I thought this was an in-game script to clear a players karma from the title (AI). Not a very useful share at all, but thanks for posting.
Shawnmb is offline  
Old 07.04.2006, 15:38   #14
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

lol
never mind sauron.
i didnt want to offend you.
if i did im sorry...
but for l2j, i think they've come a far way.
though its very unstable (yeah, i am testing it atm) it has many features we wont ever get working.
not even the 1337 h4x0rZ...
its quite nice for little servers and a large info source for the off community
toolpunk is offline  
Old 08.04.2006, 07:38   #15
Met45
Архивный участник
 
Join Date: Jan 2006
Posts: 281
Default

I don`t know what`s ur problem sauron... :evil:
If u don`t like this thread then leave...
Sry that I have shared something I don`t do that again >.<
Met45 is offline  
Old 08.04.2006, 11:58   #16
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

nah... just cool it guys...
it's really cool to share
just that i believe met45 havent put in enough thought into the script that's all...
nothing to go mad about?... we should just point out the fact that there might be better ways of doing certain things and not denying their effort and trying to get something to work and most importantly sharing their work regardless whether if it's bad or good
Digital is offline  
Old 09.04.2006, 03:37   #17
Shawnmb
Архивный участник
 
Join Date: Feb 2005
Posts: 307
Default

Agreed.
Shawnmb is offline  
 


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 16:10.