Jump to content
MakeWebGames

rigla

Members
  • Posts

    26
  • Joined

  • Last visited

    Never

rigla's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: How can i decrease the brave gain/level? ok still couldnt fix it..ive reset brave and users had brave 5+lvl but it keeps coming back to 5+2xlvl. global_func.php has been changed to give 1 brave/level. what else can i change to aquire that? maybe the day cron? $query="UPDATE users SET brave=brave+((maxbrave/10)+0.5) WHERE brave<maxbrave "; $query2="UPDATE users SET brave=maxbrave WHERE brave>maxbrave"; let me know if something here needs changed so the brave given is 1 per level and not 2. thanks, this puzzles me cant fix it..
  2. Re: question about attack sorry but its not working, now i cant even attack players same level as me. Here's where ive put the code, maybe im wrong: if($odata['hp'] == 1) { print "This player is unconscious. [url='index.php']> Back[/url]"; $h->endpage(); $_SESSION['attacking']=0; $ir['attacking']=0; $db->query("UPDATE users SET attacking=0 WHERE userid=$userid"); exit; } else if (abs($ir['level'] - $r['level']) > 10) { echo "no hitting users more than 10 levels apart"; die($h->endpage()); }
  3. hey, anyone knows a way to stop users from attacking targets 10 levels lower AND higher than them ? found on the forums only a solution that stopped lower levels not higher. ty
  4. Re: Content for sale, that's right. contacted you about the items pics.
  5. guys, how do i give bank intrest %1 to normal users and %2 for donators please? i only see a line in 24h cron $db->query("UPDATE users SET bankmoney=bankmoney+(bankmoney/50) where bankmoney>0"); what this should look like for %1 intrest? also where is the donator line or am im missing something? sorry for my noobish questions
  6. Re: [V2]Advanced Whorehouse its way too simple to ask money for something like this :) try adding something more... like brave/steps from streets etc but then again thats simple too :)
  7. Re: For auction: Login page, just the .psd ofcourse, if you look closely you can see im not good at it either :)
  8. Re: For auction: Login page, just the .psd   If wanted I will ofcourse make the rest of the files needed to suit this theme. I just didn't want to waste time making everything and then get bashed here.
  9. Re: For auction: Login page, just the .psd Except the bazooka dood's head which has been in my computer for ages(dunno where i got it from but i can make another one if needed, i was just being lazy) everything else have been made up, ofcourse not original. the lady was inspired by the baby Strumf if you remember the cartoons when we were kids. the rest was made by me dunno if the cartoons exist or not, they were just there in my head. I was just curious if im skilled enough to take orders here since i've never tried to sell anything in almost 2 years of photoshop.
  10. Here's the Login page i've made, you only buy the .psd(or any other extension) but im sure someone will code it for your game for no more than $5 bucks. If you don't like the violet from 'register now' no problem, i can change the colors too to your likings. After purchase I will customise it to fit your game and even change it some more if you have any ideas. If needed i will cut it too. This is my level of experience, if you like it and need custom header/login etc just let me know and we can talk further on instant messenger. Oh, bid for this one starts at $1. Good luck! :mrgreen:
  11. Re: How can i decrease the brave gain/level? i didnt edit anything from the admin panel, in fact i have created the account after adding the brave mod to the game.. i really dont understand its frustrating like whoa :mrgreen:
  12. Re: How can i decrease the brave gain/level? Lithium man..i dont think it works. I've set it to 1 but still, at level 8 i have 18 brave..i really dont understand.. i begin with 5 brave at lvl 1 and at level 8 shouldnt i have only 12 brave? Heres the code modified to 1 brave/level...maybe you see something..please let me know and thanks! $expu=$ir['exp']-$ir['exp_needed']; $ir['level']+=1; $ir['exp']=$expu; $ir['energy']+=2; $ir['brave']+=1; $ir['maxenergy']+=2; $ir['maxbrave']+=1; $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+1,maxenergy=maxenergy+2,maxbrave=maxbrave+1, hp=hp+50,maxhp=maxhp+50 where userid=$userid");
  13. Hello, when adding crimes what Crime XP does? how much should i set it? I know crimes automatically give like %5 xp at any level but what crime xp does? i really dont know how to set it when creating crimes and im afraid ill screw up the game balance. Please someone care to explain pretty please! :mrgreen:
  14. Re: [mccode v2] Crystal Temple guys, sorry to bother but i dont know how to add to this ctemple the standard exchange crystals for money and iq. Ive tried } } else if ($_GET['spend'] == 'IQ') { if ($ir['crystals'] < $IQ) { Error('You Don\'t Have Enough Crystals!'); } else if ($ir['IQ'] > '500') { Error('Your IQ is too high to train here.'); } else { $db->query(sprintf("UPDATE userstats SET IQ=$IQ, crystals=crystals-%d WHERE userid=%d", $IQ, $userid)); echo sprintf("You Have Paid %d Crystals For 10 IQ.", number_format($IQ)); but its not working, i dont know what im doing. whats the correct query to update the buyer account with the number of preset IQ ? Thank you and hope you answer i really love this little nicely coded mod.
  15. rigla

    Noob question

    Re: Noob question thanks guys, both worked. I have tried single quotations before and it didnt work, now it works..dunno what i did wrong last time. i think echo are more suited here thx again.
×
×
  • Create New...