Blackdogg Posted September 30, 2008 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
ColdK Posted October 1, 2008 Posted October 1, 2008 Re: Voting token exchange i thaught this was a paid mod Quote
Blackdogg Posted October 1, 2008 Author 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
Guest Sniko` Posted October 1, 2008 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
Karlos Posted October 1, 2008 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
Guest Sniko` Posted October 1, 2008 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
Karlos Posted October 1, 2008 Posted October 1, 2008 Re: Voting token exchange ok, nice one thanks Quote
Lithium Posted October 4, 2008 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
flipster Posted October 4, 2008 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
Blackdogg Posted October 4, 2008 Author 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
Zero-Affect Posted October 4, 2008 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
flipster Posted October 5, 2008 Posted October 5, 2008 Re: Voting token exchange has anyone fixed the one i posted yet Quote
Zero-Affect Posted October 5, 2008 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
SpotlightGaming Posted November 24, 2008 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
HITMAN 17 Posted November 24, 2008 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
Tezza` Posted November 24, 2008 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
HITMAN 17 Posted November 24, 2008 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
Dazza Posted November 24, 2008 Posted November 24, 2008 Re: [mccode] Voting token exchange Vote at Mpogr (Points 2) dont think the " should be infront of votempotg.php Quote
Blackdogg Posted November 24, 2008 Author 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
HITMAN 17 Posted November 24, 2008 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
Karlos Posted November 24, 2008 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
Blackdogg Posted November 24, 2008 Author 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
HITMAN 17 Posted November 24, 2008 Posted November 24, 2008 Re: [mccode] Voting token exchange what about like a small screen Quote
Blackdogg Posted November 24, 2008 Author 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
parelem 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 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.