Auto-meso pickup

Status
Not open for further replies.
Junior Spellweaver
Joined
Jul 14, 2008
Messages
130
Reaction score
2
Ok, this is auto meso pickup. it picks up the mesos for u when u kill a monster and it was supposed to drop mesos.

Code:
MapleMap.java

first, go to line 328 of MapleMap.java or FIND
Code:
spawnMesoDrop(meso * mesoRate, meso, dropPos, dropMonster, dropChar, isBoss);

the code around it should look like this

Code:
TimerManager.getInstance().schedule(new Runnable() {
public void run() {
	spawnMesoDrop(meso * mesoRate, meso, dropPos, dropMonster, dropChar, isBoss);
	}
}, monster.getAnimationTime("die1"));

comment out spawnMesoDrop()

Code:
//spawnMesoDrop(meso * mesoRate, meso, dropPos, dropMonster, dropChar, isBoss);

and add
Code:
dropChar.gainMeso(meso * mesoRate, true, true);

finished result looks like...(public void run)
Code:
public void run() {
	//spawnMesoDrop(meso * mesoRate, meso, dropPos, dropMonster, dropChar, isBoss);
        dropChar.gainMeso(meso * mesoRate, true, true);
							}
}

and thats all XD
 
Last edited:
Re: [RELEASE] Auto-meso pickup

it is good if you put a user command for active it.
 
Re: [RELEASE] Auto-meso pickup

If anyone wants it for Vana, open Drops.cpp find
PHP:
        Drop *drop = new Drop(player->getMap(), mesos, pos, player->getPlayerid());
        drop->setTime(100);
        drop->doDrop(mob->getPos());
change to
PHP:
Quests::giveMesos(player, mesos);
or
PHP:
player->inv->setMesos(player->inv->getMesos()+mesos);

First one will make the chat say for each kill "You have gained (+mesos)" second one takes that out.
 
Re: [RELEASE] Auto-meso pickup

o.o....

i think ppl can figure how to fix the mso magnet for pets with this code..
and reiyhn
you cand make it to only donatetors command..
 
Re: [RELEASE] Auto-meso pickup

If it works how it works for vana, instead of mesos dropping, it auto adds to your money.
 
Status
Not open for further replies.
Back