Junior Spellweaver
- Joined
- Apr 15, 2007
- Messages
- 154
- Reaction score
- 0
There is 1 problem with this method(it only takes the stars when you attack but if you use a skill it will not, still working on that)
Go into Mobs.cpp,
Under all the #include tags add
Search
Beneath put
And search
Ok scroll down until you see this
and beneath it put
And for you lazy people who don't wanna do this,
deal with it >.< :kisss:,
TerraMS Chris
Go into Mobs.cpp,
Under all the #include tags add
Code:
#include "Inventory.h"
Search
Code:
int pos=getInt(packet+14);
Beneath put
Code:
int amount = getInt(packet+2);
And search
Code:
damageMobS
Ok scroll down until you see this
Code:
itemid = player->inv->getItem(i)->id;
and beneath it put
Code:
Inventory::takeItem(player, itemid, amount);
And for you lazy people who don't wanna do this,
deal with it >.< :kisss:,
TerraMS Chris