Jump to content
MakeWebGames

Strats

Members
  • Posts

    649
  • Joined

  • Last visited

    Never

Everything posted by Strats

  1. Re: [mccodes v2] Taser Mod Also I get this on my game, Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/wrestlin/public_html/header.php on line 202 can someone give a push in the right direction?
  2. Re: [mccodes v2] Taser Mod I wanted to test this but I haven't done well lol. I put in the sql and it says :   Error SQL query: CREATE TABLE `froze` ( `ID` INT( 25 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , `userid` INT( 25 ) NOT NULL , `when` INT( 25 ) NOT NULL , `by` INT( 25 ) NOT NULL ) ENGINE = MYISAM INSERT INTO `items` ( `itmid` , `itmtype` , `itmname` , `itmdesc` , `itmbuyprice` , `itmsellprice` , `itmbuyable` , `effect1_on` , `effect1` , `effect2_on` , `effect2` , `effect3_on` , `effect3` , `weapon` , `armor` ) VALUES ( NULL , '1', 'Taser Gun', 'Use this to taser users, freeze them for 5 minutes!', '1000', '500', '1', '1', '', '0', '', '0', '', '0', '0' ) MySQL said: Documentation #1064 - 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 'INSERT INTO `items` (`itmid` , `itmtype` ,`itmname` ,`itmdesc` ,`itmbuyprice` ,`' at line 8
  3. Re: [McCodes V2] Private Helth Care (Donator Only) Nice work Dayo! Thanks for sharing.
  4. Re: [mccodes] Pay To Click Addon [$20]     I have joined many click adds and clicked for weeks and only ever really got like $2 I gave up after about 6 months of getting nothing. It's not worth bothering to be honest. I wouldn't bother adding it to my site. If you like click adds its probably better to make a click add site.
  5. Re: Wanting to purchase a few mods I have most of these mod's Did you want them for V1 or V2? Mail me, the mods are all free of course.
  6. I have nearly got working marriage on my game lol But once you marry someone you can marry again, Like Mormons lol Can anyone take a look at the proposal.php and try to fix it? Also if you can please let me know what you changed so I can learn :) Thank you for anyone who takes the time to have a read.   <?php /*----------------------------------------------------- -- Advanced Marriage Mod -- Product Copyright (c) Halo 2008 -- To be sold as freeware, do not re-sell -- Free for CE Members | Mccode V2 -----------------------------------------------------*/ include "globals.php"; if ($ir['married'] != 0) { die("You are already married"); } switch($_GET['action']) { case 'propose': propose_form(); break; case 'proposesub': propose_submit(); break; default: index(); break; } function index() { global $db,$ir,$c,$h,$userid; if ($ir['married'] != 0) { die("You are already married"); } else { print"<h1>Proposal Center</h1> Do you want to propose to someone? [url='propose.php?action=propose']> Yes[/url] [url='index.php']> No[/url]"; } } function propose_form() { global $db,$ir,$c,$h,$userid; if ($ir['married'] != 0) { die("You are already married"); } else { print"<h1>Proposal Center</h1> <form action='propose.php?action=proposesub' method='post'> Please enter the user id of the user you want to propose to: User: <input type='text' name='propose' /> Message: <input type='text' name='message' /> <input type='submit' value='Propose' /></form>"; } } function propose_submit() { global $db,$ir,$c,$h,$userid; if ($ir['married'] != 0) { die("You are already married"); } else if ($ir['userid'] == $_POST['propose']) { die("You cannot marry yourself"); } else { $ch=$db->query("SELECT * FROM proposals WHERE proPROPOSED={$_POST['propose']}"); if ($db->num_rows($ch)!=0) { die("This user already has a pending proposal, please try again later <a href=index.php>> Back</a>"); } else { $m=$db->query("SELECT * FROM users WHERE userid={$_POST['propose']}"); $r=$db->fetch_row($m); $db->query("INSERT INTO proposals VALUES('', '{$ir['userid']}', '{$_POST['propose']}', '{$_POST['message']}')"); event_add($_POST['propose'],"[url='viewuser.php?u=$userid']{$ir['username']} [{$ir['userid']}][/url] proposed to you Click [url='decision.php']<u>here</u>[/url] to make your mind up</a> ",$c); print"<h3>Proposal Center</h3> You proposed to {$r['username']} [{$r['userid']}], please wait for their decision "; } } } $h->endpage(); ?> ]
  7. Re: View Gang Surrender Lol Now can you fix it and repost it? :P
  8. Strats

    Energy

    Re: Energy Mail me if your still having trouble, I have just sorted out mine.
  9. Re: View Gang Surrender No one wants to share the fixed file lol
  10. Re: [mccodes] Pay To Click Addon [$20] Nice work, but bad idea. People will get bored of the click adds then then the game
  11. Re: View Gang Surrender I have this trouble as well. The surrender shows but when you "take it" you are still in war.
  12. Re: Help Please Very Urgent How crazy?
  13. Re: Help Please Very Urgent   How would you feel if someone said that to you? You would proberly be like WTF! incosiderate people, So when someone asks for support either support them or dont post.   Don't be silly, I was just joking.
  14. Re: Help Please Very Urgent Never put immature people or ex's as admins lol Let this be a lesson to you. :evil:
  15. Re: [MCCODES V2] Abduct someone from Hospital This is a fun mod. Nice work :)
  16. Re: Suicide Bombing Posting here doesn't show it's yours. Sorry I'm not trying to be rude, But I saw this a few days ago here
  17. Re: V2 Estate.php Fix? Thanks :)
  18. Re: V2 Estate.php Fix? Didn't help me but thank you very much for trying :-)
  19. Re: V2 Estate.php Fix? I was told that, But the whole thing is buggy. You can buy 1 house then the other without selling, then miss out on money lol So I wont be using this. Thanks Sean
  20. I have noticed there's a little by in this file, When you buy your house if you click back by accident or refresh the page it allows you to buy the house again. Which of course takes more money away from the user. Can someone fix this? Or give me a little idea of how to do it?   <?php include "globals.php"; $mpq=$db->query("SELECT * FROM houses WHERE hWILL={$ir['maxwill']}"); $mp=$db->fetch_row($mpq); $_GET['property']=abs((int) $_GET['property']); if($_GET['property']) { $npq=$db->query("SELECT * FROM houses WHERE hID={$_GET['property']}"); $np=$db->fetch_row($npq); if($np['hWILL'] < $mp['hWILL']) { print "You cannot go backwards in houses!"; } else if ($np['hPRICE'] > $ir['money']) { print "You do not have enough money to buy the {$np['hrNAME']}."; } else { $db->query("UPDATE users SET money=money-{$np['hPRICE']},will=0,maxwill={$np['hWILL']} WHERE userid=$userid"); print "Congrats, you bought the {$np['hNAME']} for \${$np['hPRICE']}!"; } } else if (isset($_GET['sellhouse'])) { $npq=$db->query("SELECT * FROM houses WHERE hWILL={$ir['maxwill']}"); $np=$db->fetch_row($npq); if($ir['maxwill'] == 100) { print "You already live in the lowest property!"; } else { $db->query("UPDATE users SET money=money+{$np['hPRICE']},will=0,maxwill=100 WHERE userid=$userid"); print "You sold your {$np['hNAME']} and went back to your shed."; } } else { print "Your current property: [b]{$mp['hNAME']}[/b] The houses you can buy are listed below. Click a house to buy it. "; if($ir['maxwill'] > 100) { print "[url='estate.php?sellhouse']Sell Your House[/url] "; } $hq=$db->query("SELECT * FROM houses WHERE hWILL>{$ir['maxwill']} ORDER BY hWILL ASC"); while($r=$db->fetch_row($hq)) { print "[url='estate.php?property={$r[']{$r['hNAME']}[/url] &nbsp - Cost: \${$r['hPRICE']} &nbsp - Will Bar: {$r['hWILL']} "; } } $h->endpage(); ?>
  21. Re: Stop people from using IE on website Although some people disagree I think this is a good idea.
  22. Re: Template Request! I think your work is great, I like it cause it's not to flashy and is easy on the eyes
  23. Re: GFX Cheap. Those are some shit hot banners!
  24. Re: [Mccodes V2] Easter Egg Events Impressive!
  25. Re: New MainMenu That is a terrible screen shot.
×
×
  • Create New...