Jump to content
MakeWebGames

Haunted Dawg

Members
  • Posts

    2,933
  • Joined

  • Last visited

    Never
  • Days Won

    1

Everything posted by Haunted Dawg

  1. Re: Gang surrender accept, SQL error. there's how many problems in mccode v2 engine but this is one of them.
  2. Re: Gang surrender accept, SQL error. This is a normal problem for all new v2 mccode game's.   function gang_staff_surrender() { global $db,$ir,$c,$userid,$gangdata; if(!isset($_POST['subm'])) { echo '<form action="yourgang.php?action=staff&act2=surrender" method="post"> Choose who to surrender to.[b] <input type="hidden" name="subm" value="submit"> Gang: <select type="dropdown" name="war">'; $wq = mysql_query("SELECT * FROM gangwars where warDECLARER=".$ir['gang']." or warDECLARED=".$ir['gang']) or die(mysql_error()); while($r = mysql_fetch_assoc($wq)) { if($gangdata['gangID'] == $r['warDECLARER']) { $w = "You"; $f = "warDECLARED"; } else { $w = "Them"; $f = "warDECLARER"; } $d = date('F j, Y, g:i:s a',$r['warTIME']); $ggq = mysql_query("SELECT * FROM gangs WHERE gangID=".$r['$f']) or die(mysql_error()); $them = mysql_fetch_assoc($ggq); echo '<option value="'.$r['warID'].'" name="war">'.$them['gangNAME'].'</option>'; } echo '</select> Message: <input type="text" name="msg"> <input type="submit" value="Surrender"></form>'; } else { $_POST['war'] = abs(@intval($_POST['war'])); $wq = mysql_query("SELECT * FROM gangwars where warID=".$_POST['war'].") or die(mysql_error()); $r = mysql_fetch_assoc($wq); if($gangdata['gangID'] == $r['warDECLARER']) { $w = "You"; $f = "warDECLARED"; } else { $w = "Them"; $f = "warDECLARER"; } mysql_query("INSERT INTO surrenders VALUES(NULL,".$_POST['war'].",".$ir['gang'].",".$r[$f].",'".$_POST['msg']."')") or die(mysql_error()); $ggq = mysql_query("SELECT * FROM gangs WHERE gangID=".$r['$f']) or die(mysql_error()); $them = mysql_fetch_assoc($ggq); $event = str_replace("'","''","[url='gangs.php?action=view&ID=".$ir[']".$gangdata['gangNAME']."[/url] have asked to surrender the war against [url='gangs.php?action=view&ID=".$them[']".$them['gangNAME']."[/url]"); mysql_query("INSERT INTO gangevents VALUES('',".$ir['gang'].",unix_timestamp(),'".$event."') , ('',".$r['$f'].",unix_timestamp(),'".$event."')") or die(mysql_error()); echo 'You have asked to surrender'; } }   See if that helps.
  3. Re: Shoutbox $10 & $15 A month ago? Actualy lets see i left the internet on the 12th of june (day after my bday) came back umm 22 august that dont make it 1 month, i think thats 2 months? And i never told her it was my script.
  4. Re: Shoutbox $10 & $15 Zero, you should get your facts right again :D I havent edited my shoutbox. The 150 energy bar on kc well that is not my script, go look at the coding you num nut!
  5. Re: Shoutbox $10 & $15 Go ahead try and exploit my shoutbox.
  6. Re: CSS Textbox Edit ANY VERSION Flying is pretty easy, smoke some weed and soon you'll be "high"
  7. Re: Shoutbox $10 & $15 Zero, the version i sell aint buggy, it not my fault you add your poor coding to my scripts and and say that its my script!
  8. Re: One Big Code!   <?php echo 'Haha ill just open it again [b]AND AGAIN! [size=14]AND AGAIN![/size] [size=18]AND AGAIN![/size][/b]
  9. Re: Searching its not done with multi cuts of one picture.
  10. Re: One Big Code!   echo 'STOP KILLING THE SCRIPT!!!!!!'; //now lets add a title to this echo '<title>ONE BIG PHP CODE!</title>';
  11. Re: [v2] mod wanted [v2] (Was Cyberbank) People Exspecialy n0b coders: DOWNLOAD notepad++ ive had it for a long time its free and helps alot! If you are willing to pay buy rapid php its also good but you are going to need to pay!
  12. Re: [v2] mod wanted [v2] (Was Cyberbank) Nyna, for a simple $ to be inserted i think it would be pretty obvious for a good coder as "the joker" stated. If you all take a look here: global db,$ir,$c,$userid,$h;   And take a look at the error: Line 81 i guess would be the global db,$ir,$c,$userid,$h; and it is saying unexpected blah or '$' If i was to have an error like that i would just slap that in note pad and say go to line 81 and exactly read from line 78 to 84. I will then find the problem. But no of course people have to waste ridiculous database space for these type's of threads!
  13. Re: 3 Word Game OHMY F****ng GOD
  14. Re: One Big Code!   <?php echo 'Akash went wrong he would of got a big fat error!';   Let me show you where:   if($row['id'] == stupid) [php] Now insert that into an actual php page and you will get a error, but by doing this: [php] if($row['id'] == "stupid")   There will be no more error :)
  15. Re: Cheburn (adam) Torncity MDShare how do i know "sniper" aint the faker.
  16. Re: Cheburn (adam) Torncity Dont need your reply. need some one who actualy talks to ched burn like scarlet
  17. Re: Cheburn (adam) Torncity Is chedburns mail [email protected], because this faker added me xD
  18. Re: [v2] mod wanted [v2] Nyna come on, let them figure it out by them selfs, they will eventualy pay some one $3 or $5 to fix it :D
  19. Re: Hmm....Bank Fees!? Once opening a cyber bank, and putting in over 1 million the cyber bank keeps 750,000 for it selfs, to keep it open / to get interest. I took cyber bank completly off my game. To keep your game economy low just take cyber bank off, interest off on normal bank then add interest bank, It works way better and keep's a low economy. Reason: Alot of people come & play your game, make tons of money put it in there bank, they quit. The money builds up & up & up & up all the time. Now with interest bank you put a limit of 10,000 per time then the person can't just quit and gain money, he will need to frequently come online to add more money there.
  20. Re: Biggest Production Bike LostOne the gsxr 750 aint so fast, the zx6r keeps up to it & its a 600cc
  21. Re: Biggest Production Bike  
  22. Well ok i want to prove some one on this forum wrong.   I tell him its not he say's it is People who know's bike please post. The biggest production bike is a zx14, it takes out a hayabusa 1300 But now of course we cant compare the zx14 to a hayabusa 1400 turbo. :lol:
  23. Re: Money Cap   Well then let me tell you some thing jack ass, if he want to not go to the database everytime let him remove all the (int)'s in the staff panel's but when some one hacks his little admin account don't tell me i never told you say but his game will be inflated with 999999999999999999 cash, people that go for hacking admin account's dont just give 2.somat billion they go dirrectly and just enter 9999999999999999999999999999999999999999999999999999999999 and hit enter, so then he can the inflated game eh? So who ever want's to go ruin there game go ahead.
  24. Re: Money Cap Well armageddon dude, you gave your self the money via the staff panel i guess? Well give your self 1,000,000,000,000,000,000,000,000,000,000,000 via the database and it will work.
  25. Re: Count Users Clicks   In my code i made it:   if($_SESSION['clicksmade'] > 100) { mysql_query("UPDATE users SET money=money+10000 WHERE userid=$userid"); echo 'You found some random cash and gain $10,000.'; $_SESSION['clicksmade'] = 0; }
×
×
  • Create New...