Jump to content
MakeWebGames

Isomerizer

Members
  • Posts

    1,170
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Isomerizer

  1. Re: Better than Quantifying Ive wanted to add the quantifying of items to my v1 game for ages now.. I kind of realised code like this would be needed, as quantifying manually through scripts can mess the items up a lot. Has anyone got a full list of all the scripts that need to have this code added so that items are quantified up correctly? Oh and thanks will for this code, i'll be sure to add it to the item related scripts. Scripts: - itemsend.php - itembuy.php - itemsell.php ? - itemmarket.php - auctions.php ? - ganggive.php ? (Must be some admin functions that need to be edited too)
  2. Re: A little help here anyone? please installer.php Also... why on earth is this topic in the Free Mods section?
  3. Re: [Free] Log Suspicious Users     Version 2 has this already Eh? DBS V2 has this feature already? :? You sure? :|
  4. Re: Quantify Mod for V2! Im sure it was posted in v2 as well.. Also why have you got session_start(); in the script if its v2... And where on earth has <?php gone? God.
  5. Re: Quantify Mod for V2! ... Im sure this has been posted before. Maybe by seanybob?
  6. Re: delete gang after respect hit 0   Well LostOne's as it will delete all gangs with no respect, mine will only delete one as its not looping.
  7. Re: [Free] Log Suspicious Users   You want it to log $_POST too? Not to sure how to do that, probably wouldnt be to hard. I could look into it.
  8. Re: [Free] Log Suspicious Users   It will log everything used in the URL, so $_GET yes..
  9. Re: [Free] Log Suspicious Users You enter the ID and length of the User you wish to log... From then on it will automatically log everything they do. Then under the log menu it will list who is being logged, click View next to the user you wish to see what they have been doing. If it is empty, they have not done anything since you added the log function to them.
  10. Re: [Free] Log Suspicious Users   It doesn't really need to be converting as it is not one big script. If you cant find the certain code, use your brain a bit and look for something similar.
  11. Haven't made a free mod in a while, earlier mdshare gave me this idea, so i thought i'd create this mod for CE users. This mod will allow you to log certain users of your choice, so over the next x days you can see what exactly they are doing, this may help you catch them cheating / injecting etc. Will only be available under admin panel, and should be a great tool. Open header.php and find:   $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];   After add:   // Log Suspicious Users // isomerizer.com Copyright 2008+ if ($ir['log'] > 0) { $access = $_SERVER['REQUEST_METHOD']; $log = $_SERVER['REQUEST_URI']; $date = date ('F j, Y'); $time = date('g:i:s a'); mysql_query( sprintf("INSERT INTO `logs` ( `ID` , `userid` , `IP` , `action` , `time` , `date` , `access` ) VALUES ( NULL , %u, '%s', '%s', '%s', '%s', '%s')", $userid, $ip, mysql_real_escape_string($log), $time, $date, $access)); }   Open admin.php and find:   case 'massmailer': massmailer(); break;   Under add:   case 'loguser': loguser(); break;   Then find:   [[url='bugadmin.php']Bug Reports[/url]]   Under add:   [[url='admin.php?action=loguser']Log User[/url]]   Find:   $h->endpage(); ?>   Before add:   // Log Suspicious Users Mom // Property of isomerizer.com function loguser() { global $ir, $c, $h, $userid; echo '<h3>Log Suspicious Users</h3>'; if ($_GET['log']=="view" && !empty($_GET['ID'])) { echo 'Last 1000 actions of ID: '.$_GET['ID'].' <table width="90%" border="1"><tr><td><u>Action</u></td><td><u>Accessed By</u></td><td><u>IP</u></td><td><u>Time</u></td><td><u>Date</u></td>'; $user=abs(@intval($_GET['ID'])); $loggy=mysql_query( sprintf("SELECT * FROM `logs` WHERE `userid` = %u ORDER BY ID DESC LIMIT 1000", $user)); while ($logs = mysql_fetch_object($loggy)) { echo '<tr><td>'.$logs->action.'</td><td>'.$logs->access.'</td><td>'.$logs->IP.'</td><td>'.$logs->time.'</td><td>'.$logs->date.'</td></tr>'; } echo '</table>'; $h->endpage(); exit; } if (isset($_POST['submit'])) { $length = abs(@intval($_POST['length'])); $ID = abs(@intval($_POST['userid'])); mysql_query(sprintf("UPDATE `users` SET `log` = %u WHERE `userid` = %u", mysql_real_escape_string($length), mysql_real_escape_string($ID))); if ($length == 0) { echo 'User '.$ID.' will no longer be logged! '; } if ($length > 0) { echo 'User '.$ID.' will now be logged for '.$length.' days! '; } } echo 'Add a User to be logged: <form action="'.$_SERVER['PHP_SELF'].'?action='.urlencode('loguser').'" method="POST">User ID: <input type="text" name="userid" /> Length: <input type="text" name="length" /> <input type="submit" name="submit" value="Log!" /> </form> Current users being logged: <table width="80%"><tr><td><u>User</u></td><td><u>Length of Log</u></td><td><u>View?</u></td></tr>'; $logz=mysql_query(sprintf("SELECT * FROM `users` WHERE `log` > 0", $c)); while ($log = mysql_fetch_object($logz)) { echo '<tr><td>[url="viewuser.php?u='.$log->userid.'"]'.$log->username.'[/url]['.$log->userid.']</td><td> '.$log->log.'</td><td>[url="'.$_SERVER['PHP_SELF'].'?action=loguser&log=view&ID='.$log->userid.'"]View[/url] </td></tr>'; } echo '</table> [i](To delete a user just enter the ID and put 0 as the length)[/i]'; }   Open your daily cron and add:   mysql_query("UPDATE `users` SET `log` = `log` - 1 WHERE `log` > 0", $c);   SQL:   ALTER TABLE `users` ADD `log` INT( 10 ) NOT NULL ; CREATE TABLE `logs` ( `ID` INT( 25 ) NOT NULL AUTO_INCREMENT PRIMARY KEY , `userid` INT( 25 ) NOT NULL , `IP` VARCHAR( 255 ) NOT NULL , `action` VARCHAR( 255 ) NOT NULL , `time` VARCHAR( 255 ) NOT NULL , `date` VARCHAR( 255 ) NOT NULL , `access` VARCHAR( 255 ) NOT NULL ) ENGINE = MYISAM   Enjoy! Show your appreciation by checking out isomerizer.com
  12. Re: 3 Word Game incredibly sexually frustrated
  13. Re: SQL Injections   Ok, so this means you didn't decrypt it...? :lol:
  14. Re: Which mysql query? ROFL
  15. Re: SQL Injections   Dont mean to rain on your parade there but I think they can be decrypted.   Md5 Hash: efe6398127928f1b2e9ef3207fb82663 Normal Text: qweqwe   Well Whoop de Whoop I just decrpyted the most basic letter password you could think of :D You really decrypted that all by yourself? With no comparison's or not using them big database sites with thousands of MD5 strings in them...
  16. Re: Welcome back CE   It was not me. No matter what you think, I wouldn't even have any reason to DDoS / SQL Flood Attack w/e on your server. CE makes me money, why would i destroy something i benefit from? You have no proof. Except for a few rumours...
  17. Re: Phone Billing I know this is super old.. But does anyone use Phone Billing in their game? Anyone got a cheap provider?
  18. Re: [Free] [v1&v2] High Low   Nope, notepad...
  19. Re: 3 Word Game some strong shit
  20. Re: [V1][V2] 50/50 Chance Mod. Free Version   Mods? I do believe this is his first ever mod for CE. Correct me if i'm wrong.
  21. Re: [V1][V2] 50/50 Chance Mod. Free Version   With poorer coding :-P But its Free! :wink: Iso, don't you get it...FREEEEEEEEEEEEEEEEEE lol it looks the same as your one though :S What effects the appearance is HTML / CSS. Not PHP, your an inexperienced coder. You won't be able to identify clean code. I suppose you get what you pay for, you pay for nothing. You don't get an as good version of 50/50. :)
  22. Re: [mccodes][V2] owner`s pannel   Why does it say welcome Welard haha :) print "WELCOLME WELARD.   Should be... print "WELCOLME ".$ir['username'].".
  23. Re: [V1][V2] 50/50 Chance Mod. Free Version   ;)
  24. Re: [V1][V2] 50/50 Chance Mod. Free Version   With poorer coding :-P
  25. Re: Forums...VB Vs. IPB   Yep, PHPBB is very insecure compared to SMF.. ;)
×
×
  • Create New...