-
Posts
572 -
Joined
-
Last visited
-
Days Won
7
Content Type
Profiles
Forums
Events
Everything posted by NonStopCoding
-
My last post was deleted by mistake so have to start again :P Visit http://nonstopcoding.com and add any module to the basket when asked enter the discount code XMAS this will give you a 60% off single or multiple purchases. You may use the discount code as many times as you wish until it expires on the 1/1/16 Thanks NonStopCoding
-
looks like it would be wicked :D but to much running about for me rather stick to my lazy method of rpg cool idea
-
Hey have not really been doing many updates on my modules so had a dig around my mods and did some changes to the Heists. also updated the op with link to purchase from my personal site will be uploading the updated version to mccodes store soon for who purchased it from there. v1.04 11/11/2015 - Created a self install file which will install all database files for you. 11/11/2015 - Restructured the database and made it into a single sql file. 11/11/2015 - Updated the code and made some small changes. 11/11/2015 - Made it so that if any member of the heist is in jail or hospital the heist can't be done. 11/11/2015 - Fixed up a small error in code where would not notify right users when pass heist. 11/11/2015 - Added in a record of each heist you do and the result of pass or fail. (Part of the next release)
-
mccode-v2 Rob a Local Dealer/The Corner
NonStopCoding replied to JasonTB's topic in Free Modifications
Nice mod glad to see people still contributing to forum there is some things you could change to make the mod better 1. Instead of adding to the cluttered users table you could create a new table called drugs which will give you easier adding of future drugs. CREATE TABLE `drugs` ( `dID` int(3) NOT NULL AUTO_INCREMENT PRIMARY KEY, `dNAME` VARCHAR(75) NOT NULL, `dSKILL` INT(5) NOT NULL ) ENGINE = MYISAM; INSERT INTO `drugs` VALUES(1,'Herion',5) using this option you would need to create some kind of formula for the users skill or could even be a new stat 2. Security issue in the corner.php you are allowing a user to post data and it has not been checked number 1 rule is never trust anything your users send you always check that its the correct data $amt1 = isset($_POST['weed']) && ctype_digit($_POST['weed']) ? abs(intval($_POST['weed'])) : 0; you would need to make a check to see if there actually posting anything using the empty function Just a few things i noticed from taking a quick look hope this input helps you in some way -
[MENTION=65100]W3Theory || Peter[/MENTION] does good work
-
Your php version is to much up to date to run the old mccodes as the newer version which was released sometime ago not exactly sure but it wont work on that php version if you own the server that is hosting it you could always downgrade to lower php version or get the code updated it. Edit: oh forgot you could also just try another host i believe php version 5.5.27 and below should be ok running old mysql
-
I have decided to run another discount for my site Mccodes Modules: http://nonstopcoding.com/?download_category=mccodes-v2 Generic RPG http://nonstopcoding.com/?download_category=generic-rpg-modules Discount Code: HAPPYHALL0W33N2015 How to use Simply select the modules you wish to purchase and at the end once you are ready to checkout insert the discount code above and it will reduce 45% of the total cost of sale.
-
Looks good nice work on the design
-
nice idea :P
-
:rolleyes:
-
mccode-v1 Animated Fireworks (Any Website)
NonStopCoding replied to NonStopCoding's topic in Free Modifications
haha nice :P -
Ice Drift Adventures - Mobile Game
NonStopCoding replied to W3Theory || Peter's topic in Game Projects
I can say this game does make you want to smash your device so beware :P but its a good game kept me amused and frustrated for a week or two -
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home1/worldcri/public_html/logged_in.php:11) in /home1/worldcri/public_html/logged_in.php on line 16 i have seen this error a good few times on some games and every time i have its because of the session_start(); is being placed after content try move it up to the top of the page under the <? tag Question to anyone: Does it matter if you use short tags i remember reading some place not all hosts allow this in the php setting is this true? Notice: Undefined index: logout in /home1/worldcri/public_html/index.php on line 18 its saying that its not been defined yet a simple isset would fix that if(isset($_GET['logout']) && $_GET['logout'] == "true") - - - Updated - - - oops some reason it double posted :S
-
its missing more than that if you open up a file include "includes/db_connect.php"; include "includes/functions.php"; include"includes/smile.php"; it seems to be missing all the includes folder plus its contents
-
thanks for tips :D
-
properly :P
-
fixed it was posting the js code before the form which was causing it not to work now just need to make it so the $ sign instead of just numbers EDIT: nvm figured that out too thanks for the idea to check js console keep forgetting that thing is there haha
-
only thing that pops up is Uncaught TypeError: Cannot set property 'onkeyup' of null
-
Hi was wondering if anyone could try help me with this problem i am having. For some reason the js code i have is not working on my game but it works on js fiddle ill post the code see if anyone can help thanks in advance. Ok so what i have is a input field where users can type in the box for every character used it should show 100 * character next to the input box but for some reason its not working on my game but does on js fiddle I have tried to add the script to the part of the file with no luck also have tried adding it into the head tags of my header.php still no luck i have tried a external file and still no luck hehe can't figure why it wont work :( Edit: Forgot to mention its not showing anything on key up Code that handles the form http://pastebin.com/bS7ccQy3 Js Code http://pastebin.com/sJs1qhHh Js fiddle https://jsfiddle.net/AZKyn/
-
here is a link might be useful if you read it https://www.owasp.org/index.php/PHP_Security_Cheat_Sheet
-
haha i think they look alright :P i guess it comes down to what you prefer :D
-
i prefer the {$var['something']} myself
-
yea budget is a bit low for a custom game a few engines Grpg - (Generic RPG) = This engine requires a work needs converted to mysqli or pdo or oop it also needs secured so that's a good amount of your budget gone already if you hired a developer to do this + mods prices range from developer NWE - (New Worlds Engine) = Don't really know much about this engine but from what i have been told its good RC - I was not going to post this one but hey this engine/game needs a ton of work done pretty much same as grpg its a good engine/game tho Mccodes - This is properly your best option as its already got mysqli in it and its secured much much better than the others the most cost part is hiring developers or buying pre made mods
-
it kinda is but not like that lol but yea i think he meant to say intval http://php.net/manual/en/class.dateinterval.php
-
Ah ok but are you using up your vps resources ? checks the backend if you have whm access or whatever