-
Posts
572 -
Joined
-
Last visited
-
Days Won
7
Content Type
Profiles
Forums
Events
Everything posted by NonStopCoding
-
if your getting a 505 error is that not due to your code using to much resources and host shutting it down as some shared hosting does it
-
edit check your error reporting for query's
-
i never said there was me personally i don't do and don't see a point its used to escape special characters. As robot mentioned above the session id is set automatic and is a number
-
Yea i was not even going to go there its been discussed tons about how poorly the engine has been coded it uses mres on every query that uses the session['playerid] the whole engine needs recoded and done properly
-
I think being able to donate for houses is silly they should be earned by hard work
-
ios and android
-
can't you's guys create a system that wont let new member's post for x amount of days or whatever that way spammers just cant register post there spam and leave and tell all his friends to spam here
-
[MENTION=70283]Samurai Legend[/MENTION] contact me on skype :)
-
hes blocked users from login haha
-
he has stolen the layout from http://prisonstruggle.com hope they shut his ass down prison struggles other game is http://musicbattle.com
-
:O passwords as plain text wow
-
Never sell your self short mate just keep doing what your doing Practice makes perfect :)
-
i am free for work message me or my Skype can be found in my profile if intrested
-
Yes you are correct this system has a Instant Credit option which will give the user the contents from the pack on the website instead of turning it into a item which can be opened and receive contents of the pack. Also yea there is a bit in the donation/functions file that you can add tables to which could pull more information to make stuff easy enough to add to the packs
-
What other engines are there like Mccodes?
NonStopCoding replied to benlucraft's topic in Engine Support
Grpg is rather simple but uses old mysql_query would need converted to mysqli or pdo if used on latest php version host -
mccode-v2 Updated Travel System
NonStopCoding replied to NonStopCoding's topic in Free Modifications
I can expand on it but I won't be adding in no crashing of planes into towers sorry but that incident was sad enough for the american citizens. You never know who in your game could of been affected by this incident -
Last chance to get 65% off ends tomorrow
-
yea there are some bugs staff panel being one of them but quite easy enough to fix the other bug I believe is battle tent or ladder or whatever its called
-
mccode-v2 Updated Travel System
NonStopCoding replied to NonStopCoding's topic in Free Modifications
yea you helped me with the sql and function for checking if the page is allowed to visit while traveling I am sure its in my skype log someplace :P was deff you and your input was very useful and handy thanks :) -
mccode-v2 Updated Travel System
NonStopCoding replied to NonStopCoding's topic in Free Modifications
huh? and to anyone who's going to be using this mod I forgot to add the locations table in the sql original post updated -
Here is a updated travel system for free nothing special accept from its free :P Basically I have coded up a travel system that will allow you to have multiple locations in your game with up to 4 travel types Boat Car Bus Plane each location has have a set time and cost for example London - 1 - 50 mins travel time (Car) London - 1 - 5 mins travel time(Plane) been a while since I did work on it but it works Edit: also forgot user can have a accident while traveling they can also buy insurance for special currency which covers there travel cost SQLS ALTER TABLE `users` ADD `traveling` int(11) NOT NULL default '0', ADD `insured` int(11) NOT NULL default '0'; CREATE TABLE IF NOT EXISTS `traveling` ( `id` int(11) NOT NULL AUTO_INCREMENT, `userid` int(11) NOT NULL, `time` int(11) NOT NULL, `location` int(11) NOT NULL, `ttype` enum('Car','Boat','Bus','Plane') COLLATE latin1_general_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ; CREATE TABLE IF NOT EXISTS `allowed_pages` ( `id` int(20) NOT NULL AUTO_INCREMENT, `can_vist` varchar(35) NOT NULL, PRIMARY KEY (`id`), UNIQUE KEY `can_vist` (`can_vist`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4; INSERT INTO `allowed_pages` (`id`, `can_vist`) VALUES (1, '/events.php'), (2, '/index.php'), (3, '/inventory.php'); CREATE TABLE IF NOT EXISTS `locations` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `location` varchar(30) COLLATE latin1_general_ci NOT NULL, `cityid` int(11) NOT NULL, `travelcost` int(11) NOT NULL, `traveltime` int(5) NOT NULL, `ttype` enum('Car','Boat','Bus','Plane') COLLATE latin1_general_ci NOT NULL, `levelreq` int(4) NOT NULL, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=4 ; INSERT INTO `locations` (`ID`, `location`, `cityid`, `travelcost`, `traveltime`, `ttype`, `levelreq`) VALUES (1, 'London', 1, 1000, 20, 'Plane', 1), (2, 'France', 2, 2500, 60, 'Car', 0), (3, 'France', 2, 2500, 60, 'Plane', 0); monorail.php http://pastebin.com/m0YZ7H2m cron_minute.php edit http://pastebin.com/xt7NZUEL global_func.php edit function check_travel() { global $db,$ir,$h; if($ir['traveling'] + 0 >= 1) { $allowed = $db->query("SELECT `id` FROM `allowed_pages` WHERE `can_vist` = '".$_SERVER['SCRIPT_NAME']."'"); if(!$db->num_rows($allowed)) { $check = $db->query("SELECT `time` FROM `traveling` WHERE `userid` = {$ir['userid']}"); $utime = $db->fetch_row($check); if($utime['time'] == 0) { echo "<span style='color:green'>You are arriving at your destination.</span>"; $h->endpage(); exit; } else { echo "You are currently traveling for {$utime['time']} minutes."; $h->endpage(); exit; } } } } Add this to bottom of globals.php check_travel();
-
there is really no need to bring in peoples mum to the situation (YOU DON'T KNOW PEOPLES LIFE'S SITUATIONS) for all you know they can not have a mum I doubt you will make any sales here with the kind of attitude you have. Instead of throwing comments like this and others around prove there questions wrong by reading the posts here. I would not buy from you as would properly report a bug to be insulted. You might want to think about how you speak to other especially when trying to conduct business with others
-
Daves ajax donation store does this but it is coded for mccodesv2 I believe the price is $7.50 would require some tweaks to work with rc engine
-
if it works then just use the tutorials I sent from before which will make you create a boot usb
-
Hi thanks np contact me on [email protected] or skype which can be found in my profile