Jump to content
MakeWebGames

oxidati0n

Members
  • Posts

    564
  • Joined

  • Last visited

Everything posted by oxidati0n

  1. Re: Users stats reset to 2,147,483,647 bigint(40) doesnt work, It goes up in the capped value of 2,147,483,647 each say if you post 5,000,000,000 in default it goes to 2,147,483,647 so you post 5,000,000,000 again it'll just add another 2,147,483,647 to prevent this add UNSIGNED in the table. ;) ALTER TABLE `users` ADD `example` BIGINT( 40 ) UNSIGNED NOT NULL ; thats a example at above.
  2. Re: Number format yeah print '$'; - the ' disables $ and sql so decepti0ns should work lol i know natasha said it worked, $cash='source'; print "\$".number_format($cash); lol :P
  3. Re: Buy ONLY from www.mccodes.com ;) Well yeah .. Like all paid solutions, It always come with a validator, Like "WHMAutoPilot" hosting manager, You need to enter license, Automaticly.   If your looking to code a source, make a license holder, Make a official website and a source lock example <?php //Source validator (example for CE members) if(!file_exists("/required_/mySQL_PHP.php")) die("Interaction WebServer failed, Try again or contact a Source Admin."); include "/required_/mySQL_PHP.php"; global $_CONNECT,$WEBH,$connected,$timeto,$used,$days_l,$trial_li,$sd_s; //Included all globals if(!$_POST['license']) { print "Check your valid license (should of been recieved with email) <form action='check_license.php' method='post'>License <input type=text size=49 maxlength=100 name='license' value=''> <input type=submit></form>"; } else { $file="http://www.myproject.org/source_validator/source_check.php?license={$_POST['license']}&server={$_SERVER['HTTP_HOST']}"; $f=file($file); if($f[0] == "true") { print "You have a valid code! Activated! "; //Remember the [1] should always be +1 - like next one is $query[2] lol. $query[1]="UPDATE `web_licenses` SET `web_license` = '1', `web_license_txt` = '$_POST[code]' LIMIT 1;"; $s_s=0; //Run multiple queries foreach($query as $q) { $s_s++; $server->query($q[$s_s]); } //Tells the seller server they have used code once. $confi_file="http://www.myproject.org/source_validator/source_used.php?license={$_POST['license']}&server={$_SERVER['HTTP_HOST']}"; include($confi_file); print "[url='index.php']BACK[/url] "; } else { print "INVALID LICENSE LOL"; } } ?>   that code doesnt work but if you understand it you n00bs should understan the system of validators. ;) lol. Like i said to -Genocide-, It's a big efficient improvement - Next best thing to safe and secure webservers. This shouldn't be required on all pages, Only on the important ones so they don't know where the validator is, So they can't remove it if you get my help :). If you are looking for a PHP encrypter, This one is free for 7 days but when its encrypted a in the trial is included, But that doesn't affect none of the code, Basic for n00bs. If you do consider to buy off http://www.codelock.com, Use the token for 35% off - "FREEFIND_WINPROMO". Thanks, Nicholas Poalo.[/code]
  4. Re: [mccode] Lucky Dip   or   if($ir['gamegoes']==0) { print "Sorry, you only have one go each day! "; $h->endpage(); exit(); }
  5. Re: [mccode] Annoucement Mod yeah just do $_POST['lala']=str_replace(array("<",">","/n"),array("",""," "), $_POST['lala']); that stops HTML, dont know about ajax. In AJAX the J means JavaScript and the X means XML == AJAX - Anstronomous Javascript and XML. :) not exactly sure about the first A spelling lol, its too long and boring to keep in my head lol.
  6. Re: [Free v1] Close page system Silver - Your mods have working SQL but there is quite a lot of severe errors. I'll name a few 1) Admin Panel functions (when you open a page it shows close page) How: When you set the functions they correct it to the function "closepage", rename it to "open" and it should work. 2) Submitting open page How: you setup a $_POST['url'] in the form, but you wrote in the query DELETE FROM closepages WHERE id={$_POST['id']} - posted id (not existed) so replace the {$_POST['id']} with {$_POST['url']} 3) Connections It automaticly selects, what if no queries then it makes a long text error causing lots of stress in for the players and others. And a few more.. I myself have infact fixed all the bugs in the code, For assistance ask Silver (if he has fixed) or me.
  7. Re: [Free v1] Advanced Warning System Cool, Looks good - I won't be bothered coding it so i'll use it, This is the first lol. +1
  8. Re: Free Multiple Event Deleter - FREE! ok mate, I wasn't shouting at you, I'm just saying nobody i know would offer 999999999999GB for free/cheap unless it's either stolen (not theres) or a really crap dedicated home or they got a REALLY good deal. I'm not reffering to you as a "stupid" or a "weird" person, I'm just bandwidth isn't there for nothing, It has a reason and a use. For example a server is like a computer, if it overloads its slows down, Bandwidth isn't on computers. 250gb hard drive is around $200,but that'd be same on the net aswell. If you don't understand me, its fine. I speak too much these days. lol.
  9. Re: Free Multiple Event Deleter - FREE! kyle that isn't going to work because i also installed on "multievents.php" the same query to save bandwidth. LIMIT 10; if you changed that, it'll work. :)   And also, Even if you do have 999999GB, it can still overload a server, so they'll suspend you. Most servers don't like Text based games cause it has cron flood, db overload, too much hacking/site loss included and they can't be bothered to do all that work for free. I check my overload status, If it's overloaded i tells users to sort or instant removal within 48 hours. :)
  10. Re: About Javascript   yeah but theres a low chance anyones going to be bothered to grant javascript access. As javascript is the cause of popups.
  11. Re: Free Multiple Event Deleter - FREE! Well the only message i've been stated as a "error" is the javascript. :) reply if theres any more, I don't seem to see any.
  12. Re: Free Multiple Event Deleter - FREE! UCC, kyle and zaver - Please state these errors? The disability feature is a add-on, I created it just as something, If they selected Uncheck all it disables multiple delete, If they check again it undisables. ;)
  13. Re: About Javascript true, firefox and opera dont accept javascript but new ie versions accept new types so its better to have it compatible with all versions.
  14. Javascript is a another language like PHP but implented into HTML and can only be compatible with HTML and anything that uses HTML, It only works in variables, PHP runs a script once, Javascript runs again and again so it acts forever without failing, You can do a hell of a lot with javascript, Cookies, Alerts, Confirmations and others... You can lock buttons to destroy html Javascript is something to enjoy, You can never get bored of compiling Javascript, Again, Javascript is something hard as you may not if the scripts running or not, As for example :     That requires id="button" in the location of the html to make it act in that location, same with Cascading Styling Sheets, #format you'll need id='format' for the CSS to act its designs on that location. You should learn javascript, It's quick, easy and never abusable! BAD THING: If you don't encrypt your scripts (79.5% of the net doesnt) your javascript can be nicked by viewing the server's generated source. GOOD THING: All servers can accept them, Nothing special required, You can use it on any free sites like FreeWebs / Piczo.
  15. Re: Free Multiple Event Deleter - FREE! :)
  16. Re: Free Multiple Event Deleter - FREE! lol ok. I only do this so you get a better game = better money = happy life :) I get my lots of income so i'm happy. I have no reason not to give these small mods out. :)
  17. Re: Free Multiple Event Deleter - FREE! Thanks zaver ;)
  18. Re: Free Multiple Event Deleter - FREE! What does Neato mean UCC? lol.
  19. As this is a big hassle in most MCcodes games, I have easily designed this multiple event deleted, It has Check All and Uncheck All features. :) So enjoy! P.S. i have added delete all as well. :) replace events.php with this events.php <?php /************************************************************** MULTIPLE EVENT DELETER MADE BY OXIDATI0N AT CRIMINAL EXISTENCE [url]www.oxidati0n.info[/url] - Your place for quality mods, templates and flash designs! THANKS FOR USING! License: FreeWare! ***************************************************************/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); $ir['exp_needed']=($ir['level']+1)*($ir['level']+1)*($ir['level']+1); check_level(); $fm=money_formatter($ir['money']); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm); $h->menuarea(); if(isset($_GET['deleteall'])) { if($_GET['conf'] == 1) { mysql_query("DELETE FROM events WHERE evUSER=$userid",$c); print "All your events were successfully Deleted! ".mysql_affected_rows($c)." events were deleted in this process! [url='events.php']Back[/url] "; exit; } else { print "Are you 100% sure you want to delete all your events? Once deleted, You cannot retrieve them at all. [url='events.php?deleteall&conf=1']Yes, delete them all now[/url] [url='events.php']No, keep them and Go Back[/url] "; exit; } } $q=mysql_query("SELECT * FROM events WHERE evUSER=$userid ORDER BY evTIME DESC LIMIT 10;",$c); if(mysql_num_rows($q)) { print ""; } print "Events"; $_GET['delete'] = abs((int) $_GET['delete']); if($_GET['delete']) { mysql_query("DELETE FROM events WHERE evID={$_GET['delete']} AND evUSER=$userid",$c); print "[b]Event Deleted[/b] "; } if(mysql_num_rows($q)) { print " [url='events.php?deleteall']Delete All[/url] Check All Uncheck All "; } print "</pre> <table width="75%" border="2">Time EventLinks You currently have no events.".date('F j Y, g:i:s a',$r['evTIME']); if (!$r['evREAD']) { print " [b]New![/b]"; } print "{$r['evTEXT']}[url='events.php?delete={$r[']Delete[/url] </table>";<br>if(mysql_num_rows($q))<br>{<br>print "<br><br><br><a href="%5C" rel="">Check All</a> <a href="%5C" rel="">Uncheck All</a><br><br><br><br><br>";<br>}<br>mysql_query("UPDATE events SET evREAD=1 WHERE evUSER=$userid",$c);<br>$h->endpage();<br>?&g now create a file called multievents.php <?php /************************************************************** MULTIPLE EVENT DELETER MADE BY OXIDATI0N AT CRIMINAL EXISTENCE [url]www.oxidati0n.info[/url] - Your place for quality mods, templates and flash designs! THANKS FOR USING! License: FreeWare! ***************************************************************/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm); $h->menuarea(); print "Events"; if(!$_POST) { print "What are you supposed to delete? [url='events.php']Back[/url] "; } else { $deleted=0; $q=mysql_query("SELECT * FROM events WHERE evUSER=$userid ORDER BY evTIME DESC LIMIT 10;",$c); while($r=mysql_fetch_array($q)) { $evv="delete".$r['evID']; if($_POST[$evv]) { $event=$_POST[$evv]; if($r['evID'] == $event) { mysql_query("DELETE FROM events WHERE evID=$event"); $deleted++; } } } print "$deleted Events were deleted! [url='events.php']Back[/url] "; } $h->endpage(); ?> Now your done! there you go - For all those who want screenshot screenshot: This is very efficient for games as they can delete which ones they want and which ones they dont without clicking lots of times, very fast aswell, some delete the long and hard way.
  20. Re: yourgang.php with Gang pics $end a { doesnt have a } so all you need to do is add a } near the end (i think) :s unexpected '}' means you need to remove it but you dont need that just add a }   :) laters.
  21. Re: [mccode] Annoucement Mod Well it doesn't mean it cannot find any tables, but if you don't install a script properly, It'd come up with that or the SQL query is invalid/error'd. It works for everyone :P
  22. Re: (Free) Contra Game yes but manually.
  23. Re: [mccode] Annoucement Mod Well thats kinda impossible Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in in short words meaning "cannot find table".   :) check in database if them tables exist. The script isn't errored because it's worked for everyone else. :)
  24. Re: (Free) Contra Game possibly, but the sql hes used is only for recording how many times its been played.
  25. Re: (FREE) Pac Man Game nice feature. I'm not using it because i'd rather people play the game, not the flash games.
×
×
  • Create New...