[Release] Super Meso Magnet

Joined
Jul 13, 2008
Messages
419
Reaction score
217
Super Meso Magnet?
What is Super Meso Magnet? Well, it's a Meso Magnet which is different from the Global MapleStory Meso Magnet. In my own oppinion it's better and my users also like it more than the standard Meso Magnet.

What I need?
A pet and a Meso Magnet from the Cash Shop or from anywhere else... (You don't have to equip your pet with Meso Magnet but you can, both will work!)

What it does?
If you are equipped with a pet and a Meso Magnet the mobs don't drop the mesos, you directly get them. All I did was editing the drop meso part so that it only drops mesos if you are not using pet + meso magnet.
Btw, thanks to 0aix2 for releasing the auto pick up thing, I already had it but what ever...

How to add it?
That's sooo easy...

Open MapleMap.java and replace this line...
Code:
                                                            spawnMesoDrop(meso * mesoRate, meso, dropPos, dropMonster, dropChar, isBoss);
...with these lines...
Code:
                                                            if (dropChar.getPet() != null && dropChar.haveItem(1812000, 1, true, isBoss)) {
                                                                dropChar.gainMeso(meso * mesoRate, true, true);
                                                            } else {
                                                                spawnMesoDrop(meso * mesoRate, meso, dropPos, dropMonster, dropChar, isBoss);
                                                            }
...save, compile, done!


NOTE: If you used the second version of my Magic Scales fix which also disables Meso Magnet, then go into BuyCSItemHandler.java and replace this line...
Code:
		} else if (item.getId() >= 1812000 && item.getId() <= 1812006) {
...with this line...
Code:
		} else if (item.getId() >= 1812001 && item.getId() <= 1812006) {
...save, compile, done!

(You only need to do this if you used the second version of my Magic Scales fix, I recommend to use it!)
http://forum.ragezone.com/showthread.php?t=442847



This is my first good release, I think it's good, I hope you like it! :)
Credits to me for this and Leifde for his awesome pets patch!
 
@pokkax:
I didn't learn Java... :p I start learn soon... Just looked a bit in source for getting this to work, btw NetBeans shows me what functions I can use, very helpful...

@Wilsongb10:
This just checks if you use a pet, if yes it checks if you wear or even have a Meso Magnet, if yes the mobs don't drop the Mesos, they directly give them to you like EXP. If you don't have Pet or Meso Magnet it's like normal droping.
 
So.. if you don't equip meso magnet this won't work right. Like if you just have it in your inventory? Just wondering cause of like boss hunting and stuff. And if you're in a party does it auto split money or whoever did most damage gets it
 
Ok again, this is how it works:

You need to have a pet with you and you need to have Meso Magnet in your inventar or equipped, it doesn't matter if you have it in your inventar or equipped. If you drop the Meso Magnet OR if you put back the pet then it won't auto loot anymore.
I don't know how it is with the boss, I don't know who get it. You have to try that out and then you can tell me!?
 
Uhmm, I can see you based it off of Auto Meso - Loot function from someone, But wont your SUPER MESO MAGNET actually make the server lag alot? I mean like, you got 50 or 40 players online and half of them are going to kill an boss, When its dead, itll probably D/C all since the mesos arent seperated in precise orders to go to the character's meso balance. I'd really not really recommend this as this could make your server really laggy. Other than that, people have been saying that Auto - Meso loot the fast way actually lags the person alot when meso goes into there meso balance.
 
Uhmm, I can see you based it off of Auto Meso - Loot function from someone, But wont your SUPER MESO MAGNET actually make the server lag alot? I mean like, you got 50 or 40 players online and half of them are going to kill an boss, When its dead, itll probably D/C all since the mesos arent seperated in precise orders to go to the character's meso balance. I'd really not really recommend this as this could make your server really laggy. Other than that, people have been saying that Auto - Meso loot the fast way actually lags the person alot when meso goes into there meso balance.

that someone is me o.o... i remember airflow0 posting a script similar to that in my thread...
 
@ 0aix2
airflow0 used the same with a little modify that itchecks for pets

@ Haiku01
i don't know if it laggs and nobody is forced to use this, it's not lagging for me... maybe it laggs if you have a shitty computer, i don't know...
 
Hmmph, really? I guess I shall add it on my server tomorrow, People said when I added auto meso loot to the server they were dcing 0_0

Im using an 4GB Computer with an really good connection
 
Hmmph, really? I guess I shall add it on my server tomorrow, People said when I added auto meso loot to the server they were dcing 0_0

Im using an 4GB Computer with an really good connection

i'm only using 1gb *shame* xP need a paypal account but can't verificate it without a credit card... >_> not 18 yet :o what ever, not even lagging on my old 1gb computer with slow connection and 30 users online
 
Back