03laceys
Members-
Posts
863 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by 03laceys
-
mccode-v2 8 Lines to secure your site from known sql injections.
03laceys replied to Haunted Dawg's topic in Free Modifications
Re: 8 Lines to secure your site from known sql injections. So in the current status of the lines posted. It stops common sql injections on the forums only? -
Re: [V2]Ranks Mod!!!![V2] I have been watching this post and found it quite interesting. I didn't want to reply but it's 6.38am here i'm about to go to bed and i though why not. :) Some people on these forums still want to play things by the book you may not want to but us other's do! Regardless of copyrighted pictures??? What the hell like i said some of us actually want to play by the book and don't want to use these images and you shouldn't be either. The ranks are not copyrighted but the images are a difference, i could go draw a picture of a laptop if i was to copyright it i would not be copyrighting laptop's would i but simply the image. I second that... EVERYONE on this ****ing site always bags out on others for making a free mod... atleast its not a paid mod... everyone shut the **** up and stop bitching. Period. Jesus this community hasn't got that bad that all people can do is just swear less of it please have some respect! This mod has been made several times before heck even DBS made this and sold it before (it was without pictures though). Jesus, I sure hope noone has level 1000's on there games. Deadlystate.com ;) top player 1010, economy is out of control there.
-
Re: [FREE] [V2] 2 Game Styles/Themes Nope not working. I have added $h->endpage(); to pages that was missing the footer but it made no difference to the pages that were messing up. I checked that all tables had been closed once finished with also. Any more help?
-
Re: Free 2 - Roulette Just wondering how you lower the winning rate as members on my game are getting so much money from this game? Looked through the code so many times but it's so hard to read as I'm used too poorly coded mods such as dbs game engine ;)
-
Re: [FREE] [V2] 2 Game Styles/Themes I am having a bit of trouble with both of these layouts, When ever i go to a certain page such as crimes it all messe's up. i have fixed a couple of page's but it still messes up on some. Anyone willing to help?
-
Re: Vallheru created before Mcc ? dbs was only 14 when he created mccode so it really wouldn't suprise me if he had just done what alot of other 14 year old's do and thats scam people. I find it really hard that at the age of 14 he was capable of being able to code a game base like this from scratch.
-
Re: Google Chrome I agree it's just aload of crap.
-
Re: user change layout help? Yeah sorry forgot to post. It's fixed :)
-
Re: user change layout help? Warning: main(.php) [function.main]: failed to open stream: No such file or directory in /mnt/web6/40/42/51656042/htdocs/hitmanv2/globals.php on line 31 Warning: main() [function.include]: Failed opening '.php' for inclusion (include_path='.:/opt/RZphp4/includes') in /mnt/web6/40/42/51656042/htdocs/hitmanv2/globals.php on line 31 Fatal error: Cannot instantiate non-existent class: headers in /mnt/web6/40/42/51656042/htdocs/hitmanv2/globals.php on line 85
-
Re: user change layout help? yep i do :?
-
Re: user change layout help? yes i do have the field in the users table already.
-
Re: user change layout help? Now i'm just getting dumbass you have no layout selected. <?php session_start(); ob_start(); if (get_magic_quotes_gpc() == 0) { foreach($_POST as $k => $v) { $_POST[$k]=addslashes($v); } foreach($_GET as $k => $v) { $_GET[$k]=addslashes($v); } } require "global_func.php"; if($_SESSION ['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION ['userid']; global $ir; if($ir['layout'] == 0) { echo 'Dumbass, you have no layout selected.'; exit; } include($ir['layout'].".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']; } $domain=$_SERVER ['HTTP_HOST']; global $jobquery, $housequery; if($jobquery) { $is=$db- >query("SELECT u.*,us.*,j.*,jr.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN jobs j ON j.jID=u.job LEFT JOIN jobranks jr ON jr.jrID=u.jobrank WHERE u.userid=$userid"); } else if ($housequery) { $is=$db->query("SELECT u.*,us.*,h.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid LEFT JOIN houses h ON h.hWILL=u.maxwill WHERE u.userid=$userid"); } else { $is=$db- >query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid"); } $ir=$db- >fetch_row($is); if($ir ['force_logout']) { $db->query("UPDATE users SET force_logout=0 WHERE userid=$userid"); session_unset(); session_destroy(); header("Location: login.php"); exit; } global $macropage; if($macropage && !$ir['verified'] && $set['validate_on']==1) { header ("Location: macro1.php? refer=$macropage"); exit; } check_level(); $h = new headers; $h- >startheaders(); $fm=money_formatter ($ir['money']); $cm=money_formatter ($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); global $atkpage; if($atkpage) { $h->userdata ($ir,$lv,$fm,$cm,0); } else { $h- >userdata($ir,$lv,$fm,$cm); } global $menuhide; if(!$menuhide) { $h- >menuarea(); } ?>
-
Re: user change layout help? Warning: main(.php) [function.main]: failed to open stream: No such file or directory in /mnt/web6/40/42/51656042/htdocs/hitmanv2/globals.php on line 23 Warning: main() [function.include]: Failed opening '.php' for inclusion (include_path='.:/opt/RZphp4/includes') in /mnt/web6/40/42/51656042/htdocs/hitmanv2/globals.php on line 23 Fatal error: Cannot instantiate non-existent class: headers in /mnt/web6/40/42/51656042/htdocs/hitmanv2/globals.php on line 74
-
Re: user change layout help? put that in globals. instead of it calling 3.php?
-
Re: user change layout help? Fatal error: Cannot instantiate non-existent class: headers in /mnt/web6/40/42/51656042/htdocs/hitmanv2/globals.php on line 74
-
I am trying to set my game so members are able to choose the layout the wish to use. the bit i am stuck on is the globals.php It currently calls header.php i have changed it to call 3.php. This is 3.php <?php if($ir['layout'] == 1) { include "1.php"; } else { include "2.php"; } ?> What is wrong as the game only displays 2.php no matter what. Thanks for any help
-
Re: Userlist Edit [V2] Ummm pic looks very simaler to mine haha.
-
Re: Macro Page Edit [V2] Karlos the marco you get with dbs They one here. Is easy to bypass. Also 60% of the time dont work.
-
Re: Macro Page Edit [V2] I have a simple validation when you login you cant do any thing until you click the correct number so... press 4 ----- |1|2| ----- |3|4| ----- |5|6| -----
-
Re: Just a heads up to all game owners! I have joinable og's on my game :D
-
Re: So I'm Noelle Wb Noelle thought i recognized you.
-
Re: Just a heads up to all game owners! Thanks for the heads up. But how many more threads need to be made about this?
-
Re: [MOD] Item Market Auction I don't know much on that subject yet but i have been reading though tutorials found on google. Maybe ther should be a post with usefull link's such as W3schools?
-
Re: Most of my Mods for V2 As the last poster said no matter what you have contributed or what your coding skills are at you help and are a huge part in this community. if all members left that had your abilities or less there wouldn't be many people left so take down them mods and stay as a part of this community!
-
Re: [MOD] Item Market Auction Many modifications on here are very insecure. But as an owner as pointed out before you should be the one making sure you are not using insure mods and if you do PATCH them up! CE is a great resource in helping people better there work and learn. The DBSv2 $300 script is very insecure but so worth the money in my opinion. If Dabs had not created this code you would never have this community and the support for coders around! It's not the point in if a game mod works it's the point is it secure? Fair enough we should be helping secure mods but not condone the use of illegal one's i believe this mod should be removed because of this. Nyna i like your idea i would like to see this happen but it would cause you allot of extra work. Any ways in a simple answer to your question "are the safe mods on CE (secure)", Yes there is but it's up to you to notice and decide which ones are secure.