-
Posts
2,464 -
Joined
-
Last visited
-
Days Won
8
Content Type
Profiles
Forums
Events
Everything posted by rulerofzu
-
[Not Finished] Quick Look into Security
rulerofzu replied to DizzyBone&Amy's topic in Tips and tutorials
Is it really really required to go over and over the same stuff? There is already posts about security. Make em sticky and add on to anything missing from there. -
[Mod] Ban Ip Address By Admin Function [Mod]
rulerofzu replied to Veasey's topic in Free Modifications
Basic? it does what its meant to do. What else should it do. :whistling: -
I always avoid adding anything into the users table which is over sized by default anyway. Never seen tabbing like that but hey easy enough to read. Well done.
-
$h->endpage(); exit;
-
Just so happens that earlier today I needed such a function. So thanks for this.
-
DeadlyKillah - A progressive game soon to be finished
rulerofzu replied to Haunted Dawg's topic in Game Projects
Couldnt give a frak if some or all of mccodes the only person who knows for sure is the dawg. Good luck with the game about time you got it finished :P -
In the same way it does this for brave. Set a cost for the will Create the appropriate link and mysql queries. Make sure its secure so nobody can cheat it.
-
refill by using an item - itemuse.php like how you would on the inventory page with the relevant item ID. refill over time auto - in the cronjobs so if its not working then check there
-
You and I maybe Dan not sure about that blade though :D
-
You are be able to download the entire rar file inc sql file from your mccodes account ;)
-
It is in the mysql database. In that code after line 28 add if($data['laston'] >= time()-15*60) { $on="Online"; } else { $on="Offline"; } Then add to your $info line where you want the status to be displayed. $info ="{$data['username']} \nLevel: {$data['level']} \nCash: \$".number_format($data['money'])."\nCrystals: ".number_format($data['crystals'])." \nStatus: {$on}"; In order to get it to display in different colours you will need to play with the imagecolorallocate
-
Read this its not difficult. Tutorial: v1 - v2 Conversion
-
Indeed Illusions ive made quite a few additions to your smexy mods. Aint nothing wrong with your work. I was just pointing out a different way to do the page thang.
-
Rather than going through your site pages add a function to the global_func.php then just add a line maintenance(); in your header in an appropriate place (usually before the end of the header) function maintenance(){ global $h; $base = basename($_SERVER['SCRIPT_NAME'], ".php"); $check=mysql_fetch_array(mysql_query("SELECT offline,maintpage FROM maintenance")); // add in the time reason etc if you want to show it if($check['maintpage'] == $base && $check['offline']=='closed'){ echo "This page is currently closed for maintainance. Back soon!";$h->endpage();exit; } } Then in the staff area you can set as many pages as you like to closed and your done. I have not actually used this mod so where ive stated closed above for the offline status then amend as required. Probably a better way of doing the function it just sprung to mind after reading the last post on this topic and im really hungover still lol so trying to avoid work.
-
All $_GET and $_POST should be secured. Remove any $_SERVER['PHP_SELF'] There is a lot of places it could be a problem. If you do not know what your doing there is recommended coders on here that will charge a fee to go through your scripts and sort it out.
-
LOL ger off my rant Dayo :P
-
try the search its an amazing feature...you type in something and it gives you results....i know...i know....outstanding isnt it. :P http://makewebgames.io/index.php?form=Search&searchID=77971&highlight=nameFormat
-
Cant see anything wrong. Go back to the database and check the items and your users table for the equip slots.
-
The function in question is not default mccode function mysql_escape($str){return str_replace("'","''",$str);}
-
Check the item see if it is actually a weapon or armor. The message is coming from the equip_armor.php and equip_weapon.php files not the inventory.
-
2checkout.com As long as you meet their guidelines then you will be fine. They will check over your site and advise you. 2checkout will also accept paypal payments as part of their service.
-
mccode-v2 Advanced Attack and Inventory Mod--One Click.
rulerofzu replied to Joshua's topic in Free Modifications
At a brief glance your looking at the $defence which is deducted from the attacking hit. If its not being deducted as it should then thats the area in question that is not working and I would check the $defence part of the code. -
mccode-v2 Advanced Attack and Inventory Mod--One Click.
rulerofzu replied to Joshua's topic in Free Modifications
Well if thats your table I wouldnt remove the armor as then your going to get the error as the table count is wrong. -
mccode-v2 Advanced Attack and Inventory Mod--One Click.
rulerofzu replied to Joshua's topic in Free Modifications
export your table and post that. -
But not if you put the register page locker too as the login page too. no you cant do that as really if you close 1 page to public and someone signs up when it is closed it is gonna be reopened back to them as soon as they login and u can't put anything in register that will insert the code into the user table as it would just insert 1 fixed number either 1 or a 0 id still say +1 for the mod but the new field for user table very bad idea as this mod will not work 100% untill that is all in 1 tableThink. Would you really have the pages closed but registrations open? Even if a one or two pages are closed you could do a simple check routine to see if any pages are closed upon signup and make sure the new player then gets updated in the database accordingly. Its not a flaw in the mod from Illusions its a flaw in your logic