Jump to content
MakeWebGames

rigla

Members
  • Posts

    26
  • Joined

  • Last visited

    Never

Everything posted by rigla

  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.
  16. rigla

    Noob question

    Re: Noob question hrm are you sure its a good ideea? i want to change the color of other links too..ill have to remove too many { im afraid ill screw something up :P will try thx edit: Parse error: syntax error, unexpected T_IF in /home/streets/public_html/beta/mainmenu.php on line 54 Its screwing the next if statement..
  17. rigla

    Noob question

    Re: Noob question   { print "[url='yourgang.php']<font color="#00FF00">Your Gang</font>[/url] "; }   tried this long time ago because i know a little html but..i get this error Parse error: syntax error, unexpected '}' in /home/streets/public_html/beta/mainmenu.php on line 53
  18. How do i change the color of the 'Your Gang' ? tried span, font color etc wont let me put this in php ive no ideea how to do it, please post the easiest solution :mrgreen: { print "[url='yourgang.php']Your Gang[/url] "; }
  19. Re: [mccodes v2] Crafting System Mod - players can craft items! ($65) Hello, today i finally had time to install your crafting mod but i found a problem. Now when i try to use an item i get this error: Parse error: syntax error, unexpected T_ELSE in /home/streets/public_html/beta/itemuse.php on line 217 If i delete the 'else' statement in itemuse.php to fix it i always get this message when using an item: Potion used successfully!Unknown recipe.   Can you please help? im a beginner.
  20. Re: Donator IPN problem, $3 to whoever fixes it ASAP! thank you very much, that did the trick and im happy ive learned something, when i get that error i need to match and update the query accordingly to the related table. i feel so good now :mrgreen: thanks again!
  21. Re: How can i decrease the brave gain/level? change the 2 to 1 in $ir['brave']+=2 and the query too... thats all ? nothing more to change any other files? cool thx man!
  22. Topic says it all, how can i decrease the amount of Brave gained per level guys? please let me know if its possible without breaking the script. Thank you !
  23. Re: Donator IPN problem, $3 to whoever fixes it ASAP! also, here is the sql for the donator mod, maybe it helps -- Table structure for table `dpacks` -- CREATE TABLE `dpacks` ( `id` int(11) NOT NULL, `name` varchar(255) NOT NULL, `crystals` int(11) NOT NULL, `money` int(11) NOT NULL, `days` int(11) NOT NULL, `price` decimal(10,2) NOT NULL, `description` text NOT NULL, `items` int(11) NOT NULL, `active` int(11) NOT NULL DEFAULT '1', `hidden` int(11) NOT NULL DEFAULT '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -------------------------------------------------------- -- -- Table structure for table `dpitems` -- CREATE TABLE `dpitems` ( `dpid` int(11) NOT NULL, `itemid` int(11) NOT NULL, `quantity` int(11) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8;   Also, i thought its a standalone and has nothing to do with the item table, the mod comes with 2 php files and its own sql above..the matching must be between this sql and the query in the php file right, it is dependant on the item table too?
  24. Re: Donator IPN problem, $3 to whoever fixes it ASAP! first, thank you very much for giving me attention man, you are the only one you rule. here is the item db: itmid int(11) No auto_increment itmtype int(11) No 0 itmname varchar(255) utf8_unicode_ci No itmdesc text utf8_unicode_ci No itmbuyprice int(11) No 0 itmsellprice int(11) No 0 itmbuyable int(11) No 0 effect1_on tinyint(4) No 0 effect1 text utf8_unicode_ci No effect2_on tinyint(4) No 0 effect2 text utf8_unicode_ci No effect3_on tinyint(4) No 0 effect3 text utf8_unicode_ci No weapon int(11) No 0 armor int(11) No 0 helmet int(11) No 0 boots int(11) No 0 amulet int(11) No 0 braclet int(11) No 0 ring int(11) No 0 special int(11) No 0 itmpic   now im not sure anymore whats the query list in the donator.php, if you have it from cronus can you take a look and compare, im confused at which query should i look at there are a few..or let me know with which it should start... cheers
  25. Re: Donator IPN problem, $3 to whoever fixes it ASAP! submited the report but Cronus never replies for problems that are not provoked by his scripts. Both the item table and queries in my donator.php are matching...what could be it ? anyone have any ideeas? still didnt fix this offer remains!
×
×
  • Create New...