Jump to content
MakeWebGames

bennyh

Members
  • Posts

    30
  • Joined

  • Last visited

    Never

Everything posted by bennyh

  1. Re: could i have 20 seconds of your time please!? help needed UPDATE: Its now not deleting them from the validate table so therefore its not adding them into the user table as i said $5 to whoever can fix it Bennyh
  2. Re: could i have 20 seconds of your time please!? help needed Again thanks for all the replies the error has gone but now when they press the link to validate it says account vaidated but they cannot login, again its not entering them into the users database? Any ideas Whoever can help i will pay $5 Thanks Ben
  3. Re: could i have 20 seconds of your time please!? help needed Thanks for your reply but i get this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 2, 2, 1, 12, 12, 100, 100, 5, 5, 100, 100, 9, 'Male', unix_timestamp(), '', -1,' at line 1
  4. Re: could i have 20 seconds of your time please!? help needed I dont get it :? Sorry am i being stupid
  5. When my users validate their email account it deletes them from the validate table but its not entering them into my users database Can anyone help me please? below is my validate page   <?php session_start(); require "mysql.php"; global $c; if ( $_GET['act'] == 'val') { $q=mysql_query("SELECT * FROM validating WHERE vdID='{$_GET['token']}'", $c); if (!mysql_num_rows($q)) { die("Invalid account"); } $r=mysql_fetch_array($q); $pass=strip_tags($r['vdPASSW']); $pass=md5($pass); $username=($r['vdUSERN']); $email=($r['vdEMAIL']); $money=($r['vdMONEY']); mysql_query("INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip) VALUES( '{$username}', '{$username}', md5('{$_POST['password']}'), 1, $sm, 2, 2, 1, 12, 12, 100, 100, 5, 5, 100, 100, 9, 'Male', unix_timestamp(), '{$_POST['email']}', -1, '$ip')", $c); $i=mysql_insert_id($c); mysql_query("INSERT INTO userstats VALUES($i,10,10,10,10,10)",$c); mysql_query("DELETE FROM validating WHERE vdID='{$_GET['token']}'", $c); print "Account validated! [url='login.php']> Login[/url]"; } else { mysql_query("DELETE FROM validating WHERE vdID='{$_GET['token']}'", $c); print "Registration Cancelled."; } ?>   THANKS
  6. Re: Has anyone got a email validation mod for V1 for sale will pay $$$ Already bought his mod it didn't work and offered no support just said it's my fault I spoke to other people that bought they had the same problem, then tried to get him to install it but he's not answering me been about 3 weeks. If anyone else has one for sale then please pm me
  7. Re: Has anyone got a email validation mod for V1 for sale will pay $$$ Sorry... So would like it when a user registers they have to validate their email address before they can play the game thanks ben
  8. As title says really have tried looking on here but couldnt find any and have also tried converting the V2 ones on here but have no luck Any help would be greatly appreciated Thanks Ben
  9. Re: [MCcode V2 or V1] raDiO's Raffle Script [$10 USD] Radio couldnt have been more helpful had trouble installing it and he even done it for me for FREE! Mod works perfectly and all users are happy Thanks Mate +1
  10. Re: [V1][V2] 50/50 Chance Mod. Free Version +1 wicked mod thanks :mrgreen:
  11. Re: Wanted email verification mod v1 I cant find them anywhere any chance of help? Paid or unpaid Thanks Ben
  12. Re: Wanted email verification mod v1 Must be someone
  13. Re: Wanted email verification mod v1 $$$ Forgot to say I am expecting to pay for it lol bennyh
  14. As title says really I would like an email validation mod for v1 thanks for your time bennyh
  15. Re: Help with email validation The system notices that they have validated it's just not adding them to the database
  16. Re: Help with email validation But isn't th register page be the one that has the query to enter into the database? And I have the validate.php but that has no query lines to add users to the database. And I know it paid but the person who I bought it off who I don't want to name said it comes will full support. The reply I got when I said it's not working was the codes are fine so it's your fault. And thanks will look into security bennyh
  17. Hi all, I brought an email validation from a member from here and they think that im installing it wrong and want another $5 for me to install it so i thought i would ask on here first. After users have validated it is not inserting their details into my databases below is my register.php hope you can help :-)   <?php session_start(); print "<html> <head> <title>Murder Country</title> <style> body { font-family:Verdana;font-size:9pt;color: red; background-color:black; scrollbar-base-color: red; scrollbar-arrow-color: black; scrollbar-DarkShadow-Color: #000000; } a:visited,a:active,a:hover,a:link { color: red;text-decoration: none; } table,tr,td { font-size:9pt; } img { border:none; } </style> </head> <body>[img=logo.png] "; $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; if(file_exists('ipbans/'.$ip)) { die("[b]<font color=red size=+1>Your IP has been banned, there is no way around this.</font>[/b]</body></html>"); } require "mysql.php"; global $c; if($_POST['username']) { $sm=100; if($_POST['promo'] == "Your Promo Code Here") { $sm+=100; } $username=$_POST['username']; $username=str_replace(array("<", ">"), array("<", ">"), $username); $q=mysql_query("SELECT * FROM users WHERE username='{$username}'",$c); if(mysql_num_rows($q)) { print "Username already in use. Choose another."; } else if($_POST['password'] != $_POST['cpassword']) { print "The passwords did not match, go back and try again."; } else { $_POST['ref'] = abs((int) $_POST['ref']); $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $q=mysql_query("SELECT * FROM users WHERE lastip='$ip' AND userid={$_POST['ref']}",$c); if(mysql_num_rows($q)) { die("No creating referral multies. Bad dog."); } if($_POST['ref']) { $q=mysql_query("SELECT * FROM users WHERE userid={$_POST['ref']}",$c); $r=mysql_fetch_array($q); } mysql_query("INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip) VALUES( '{$username}', '{$username}', md5('{$_POST['password']}'), 1, $sm, 2, 2, 1, 12, 12, 100, 100, 5, 5, 100, 100, 9, 'Male', unix_timestamp(), '{$_POST['email']}', -1, '$ip')", $c); $i=mysql_insert_id($c); mysql_query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10)", $c); if($_POST['ref']) { require "global_func.php"; mysql_query("UPDATE users SET crystals=crystals+2 WHERE userid={$_POST['ref']}",$c); event_add($_POST['ref'],"For refering $username to the game, you have earnt 2 valuable crystals!",$c); mysql_query("INSERT INTO referals VALUES('', {$_POST['ref']}, $i, unix_timestamp(),'{$r['lastip']}','$ip')", $c); } print "You have signed up, enjoy the game. > [url='login.php']Login[/url]"; } } else { print "<h3>Murder Country Registration</h3>"; print "<form action=register.php method=post>Username: <input type=text name=username> Password: <input type=password name=password> Confirm Password: <input type=password name=cpassword> Email: <input type=text name=email> Promo Code: <input type=text name=promo> <input type=hidden name=ref value='"; if($_GET['REF']) { print $_GET['REF']; } print "'> <input type=submit value=Submit></form> > [url='login.php']Go Back[/url]"; } print "</body></html>"; ?>   Thanks Bennyh
  18. Hi, I hope you can help me, I bought the email verification from cronus i couldnt get it to work so i added my old register.php file back on my server. And throuhout my game i get the error messages:   Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/murderco/public_html/inventory.php on line 27 You have no items Equipped! Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/murderco/public_html/inventory.php on line 53 On my inventory.php and   Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/murderco/public_html/halloffame.php on line 160 On my halloffame.php, I presume its got to be my register thats caused these probems as i had no trouble at all before, below is my register.php i hope you can help. thanks for your time. <?php session_start(); print "<html> <head> <title>Murder Country</title> <style> body { font-family:Verdana;font-size:9pt;color: red; background-color:black; scrollbar-base-color: red; scrollbar-arrow-color: black; scrollbar-DarkShadow-Color: #000000; } a:visited,a:active,a:hover,a:link { color: red;text-decoration: none; } table,tr,td { font-size:9pt; } img { border:none; } </style> </head> <body>[img=logo.png] "; $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; if(file_exists('ipbans/'.$ip)) { die("[b]<font color=red size=+1>Your IP has been banned, there is no way around this.</font>[/b]</body></html>"); } require "mysql.php"; global $c; if($_POST['username']) { $sm=100; if($_POST['promo'] == "Your Promo Code Here") { $sm+=100; } $username=$_POST['username']; $username=str_replace(array("<", ">"), array("<", ">"), $username); $q=mysql_query("SELECT * FROM users WHERE username='{$username}'",$c); if(mysql_num_rows($q)) { print "Username already in use. Choose another."; } else if($_POST['password'] != $_POST['cpassword']) { print "The passwords did not match, go back and try again."; } else { $_POST['ref'] = abs((int) $_POST['ref']); $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $q=mysql_query("SELECT * FROM users WHERE lastip='$ip' AND userid={$_POST['ref']}",$c); if(mysql_num_rows($q)) { die("No creating referral multies. Bad dog."); } if($_POST['ref']) { $q=mysql_query("SELECT * FROM users WHERE userid={$_POST['ref']}",$c); $r=mysql_fetch_array($q); } mysql_query("INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip) VALUES( '{$username}', '{$username}', md5('{$_POST['password']}'), 1, $sm, 2, 2, 1, 12, 12, 100, 100, 5, 5, 100, 100, 9, 'Male', unix_timestamp(), '{$_POST['email']}', -1, '$ip')", $c); $i=mysql_insert_id($c); mysql_query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10)", $c); if($_POST['ref']) { require "global_func.php"; mysql_query("UPDATE users SET crystals=crystals+2 WHERE userid={$_POST['ref']}",$c); event_add($_POST['ref'],"For refering $username to the game, you have earnt 2 valuable crystals!",$c); mysql_query("INSERT INTO referals VALUES('', {$_POST['ref']}, $i, unix_timestamp(),'{$r['lastip']}','$ip')", $c); } print "You have signed up, enjoy the game. > [url='login.php']Login[/url]"; } } else { print "<h3>Murder Country Registration</h3>"; print "<form action=register.php method=post>Username: <input type=text name=username> Password: <input type=password name=password> Confirm Password: <input type=password name=cpassword> Email: <input type=text name=email> Promo Code: <input type=text name=promo> <input type=hidden name=ref value='"; if($_GET['REF']) { print $_GET['REF']; } print "'> <input type=submit value=Submit></form> > [url='login.php']Go Back[/url]"; } print "</body></html>"; ?>
  19. Re: Any chance for 10 seonds of your time? Well that would be good aswell so users can delete their gang but mainly need a code so the president cant leave, the president will need to make someone else the president before they can leave. It wont let me put my code in as its too long Thanks
  20. Hi all, Just wonderng if anyone could help me. I need a code so gang presidents cant leave their gang while they are president so they have to make someone else president thats in the gang. Its for McCodes V1 Thanks in advance Bennyh
  21. Hi all, If you could just take the tme to logon to my website and review my game let me know the positives and negatives it woud be great. The site is www.murdercountry.com Thanks in advance Bennyh
  22. Re: Looking for email verification mod V1 Not too clear for me. Is there a simple straight forward mod? Thanks for your help Ben
  23. Hi all as the title says im looking for the email verification mod for my McCodes V1, any help towards the right direction will be greatly appreciated. Thanks Bennyh
  24. I have had my game on and off for around 2 years now. My problem is that when certain users go to attack another user they beat them down to 0 health and they get the option to leave, mug etc however when they press their desired option they get a blank screen and the user does not enter hospital. Please note this is only random users that are affected and their attacking problem occured randomly. IE they could attack with no problems at all but then one day they just had a problem with it. I assume it cant be the codes because they could attack fine before and it is only random users that are having problems. You can reply here or pm me I am offering $20 Thanks Bennyh
  25. Hi all, I have had my game on and off for around 2 years now. My problem is that when certain users go to attack another user they beat them down to 0 health and they get the option to leave, mug etc however when they press their desired option they get a blank screen and the user does not enter hospital. Please note this is only random users that are affected and their attacking problem occured randomly. IE they could attack with no problems at all but then one day they just had a problem with it. I assume it cant be the codes because they could attack fine before and it is only random users that are having problems. I am offering $20 Thanks Bennyh
×
×
  • Create New...