Jump to content
  • 0

AccountID in party win/lose record - SQL


whateveremer

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  01/05/14
  • Last Seen:  

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";

Link to comment
Share on other sites

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.

×
×
  • Create New...