Jump to content
MakeWebGames

Haunted Dawg

Members
  • Posts

    2,933
  • Joined

  • Last visited

    Never
  • Days Won

    1

Everything posted by Haunted Dawg

  1. Re: [mccode] Black Jack I created my own blackjack script, you will be seeing it on paddy's new game. It was essentialy coded for his game and if i had to sell it would go for $30+ but i wont be selling.
  2. Re: Another New Mailbox @ Tahmid, aint ishz your cousin? :|
  3. Re: top 8 Tv shows ever My top 8: 1.- Smallville 2.- Family Guy 3.- South Park 4.- Celebrity Deathmatch 5.- Lost Got no other.
  4. Re: Warning :-o Well last time i spoke to my uncle was about 2 year's ago :-P, by that time they restricted dynamic ip for a bit dont know why.
  5. Re: WTH, help here. Many mistake's there zero. pendiho => pendejo puta => correct verga => correct chinga tu madre => correct carbon puta madre => cabron puta madre
  6. Re: Voting Issues Not really, i've already made this a script similar to that. :roll:
  7. Re: Warning BT Internet does not support dynamic IP Address. I could easily shut him down. My uncle work's for them :-)
  8. Re: Is this correct? @ Sniko: his cron day will work correctly.   mysql_query("UPDATE users SET fortuneteller=0");
  9. Re: Is this correct?   <?php include("globals.php"); echo '<h4>Want to see how much EXP you got?</h4> [i]You walk into the fortune teller\'s offlice...[/i]'; if($ir['jail'] || $ir['hospital']) { echo 'You can not use this while you are in jail or hospital.'; $h->endpage(); exit; } if($ir['money'] < 15000) { echo 'You do not have enough money.'; $h->endpage(); exit; } if($ir['fortuneteller'] == 1) { echo 'You have already been here today.'; $h->endpage(); exit; } $answer = htmlspecialchars($_POST['answer'])); if($answer == "yes") { $experc = (int)( $ir['exp']/$ir['exp_needed']*100); mysql_query("UPDATE users SET money=money-15000 WHERE userid=".$ir['userid']) or die(mysql_error()); mysql_query("UPDATE users SET fortuneteller=1 WHERE userid=".$ir['userid']) or die(mysql_error()); echo ' <font size="3"> You currently have '.$experc.'% EXP through your current level </font> echo '[url="index.php"]Please leave now at once.[/url]'; $h->endpage(); exit; } echo ' <h3>Fortune Teller</h3> [b]Fortune Teller:[/b] Welcome '.$ir['username'].' to the fortune teller. Please select a option below: [b]Fortune Teller:[/b] It will cost '.money_formatter(15000).' cash to see your exp? <form action="'.$_SERVER['PHP_SELF'].'" method="post"> <select name="answer"> <option value="yes" selected>Yes Please</option> </select> </form>'; $h->endpage(); ?>
  10. Re: WTH, help here. Funny thing is it does not show any mysql error. :|
  11. Re: WTH, help here. Replaced my crime's table with v2 but still not working. :|
  12. Re: Enhanced Hall of fame [v2] COMPLETED! Whats Different: 4 querys to display 16 objects   while the original: 10 querys to display 10 objects. (one query per object) Another thing: Normal one: Only filters for donators / non donators & users My one : Filters for donators / non donators & users, asc & desc, (works like hall of fame & hall of shame). Anything else?
  13. Re: WTH, help here. Well i spent 4 hours recoding all those file's meanwhile it was my "pinche" crimes table. Ill start using spanish as swear words so people cant understand :lol:
  14. Lol, i dont know if anyone else has found this problem, but when i do a crime my exp & cash i gain keep's on reseting back to what it was. :| It's like if i have 29% EXP and do a crime i get 35% EXP but when i click next page it goes back to 29% EXP, i have recoded/replaces the following files: globals.php header.php mainmenu.php mainmenu2.php global_func.php config.php docrime.php criminal.php class/class_db_mysql.php class/class_db_mysqli.php Is this got to be any problem with my database?
  15. Re: 8 Lines to secure your site from known sql injections. The item injection is in v1, that is the quantity mod.
  16. Re: 8 Lines to secure your site from known sql injections. Known: What majority of the people know. :lol:
  17. Re: 8 Lines to secure your site from known sql injections. Nyna the topic says: 8 Lines to secure your site from "known" sql inections. Known injections: # Markets # Forum
  18. Re: 8 Lines to secure your site from known sql injections. Actualy this does work, i exploit your game from another way.
  19. Re: help Oh ok well this work's fine for me:   <?php /*--------------------- -- Login Page made by zero affect + images brought to you by heaven designs -- Re coded by kyle. ----------------------*/ session_start(); include("config.php"); global $_CONFIG; define("MONO_ON", 1); require("class/class_db_".$_CONFIG['driver'].".php"); $db = new database; $db->configure ( $_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent'] ); $db->connect(); $c = $db->connection_id; $set = array(); $settq = $db->query("SELECT * FROM settings"); while($r = $db->fetch_row($settq)) { $set[$r['conf_name']] = $r['conf_value']; } print <<<EOF <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>{$set['game_name']}</title> <script language="JavaScript"> <!-- function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } function SetCookie (name,value,expires,path,domain,secure) { document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : ""); } function DeleteCookie (name,path,domain) { if (GetCookie(name)) { document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT"; } } // --> </script> <head> <style type="text/css"> <!-- body { background-color: #282828; background-image:url(untitled.jpg); margin-top: 0px; margin-bottom: 0px; font-family:Palatino Linotype;font-size:12px;color: white; scrollbar-base-color: aqua; scrollbar-arrow-color: blue; scrollbar-DarkShadow-Color: pink; } a:visited,a:active,a:link { color: orange;text-decoration: italic; } a:hover { color: silver;text-decoration: overline underline;background: none; } table,tr,td { font-family:chamealeon std;font-size: 12px; } .button { font-family:chamealeon std; font-size:12; color:#282828; background-color: orange; } input,textarea,dropdown{ font-family:Palatino Linotype; font-size:12; color:#ffffff; background-color: black; } .submit{ font-family:Palatino Linotype; font-size:12; color:#282828; background-color: red; } img { border:none; } textarea { font-family:Palatino Linotype;font-size:12px;color: black; } .table2 { } .center { width:932px; // background-color:#282828; background-image:url(untitled.jpg); vertical-align:top; text-align:center; } .table { background-color:#000000; } .table3 { background-color:#000000; } .table td { background-color:#000000; height:22px; } .table3 td { background-color:#000000; } td .alt { background-color:#000000; height:22px; } td .h { background-image:url(untitled.jpg); background-repeat:repeat-x; font-weight: bold; background-color:#222; } .table th { background-image:url(untitled.jpg); background-repeat:repeat-x; font-weight: bold; background-color:#000000; } .linegrad2 { background-image:url(untitled.jpg); background-repeat:repeat-y; background-align: right; width:2px; } .navi { background-image:url(untitled.jpg); background-repeat:repeat-x; font-weight: bold; background-color:#000000; } --> </style> </head> <body onload="getme();"> <center> <table width="1005" border="0" cellpadding="0" cellspacing="0" class="table2" height=100%> <tr> <td class="center">[img=logo.png] EOF; $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>"); } $year=date('Y'); echo " <table width=100% valign=center align=center> <tr bgcolor=black> <th width=20%>[url='register.php']Register[/url]</th> </tr> </table> <table width='374' border='0' cellpadding='0' cellspacing='0' background='images/untitled.jpg' align='left'> <tr> <td height='76' colspan='3' valign='top'><table width='374' border='0' cellpadding='0' cellspacing='0' background='images/lbt.png'> <tr> <td width='184' height='10'></td> </tr><tr> <td height='33' align='center' valign='bottom'><font face='Arial, Helvetica, sans-serif'>[b]Login[/b]</font></td> </tr><tr> <td height='26'> </td> </tr></table></td></tr><tr> <td width='17' height='114'> </td> <td width='374' height='50' valign='top'><font face='Arial, Helvetica, sans-serif'><center>"; echo ' <form action="authenticate.php" method="post"> <table border="0" width="20%"> <tr> <td>Username:</td> <td><input type="text" name="username"></td> </tr> <tr> <td>Password:</td> <td><input type="password" name="password"></td> </tr> <tr align="right"> <td colspan="2" align="right" valign="right"><input type="submit" value="Submit"></td> </tr> </table> </form>'; echo " </center></font> </td> <td width='19'> </td></tr><tr> <td height='62' colspan='3' valign='top'>[img=images/lbb.png]</td> </tr></table>"; echo " <table width='374' border='0' cellpadding='0' cellspacing='0' background='images/lbc.png' align='right'> <tr> <td height='76' colspan='3' valign='top'><table width='374' border='0' cellpadding='0' cellspacing='0' background='images/untitled.jpg'> <tr> <td width='184' height='10'></td> </tr><tr> <td height='33' align='center' valign='bottom'><font face='Arial, Helvetica, sans-serif'>[b]About {$set['game_name']}[/b]</font></td> </tr><tr> <td height='26'> </td> </tr></table></td></tr><tr> <td width='17' height='114'> </td> <td width='374' height='50' valign='top'><font face='Arial, Helvetica, sans-serif'><center> <table border=0> <tr align=center> <td width=20%>{$set['game_description']}</td> </tr></table> </center></font> </td> <td width='19'> </td></tr><tr> <td height='62' colspan='3' valign='top'>[img=images/lbb.png]</td> </tr></table> [b]Brought to you by Zero.Affect © Heaven-Designs™ {$year}-2009.[/b]"; print <<<OUT </td> </tr> </table> OUT; ?>
  20. Re: help What did nyna edit?
  21. Re: authenticate.php You can not just post code and ask is there something wrong with it. Tell us if any thing is wrong and then we correct it.
  22. Re: Cronus - Titan Gaming Media Nah, got bigger projects on my hand, will let zero make it.
  23. Re: Voting Issues Yes it is the one on kc.
  24. Re: Enhanced Hall of fame [v2] COMPLETED! You must remove the one's you dont have or install them.
  25. Re: Cronus - Titan Gaming Media Ahh, wait i took it in the wrong idea. 50 line's php code, 1 item to users.
×
×
  • Create New...