Jump to content
MakeWebGames

Danny696

Members
  • Posts

    2,632
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by Danny696

  1. Re: need some help? i dont get it?   if you break it down all its saying is your trying to make a table thats allready there try DROP TABLE `announcements` then create the new table
  2. Re: need some help? i dont get it? in your users database there isnt a colom called lastip_signup look at dbdata.sql and find it in there and insert it after lastip Thanks Danny696
  3. Re: graphic designer required ?15 good luck is all i say
  4. Re: Who can create Game Designs - Login pages/headers etc   You mean Illegalife he's great charges $60-80 great support after and its a good template
  5. Re: Maintenance mode? or you could add it to the settings that would be eaiser
  6. Re: 3 Revamps [V2] i know this is old but what is displayadd.php?
  7. Re: [uRGENT] Help with my Code! [mcCodes v2]   if he did it that way he would need to add another row into the settings
  8. Re: [uRGENT] Help with my Code! [mcCodes v2]   <?php { include "globals.php"; global $db, $ir, $c, $h; print "<h3>The Newspaper</h3>"; $q=$db->query("SELECT text FROM header LIMIT 1"); $text=$db->fetch_single($q); print " <tr> <td colspan=3>$text</td></tr> </table>"; } $h->endpage(); AND try this:   <?php { include "globals.php"; global $db, $ir, $c, $h; print "<h3>The Newspaper</h3>"; $he = mysql_fetch_object($db->query("SELECT `text` FROM `header`")); print " <tr> <td colspan=3>echo sprintf('%s',stripslashes($he->text));</td></tr> </table>"; } $h->endpage(); ?>   meh i didnt do the work AlabamaHit did it i just put 2 & 2 together and made 4 Yay
  9. Re: Count Down Clock Let me explain what i need; It needs to countdown to every 45 mins and thats 2700 seconds and it needs to be in a page with other coding not the header. Thanks danny696
  10. Re: FIRST THOUGH! scrotum
  11. Re: Count Down Clock Bump as i need it
  12. Re: FIRST THOUGH! tube
  13. Re: THIS OR THAT?   // of topic Its not fake its scripted theres a differnce of fake is when they dont get hurt the dont tuch each other scripted is where a winner is pre-picked and all the moves are planned and they do get hurt and they do hit eachother // end of topic Prob Solo erm MSN or AIM
  14. Re: THIS OR THAT?   Chockt Cake *On Wii The Game Play For Pes Is Mint But I Like The Season Mode On Both For Different Reasons* Erm Sky Or Virgin?
  15. Re: THIS OR THAT? Air Force (dont like the sea) Fifa Or Pes
  16. I Need A Simple JS CountDown Clock That Counts Down To Every Hour? Is This Possible Ive Googles It But Only Found Ones For A Set Date & Time.
  17. Re: THIS OR THAT? 02 Alot Cheaper erm Facebook Or MySpace?
  18. Re: probably a silly question but couldnt find any info.. Use My Mod And That Help Active Members And Crime Levels Link Is: http://criminalexistence.com/ceforums/i ... ic=29754.0
  19. Re: Earn More From your game - A Must Read What Do the codes Do? Why Do They NEED to be on there? what happenes if there not? what are the codes?
  20. Re: [$10] Mod REQUEST Attack System [V2] WOW *just noticed that SMF inclued a shearch feature* its great use it just like i did to find this: http://criminalexistence.com/ceforums/i ... ic=27479.0
  21. Re: Crime Update WithOut Using Sprintf:   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['maxenergy']+=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,maxenergy=maxenergy+2,hp=hp+50,maxhp=maxhp+50 where userid=$userid"); } }   And   function check_brave() { global $db; global $ir,$c,$userid; $ir['cEXPneeded']=(int) ($ir['braveLVL']*500); if($ir['crimeexp'] >= $ir['cEXPneeded']) { $ir['braveLVL']+=1 $ir['brave']+=2; $ir['maxbrave']+=2; $ir['cEXPneeded']=(int) ($ir['braveLVL']*500); $db->query("UPDATE users SET brave=brave+2,maxbrave=maxbrave+2, braveLVL=braveLVL+1 where userid=$userid"); } }
  22. Danny696

    help

    Re: help Use Code Tags Like This [code] Do It Like This [code][/code]
  23. This Was Asked As A Mod. What It Does; Makes your BraveBar Not Go Up EveryTime You Gain A Level Instead To Upgrade It You Have To Do Crimes And Gain CrimeEXP This Encourages Players to Be More Active And Do More Crimes. So Here It Is: Firstly Run These In PHPMyAdmin: ALTER TABLE `users` ADD `braveLVL` INT(3) NOT NULL DEFAULT '1'; ALTER TABLE `users` ADD `cEXPneeded` INT(11) NOT NULL DEFAULT '500'; In Global_Func.php Find Function Check_Level And Replace With This: 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['maxenergy']+=2; $ir['hp']+=50; $ir['maxhp']+=50; $ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2); $query = sprintf("UPDATE users SET %a=%a+1,%b=$expu,%c=%c+2,%d=%d+2,%e=%e+50,%f=%f+50 WHERE userid=%u", $ir['level'], $ir['level'], $ir['exp'], $ir['energy'], $ir['energy'], $ir['maxenergy'], $ir['maxenergy'], $ir['hp'], $ir['hp], $ir['maxhp'], $ir['maxhp'], $ir['userid']); $db->query($query); } } Then In The Same File Find ?> (Or The End) And Add Before: function check_brave() { global $db; global $ir,$c,$userid; $ir['cEXPneeded']=(int) ($ir['braveLVL']*500); if($ir['crimeexp'] >= $ir['cEXPneeded']) { $ir['braveLVL']+=1 $ir['brave']+=2; $ir['maxbrave']+=2; $ir['cEXPneeded']=(int) ($ir['braveLVL']*500); $query = sprintf("UPDATE users SET %a=$a+2,%b=%b+2,%c=%c+1 WHERE userid=%u", $ir['brave'], $ir['brave'], $ir['maxbrave'], $ir['maxbrave'], $ir['braveLVL'], $ir['braveLVL'], $ir['userid']); $db->query($query); } }   Then Thats It If You Want To Add Brave Level Any Where Use This {$ir['braveLVL']}   I Will Update Post In A Min Using Sprinf (learning Sprintf From Reading it & About It) Thanks For Reading Any FeedBack Is Good (bad I'm not bothered about it tells me what i can do better) Danny696 *Updated Using Sprinf* - Danny696 Hope It Works
  24. Re: [Mccodes v2]In battle!, new attack system[mccodes v2] Never Gonna Hapen For Free I Would Say Well Over $100 For Who Ever Does It
  25. Re: please help with this one thanks   I think he's done it already. We're way to slow. Just Telling EveryOne Else How To Do It
×
×
  • Create New...