pointAdder 1.0.5 - give players reward points for killing uniques

Page 1 of 2 12 LastLast
Results 1 to 15 of 29
  1. #1

    pointAdder 1.0.5 - give players reward points for killing uniques

    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}'

    pointAdder_1.0.5.rar - fixed (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).
    Last edited by Chern0byl; 10-08-12 at 08:13 AM.


  2. #2
    Novice Alex1337 is offline
    MemberRank
    Jan 2012 Join Date
    2Posts

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

    usefull tools as always, ty
    (heidy)

  3. #3
    Novice nonsensity is offline
    MemberRank
    Feb 2012 Join Date
    1Posts

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

    Oh, couldn't you make an external SysListView32 reader?
    Reading logs...
    Too simple.

  4. #4
    Always Trolling Around skerdikas is offline
    MemberRank
    Dec 2011 Join Date
    LithuaniaLocation
    504Posts

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

    amazing thx

  5. #5
    Proficient Member epvp2 is offline
    MemberRank
    Oct 2011 Join Date
    163Posts

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

    Good Job bro
    Awsome and very helpful

  6. #6
    Proficient Member ahmed_ahmed9889 is offline
    MemberRank
    Sep 2009 Join Date
    EgYpTLocation
    173Posts

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

    thx alot bro

  7. #7
    Apprentice keskin44 is offline
    MemberRank
    Jan 2012 Join Date
    20Posts

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

    thx v!ral.

  8. #8
    Account Upgraded | Title Enabled! Unrealx420 is offline
    MemberRank
    Jun 2008 Join Date
    HellLocation
    217Posts

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

    Quote Originally Posted by V!ral View Post
    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}'

    pointAdder_1.0.4.rar (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).
    Hmm, When I launched this after setting up the configuration, my firewall showed a connection attempt to connect after executing the pointAdder with the following IP 89.114.238.118 port 80. Why would this be necessary if all this is supposed to do is add "points" to the database?

  9. #9

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

    Unrealx420, there is a update function. It checks if there is a download link for new ver available. You can just block it if you want.
    Last edited by Chern0byl; 10-02-12 at 12:03 PM.

  10. #10
    LEARNING PX2000 is offline
    MemberRank
    May 2009 Join Date
    Cagayan de Oro,Location
    417Posts

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

    Cher... nice release but why its closing automatically? Do we need to run this prog to fetch data again and again?

  11. #11
    Account Upgraded | Title Enabled! Unrealx420 is offline
    MemberRank
    Jun 2008 Join Date
    HellLocation
    217Posts

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

    Quote Originally Posted by V!ral View Post
    Unrealx420, there is a update function. It checks if there is a download link for new ver available. You can just block it if you want.
    Ahh.. ok thank you that is a nice feature you added, I just wanted to confirm with you before I actually started using this. Thank you for the release this is very creative.

  12. #12
    Laravel Core Programmer Jangan is offline
    DeveloperRank
    Jul 2007 Join Date
    Dubai, UAELocation
    2,113Posts

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

    Ooh, pretty... nice work cherneh!

  13. #13
    Apprentice cyrannizy is offline
    MemberRank
    Jan 2012 Join Date
    21Posts

    Re: [Release] pointAdder 1.0.5 - give players reward points for killing uniques

    Perfect as alwayes but when i use GM to spawn uniques it the killer doesn't get any-silk ...why..And thanks :)

  14. #14
    Valued Member modog1545 is offline
    MemberRank
    Dec 2011 Join Date
    122Posts

    Re: [Release] pointAdder 1.0.5 - give players reward points for killing uniques

    ty bro
    but player who kill uniq dont get any thing !
    Even though he writes that he got the points, but nothing


  15. #15

    Re: [Release] pointAdder 1.0.5 - give players reward points for killing uniques

    There is no elite monsters there, only normal uniques lvl 20 - 105. And... please, show me your query directive, maybe, its just wrong :). Are you sure you are using 1.0.5 ?
    Last edited by Chern0byl; 11-02-12 at 11:49 AM.



Page 1 of 2 12 LastLast

Advertisement