Jump to content
MakeWebGames

corruptcity || skalman

Members
  • Posts

    358
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by corruptcity || skalman

  1. thanks for the review alex and hope to build on it in the future
  2. dont you mean 27-7-365? lol
  3. hire peter leaman and urs will lol
  4. paul id get it tattooed on to your forehead instead that way you cant lose it lol
  5. tyvm zu proved my point lol
  6. cheers curt that what happens when i could when im tired lol
  7. 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
  8. yeah thanks an i will it just i think that the gfx doesnt need 2 be changed any more
  9. 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
  10. yeah i spent about year of that time just using it to learn php
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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.
  16. 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!
  17. lister says Jeff Kay thinking rimmer said it when infact he said JFK
  18. you have 2 close brackets and none open brackets for the $_POST['username'] aswell
  19. 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
  20. 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
  21. omg paul u ledge i love red dwarf aswell
  22. 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
  23. idk ive never used GRPG b4 m8
  24. 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
×
×
  • Create New...