Jump to content

[Full]New Pet System Official


Luffy

Recommended Posts

TUDO PACK + CLIENT SOURCE

 

UPDATE 1

aberto

cmd_gm.cpp

procurando

 

 

 

ACMD(do_item_purge)

 

substituir por

 

ACMD(do_item_purge)

{

#ifdef NEW_PET_SYSTEM

#include "New_PetSystem.h"

if (ch->GetNewPetSystem()->IsActivePet())

{

ch->ChatPacket(CHAT_TYPE_INFO, "A fost hranit petu. ");

return ;

}

#endif

int i;

LPITEM item;

 

for (i = 0; i < INVENTORY_AND_EQUIP_SLOT_MAX; ++i)

{

if ((item = ch->GetInventoryItem(i)))

{

ITEM_MANAGER::instance().RemoveItem(item, "PURGE");

ch->SyncQuickslot(QUICKSLOT_TYPE_ITEM, i, 255);

}

}

 

for (i = 0; i < DRAGON_SOUL_INVENTORY_MAX_NUM; ++i)

{

if ((item = ch->GetItem(TItemPos(DRAGON_SOUL_INVENTORY, i ))))

{

ITEM_MANAGER::instance().RemoveItem(item, "PURGE");

}

}

}

 

E para aqueles que tê-lo substituído com 200 slot de

Iar pentru cei ce au 200 slot inlocuiti cu acesta

 

ACMD(do_item_purge)

{

#ifdef NEW_PET_SYSTEM

#include "New_PetSystem.h"

if (ch->GetNewPetSystem()->IsActivePet())

{

ch->ChatPacket(CHAT_TYPE_INFO, "A fost hranit petu. ");

return ;

}

#endif

int i;

LPITEM item;

 

for (i = 0; i < INVENTORY_AND_EQUIP_SLOT_MAX; ++i)

{

if ((item = ch->GetInventoryItem(i)))

{

ITEM_MANAGER::instance().RemoveItem(item, "PURGE");

ch->SyncQuickslot(QUICKSLOT_TYPE_ITEM, i, 200);

}

}

 

for (i = 0; i < DRAGON_SOUL_INVENTORY_MAX_NUM; ++i)

{

if ((item = ch->GetItem(TItemPos(DRAGON_SOUL_INVENTORY, i ))))

{

ITEM_MANAGER::instance().RemoveItem(item, "PURGE");

}

}

}

 

Item desc RO

https://mega.nz/#!AxMnQKQA!7LzC7VSsi7-lm8QHjg7gf6olxWmqy-8Wlnb1Xh8stws

http://image.prntscr.com/image/3106b850cbf44d479d59e310565fabfd.png

image.prntscr.com/image/3106b850cbf44d479d59e310565fabfd.png

Download:

https://mega.nz/#!tBdwBbBB!3LX-juzR66_OHrzscNHCUaI3HL0_gaemNQPpnwLTugQ

https://www.virustotal.com/pt/url/1b3201fd425785abeb5dc0a917e9f3c2a950dbf71d1db27a10d964831e573c8b/analysis/1486595798/

http://s33.postimg.org/smms5uey7/Pet_UI.png

 

Fonte:FG Quem Posto: VoLtZzZ

Topico: Luffy

Desculpe a tradução foi feita pelo google tradutor

Espero ter ajudado

  • Like 8
  • Thanks 3
Link to comment
  • 1 year later...
  • 1 year later...
  • 6 months later...
  • 7 months later...
  • 2 months later...
  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...