- Joined
- Jul 8, 2010
- Messages
- 18
- Reaction score
- 0
Re: [Release] pointAdder 1.0.5 - give players reward points for killing uniques
Thx very much,worked for me too.
Thx very much,worked for me too.
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Missing some mobs in the code would be interesting and also records the names of the mob in a db so it would be possible to create a ranking on the site if necesite help implement the code send me an MP
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.
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}'
You must be registered to see links(highest unique it supports is medusa)
Contents should be extracted and runned from the server folder.
Please, report all the issues you get (better, with exception text).