-
Posts
2,464 -
Joined
-
Last visited
-
Days Won
8
Content Type
Profiles
Forums
Events
Everything posted by rulerofzu
-
All very well but the reason why everyone is still going for mc2 is due to the amount of mods listed. Compared to the 0 listed here for horizons then it just looks more appealing.
-
There is better ones out there google jquery fisheye and you should pull up a lot of results
-
You mean a fisheye menu? Like this http://www.chrisesler.com/mootools/fisheye/fisheyeVersion2.php
-
LOL keep ye hair on. How does anyone know what you are intending to do with so little info?
-
http://www.w3schools.com/PHP/php_ref_array.asp
-
What im pointing out is your making offers you cannot meet. Which means nobody is going to have any faith in your offers. Be realistic. Offering unlimited everything is an old hosting trick. Usually made by those struggling to get clients. All you are doing is overselling. The server will get lagged out and then everyone will complain about how slow your service is. I presume you RENT a server which has limited upgrade capacity. Therefore you cannot offer unlimited disk space as you have limited disk space by nature of the hardware or have you got yourself a rack. Which I would doubt. You can add more drives as you stated but what about your cpu and ram? will they be able to take the strain of 50 customers per drive x 3 drives?? All sending mysql and http requests along with mail, anti virus scanning. Im sure that you have a firewall running checking everything lol. 99% cpu leading to death of hardware. If your going to do hosting. Do it properly. For your info....I do rent my own servers have done for quite a long time. My game is on a dual core 2 x 1500GB raid 1 server with 12GB ram, CentOS 5 64bit. Backed up daily to a remote server :D
-
So if I move a site that pushes around 1TB of bandwidth then your gonna be fine with paying your overheads on that or are you paying the $2000/month for 100 Mbps Uplink from softlayer 8|
-
Yeah i was in the process of changing everything to be in functions but then the boredom hit :D
-
all that nickserv nonsense....keeps noobs away from chat rooms :D
-
Here. As it says I got bored and I havnt had a 2nd cuppa coffee or brekky so cant be bothered to take it any further or correct anything further. Would have been easier just to write a new one from scratch and I dont know why i just wasted my time on this lmao Oh and i changed the images to gifs as thats how they downloaded at the time. <?php /*----------------------------------------------------- -- Made By Psychotic -- Free Mod -- chests.php -- database adjustments - ALTER TABLE `users` ADD `keys` int(11) NOT NULL DEFAULT '4'; -- removed query for chestincome. Is anyone is going to be that interested? -- Got bored eventually. You can remove this line :D -----------------------------------------------------*/ require("globals.php"); $_GET['number'] = (ctype_digit($_GET['number']) AND !empty($_GET['number'])) ? abs(@intval($_GET['number'])) : '' ; $_GET['tea'] = (ctype_digit($_GET['tea']) AND !empty($_GET['tea'])) ? abs(@intval($_GET['tea'])) : '' ; $_GET['x'] = isset($_GET['x']) && ctype_alpha($_GET['x']) ? trim($_GET['x']) : ''; switch($_GET['x']) { case 'buykeys': buykeys(); break; } function buykeys() { global $ir; if($ir['keys'] == 4) { echo "You cannot buy anymore keys. 4 is the maximum allowed. You are being redirected back</font> <meta http-equiv='refresh' content='4; url=chests.php'> "; exit; } else { mysql_query("UPDATE `users` SET `keys` = `keys` + '1' WHERE `userid` = '$ir[userid]'"); echo "You bought a key! Now go use it!!"; } } if($ir['money'] == 0) { echo "<span style='color: red;' You Cant Play! You Have No Money!</span>"; exit; } echo "<table width=100% border=0><tr><th>Secret Chests</th></tr> <tr><th>"; if($_GET['number']) { $earn=round($ir['money']*($ir['level']+1)/100); $lose=round($ir['money']*($ir['level']+1)/105); if($earn > 100000 or $earn < 1) { $earn=100; } if($lose > 100000 or $lose < 1) { $lose=80; } if($_GET['number'] != 1 and $_GET['number'] != 2 and $_GET['number'] != 3 and $_GET['number'] != 4) { echo "Those number's don't exist."; exit; } $rand=rand(1,3); if($_GET['number'] == $rand) { echo "You put the key in the chest, the key did'nt snap and the lock opened <span style='color: rand;'>Congratulations you found \$$earn, 1 key and earn some exp!</span> You are being redirected back</font> <meta http-equiv='refresh' content='4; url=chests.php'> "; } else { echo "You put the key in the chest, the key snapped in the hole <span style='red'>You lost a key and 1 will.</span> You are being redirected back</font> <meta http-equiv='refresh' content='4; url=chests.php'> "; } echo "<table width=100% border=0><tr><th>"; if($_GET['number'] == 1) { if($rand == 1) { echo "<img src=images/chest2.gif></img>"; } else { echo "<img src=images/chest1.gif></img>"; } } else { echo "<img src=images/chest1.gif></img>"; } echo "</th><th>"; if($_GET['number'] == 2) { if($rand == 2) { echo "<img src=images/chest2.gif></img>"; } else { echo "<img src=images/chest1.gif></img>"; } } else { echo "<img src=images/chest1.gif></img>"; } echo "</th><th>"; if($_GET['number'] == 3) { if($rand == 3) { echo "<img src=images/chest2.gif></img>"; } else { echo "<img src=images/chest1.gif></img>"; } } else { echo "<img src=images/chest1.gif></img>"; } echo "</th></tr></table>"; //queries, die if($_GET['number'] == $rand) { mysql_query("UPDATE `users` SET `money` = `money` + {$earn}, `exp` = `exp` + '2', `keys` = `keys` - '1' WHERE userid=$userid",$c); } else { mysql_query("UPDATE `users` SET `keys` = `keys` - '1', `will` = `will` - '1' WHERE `userid` = '$ir[userid]'"); } } else { $earn=round($ir['money']*($ir['level']+1)/100); $lose=round($ir['money']*($ir['level']+2)/105); if($earn > 100000 or $earn < 1) { $earn=100; } if($lose > 100000 or $lose < 1) { $lose=80; } echo "</th><th>"; if($_GET['tea'] > 1) { if($ir['money'] < 10000) { echo "You don't have enough Money!"; } else { mysql_query("UPDATE `users` SET `money` = `money` -10000, `keys` = `keys` + '1' WHERE userid=$userid",$c); echo "<u><h2>You bought one key for $10000!</h2></u>"; } } echo "You walk up to three chests, you find a key on the floor, its old and will probably only one try. If you get the right chest you will pocket whats inside [b]\$$earn[/b] But if you don't, You will lose a key, You have [{$ir['keys']}] keys Left[/b] <table width=100% border=0><tr><th> [url='".$_SERVER[']<img src=images/chest1.gif></img>[/url] </th><th> [url='".$_SERVER[']<img src=images/chest1.gif></img>[/url] </th><th> [url='".$_SERVER[']<img src=images/chest1.gif></img>[/url] </th></tr></table>"; } if($ir['keys'] == 0) { echo "<span style='color: red;'><center> You Cant Play! You Have No Keys!</span> [url='".$_SERVER[']Buy a key for $10000[/url]"; exit; } $h->endpage(); exit; ?>
-
Renaming a insecure file is not a solution.
-
There is one free if you use the search button and look for it.
-
NEW GAMES ONLY--SUPER Secure your Password System, Stop using Md5.
rulerofzu replied to Joshua's topic in Free Modifications
The current strongest encryption algorithms are SHA-512, RIPEMD-320, and Whirlpool. With whirlpool being the youngest of the group its expected to be a strong contender in the future due to its continued work. They are all compatible with php/mysql See http://uk.php.net/manual/en/function.hash.php -
NEW GAMES ONLY--SUPER Secure your Password System, Stop using Md5.
rulerofzu replied to Joshua's topic in Free Modifications
Different hash engines. Usually numbered by level of encryption strength md2 md4 md5 sha1 sha224 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost adler32 crc32 crc32b salsa10 salsa20 haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5 -
I also tried the SMF intergration and fully agree with you.
-
MTG did a secure forum for mccodes. Which is free. I dont believe it got posted on here though. There was offers to intergrate forums into mccodes recently but when it came down to the actual work it never appeared.
-
NEW GAMES ONLY--SUPER Secure your Password System, Stop using Md5.
rulerofzu replied to Joshua's topic in Free Modifications
this does not work bro. but if i try to use just $userpass=$userpass it works, but im not so sure about how. lol It does work your just not doing it right! -
You gonna show how it should be done then Zero :D
-
NEW GAMES ONLY--SUPER Secure your Password System, Stop using Md5.
rulerofzu replied to Joshua's topic in Free Modifications
Like I said you COULD...which I prefer to cannot. Crazy-T.... if you use a random salt. Dont you have to store this for verification so calling the rand salt hash for everytime they login. You could also add in their usename into the hash. $salt . $password . $username -
NEW GAMES ONLY--SUPER Secure your Password System, Stop using Md5.
rulerofzu replied to Joshua's topic in Free Modifications
You *could* add this into current games. Use a forgot password function on login which is also set to create the password with the salt sha512 hash. Make an announcement by which methods you have available. Inform your players new password system will be introduced etc....they can then reset their passwords and login no problem and everyone is running on a more secured password system. -
This appears every month or so. Can I secure my entire site with this function so I dont have to go through every file and secure it. The quick answer is no.