Blackdogg Posted September 30, 2008 Share Posted September 30, 2008 Ok i know this is probably quite simple for most of you but this is my first attempt at making a mod the problem i have is that the reward is being given even when it says you dont have enough tokens thanks in advance Blackdogg You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
ColdK Posted October 1, 2008 Share Posted October 1, 2008 Re: Voting token exchange i thaught this was a paid mod Quote Link to comment Share on other sites More sharing options...
Blackdogg Posted October 1, 2008 Author Share Posted October 1, 2008 Re: Voting token exchange i dont know if there is a paid version but ive made this one myself lol Quote Link to comment Share on other sites More sharing options...
Guest Sniko` Posted October 1, 2008 Share Posted October 1, 2008 Re: Voting token exchange its quite simple to code why buy it (if its a paid mod) also why invent the wheel twice <-- a saying if you can code it why buy it when u can code it anyway thanks for this Quote Link to comment Share on other sites More sharing options...
Karlos Posted October 1, 2008 Share Posted October 1, 2008 Re: Voting token exchange nice one easy to read as well you should make the table clearer like You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Guest Sniko` Posted October 1, 2008 Share Posted October 1, 2008 Re: Voting token exchange nice one easy to read as well you should make the table clearer like You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. ok, nice one Quote Link to comment Share on other sites More sharing options...
Karlos Posted October 1, 2008 Share Posted October 1, 2008 Re: Voting token exchange ok, nice one thanks Quote Link to comment Share on other sites More sharing options...
Lithium Posted October 4, 2008 Share Posted October 4, 2008 Re: Voting token exchange Try replacing the echo "error" messages to die(error_message). you need to stop processing the script and echo alone doesn't do it. Quote Link to comment Share on other sites More sharing options...
flipster Posted October 4, 2008 Share Posted October 4, 2008 Re: Voting token exchange You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. this is my one but it has an error with stript tags Quote Link to comment Share on other sites More sharing options...
Blackdogg Posted October 4, 2008 Author Share Posted October 4, 2008 Re: Voting token exchange Try replacing the echo "error" messages to die(error_message). you need to stop processing the script and echo alone doesn't do it. Thanks mate i`ll give it a try Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted October 4, 2008 Share Posted October 4, 2008 Re: Voting token exchange nice mod, i was thinking of making something similar the other day but abit more advanced Quote Link to comment Share on other sites More sharing options...
flipster Posted October 5, 2008 Share Posted October 5, 2008 Re: Voting token exchange has anyone fixed the one i posted yet Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted October 5, 2008 Share Posted October 5, 2008 Re: Voting token exchange why on earth would you add strip tags.... its numeric... You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and maybe just for a little help learn Strip_Tags Sprintf MRES Quote Link to comment Share on other sites More sharing options...
SpotlightGaming Posted November 24, 2008 Share Posted November 24, 2008 Re: [mccode] Voting token exchange so where do you find an admin to report someone for posting a paid mod Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 24, 2008 Share Posted November 24, 2008 Re: [mccode] Voting token exchange btw just a voting question how do you get like a new page to pop up for each voting site instead of going off the game Quote Link to comment Share on other sites More sharing options...
Tezza` Posted November 24, 2008 Share Posted November 24, 2008 Re: [mccode] Voting token exchange You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. The target="_blank" means it will open in a new tab / window Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 24, 2008 Share Posted November 24, 2008 Re: [mccode] Voting token exchange i get this error Parse error: syntax error, unexpected T_STRING in /home/thedestr/public_html/voting.php on line 6 this is my code You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Dazza Posted November 24, 2008 Share Posted November 24, 2008 Re: [mccode] Voting token exchange Vote at Mpogr (Points 2) dont think the " should be infront of votempotg.php Quote Link to comment Share on other sites More sharing options...
Blackdogg Posted November 24, 2008 Author Share Posted November 24, 2008 Re: [mccode] Voting token exchange so where do you find an admin to report someone for posting a paid mod Where is the paid mod I created this one and posted it for help to fix the errors. Also if this was a paid mod (which its not) id feal sorry for the people whod buy as its not working lol voting token ? Sent to: Blackdogg on: Today at 09:30:54 AM ? -------------------------------------------------------------------------------- and this is why i only do encrypted cause people like you get ur hands on my stuff without paying for it also if it was your paidmod(which its not) you say in your mail to me that your mods are encrypted?? Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 24, 2008 Share Posted November 24, 2008 Re: [mccode] Voting token exchange You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Parse error: syntax error, unexpected T_STRING in /home/thedestr/public_html/voting.php on line 6 tryed it still the same Quote Link to comment Share on other sites More sharing options...
Karlos Posted November 24, 2008 Share Posted November 24, 2008 Re: [mccode] Voting token exchange You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. There. Quote Link to comment Share on other sites More sharing options...
Blackdogg Posted November 24, 2008 Author Share Posted November 24, 2008 Re: [mccode] Voting token exchange Ok lets get back to MY MOD :evil: and help mefix MINE lol You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
HITMAN 17 Posted November 24, 2008 Share Posted November 24, 2008 Re: [mccode] Voting token exchange what about like a small screen Quote Link to comment Share on other sites More sharing options...
Blackdogg Posted November 24, 2008 Author Share Posted November 24, 2008 Re: [mccode] Voting token exchange Thats what it looks like the problem im having is that when i use a "vote token" it takes 1 off every user Quote Link to comment Share on other sites More sharing options...
parelem Posted November 25, 2008 Share 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 Quote Link to comment Share on other sites More sharing options...
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.