Jump to content
MakeWebGames

Newbie

Members
  • Posts

    289
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Newbie

  1. Query was INSERT INTO events VALUES('',,UNIX_TIMESTAMP(),0,'Reece rated you down.') has 2 , should be plus as pete stated there is a blank '' Query was INSERT INTO events VALUES('',UNIX_TIMESTAMP(),0,'Reece rated you down.')
  2. dunno if this is right as cant test it but if wrong should give you a idea   function check_level() { global $db; global $ir, $c, $userid; $ir['exp_needed'] = (int) (($ir['level'] + 1) * ($ir['level'] + 1) * ($ir['level'] + 1) * 2.2); if ($ir['exp'] >= $ir['exp_needed']) { $expu = $ir['exp'] - $ir['exp_needed']; $ir['level'] += 1; $ir['exp'] = $expu; $ir['energy'] += 2; $ir['brave'] += 2; $ir['maxenergy'] += 2; $ir['maxbrave'] += 2; $ir['hp'] += 50; $ir['maxhp'] += 50; $ir['exp_needed'] = (int) (($ir['level'] + 1) * ($ir['level'] + 1) * ($ir['level'] + 1) * 2.2); if( ($ir['level'] % 50) == 0 ) { $strDbQry = "UPDATE `users` SET `crystals`=`crystals`+1 WHERE `userid`=". $_SESSION['userid']; $db->query($strDbQry); } $db->query( "UPDATE `users` SET `level` = `level` + 1, exp = {$expu}, `energy` = `energy` + 2, `brave` = `brave` + 2, `maxenergy` = `maxenergy` + 2, `maxbrave` = `maxbrave` + 2, `hp` = `hp` + 50, `maxhp` = `maxhp` + 50 WHERE `userid` = {$userid}"); } }
  3. something like http://www.mafiacreator.com/ ??
  4. not all mccodes mod need recoded for grpg add me on skype its in my profile
  5. whats this panther never seen it before
  6. Change line 81-91 to   body { background-color: black; margin-top: 0px; margin-bottom: 0px; font-family: calibri, helvetica, arial, geneva, sans-serif; font-size: 12px; color: white; scrollbar-base-color: #005B70; scrollbar-arrow-color: #F3960B; scrollbar-DarkShadow-Color: #000000; }
  7. yes silly me forgot to include globals.php its done now and also updated the sell function to hold $userid sellweed.php updated
  8. looks good well done
  9. looking good kyle :) have you got a estimated time for completion?
  10. ill start bids at $50.00 looks nice :)
  11. that is a very good idea Dave will see what i can do :)
  12. well i guess it depends on how good you can convert it :P
  13. goto be ps4 xbox one sucks in my personal opinion
  14. is it throwing any kind of error at all other than not showing you the trade?
  15. Newbie

    got a question

    as kyle said run his first code then run the second one :)
  16. what would you bring to the table if someone was to help for free?
  17. lol sad to see you gone at such a young age :P
  18. yeh did not think razor was like that its a nice looking layout too as always peter
  19. hey m8 why does it say crimecity ?
  20. np mags hope you like it :)
  21. yep i use mtg most of the time hes a good guy and good worker
  22. i figured it would be pretty big but ill do it little bits at a time :)
  23. added security to the $_GET['id'] and made a check to make sure the id is real if you used this update your code with the new npc.php
  24. yes kinda like what you jsut showed is what i am looking to create it like.
  25. if anyone beats the npc the the npc is set to hospital for 20 minutes just change the query if you don't like the 20 minute period :) someone requested this so did a quick one im thinking of recoding it but using a separate class for the npcs
×
×
  • Create New...