Jump to content

help in Effect during exchange


Recommended Posts

  • Premium

Hallo

I See This Topic

http://metin2dev.org/board/topic/2679-c-effect-during-exchange/

But I See It's Not Full System , Then i See This

http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/3133340-r-lib-source-snippets-core-offset-listen.html

 

So I Add In Shop.cpp , But In exchange.cpp Didn't Understand What He Mean By :

// Vor der Schleife:
GetOwner()->CreateFly(6,victim);

 

  • Love 1

If you're going to do something, then do it right.

Link to comment
Share on other sites

should look like this:
bool CExchange::Done()
{
int empty_pos, i;
LPITEM item;


LPCHARACTER victim = GetCompany()->GetOwner();
GetOwner()->CreateFly(6,victim);
ITEM_MANAGER::instance().FlushDelayedSave(item);
GetOwner()->CreateFly(5,victim);
if (m_lGold)
{
for (int i = 1; i < m_lGold+1; i=i+500000) 
    GetOwner()->CreateFly(4,victim);
GetOwner()->PointChange(POINT_GOLD, -m_lGold, true);
victim->PointChange(POINT_GOLD, m_lGold, true);

 

  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.