[Release] pointAdder 1.0.4 - give players reward points for killing uniques

02/09/2012 21:46 Chernobyl*#1
So, here is a simple server log parser, which will search log files for every unique kill it can find, and run specific query which you can define by yourself.

WARNING: Before you execute this first time, better ensure there is no
logs from different server in your server folder.

Didnt add cap 110/120 uniques yet, since wrote this for my 100 cap srv.

cfg.ini contains common settings for mssql connection and such

rewards.ini file contains definitions for mob kill rewards

cfg.ini -> maxLevelDifference = how much levels higher can character be than unique level

cfg.ini -> query directive

basically, for writing custom query

function has 4 format arguments -

Code:
{0} - nPoints
{1} - Username
{2} - CharID
{3} - charName
{4} - userJID
means, you can use them in query this way (few examples):

query=UPDATE MYTABLE SET POINTS=(POINTS + {0}) WHERE AccountName='{1}'

query=UPDATE SK_Silk set silk_own = (silk_own + {0}) where JID='{4}'

*removed* [v1.0.5 - fixed query]

Contents should be extracted and runned from the server folder.


Please, report all the issues you get (better, with exception text).
02/11/2012 17:59 Vaidas B#2
Quote:
Originally Posted by PortalDark View Post
i still wonder where mod is and why still hasn't been cleaned(or closed)
Because mods are people too, and have lives (so they can't be on 24/7 and watch over you guys). :) Anyway, the thread is now being cleaned (or is cleaned, depends on when you're reading this). Also, I wouldn't want to close any releases as it might prove useful someday.
02/11/2012 21:55 •ᵔBeGodOfWarᵔ•#3
Quote:
Originally Posted by TheConArtist View Post
Because mods are people too, and have lives (so they can't be on 24/7 and watch over you guys). :) Anyway, the thread is now being cleaned (or is cleaned, depends on when you're reading this). Also, I wouldn't want to close any releases as it might prove useful someday.
Fair moderator are fair :)
02/11/2012 22:01 TheOxide#4
Quote:
Originally Posted by •ᵔBeGodOfWarᵔ• View Post
Fair moderator are fair :)
fail grammar is fail
02/11/2012 22:32 •ᵔBeGodOfWarᵔ•#5
Quote:
Originally Posted by TheOxide View Post
fail grammar is fail
get a life :facepalm:
and ahmed4ever2u who thanked you ,,, check my siggy noob you dont know even whats the meaning of grammar !
@TheOxide im not speaking english to be pro at it so you can stfu and stop comment of people english
and im better than noobs who are using google translate to make themself pro
02/11/2012 22:33 LastThief#6
Round 3 FIGHT
02/11/2012 22:35 •ᵔBeGodOfWarᵔ•#7
Quote:
Originally Posted by LastThief View Post
Round 3 FIGHT
No im not fighting :) just remind him!
02/11/2012 22:48 Dr.Abdelfattah#8
Nice work keep it up :)
02/12/2012 01:12 Ahmed Abdelhady#9
Thanks Chernobyl* again :)

Quote:
Originally Posted by •ᵔBeGodOfWarᵔ• View Post
get a life :facepalm:
and ahmed4ever2u who thanked you ,,, check my siggy noob you dont know even whats the meaning of grammar !
@TheOxide im not speaking english to be pro at it so you can stfu and stop comment of people english
and im better than noobs who are using google translate to make themself pro
maybe they using google translate in some words because no one comment on them like now
i preffer using google translation and no one comment on my english
why u mad because ahmed4ever2u thanked him
begodofwar ur bullshit
that is my last post here because i dont want to fight with kid 9 years old
08/10/2012 08:24 Chernobyl*#10
Dead link updated.
08/10/2012 10:45 evolution007#11
is it possible to add points for killing trader or thief?
08/10/2012 15:54 2blackeyes#12
there was something like this on GrindRoad (the emu) thanks btw for the release,