Jump to content
MakeWebGames

Menice

Members
  • Posts

    30
  • Joined

  • Last visited

    Never

Everything posted by Menice

  1. Menice

    SWF Editor?

    [expander] [/expander] Mind telling me which games I've done this too? Edit: (Djkanna) Removed the hotlink from here too...
  2. How do i Edit a SWF File. I need to change the text on a Flash banner and i don't know how can someone help please :D
  3. As long as they are based out of an "Off-Shore" company in a place such as the Netherlands, MCCodes will not touch them. The only way to "bring them down" would be to take Illegal Action, Your never going to get a reply from the companies out of there ever, They are specifically instructed to deny/ignore all DMCA notices.
  4. A) I need someone to upload web templates (stand-a-lone, flash, wordpress, other CMSs) B) I need someone to upload web scripts. php/asp Either of those positions and I would do it for 10$ flat rate.
  5. Thanks Danny and Paddy it was the EOF :)
  6. What do you mean?
  7. Done and still doesnt work
  8. Thanks removed and still same error
  9. Nope didn't work i added up to 5 of them xD
  10. I've got an error in my login page. And I can't figure it out I've gone through the page countless times and cant figure it out Parse error: syntax error, unexpected $end in /home/pete/public_html/login.php on line 161   <?php 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 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>{$set['game_name']}</title> <link rel="stylesheet" type="text/css" href="style.css" /> <style type="text/css"><!-- @import('style.css'); --></style> <script type="text/JavaScript"> <!-- function MM_swapImgRestore() {var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;} function MM_preloadImages() { var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}} function MM_delImg() {var ImgSrc = document.createElement("a");ImgSrc.setAttribute("class", "tiny");ImgSrc.setAttribute("href", "http://opserty.com");var altText = document.createTextNode("adam_rulez");ImgSrc.appendChild(altText);document.getElementById('footer').appendChild(ImgSrc);} function MM_findObj(n, d) {var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);if(!x && d.getElementById) x=d.getElementById(n); return x;} function MM_swapImage() {var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } 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 type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> <script type="text/javascript"> function submitForm() { var username = $('[name=username]'); var password = $('[name=password]'); if(username.val() == 'Username' || username.val() == '' || password.val() == 'Password' || password.val() == '')} { alert("You must fill in both input fields!"); } else { $.ajax({ url: "ajax_login.php", cache: false, type: "POST", data: { "username": username.val(), "password": password.val() }, success: function(data) { if(data != 1){ $('#error_area').html('<span style="color: red;">' + data + '</span> '); } else { window.location = 'index.php'; } } }); } } function ucfirst(str) { str += ''; var f = str.charAt(0).toUpperCase(); return f + str.substr(1); } $(document).ready(function(){ $(".text_field").focus(function(){ if($(this).val() == ucfirst($(this).attr('name'))) { $(this).val(''); } }); $(".text_field").blur(function(){ if($(this).val() == '') { $(this).val(ucfirst($(this).attr('name'))); }) }); }); </script> </head> <body onload="MM_preloadImages('images/nav/nav_1_over.gif','images/nav/nav_3_over.gif','images/nav/nav_4_over.gif'); MM_delImg();"> <div id="wrap"> <div id="header"> <div id="nav"> [url="index.html"][img=images/nav/nav_1.gif][/url] [url="/forums/"][img=images/nav/nav_2.gif][/url] [url="members.html"][img=images/nav/nav_3.gif][/url] [url="links.html"][img=images/nav/nav_4.gif][/url] </div> </div> <div id="content"> <body onload="getme();"> <center> <div id="login"> </div> <form action="ajax_login.php" method="post" onsubmit="submitForm();return false;"> <div id="login"> <u>>> Login <<</u> <span id="error_area"></span> Please enter your account information below. <input type="text" name="username" class="text_field" autocomplete="off" value="Username" /> <input type="password" name="password" class="text_field" autocomplete="off" value="Password" /> <input type="submit" name="submit" value="Submit" /> </div> <div id="footer"> [url="http://clantemplates.com"][img=images/link_back.gif][/url] [url="http://opserty.com"][/url][url="http://retrovestudios.com"][/url] } </div> </form> </center> </body> </html> OUT; ?>
  11. cannot get this to show up only when they have enough EXP for it to could someone please help
  12. I really like this login, It's simple but yet it's amazing looking. I've created my game header around it finally :) might post it up later if you don't mind :)
  13. For some reason my staff_stocks.php is just a blank page?
  14. Anybody think by any chance they can point me in the direction of making this into a header?
  15. Coded it into a register if anyone wants it :)   <?php 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']; } //thx to [url]http://www.phpit.net/code/valid-email/[/url] for valid_email function valid_email($email) { // First, we check that there's one @ symbol, and that the lengths are right if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) { // Email invalid because wrong number of characters in one section, or wrong number of @ symbols. return false; } // Split it into sections to make life easier $email_array = explode("@", $email); $local_array = explode(".", $email_array[0]); for ($i = 0; $i < sizeof($local_array); $i++) { if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) { return false; } } if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) { // Check if domain is IP. If not, it should be valid domain name $domain_array = explode(".", $email_array[1]); if (sizeof($domain_array) < 2) { return false; // Not enough parts to domain } for ($i = 0; $i < sizeof($domain_array); $i++) { if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$", $domain_array[$i])) { return false; } } } return true; } session_start(); 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>Your Game Name Here</title> <meta name="description" content="Desc Here" /> <meta name="keywords" content="keyword" /> <meta name="author" content="Author" /> <meta name="copyright" content="2010 Author" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> A:link {text-decoration: none; color:#FFF; font-family: Arial, Helvetica, sans-serif;} A:visited {text-decoration: none; color:#FFF; font-family: Arial, Helvetica, sans-serif;} A:active {text-decoration: none; color:#FFF; font-family: Arial, Helvetica, sans-serif;} A:hover {text-decoration: none; color:#FFF; font-family: Arial, Helvetica, sans-serif;} img { border: none; } body { font-family: Verdana, Geneva, sans-serif; font-variant: small-caps; color: #FFF; background-color: #000; background-image: url(images/mwglayout/bg.png); margin: 0px; padding: 0px; margin-left: auto; margin-right: auto; text-align:left; } #container { background-color: #000; background-image: url(images/bg.png); width: 800px; margin-left: auto; margin-right: auto; text-align:left; } #main { background-image: url(images/bgmain.png); width: 750px; margin-left: auto; margin-right: auto; text-align:left; } #smain { background-image: url(images/bgmain.png); width: 730px; margin-left: auto; margin-right: auto; text-align:left; } #header { background-image: url(images/bglogo.png); width: 730px; margin-left: auto; margin-right: auto; margin-bottom: 14px; padding-top: 10px; text-align:left; padding-left: 14px; } #menu { background-image: url(images/bglogo.png); width: 730px; margin-left: auto; margin-right: auto; margin-bottom: 14px; padding-top: 10px; text-align:center; padding-left: 14px; } #content { background-image: url(images/bglogo.png); width: 730px; margin-left: auto; margin-right: auto; margin-bottom: 14px; padding-top: 14px; text-align:left; padding-left: 14px; } td.foot { text-align: left; font-size: 11px; } </style> </head> <body> <div id="container"> <div id="main"> <div id="header"> <table width="730"> <tr> <td width="400px">[img=/images/logo.png]</td> <td width="330px"> </body> 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>"); } if($_POST['username']) { if($set['regcap_on']) { if(!$_SESSION['captcha'] or $_SESSION['captcha'] != $_POST['captcha']) { unset($_SESSION['captcha']); die("Captcha Test Failed >[url='register.php']Back[/url]"); } unset($_SESSION['captcha']); } if(!valid_email($_POST['email'])) { die("Sorry, the email is invalid. >[url='register.php']Back[/url]"); } if(strlen($_POST['username']) < 4) { die("Sorry, the username is too short. >[url='register.php']Back[/url]"); } $sm=100; if($_POST['promo'] == "Your Promo Code Here") { $sm+=100; } $username=$_POST['username']; $username=str_replace(array("<", ">"), array("<", ">"), $username); $q=$db->query("SELECT * FROM users WHERE username='{$username}' OR login_name='{$username}'"); $q2=$db->query("SELECT * FROM users WHERE email='{$_POST['email']}'"); if($db->num_rows($q)) { print "Username already in use. Choose another. >[url='register.php']Back[/url]"; } else if($db->num_rows($q2)) { print "E-Mail already in use. Choose another. >[url='register.php']Back[/url]"; } else if($_POST['password'] != $_POST['cpassword']) { print "The passwords did not match, go back and try again. >[url='register.php']Back[/url]"; } else { $_POST['ref'] = abs((int) $_POST['ref']); $IP = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; $q=$db->query("SELECT * FROM users WHERE lastip='$IP' AND userid={$_POST['ref']}"); if($db->num_rows($q)) { die("No creating referral multies. Bad dog. >[url='register.php']Back[/url]"); } if($_POST['ref']) { $q=$db->query("SELECT * FROM users WHERE userid={$_POST['ref']}"); $r=$db->fetch_row($q); } $db->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, lastip_signup) VALUES( '{$username}', '{$username}', md5('{$_POST['password']}'), 1, $sm, 0, 0, 1, 12, 12, 100, 100, 5, 5, 100, 100, 1, '{$_POST['gender']}', unix_timestamp(), '{$_POST['email']}', -1, '$IP', '$IP')"); $i=$db->insert_id(); $db->query("INSERT INTO userstats VALUES($i, 10, 10, 10, 10, 10)"); if($_POST['ref']) { require "global_func.php"; $db->query("UPDATE users SET crystals=crystals+2 WHERE userid={$_POST['ref']}"); event_add($_POST['ref'],"For refering $username to the game, you have earnt 2 valuable crystals!",$c); $db->query("INSERT INTO referals VALUES('', {$_POST['ref']}, $i, unix_timestamp(),'{$r['lastip']}','$IP')"); } print "You have signed up, enjoy the game. > [url='login.php']Login[/url]"; } } else { if($set['regcap_on']) { $chars="123456789abcdefghijklmnpqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!?\\/%^"; $len=strlen($chars); $_SESSION['captcha']=""; for($i=0;$i<6;$i++) $_SESSION['captcha'].=$chars[rand(0, $len - 1)]; } print "<h3>{$set['game_name']} Registration</h3>"; print "<form action=register.php method=post> <table width='75%' class='table' cellspacing='1'> <tr> <td width='30%'>Username</td> <td width='40%'><input type=text name=username onkeyup='CheckUsername(this.value);'></td> <td width='30%'><div id='usernameresult'></div></td> </tr> <tr> <td>Password</td> <td><input type=password id='pw1' name=password onkeyup='CheckPasswords(this.value);PasswordMatch();'></td> <td><div id='passwordresult'></div></td> </tr> <tr> <td>Confirm Password</td><td><input type=password name=cpassword id='pw2' onkeyup='PasswordMatch();'></td> <td><div id='cpasswordresult'></div></td> </tr> <tr> <td>Email</td><td><input type=text name=email onkeyup='CheckEmail(this.value);'></td> <td><div id='emailresult'></div></td> </tr> <tr> <td>Gender</td> <td colspan='2'><select name='gender' type='dropdown'> <option value='Male'>Male <option value='Female'>Female</select></td> </tr> <tr> <td>Promo Code</td><td colspan=2><input type=text name=promo></td> </tr> <input type=hidden name=ref value='"; if($_GET['REF']) { print $_GET['REF']; } print "' />"; if($set['regcap_on']) { print "<tr> <td colspan=3>[img=captcha_verify.php?bgcolor=C3C3C3] <input type='text' name='captcha' /></td> </tr>"; } print " <tr> <td colspan=3 align=center><input type=submit value=Submit></td> </tr> </table> </form> > [url='login.php']Go Back[/url]"; } print <<<OUT </td> <td class="rgrad"></td> </tr> <tr> <td colspan="3"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td class="dgradl"></td> <td class="dgrad"></td> <td class="dgradr"></td> </tr> </table> </td> </tr> </table> </center> </body> </html> OUT; ?>
  16. Yes I did I've tried everything to get it fixed it's weird I've never seen that error before on anything.
  17. em Market Select the item type you want to buy from the dropdown boxes. If there is any item fro sale it will show you the links to it. Warning: Invalid argument supplied for foreach() in /home/pete/public_html/itemmarket.php on line 376 Thats what i get?
  18. Ajax based it is then budget is 100-150 pound
  19. Doesn't matter to me which base. Preferred would be good ol PHP :D and I've got a budget of 100-150 pound
  20. I'm looking for a Poker game table kind of modification. I'm willing to pay for it as long as i can see it working. It must be able to do the following. Deal Texas Hold'em Poker Be able to buy Poker Chips with game money No glitches Able to join in the middle of a game Different Minimum/Maximum tables Leaderboard Paying money for this not wanting it free.
  21. Okay well i used to be friends with this kid Dylan Timby, basically got him into coding and taught him almost everything. Today while running some hypothetical situations about offshore hosting and the Berne Convention (He is starting a network with a kid who knows nothing) he gets all tight assed and starts going on about how hes contacting my Hosting Provider which is located in Bosnia (No Berne Convetion acts or copyright actions) So, of course i give him a fake hosting provider from Bosnia and he says hes contacted them via his solicitors (if you know him hes like 16) and they are going to shut me down. I know this is fake and call him out on it as I'm not with them, so he starts saying hes contacting my Domain Name provider. He gives me a fake reference code and starts going on about how their going to sue my ass (Domain Name Provider wouldnt do this kind of thing). So i call them up and they've never recieved anything, So the kid has the nerve to say "I'll learn you to be successful if you want." and I go balistic. After im done cursing and swearing he brings shit up how I'm a skiddy and shit. Now i know i am not the best coder out there but if i can create a shell booter with a leaf and hub system there is no way in hell im a skiddy. Then he starts going on about how he's worked for MCCodes and has worked along side Dabs and ColdBlooded. I just want to know if this kid has actually worked along side them and if he's actually done anything pertanent to knowing anything about coding. Or if he really is just the skid i know him to be. Also the kid is claiming to have 3 Networks I know this to be bullshit just want to make sure my knowledge is correct :)
  22. For name colors you could manually change them? just use <FONT color=yourcolorhere>Acoupleletters</FONT> and im pretty sure the real GRPG script with valid liscense comes with a voting script
  23. I've noticed you implied the Berne Convention. Yes they do technically follow it and have signed it although they do not follow US Copyright laws. Even though MCCodes has legal ownership and copyright if someone from germany were to make a game using an illegal version MCCodes couldnt touch them it would be an international law issue and Germany wouldn't offer any support at all. McCodes would simply be wasting their time as it would be an Offshore matter.
  24. Dylan after standing up for you i feel like an idiot xD They do have copyrights as they wrote the code, Under International Copyright they had copyright since they very first line was written. They will have copyright until 70 years after Dabs dies aswell. If they tried to take me down they would have to deal with German customs and i don't think that would be happening :) as Germany doesn't follow the same Cyber rules as USA or UK :)
  25. Hey kid why dont you shut the fuck up xD Dylan is obviously alot smarter than you or you would have been able to figure out a simple SQL. And your whole OMG I R TEH BADAZZ I HAZ ILLEGAL COPIEZ OF MCCODEZ GO SCREWZ YERSELFZ MWAHAHA failed misserably when you got shutdown xD You either need to grow a brain or hire a sick team of legal assistants. Or move somewhere where your host provider isnt going to shut you down for illegal software. Now please go away and have a nice day.
×
×
  • Create New...