Jump to content
MakeWebGames

Haunted Dawg

Members
  • Posts

    2,933
  • Joined

  • Last visited

    Never
  • Days Won

    1

Everything posted by Haunted Dawg

  1. Re: BOE Engine That guy is a vector art, and i belive that isomerizer has the same layout template as prison struggle. Thus either the creater of the layout is using free vector art then prison struggle got there GFX designer to integrate it to suite the forum of course. How ever, i have seen that vector art some where already, and i think i saw it free. I will do some research and post back :)
  2. Re: php Card Duel Why post it now and then post again tomorrow?
  3. Re: [MCCODES V2] Fully Customise your game layout lmao @ "Well i think the mod will be quite helpfull if i can help". What assure's you this mod will be quite helpfull if you help?  
  4. Re: [Help]Scrollbars I am talking about gamer's, game developer's, not hardly anyone around that are developer's develop for IE. And as for your graph for january 2009. But what if every computer came out with FF? So, let me put it this way. About 10% of that IE user's play or develop game's. Either than that. Either watching porn or browsing the net.
  5. Re: Block multiple logins The code layout does not suit my style. Yes, but i will be grasping the idea. And what is it to you? You got your $5 ;)
  6. Re: [Help]Scrollbars Majority of the people use IE? UHHH sorry to burst your bubble, but no.
  7. Re: Block multiple logins Rainbow, i am sure you do not know me. But all i wanted was to know how to set it up, i was going to go with Session registered but being on shared host does not allow me to go into the session's folder. So i actualy bought cronus's mod and saved me about 10 minute's to create it. How ever i did look over cronus's code and to be honest, the code work's but just does not suite the way i code. Plus he is using the * in the mysql which personally i do not like. So i will recode this and let cronus sell the mod, as i will not resell any of his idea's. Personal referance.
  8. Re: [McCodes][v2] Event Layout Mod He wrote nothing, but there is an image if you actualy wait for it to load.
  9. Re: [MC Code V2] Custom Error Pages So much fuss about the header thing. Just use this one: @header("Refresh: 3; url=index.php");
  10. Re: [MC Code V2] Custom Error Pages Crazy-T, the header("location"); will automaticly direct them to a page without them seeing the page.
  11. Re: Game Optimization Yes you can, but you will need to fetch the new value.
  12. Re: [mccode] 8 Lines to secure your site from known sql injections. Funny, with all theme's game's coming out. born-killah.ej.am => my old game. killa-city.ej.am now being zero's game.
  13. Re: New Updated Template Get away from the plain border's ;)
  14. Re: Game Optimization Well, per page load you running alot of query's. Reduce this and you could save your self about 0.0050 second load. Which is fast actualy.
  15. Re: SQL Log? I've posted something similar like this. ON V2, just edit the $db->error(); function. My engine come's capped with this aswell :)
  16. Re: Deadly Ghetto That © can easily be changed with ©
  17. Re: [Mccodes V2] How to get the users to fill up the ID's Not at this moment, you have to install the code and do alteration's.
  18. Re: Rain and Sunshine = Rainbow Welcome to the forum's. I have one question. I see you spoke abit about XML passing, i take it you good in either ajax or jquery? And another question.   Can you explain that one to me please?
  19. Re: [Mccodes V2] How to get the users to fill up the ID's It check's for empty ID's. I've ran it and it work's perfect.
  20. Re: Exp from leaving people not working To explain your epic failure of your post. You asked for a % to be given as the exp. So there you are wrong. Not to hire when it come's to mod's. Please do not hire me because i definatly do not have time for a cocky bitch. Bye.
  21. Re: Exp from leaving people not working   Maybe try reading for a bit? the v2 event_add() function only allow's 2 parameter's, while you are trying to run 4. Have you changed the function event_add to allow 4 parameter's?
  22. Re: Exp from leaving people not working 1.- replace "cocky boi" to "cocky girl" 2.- several hour's and we pointed it to you in basicly the second post. 3.- If people do not understand coding? Why not pay some one to do the work for them? 4.- You posted for help, and would you like everything spoon fed to you? It's like this, Do you think some stranger will just come up to you and give you 5 billion cash? Basicly that's spoon feeding you to supporting you up till you 99 year's old. Your welcome, but i do have manner's ;)
  23. Re: Exp from leaving people not working Ok let me explain cocky boi ;). The mccode attack system display's in a % of how much you gain. BUT! when it come's to the query, it is not inserted as a %!. Now as for us to spoon feed you, maybe try learn a little and you might get some where in life eh? Anyway, your problem is with the %. So here you go cocky boy.. i'll spoon feed it to you so you don't get no where in life.   <?php $atkpage=1; include "globals.php"; $_GET['ID']=abs((int) $_GET['ID']); $_SESSION['attacking']=0; $ir['attacking']=0; $db->query("UPDATE users SET attacking=0 WHERE userid=$userid"); $od=$db->query("SELECT * FROM users WHERE userid={$_GET['ID']}"); if($_SESSION['attackwon'] != $_GET['ID']) { die ("Cheaters don't get anywhere."); } if($db->num_rows($od)) { $r=$db->fetch_row($od); $gq=$db->query("SELECT * FROM gangs WHERE gangID={$r['gang']}"); $ga=$db->fetch_row($gq); if($r['hp'] == 1) { print "What a cheater u are."; } else { print "You beat {$r['username']} "; $qe=$r['level']*$r['level']*$r['level']; $expgain=rand($qe/2,$qe); $expperc=(int) ($expgain/$ir['exp_needed']*100); print "and gained $expperc% EXP! You honor {$r['username']} to the gods praying for a safe passage to Hades."; $hosptime=rand(10,20); $db->query("UPDATE users SET hp=1,hospital=$hosptime,hospreason='honored by <a href=\'viewuser.php?u={$userid}\'>{$ir['username']}</a>' WHERE userid={$r['userid']}"); $db->query("UPDATE users SET exp = exp + ".$expperc." WHERE userid = ".$ir['userid']); $expgain = 0; $expperc = 0; event_add($r['userid'],"[url='viewuser.php?u=$userid']{$ir['username']}[/url] defeated you and honored your death.",$c,'combat'); $atklog=mysql_escape_string($_SESSION['attacklog']); $db->query("INSERT INTO attacklogs VALUES('',$userid,{$_GET['ID']},'won',unix_timestamp(),-2,'$atklog');"); $_SESSION['attackwon']=0; $warq=$db->query("SELECT * FROM gangwars WHERE (warDECLARER={$ir['gang']} AND warDECLARED={$r['gang']}) OR (warDECLARED={$ir['gang']} AND warDECLARER={$r['gang']})"); if ($db->num_rows($warq) > 0) { $war=$db->fetch_row($warq); $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT-1 WHERE gangID={$r['gang']}"); $ga['gangRESPECT']-=1; $db->query("UPDATE gangs SET gangRESPECT=gangRESPECT+1 WHERE gangID={$ir['gang']}"); print " You earnt 1 respect for your gang!"; } //Gang Kill if ($ga['gangRESPECT']<=0 && $r['gang']) { $db->query("UPDATE users SET gang=0 WHERE gang={$r['gang']}"); $db->query("DELETE FROM gangs WHERE gangRESPECT<='0'"); $db->query("DELETE FROM gangwars WHERE warDECLARER={$ga['gangID']} or warDECLARED={$ga['gangID']}"); } $npcs=array( ); $db->query("UPDATE users SET pleft=pleft+1 WHERE userid=$userid",$c); $db->query("UPDATE users SET awon=awon+1 WHERE userid=$userid",$c); $db->query("UPDATE users SET atotal=atotal+1 WHERE userid=$userid",$c); $db->query("UPDATE users SET tattacked=tattacked+1 WHERE userid={$r['userid']}",$c); if($r['user_level']==0) { $q=$db->query("SELECT * FROM challengebots WHERE cb_npcid={$r['userid']}"); if ($db->num_rows($q)) { $cb=$db->fetch_row($q); $qk=$db->query("SELECT * FROM challengesbeaten WHERE userid=$userid AND npcid={$r['userid']}"); if(!$db->num_rows($qk)) { $m=$cb['cb_money']; $db->query("UPDATE users SET money=money+$m WHERE userid=$userid"); print " You gained ?$m for beating the challenge bot {$r['username']}"; $db->query("INSERT INTO challengesbeaten VALUES($userid, {$r['userid']})"); } } } } } else { print "You beat Mr. non-existant!"; } $h->endpage(); ?> <center><script type="text/javascript"><!-- google_ad_client = "pub-2581558253444379"; /* Legends (Game) Add */ google_ad_slot = "5202311777"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></center>   And since i just posted this and saw, your error is probly comming from your event add unless you added more field's to it. Anyway, please when you make retarded edit's to your script's. Back it up and check your error's FOO! And for my post count. No it is not to raise it. I just aint going to just spoon feed you so you can not learn such an easy task.
  24. Re: Exp from leaving people not working That's because it's not being inserted at %
  25. Re: [V2]My own v2 Explore page [V2]   Why so many print's??? just replace it with   [url='crystaltemple.php']Crystal Temple[/url] "; print "[url='battletent.php']Battle Tent[/url] "; print "[url='polling.php']Polling[/url] "; print " [url='carnival.php']Carnival[/url] "; print " [url='drugs.php']Drugs[/url] "; print "[url='youtube.php']Youtube[/url] "; print " [url='brothel.php']Brothel[/url] "; print "</td>   What was your point in that post? Both code's are exactly alike.
×
×
  • Create New...