
Miniman
Members-
Posts
431 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Events
Everything posted by Miniman
-
Re: Help with auto ipn I knew BadGirl wasn't a girl :| Why would you do that? :lol: I've had a few people asking for some of these mods to be fixed. I know one guy who had some rather large problems with the IPN I only wanted to post about BadGirl, or whatever/whoever you are 8-)
-
Re: [mccode v2] Estate Recode If you want the number_format() to work properly and have your Prices display as $5,000 and not $5000 Use this... if(isset($styles['styleseperator'][0])) { echo $styles['styleseperator'][0]; } printf("Cost: \$%s", number_format(@intval($r['hPRICE'],''))); if(isset($styles['styleseperator'][1])) { echo $styles['styleseperator'][1]; } Oh, and good job again BlueDevil :)
-
Automatically returns to inventory after equipping
Miniman replied to furn355's topic in Free Modifications
Re: Automatically returns to inventory after equipping Iso, I think he got it wrong Open up attack.php Should be Open up inventory.php If he didn't mean this then this addon is gonna phail. -
Re: v2 upgrading hosp time If this doesn't help then just read the code or test it yourself. Ok, When you attack some and Hospitalize them, you send them to hospital for 200 minutes. This mod allows you to make that time more. You use crystals to pay for it. 10 Crystals = 1 extra minute. I attack someone and hospitalize them for 200 minutes. I then go to the crystal temple and use 10 crystals to buy 1 extra minute. I go and attack another person and I hospitalize them for 201 minutes Are you getting it yet?
-
Re: [Mccodes V2] Player Mood *goes to examine CakePHP Mccodes is a challenge maybe? :wink:
-
Re: [Mccodes V2] Player Mood Nope, Mccodes sucks. I was just saying, you seem to know something at the very least, so show us how it's done
-
Re: [Mccodes V2] Player Mood SURELY, it can't be that hard? There is plenty of examples around this site :roll:
-
Re: [Mccodes V2] Player Mood I already know what it doe's but your just adding more code to it than it need's to be. So why don't you re-do one? Show us all how it's done ;)
-
Re: v2 upgrading hosp time I think he's trying to say... You can pay crystals to add a certain amount of time on to the time you can hospitalize someone else for. Default is 200 minutes I pay 1000 Crystals, I can now hospitalize someone for 210 Minutes.
-
Re: How to secure a few things! I think it's very good, you've learnt. And you can now pick up some more stuff :) People will be able to learn from this, it's clear.
-
Re: [mccode v2] Inventory Recode Yeah, your right. Maybe someday you should create one from scratch ;) You clearly have the potential
-
Re: How to secure a few things! SELECT * FROM users WHERE Why? Your examples show that you are only needing "faz" from the users table, but that right there is selecting everything. :) $faz = sprintf("SELECT `faz` FROM `users` WHERE (userid = %u)", $_GET['faz']) $db->query($faz); :)
-
Re: [mccode v2] Inventory Recode It looks good, although I don't know why you space it out so much :lol: Also why are yo "re-coding" MCC? Make one from scratch MCC sucks. Good job :)
-
Re: Security of your game... But as you said, sites are never 100% secure no matter how hard you try. But it's an online game we are talking about, what really good hacker is gonna want to spend his time hacking an online game? Say if you got your site 99.9% secure, the website to important files and goverment information is that secure, what's the hacker gonna wanna target? lol I suggest just securing your site as much as possible and if the problem still happens then use this method ;)
-
Re: Security of your game... That's a good idea if I'm reading right. Check if the user has over the amount they should have for their age and just freeze their account? So they can't send anything, not even messages, and they can't be attacked (this will stop people mugging them) And then it could be unfrozen when the account has been investigated.
-
Re: [MCCODES V2] New Schooling Advanced This won't update in decimals, this is only updating the percent by 1 each time, but you seem to be able to set the percent gained in decimals. Set 'cpercent' in users to DECIMAL 3,1 and Set 'crPERCENT' in courses to DECIMAL 3,1. Now find $db->query("UPDATE users SET cpercent=cpercent+1, course_clicks=course_clicks-1, minus_clicks=minus_clicks+1 WHERE userid=$userid"); And change it to $sql = sprintf("UPDATE users SET cpercent=cpercent+%.6f,course_clicks=course_clicks-%u,minus_clicks=minus_clicks+%u WHERE (userid = %u)", $coud['crPERCENT'],1,1,$userid); $db->query($sql); That should work for that issue.
-
Re: [MCCODES V2] New Schooling Advanced Paste part of the code here and we can help :)
-
[mccode v2] Crystal Temple I like the way you've used "Start Configuration" I didn't think of that lol Look's good :)
-
Re: [v2]Ctemple It was an example. And how is that a challenge? Your selling something for $5 that someone can do with no problem at all :| $db->query(sprintf("UPDATE users SET donatordays = donatordays + %u, crystals = crystals - %u WHERE (userid = %u)", 5,100,@intval($userid))); echo 'You have paid for 5 Donator days at the price of 100 crystals';
-
Re: [v2]Ctemple Seriously, whp paid for one of these? It's easy.... $db->query(sprintf("UPDATE users SET donatordays = donatordays + %u WHERE (userid = %u)", 5,@intval($userid))); Or just ALTER the users table and add protection, make it die in the attack page when someone is protected and add pretty much the same query as above. :| I think if your gonna sell it, make it $1.00.
-
Re: admins cant be feded [v2] Or you could add in the staff file.... if($r['user_level'] == 2) { die ("Admins cant be fedded."); $h->endpage(); exit; } OR if($r['userid'] == 1) { die ("The owner cannot be fedded"); $h->endpage(); exit; }
-
Re: Need help on a problem Or just add in hospital.php something like... $db->query("UPDATE users SET hospital=0,hp=maxhp WHERE user_level=0"); :|
-
Re: [mccodes v2] Taser Mod Haha, I like this idea, it's fun. Good job +1
-
Re: New! Player report [FREE] Yes you are iamwicked, how could you not be? :wink:
-
Re: New! Player report [FREE] Got to admit.....Crazy-T isn't on my list of "Most loved person in the world" But you lot are being d*cks. Before, Crazy-T would go around commenting on other's work and you'd reply to that saying something like "atleast he can code, you can't" Now he's actually making mods that are good, with good code and yet he's still getting ripped apart? Wtf is wrong with you people? You managed to turn a perfectly nice thing into something that doesn't need to concern you... Wow he got a free template.....He must be sh*t at everything he does! Give it a break Oh, and Good work Crazy-T.