Jump to content
MakeWebGames

oxidati0n

Members
  • Posts

    564
  • Joined

  • Last visited

Everything posted by oxidati0n

  1. Re: Texas Hold 'Em Mod   Texas hold em is generally a hard mod to code, Especially with all the details required. I think seanybob has reasonably priced it and would make a game fly up in attraction in no time. :wink:
  2. Re: [mccode] Annoucement Mod   In proper grammar please! Heh. I was going to sell it at around $15.00 which would have easily sold, but what the heck just take it :wink: It's only an annoucements mod. Basicly something free which has taken a LOT of time. :roll:
  3. A notepad that doesnt required loadup and updated automaticly via javascript. Run this query ALTER TABLE `users` ADD `notepad` TEXT NOT NULL DEFAULT '';   Create a file called updatenotepad.php <?php //Created by oXidati0n. session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; 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); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); if($_GET['text']) { $text=$_GET['text']; $text=mysql_real_escape_string($text); $text=strip_tags($text); mysql_query("UPDATE users SET notepad='$text' WHERE userid=$userid"); } else { echo "ERROR!"; } $h->endpage(); ?>   Add this in index.php //Created by oxidati0n. print << Notepad: {$ir['notepad']} TXT;   Thankyou, oXi.
  4. Re: [TGM] Joinable Organised Crimes [TGM]   My advice is NEVER buy off Cronus or Titan Gaming Media, its all buggy stuff.
  5. Re: [TGM] Joinable Organised Crimes [TGM]   Nah. Dont think Cronus will lay another finger onto it.
  6. Re: Texas Hold 'Em Mod   1) Could you rephrase the question? A bit confused as to what you're asking... 2) Currently it is using 4 tables in the DB. I could easily narrow it down to 2-3, however I'll be doing some more testing on it, see what takes up less resources. 3) Coding it in v2. Easily converted to v1. 4) That's the portion I'm coding right now... open to ideas. I'm thinking keeping the poker rooms open as long as there is someone in the room, but having a cron running (or perhaps a timestamp comparison) that deletes rooms that haven't had any activity in the past hour or so. I could make that customizable if you wish. Ooh.. How about if the room has 1 person online and hes offline   $time = time(); $laston = $r['laston']; //When I was last online XD if($laston > time()-15*65) { echo "I'm online !"; } else { echo "I'm NOT online !"; }   ..Timestamp is the easy way.. but then again it could help in some ways.. As timestamp is a server time and server times are always different (dependant on who you host with) UK, Canadian, Austrailian, US servers etc.
  7. Re: [TGM] Federal Jail Court System [TGM] Yep. Cronus doesn't bother with MCcodes anymore, He has AdverCash and doesnt care about it. Basicly you've been scammed. Most of his mods are buggy like some of AdverCash has bugs. 1) If you can get a refund (almost impossible) .. then your REALLY LUCKY 2) He wont help you at all. Hes always "busy" with AdverCash.   If cronus gave all his unsatisfied buyers a refund, He'd be broke.
  8. Re: Texas Hold 'Em Mod   Very very very nice.. I may even consider purchasing this.. It could be a long thing to code.. plus all the aspect and potential this has.. You need to explain it more.. Does it blend with PHP 5 functions? How many tables does it use up? What mccode version is it for? How long is a poker room open for?
  9. Re: [$5] Minesweeper :-( ... Well I thought if Isomerizer could do It I could? Never mind.. :oops:
  10. [code][code]   Run Query ALTER TABLE `users` ADD `jailkeys` int(11) NOT NULL ;   FIND IN HEADER.php Crystals :{$ir['crystals']}   ADD BELOW "; if($ir['jailkeys']> 0) { print "Jail Keys: {$ir['jailkeys']} "; } print "   FIND IN JAIL.php (If you have the modification) Jail   ADD BELOW [/code] "; if($ir['jailkeys']> 0 and $ir['jail'] > 0) { print " You have {$ir['jailkeys']} jail keys, Click here to get out. "; } print " [/code] FIND IN Jail.php Buy Out   REPLACE WITH Buy Them Out (1 jail key)   FIND IN jail.php [url='bail.php?ID=$r[userid]']Buy[/url]   REPLACE WITH [url='bail.php?ID={$r['][buy][/url]"; if($ir['jailkeys']> 0) { print "[url='jailkeys.php?action=buy2&ID=$r[userid]'][buy][/url]"; } print "   CREATE NEW FILE called jailkeys.php   <?php 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(); if($ir['jailkeys']== 0) { die("Not for you, You dont have any jail keys."); } if($_GET['action']== 'buy') { mysql_query("UPDATE users SET jailtime=0, jailkeys=jailkeys-1 WHERE userid=$userid",$c); print "You bought yourself out with one jail key! [url='index.php']Index[/url]"; exit(); } else if($_GET['action'] == 'buy2' && $_GET['ID']) { mysql_query("UPDATE users SET jailtime=0 WHERE userid={$_GET['ID']}",$c); mysql_query("UPDATE users SET jailkeys=jailkeys-1 WHERE userid=$userid",$c); print "You bought them out! [url='index.php']Index[/url] "; exit(); } $h->endpage(); ?>   You have successfully added your modification, If its not fully functional check your edits. Thanks
  11. Re: [mccode] Choose Gender Cool
  12. Re: [Free] [V1] Guess What Cup? (Casino Game) Yeah plus this is a text one, Graphics one looks more fancier and every buyer has preffered our one. Your is good for a free one, but our is good for quality custom gfx work.
  13. Re: Free Carnival Great mod, And I think this is your first correct? Well done, Your getting there elessar. +1 I love the idea of a Carnival.
  14. Re: SPECIAL ATTACK smokers :lol:
  15. Re: [All] Remove Items from Shops   Its' admin.php to edit!! It means the page doesn't exist n00b. :lol:
  16. Re: FREE Bug Tracker Mod This script doesn't have any bugs, does it ???
  17. Re: Im Making A Online Radio Station, HELP>>>>> Yeah. I advise if you know any rappers/mc's in your area (theres loads!!!) you can ask to share they're music. Then your good and sorted.
  18. Re: [v1] NEW - Weapon Stocks & Transport   haha :-D loool
  19. Re: Getting Rid of the 2.147 bil cap in MCcode I know why there is a 2bil cap on MCC, because you shouldn't even get to 2billion. That is WAYYY to high in economy.
  20. Re: [$10-v1] SECURE Reset Password   HUH. Silver makes his codes from scratch, thats why he is a coder. Coders aren't people who edit codes and think they made it ALL. You say to every mod 'im makin 1 for ma m8' lol. It's seriously not nice towards Coders. Silvers a good guy, He doesn't do stupid things like that.
  21. Re: [$10-v1] SECURE Reset Password Silver look, he has a MSN screeny on one of his screenshots, lol. Great mod, Security like that is something I'm planning to implent onto CC.
  22. Re: [V1] FREE! ID refiller/counter   Thanks for sharing with these guys.
  23. Re: [Free] [v1] User Verification [Captcha]   Doesn't look very familiar with me.. I am not sure. :S Never mind lol. Anyway, He did a fab job and he is great for posting it. Thanks Isomerizer ;)
  24. Re: HTML allowed, preventing SQL Injection Well basicly add this in some of your codes   foreach($_REQUEST as $k=>$v) { $_REQUEST[$k]=mysql_real_escape_string($v); }   That should do it.. :lol:
  25. Re: [Mccode][Free] House Pictures   How the hell will array be long? It's only how many values you put into that takes the time, 3 isn't hardly much but you can easily add more. The benefit is it's more efficient. Geeessee...
×
×
  • Create New...