
Isomerizer
Members-
Posts
1,170 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Everything posted by Isomerizer
-
Re: [mccodes] Board Game [$15] Allways get that one idiot, demo account updated. Should be able to login now. :)
-
Description: This is a great addition to your game, for a fixed fee users can play a board game. Users will be able to roll a dice and move around the board, collecting bonuses on the way. Including money, brave and energy. Users will have 3 lifes each attempt at the game, they can hit lose life squares, and once their out of lives the game is over. It also has a highscore table, so the top user is recorded by how long they last on the board, users can attempt to break it. The mod also has a edit function for admins to use, so they can edit the boards squares without even opening phpmyadmin. Screenshots: Price: $15 Demo: www.isomerizer.com/demo/board.php (user: demo , pass: demo) PayPal Email: [email protected]
-
[mccode v2] Improved Security on Attack System
Isomerizer replied to KiX's topic in Free Modifications
Re: [mccode v2] Improved Security on Attack System Access cPanel, then go to PhpMyAdmin, Then select your database, then go to "SQL", in the SQL box input the sql you wish to execute. Then click "Go". Also replace `test` with `attchk`. -
Pretty simple modification. Just allows users to purchase a taser gun (you decide how, maybe even a donator only opt). Once they have the taser gun, then can then taser one user for 5 minutes (this will make the user totally frozen for 5 mins). This could be used for attacks on the user, seeing as they are vulnerable if frozen. 1. Run the SQL. CREATE TABLE `froze` ( `ID` INT( 25 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , `userid` INT( 25 ) NOT NULL , `when` INT( 25 ) NOT NULL , `by` INT( 25 ) NOT NULL ) ENGINE = MYISAM INSERT INTO `items` (`itmid` , `itmtype` ,`itmname` ,`itmdesc` ,`itmbuyprice` ,`itmsellprice` ,`itmbuyable` ,`effect1_on` ,`effect1` ,`effect2_on` , `effect2` ,`effect3_on` ,`effect3` ,`weapon` ,`armor`) VALUES ( NULL , '1', 'Taser Gun', 'Use this to taser users, freeze them for 5 minutes!', '1000', '500', '1', '1', '', '0', '', '0', '', '0', '0') (You may need to change the itmtype, buy/sell price.) 2. Open up itemuse.php and find: if($r['effect1_on']) { Under add: if ($r['itmid'] == 3) { // You may need to change this to the correct item id if (isset($_POST['submit']) && !preg_match('[^0-9]', $_POST['user'])) { $name = mysql_fetch_array ( mysql_query( sprintf("SELECT `username` FROM `users` WHERE `userid` = %u", $_POST['user']) ) ); if (empty($name['username'])) { echo 'No such user'; $h->endpage(); exit; } if ($_POST['user'] == $_SESSION['userid']) { echo 'You can\'t taser yourself!'; $h->endpage(); exit; } $SQL = sprintf("SELECT `ID` FROM `froze` WHERE `userid` = %u", $_POST['user']); $exe = mysql_query($SQL); $fetch = mysql_fetch_array($exe); if (!empty($fetch['ID'])) { echo 'This user has already been tasered in the last 5 minutes'; $h->endpage(); exit; } $SQL_2 = sprintf("INSERT INTO `froze` (`ID`, `userid`, `when`, `by`) VALUES (NULL, '%u', '%u', '%u')", $_POST['user'], time(), $_SESSION['userid']); mysql_query($SQL_2); echo sprintf('You have tasered %s for 5 minutes!', $name['username']); event_add($_POST['user'], '[url="viewuser.php?u='.$_SESSION['userid'].'"]'.$ir['username'].'[/url] just tasered you for 5 mins!'); item_remove($_SESSION['userid'], $r['inv_itemid'], 1); } else { $url = $_SERVER['PHP_SELF'].'?ID='.urlencode($_GET['ID']); echo sprintf('<form action="%s" method="POST">', htmlentities($url)); echo 'Enter the UserID you wish to taser: <input type="text" name="user" /> <input type="submit" name="submit" value="Taser!" /> </form>'; } $h->endpage(); exit; } 3. Open header.php and find: print "[url='donator.php'][b]Donate to {$set['game_name']} now for game benefits![/b][/url] "; Under add: $SQL = sprintf("SELECT `ID`, `when` FROM `froze` WHERE `userid` = %u", $_SESSION['userid']); $exe = mysql_query($SQL); $fetch = mysql_fetch_array($exe); if (!empty($fetch['ID'])) { $for = time() - $fetch['when']; if ($for > 300) { mysql_query( sprintf("DELETE FROM `froze` WHERE `userid` = %u", $_SESSION['userid']) ); } else { echo '<font color="red" size="3">[b]You have been tasered for up to 5 minutes, your froze! '.$for.' seconds have past.</font>'; $h->endpage(); exit; } } There, pretty simple, hence why it's free. Hopefully a few of you may find it useful in your game. Enjoy... Oh yeah, and credits to Faz for the idea. :-)
-
Re: Cock Fight [$10] Reduced to final price of $10 Reduced due to lack of sales
-
Re: Cock Fight [$20] This has been fixed. Price reduced to $15.
-
Important Security Issue For All McCode Owners !
Isomerizer replied to MaKaVeLLi's topic in General Discussion
Re: Important Security Issue For All McCode Owners ! yeah thanks I got that last week, way to be up to date. I already posted the reason why I said that. Please read everything if you intend to quote me. Sp1d3r www.chaosrelic.com Apologies, I only saw the first page of this thread before posting. -
Important Security Issue For All McCode Owners !
Isomerizer replied to MaKaVeLLi's topic in General Discussion
Re: Important Security Issue For All McCode Owners ! It's not fake, and it's pretty well known... Its easy to fix. It's just securing the user's IP, as $_SERVER var's can be abused. Use something like this: if (eregi('/[^0-9\\.]/i', $IP)) { echo 'Error - Invalid IP'; exit; } with the IP variable being the actual IP, looking a bit like this: $IP = (isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']); Like all variables that can be altered by a user, they should all be filtered. -
Description: Allows users to purchase a cock, then train, play, heal, fight with it. Has 3 starts, health, aggression, speed. All come into play when fighting other cocks. Should be a good addition to your game, and will also make money for you via this mod. Cocks can train/play once a day, but with an option to buy cock credits for $x, this could benefit your income alot. Also has ability to change cock's name. Screenshots: Price: $10 Demo: http://isomerizer.com/demo/cockfight.php (User: demo, pass: demo) Payment: [email protected]
-
Re: Movies Went to watch "Knowing" last night, staring good ol Nicolas Cage. Quite good, a bit farfetched near the end. What happens when the numbers run out... ?
-
Re: [mccode] Mod Sale [$10.00 - $110.00] No worries, saves me from bumping my thread. :lol:
-
Re: Movies 2 latest films I've seen.... The Unborn was pretty good. Greenstreet 2 was OK I guess.
-
Re: Secure Names? Please help. Yes but, how is a user going to get an userid 1.24 it wont happen lol, it will just go 1,2,3,4,5,6,7,8,9,10,11 ect lol. $userid = $_SESSION['ID'], right? So if userid is a session it can be altered. Make sure to validate them sessions!
-
Re: [mccode] Mod Sale [$10.00 - $90.00] Quests have now been included. $20 - Quests (Geek quest, ip address quest, trivia quest, treasure quest, warehouse quest) * Quests will be included into Pack 1, +$20 *
-
Re: .htaccess or php help needed Why not stick the included files in the root of the server? Best way...
-
Just realized I never introduced myself
Isomerizer replied to EineyEntertainment's topic in Chit Chat
Re: Just realized I never introduced myself -
[any version] Removal of 1 minute crons
Isomerizer replied to Haunted Dawg's topic in Free Modifications
Re: [any version] Removal of 1 minute crons Good work Kyle and POG1. -
Re: 3 Word Game secret toilet fetish
-
Re: [mccode] Mod Sale [$10.00 - $80.00] Pack 1 updated!
-
Re: IM GOD lols I don't think hes saying hes "pro"... Just stating the obvious, your code example would not be classed as pro php. Not many class themself as "pro", and can be seen as being big headed... I don't know why you even bothered posting this... It's as if your trying to show off. Noone likes a show off.
-
Re: IM GOD lols lol, that's a gooden.
-
Re: A simple, fast database class for PHP 4+ and MySQL It did... In simpler words... using mysql_query over the db class, is yes quicker.
-
Re: A simple, fast database class for PHP 4+ and MySQL This is a fast (not the fastest), clean, secure DB class. It will save time overall and will help with security issues. OOP is slower then procedural but does have advantages of not repeating as much code.
-
Re: [mccodes] 5 Card Draw [10$] Stop refreshing on the winning screen. :evil: Maybe something you should fix...
-
Re: BOE Engine The forums are using a free SMF template (slightly edited), found on the SMF theme site... Is that a problem? SMF Army: http://custom.simplemachines.org/themes ... ?lemma=621