-
Posts
572 -
Joined
-
Last visited
-
Days Won
7
Content Type
Profiles
Forums
Events
Everything posted by NonStopCoding
-
Hello i would be interested hit me up on skype (its on my profile) if you wish or email [email protected]
-
lol 10 is my top so far
-
omg that is like the 3rd post iv seen with you advertising these coins or rs coins :S
-
Never got around to test it but looking cool :P i am actually working on a my own drugs mods where users will be able to buy farms/drug buildings and these buildings will produce drugs for them daily then user will be able to collect the drugs from the buildings and sell them if they wish don't want to give to much away yet as not decided what i am going to be doing with it yet
-
nice job kyle :p
-
i never even read the description :D i just saw Display Case and remembered you said you did one :P
-
i will get around to finishing the addons that have been requested just been super busy with rc my own game projects for people and now i am ill if you guys/girls have any more ideas fire away :P
-
i am pretty sure [MENTION=68711]KyleMassacre[/MENTION] did this for mccodes
-
here i started it if you want to Finnish it. You will need to change "currency" to your actual currency also i did not add any checks to see if they already have max brave <?php include(__DIR__.'/globals.php'); if(isset($_GET['refilb'])) { $bcost = 20; # 20 currency if($ir['currency'] < $bcost) { echo "Sorry but you dont have enough to refil your brave."; $h->endpage(); exit; } else { echo "You have paid ".number_format($bcost)." to refill your brave."; $db->query("UPDATE `users` SET `brave` = `maxbrave`,`currency` = `currency` - '$bcost' WHERE `userid` = '$userid'"); } } if(isset($_GET['refilw'])) {} if(isset($_GE['refilh'])) {} if(isset($_GET['itemone'])) { $icost = 100; # 100 currency if($ir['currency'] < $icost) { echo "Sorry but you dont have enough for this item you need".number_format($icost - $ir['currency']).""; $h->endpage(); exit; } else { echo "You have paid ".number_format($icost)." for <strong>Item Name</strong>."; $db->query("UPDATE `users` SET `currency` = `currency` - '$icost' WHERE `userid` = '$userid'"); item_add($userid, 9, 1); # 9 is for the id of the item the 1 is the amount they recive. } } if(isset($_GET['itemtwo'])) {} if(isset($_GET['itemthree'])) {} echo "<h2>Shop</h2><hr width='50%'> <i>here you can trade your Currency for stuff</i>"; echo " <table class='table'> <tr> <th>Refill Brave</th> <th>Refill Will</th> <th>Refill Health</th> <th>Item one</th> <th>Item two</th> <th>Item three</th> </tr> <tr> <td>".number_format($bcost)." currency <a href='cshop.php?refilb'>[Refil Brave]</a></td> <td></td> <td></td> <td>".number_format($icost)." currency <a href='cshop.php?itemone'>[buy Item]</a></td> <td> currency <a href='cshop.php?itetwo'>[buy Item]</a></td> <td> currency <a href='cshop.php?itethree'>[buy Item]</a></td> </tr> </table>"; $h->endpage(); ?>
-
You could also open up global_func.php and see how they do the user drop down
-
I am in the process of creating a free mod for mccodes v2 and grpg and would like some suggestions / input Ok so this mod is nothing special Users goes to the file and text comes up something like so you want to be protected?? well if someone tries to make a move on you we will know and send one of our guys there is then two links to click get a quote or go home. If the user clicks get a quote the code is run and it will a quote which is something like 100 * the persons strength etc this will all be added up and then a fee of 10% is added to it (all changeable in the variables) they will also be charged a fee for this info. I was going to give them a random number of days $rand = mt_rand(1,7); then make it cost diff for each days but when it come to the function that handles the payments i figured it would be a diff rand and could mess things up so i decided to remove that part. Instead of the quote thing would you's think it would be better to have another sql table with bodyguards with there own stats/hire rate per hour which can be shown when asked
-
I am actually working on a car mod for mccodes it will be for sale was going to build it into my drive by module
-
yes as zettie said have you used z index this should stack the image on top of it http://www.w3schools.com/cssref/pr_pos_z-index.asp
-
$registerEmail where is this variable? in mine its called $email and up in the code i have this $email = $_POST['email']; EDIT: there is also a few edits i would make 1. if your activation code is just numbers then change $activateCode = $_GET["activateCode"]; to $activateCode = isset($_GET["activateCode"]) && ctype_digit($_GET["activateCode"]) ? abs(intval($_GET["activateCode"])) : null; if(empty($_GET['activateCode'])) { echo "Invalid code"; exit; } 2. Change $user = $_GET["user"]; to $user = isset($_GET["user"]) && ctype_digit($_GET["user"]) ? abs(intval($_GET["user"])) : null; if(empty($_GET["user"])) { echo "Invalid User"; exit; } 3. also this to validate the email address (if your using a different email variable then change $email to your email var) if(!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo "The e-mail address you entered was invalid."; } also i noticed that you used $user = $_GET['user']; but never actually used it
-
this is my old mod and yea you are right i forgot to add the sql part ALTER TABLE `grpgusers` ADD `announcement` int(10) NOT NULL DEFAULT 0
-
looking to buy a rc engine in a few months
NonStopCoding replied to Hybridd's topic in Other Game Engines
i have not put alot of thought into it i am going to be honest here RC engine is a good script but the way its been coded is crap and the whole script needs a total recode its wrapping mysql_real_escape_string around ids and other things like register is not been secured / validated properly i would think licenses will cost around $50 once the engine has been recoded but me being the only developer it could be a while before its released Kaine was selling licenses for $30 the way the engine was after getting the rights for it i decided not to put it up for sale until i felt that it was ready. Which in my eyes is a long way to go the engine is still using mysql which is outdated and in the new release this will be converted to mysqli -
looking to buy a rc engine in a few months
NonStopCoding replied to Hybridd's topic in Other Game Engines
actually [MENTION=69859]KaineBennett[/MENTION] is not the owner anymore i am but the script is not ready to be sold its full of holes etc i never got around to fixing it up yet -
haha yeah i was getting confused with the new layout too there is a button someplace that lets you switch back to old version EDIT: if you hover over the more tab then it has the option to switch to classic
-
Organised Crimes Not showing in Gangs
NonStopCoding replied to Raven1992's topic in Modification Support
well its been a bit since i have looked into mccodes but i guess you would need to add a new field to the gangs table called mugs or whatever then in the mug file add something like if($ir['gang'] > 0) { $check = $db->query("SELECT `something` FROM `gangtable` WHERE `something` = {$ir['gang']}"); $ret = $db->fetch_row($check); // if attack is successfull $update = $db->query("UPDATE `gangtable` SET `mugs` = `mugs` + 1 WHERE `something` = {$ir['gang']}"); } there is probz better way of doing it but off the top of my head -
i play pool and stuff on my phone but android games suck but the pool is alright when it doesn't make you wanna rip out your hair :P i prefer gaming on my ps3
-
-
you could add a new table to the serverconfig which is already being pulled in the header then just add something like ALTER TABLE `serverconfig` ADD `locked` int(2) not null default 1; <?php if($worked['locked'] == 1) { echo Message('This page is blocked right now'); include_once(__DIR__.'/footer.php'); exit; } ?> i am pretty stumped on how to get him to spawn at a random time everyday
-
has this page already been created that you want to block?
-
Only developer i know that does work for nwe is kyle [MENTION=68711]KyleMassacre[/MENTION]
-
i was wondering why it was using a get name using the id would be much easier and the way i would do it