Jump to content
MakeWebGames

REGGIE KRAY

Members
  • Posts

    32
  • Joined

  • Last visited

    Never

Everything posted by REGGIE KRAY

  1. Re: Businesses Mod [Mccode V2]   I've got the same problem. I guess it's got something to do with either the `busCash` = `busCash` + '%d' or ($new_profit - $bs['busCash']) part in the business_cron.php. Am I right? I'm looking for a fix, but I hate MySQL. Argh, how I wish I was back in the good ol' flashdays.   I think this Mod is great apart from I have the same problem when the cron kicks in all the money in the vault goes and you seem to end up with a random amount.
  2. Re: New member search... I have installed this on www.mafiabrotherhood.co.uk and it works great. Thanks.
  3. Re: [REVIEW] Mafia Brotherhood I agree that i need a brand new login and register.
  4. Hi would you mind reviewing my game. www.mafiabrotherhood.co.uk Any comments would be accepted Thanks.
  5. Re: Cron Jobs Thankyou very much for that.
  6. Hi, I some how managed to delete all my cron jobs. Would someone be kind enough to give me the format of how to put them in, I have my end code its just the first bit:- curl ??? Thanks
  7. Re: [mccodes v2]New and improved inventory code sources for free! Whenever I unequip items now i get Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/s4man1/public_html/unequip.php:2) in /home/s4man1/public_html/globals.php on line 6   Everything will unequip except the primary weapon
  8. Re: Permenant Increase? Im not sure if im on the right tracks but this could work   <?php include "globals.php"; { print "<h3>Inrease Your Stats</h3> <table border=2> <th>Stat</th> <th>Description</th> <th>Buy</th> <tr> <td>Brave</td> <td>100 Crystals For increased Brave</td> <td>Buy</td> </tr> </table>";   if($_GET['trade'] == brave) { if($ir['crystals'] < 100) { print "Error, you dont have enough crystals"; } else { print "You trade in 100 crystal for a brave increase!"; $db->query("UPDATE users SET maxbrave = maxbrave + 2, crystals = crystals - 100 WHERE userid = $userid"); } } } $h->endpage(); ?>
  9. Re: [mccode v2] New improved mailbox. Killah's version works great for me and show's that I have mail. The only thing im not keen on is it doesnt link directly from viewuser you have to make a note of the user ID number to type in.
  10. Re: help...need to lower EXP Give my way a go mate its very basic but works fine for me $expwon = (25 * ($user_class['level'] - $attack_person['level']));   (25*(400-1) = 9975 just change the 25 to lower for lower Exp given (10*(400-1) = 3990 Exp
  11. Re: help...need to lower EXP I have mccode's V2
  12. Re: help...need to lower EXP Is it not mate?, well at least im trying, hence me still being a noob on here.
  13. Re: help...need to lower EXP I use this. $expwon = (25 * ($user_class['level'] - $attack_person['level'])); So if the attacking person is lvl 1 and defending is lvl 400 and a miracle happens and the lvl 1 wins they get 9975 Exp.
  14. Re: Help with Exp on V2 needed please. Cheers for that so far ive got ALTER TABLE `gang` ADD `ganglevel` INT(11) NOT NULL DEFAULT '1', ALTER TABLE `gang` ADD `gangEXP` INT(11) NOT NULL DEFAULT '0';   function check_ganglevel() { global $db; global $ir,$c,$gangid,$gangdata; $gangdata['exp_needed']=(int) (($gangdata['ganglevel']+1)*($gangdata['ganglevel']+1)*($gangdata['ganglevel']+1)*5); if($gangdata['gangEXP'] >= $gangdata['exp_needed']) { $expu=$gangdata['exp']-$gangdata['exp_needed']; $gangdata['ganglevel']+=1; $gangdata['gangEXP']=$expu; $gangdata['exp_needed']=(int) (($gangdata['ganglevel']+1)*($gangdata['ganglevel']+1)*($gangdata['ganglevel']+1)*5); $db->query("UPDATE gang SET ganglevel=ganglevel+1,gangEXP=$expu where gangid=$gangid"); } } My gang Exp is fine it goes up with attacks won but the gang level stays at level '6' for all gangs no matter what their Exp Any advice given I would be very gratefull. Thanks Reggie
  15. Re: Help with Exp on V2 needed please. I have found it in Global functions 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); $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"); } } Thanks anyway.
  16. Where abouts do I find the user exp increments, if I can understand them then I will try and make it so gangs gain exp rather than respect points.   Thanks Reggie
  17. Re: [mccode v2] userADS It works great on my game thanks thahacker07 +1 to you.
  18. Re: [REVIEW] The Mafia Brotherhood - Please review!! Thanks Deception. I have now put in the new Login page www.themafiabrotherhood.co.uk
  19. Re: [mccode V2] Search Islands Great mod +1. I had to change $db->query("UPDATE users SET islands=100"); to $db->query("UPDATE users SET islands=1"); As it let me search the island 100 times with 100 finds each time.
  20. Re: [REVIEW] The Mafia Brotherhood - Please review!! Thanks for the comments I shall work on a new login and register page. The shoutbox will stay tho as most members enjoy it being there. In what way is the game slow? I agree about the donator page it needs to be modified.
  21. Re: [REVIEW] The Mafia Brotherhood - Please review!! Over 100 views. Please can someone take a look and post a review. Thanks
  22. Re: Prob with max stats I have found it. In user stats in my sql i reads, strength decimal(11,4) you need to change it to, strength decimal(12,4) or however long you want it to be. Thanks for the help tho.
  23. Re: Prob with max stats Thanks I am just learning, where abouts would i find that field
  24. Hi I was wondering if anyone could help me, when a player has trained up to 9,999,999 on my game it max's out and cannot train any higher than this. Is there a way of removing the cap so the stats will go higher. Many Thanks Reggie
  25. Title: The Mafia Brotherhood www.themafiabrotherhood.co.uk   I have been running this game for a month now although there are still sum bugs that need to be sorted i wouldn't mind you guy's taking a look and giving me feedback. Hopefully ive posted correct this time, lol.
×
×
  • Create New...