-
Posts
2,464 -
Joined
-
Last visited
-
Days Won
8
Content Type
Profiles
Forums
Events
Everything posted by rulerofzu
-
LOL Lucky I think you misunderstand the decimal there. As stated here http://dev.mysql.com/doc/refman/5.1/en/precision-math-decimal-changes.html M,D D must not be larger than M
-
I would suggest you post your code as you have it at the moment will be easier for the community to assist you with it.
-
Do not over compress it leads to errors. Generally if your on a hosted / control panel system then you will only have the option to enable/disable and the settings will be done for you. For Zu I use a nginx optimized server and htaccess file with further configurations mostly recommended from yslow and gzip enabled. http://rulerofzu.com is gzipped Original Size: 8.73 KB Gzipped Size: 3.17 KB Data Savings: 63.69% Big difference isnt it!
-
Not secure. Upon login you get Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 13 in /home2/ninjakil/public_html/ninja/class/class_db_mysql.php on line 94 I would suggest upgrading to v2.0.3 of mc2 to get over your security issues. Found it quite slow to load. Optimize your graphic content. You could improve this simply by enabling gzip compression http://www.ninja-killaz.com is not gzipped Actual Page Size: 6.54 KB Size if Gzipped: 2.69 KB Potential Savings: 58.87%
-
I love these me and my team posts. Who exactly is your team? what have you done?
-
Question on how secure this password reset is?
rulerofzu replied to Mystical's topic in General Discussion
No you misunderstood the point in your code you was securing your $_POST or $_GET (cannot remember which) and then securing it again all throughout your queries. So using $var= means you have checked it and therefore do not need to again and again and again. My personal preference is to never directly use $_POST or $_GET in a query. -
LMAO you make me spurt out my coffee!!!
-
Replace line 21 with this $itmpic = "<tr style='background: gray;'><td colspan='2' style='text-align: center;'><img src='images/itmpics/".$id['itmpic']."'></td></tr>"; } Go through line 22 and replace any double quotes with single quotes. It should be class='highlight' not "highlight"
-
Items are created through the admin panel. What you going to do hard code all your item pics into the game. Laughable.
-
Just look at <img src='itmpics/$id'> how about <img src='itmpics/".$id."'>
-
Ah yes so it would. I was getting over zealous!
-
How very sad of you. Obviously your the person that has been banned more than once from the forums. This engine is nothing like NEAB. Do your research.
-
Well my suggestion would be for you to learn from your mistakes. View the source code and/or inspect the element in question. It will clearly show you where your going wrong. There is no image as your not calling the image correctly. <img src='itmpics/$id'>
-
Using one at work and one at home I wouldnt class as multi logins as the time between locations would mean you was logged out due to PHP having a default timeout in its ini. Have to login again and then the status would be updated. Yes you can spoof the user agent. I wouldnt use that just on its own. Hash the IP and user agent you could even go as far as storing the mac address. This would make it harder. Not fool proof just harder. Nothing is foolproof you just make it harder or dont bother :D
-
No such thing. Yes you can purchase volume copies of windows but they are sold to establishments and are only for use within that company. Cannot be distributed outside and only valid for install for how many they purchased. I have known universities get into a lot of trouble for over installing and such illegal distribution. All of those components are cheap. Even cheaper if you buy them in volume. The motherboard I would expect to last 2 years if your lucky. You would be much much better off to save and get something with higher components or as Alain stated build it yourself. Finally....iMac? really lmao...
-
I suppose you could gather the http user agent to get the browser information. Store that on login and you can check if it matches if not log them out.
-
Apocolyptical - Post Apocalyptic RPG
rulerofzu replied to tezzmosis's topic in Requests & In Production
Isnt this daftrude? Seen as he has a tezzmosis banner in his signature. -
http://makewebgames.io/showthread.php/25677-mccode-v2-Merge-Item-s?p=245860 It was discussed over in that thread. I dont really see the need to have a merge link why not just auto update the inventory quantity
-
insecure so makes me wonder if it is a legit version.
-
You will need to work through the code. Due to a change in forum software the certain parts have been changed. for example in the code needs to be replaced with <img src=
-
http://makewebgames.io/showthread.php/23914-mccode-v2-Items-Pic-mod?highlight=item+pics Please try and search for what you need.
-
Automatically.... Jobs run in the cron hour at 5pm. So all you need do is adjust the query to deduct 5% of the amount. Either in the update query or do a new query to get the money to be paid, reduce it and then change the query so it gets deposited into their bank account rather than to hand. Optional.... Set it as a preferences option for the player which updates a new table like lucky suggested That way your not adding to the 600million :D fields in the users table. Check if set to bank or money and then continue as above. Either way it all goes in the cron. Give it a try if you cant get it working post what you tried and we can all help you adjust it!
-
So we help you get it together and you sell it? lol
-
Didnt actually have time to look when I posted earlier. Diesl is correct however line 146 you opened a print " and then did a echo ' underneath. Delete the echo '
-
The code part is so you can place it in your webroot (www directory) and people cannot run the cron manually without knowing the code. Move the crons out of the www folder and then remove the ?code part and it will run fine.