Karlos Posted November 25, 2008 Posted November 25, 2008 Re: [mccode] Voting token exchange in all your queries that are of this format $db->query("UPDATE users SET health=maxhealth, votetokens=votetokens-2"); you need change to fit this $db->query("UPDATE users SET health=maxhealth, votetokens=votetokens-2 WHERE userid=$ir['userid']"); otherwise the database does not know which specific user update I would personally re-write that query as You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Zero-Affect Posted November 26, 2008 Posted November 26, 2008 Re: [mccode] Voting token exchange in all your queries that are of this format $db->query("UPDATE users SET health=maxhealth, votetokens=votetokens-2"); you need change to fit this $db->query("UPDATE users SET health=maxhealth, votetokens=votetokens-2 WHERE userid=$ir['userid']"); otherwise the database does not know which specific user update I would personally re-write that query as You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. or get bored and do You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
BARR3TT Posted December 13, 2008 Posted December 13, 2008 Re: [mccode] Voting token exchange This has one big proberlem. Users can hold ctrl key and click the vote link, and get as meany tokens as they want Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.