
corruptcity || skalman
Members-
Posts
358 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Everything posted by corruptcity || skalman
-
thanks for the review alex and hope to build on it in the future
-
dont you mean 27-7-365? lol
-
CorruptCity Now open for beta
corruptcity || skalman replied to corruptcity || skalman's topic in Game Projects
hire peter leaman and urs will lol -
CorruptCity Now open for beta
corruptcity || skalman replied to corruptcity || skalman's topic in Game Projects
yeah ty -
paul id get it tattooed on to your forehead instead that way you cant lose it lol
-
tyvm zu proved my point lol
-
my ammo mod problem
corruptcity || skalman replied to corruptcity || skalman's topic in Modification Support
cheers curt that what happens when i could when im tired lol -
hi im having a little problem with a function in my ammo mod where when you go to buy the ammo is charges you for how many you want but only gives you 1 at a time here is the for the function where you enter how many how many mags you want function ammo_buy() { global $db, $ir,$c,$userid,$h; $sql = "SELECT count(pm_mags) FROM players_mags WHERE pm_itmid = {$_GET['WID']} AND pm_userid = {$ir['userid']}"; $rs = mysql_query($sql); $row = mysql_fetch_array($rs); $mags = $row[0]; echo"You currently have ".number_format($mags)." out of 25 Magazines for this gun. "; $magcost=$db->fetch_row($db->query("SELECT itmmagcost FROM items WHERE itmid = {$_GET['WID']}")); echo" How many Magazines would you like to buy? it costs {$magcost['itmmagcost']} a Mag <form action='ammo.php?action=buyammo&WID=".number_format($_GET['WID'])."' method='post'> <input type='text' name='mags' value='0'/> <input type='submit' name='submit' value='Buy Magazines'/> </form> <hr> [url='ammo.php']Go Back[/url] "; } and this is where it should take what you enter and give you that many mags but instead only gives you on function ammo_buyammo() { global $db, $ir,$c,$userid,$h; $ms=$db->query("SELECT itmmagsize, itmmagcost FROM items WHERE itmid = {$_GET['WID']}"); $r=$db->fetch_row($ms); $cost = $r['itmmagcost']; $totalcost = ($_POST['mags'] * $cost); if($totalcost > $ir['money']) { echo"You are trying to buy more than you can afford "; $h->endpage(); exit; } else { $db->query("UPDATE users SET money = money - {$totalcost} WHERE userid = {$ir['userid']}"); $mags = $_POST['mags']; for($i=1; $i<=$mags; $i++) { $db->query("INSERT INTO players_mags ( pm_userid, pm_itmid, pm_mags) VALUES({$ir['userid']}, {$_GET['WID']}, '1')"); $i=mysql_insert_id($c); $db->query("INSERT INTO players_ammo (pa_id, pa_userid, pa_itmid, pa_magid, pa_rounds_left, pa_rounds) VALUES('', '{$ir['userid']}', '{$_GET['WID']}', '$i', '{$r['itmmagsize']}', '{$r['itmmagsize']}')"); } echo"You bought ".number_format($_POST['mags'])." for \$".number_format($totalcost)." <hr> [url='ammo.php']Go Back[/url] "; } } any help would be appreciated thanks skal
-
CorruptCity Now open for beta
corruptcity || skalman replied to corruptcity || skalman's topic in Game Projects
yeah thanks an i will it just i think that the gfx doesnt need 2 be changed any more -
CorruptCity Now open for beta
corruptcity || skalman replied to corruptcity || skalman's topic in Game Projects
ty ty you need to thank peter leaman for my amazin login and in game header he does amazin peice of work for a decent price thanks for the feedback but im not gonna fix somethink that doenst need fixing lol -
yeah i spent about year of that time just using it to learn php
-
alain i would like to point out that CorruptCity.net was around first as i started working on in back in sept09 only now just about got it ready for beta and that he sorta copied my name and that any resembalance other than name is a coincidence skal
-
CorruptCity Now open for beta
corruptcity || skalman replied to corruptcity || skalman's topic in Game Projects
yeah i did it all myself coz at the time i didnt have much money to pay anyone so had to learn how to do it myself -
hi i would like to spread the word about my game corruptcity that is now open for beta. here is the link http://corruptcity.net a demo account was created and its demo demo i look forward to any feedback, suggestions or criticism thanks skal
-
lil last time i checked im pretty sure KISS stoud for Keep It Simple Stupid not sally im not nit picking or takin u down or being a pain in the ass but anyways
-
hi 1st of this isnt me having a bitch about peter but it about me hiring his skills to create me a login and ingame header for my game and would like to say that ive had no problems with my the work was all done to my liking with no messing about, the price was fair that he charged for what i needed doing and i would go back to him if i needed any future graphics work done and would even even recomend him to anyone on here looking for graphics work in the future.
-
Red Dwarf
corruptcity || skalman replied to Paul Evans's topic in Media Entertainment (FKA Tv Shows)
here is the referenced joke i was on about that i got from imdb Lister: Dallas? Wasn't that the place where that American king got assassinated? Rimmer: JFK. Lister: No. It was John something, not Jeff Kay! Lister: JFK, not Jeff Kay, you gimboid! Like the airport. I did a paper on him at school. Lister: I wonder why anybody would want to name their kid after an airport. Rimmer: The airport was named after the President! Lister: Alright! -
Red Dwarf
corruptcity || skalman replied to Paul Evans's topic in Media Entertainment (FKA Tv Shows)
lister says Jeff Kay thinking rimmer said it when infact he said JFK -
you have 2 close brackets and none open brackets for the $_POST['username'] aswell
-
Red Dwarf
corruptcity || skalman replied to Paul Evans's topic in Media Entertainment (FKA Tv Shows)
my fave episode is series 7 episode 1 where they go back in time to 1969 or w/e it is so lister can get a curry and then they get Jeff Key to kill JFK if you have not seen that episode you wont get the jeff key reference -
Red Dwarf
corruptcity || skalman replied to Paul Evans's topic in Media Entertainment (FKA Tv Shows)
yeah ive got all 8 series on DVD and series 6 is by far my fave series i used to use them to fall asleep to would make it to the end of the 1st episode then i would be asleep lol and ive watched them all so much that i now know everyline that said 5 minutes before its even been said -
Red Dwarf
corruptcity || skalman replied to Paul Evans's topic in Media Entertainment (FKA Tv Shows)
omg paul u ledge i love red dwarf aswell -
deciding a webhosting package..help NEEDED
corruptcity || skalman replied to acter's topic in Engine Support
hi i use hosting24.com for my site its 7.84 usd a month for the cheapest package and that gives me unlimited bandwidth, webspace etc and allows me to run as many crons as i need even 1 and 5 mins -
help needed hour cron does not work
corruptcity || skalman replied to thebobby's topic in GRPG Support
idk ive never used GRPG b4 m8 -
help needed hour cron does not work
corruptcity || skalman replied to thebobby's topic in GRPG Support
did you add ?code=whatever it is in config.php aswell? so it wud be like http://mysite.com/cron_day.php?code=yourcodehere ignore this i thought this was for mccrap not GRPG lol