SQL Query for eCoins/wCoins

Results 1 to 7 of 7
  1. #1
    HITMAN CAPITOL is offline
    MemberRank
    Apr 2013 Join Date
    PhilippinesLocation
    717Posts

    SQL Query for eCoins/wCoins

    Anyone wanna share a script which can insert eCoins/wCoins for all online players?


  2. #2
    Valued Member Erickson Camejo is offline
    MemberRank
    Mar 2013 Join Date
    115Posts

    Re: SQL Query for eCoins/wCoins

    what you meant? procedure for give WC/GP for X online time? or just you will add coint to all account in your DB?

  3. #3
    HITMAN CAPITOL is offline
    MemberRank
    Apr 2013 Join Date
    PhilippinesLocation
    717Posts

    Re: SQL Query for eCoins/wCoins

    Just a simple query to give Coins for all accounts online

  4. #4

    Re: SQL Query for eCoins/wCoins

    So it has to be only for players who are 'currently in the server playing?"

  5. #5
    HITMAN CAPITOL is offline
    MemberRank
    Apr 2013 Join Date
    PhilippinesLocation
    717Posts

    Re: SQL Query for eCoins/wCoins

    Quote Originally Posted by KarLi View Post
    So it has to be only for players who are 'currently in the server playing?"
    Yes, just wanted to reward players who is online when inserted

  6. #6

    Re: SQL Query for eCoins/wCoins

    I tried to make query example but some things dont work..
    so it should be something like


    Update MEMB_CREDITS memb___id IF ConnectStat = 1 FROM MEMB_STAT Set credits = credits + 100

    but honestly you should do it manually on memb_credits just by checking who's online at MEMB_STAT its faster than figuring out the query

  7. #7
    Valued Member Erickson Camejo is offline
    MemberRank
    Mar 2013 Join Date
    115Posts

    Re: SQL Query for eCoins/wCoins

    Quote Originally Posted by KarLi View Post
    I tried to make query example but some things dont work..
    so it should be something like


    Update MEMB_CREDITS memb___id IF ConnectStat = 1 FROM MEMB_STAT Set credits = credits + 100

    but honestly you should do it manually on memb_credits just by checking who's online at MEMB_STAT its faster than figuring out the query

    ive tryin too and noting happened XD, i remember some procedure for give automaticaly X credtis per x time you want.



Advertisement