Jump to content
  • 0

AccountID in party win/lose record - SQL


Question

Posted

hi can i request an sql script that adds 1 win or 1 lose in the account ids in the party..
 

i tried to make but it only adds to the points to the account if of the party leader and not the party member

query_sql "insert into `pvpladder` (`AccID`, `GamesPlayed`, `RankPoints`, `Wins`) values ('"+ getcharid(3) +"', '1', '1', '1') on duplicate key update `GamesPlayed` = `GamesPlayed` +1, `RankPoints` = `RankPoints` +1, `Wins` = `Wins` +1";

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...