Jump to content

Effect During Exchange / Fly Effect


Bloddi

Recommended Posts

Intro:

This video was made by .InyaProduction who was inspired by Mijago's work. I havent copied anything by anyone. (Yes this intro is for just three rows of code but people are funny huh.)

How to:

Open exchange.cpp

Go to row 485 after:

if (item->GetVnum() >= 80003 && item->GetVnum() <= 80007)
			{
				LogManager::instance().GoldBarLog(victim->GetPlayerID(), item->GetID(), EXCHANGE_TAKE, "");
				LogManager::instance().GoldBarLog(GetOwner()->GetPlayerID(), item->GetID(), EXCHANGE_GIVE, "");
			}

Add:
 

m_pOwner->CreateFly(FLY_SP_MEDIUM, victim);//ExchangeEffect by andrea49611
for (int i = 0; i < 3; i++){
	m_pOwner->CreateFly(FLY_SP_SMALL, victim);
}

I dont know if the section is correct.

Have Fun.

  • Love 14
Link to comment
Share on other sites

Well, i have made it, following the video of .Inyaproduction,  by myself in 5 minutes otherwise it wouldnt be here, released,

It's not all code? Maybe because Im not a leecher and i didnt copy his work and this is how i would it?

Simply a minor effect with three small balls fly and just a big one.

Link to comment
Share on other sites

  • 4 weeks later...

Hi all.

I would like to ask for help and how to put it to the exchange.cpp be integrated into the command line.

// in bool CExchange::Done()
// Vor der Schleife:
GetOwner()->CreateFly(6,victim);
// nach ITEM_MANAGER::instance().FlushDelayedSave(item);
GetOwner()->CreateFly(5,victim);

// nach 	if (m_lGold){
for (int i = 1; i < m_lGold+1; i=i+500000) 
            GetOwner()->CreateFly(4,victim);  // 1 Fly pro 500k . dh max 20 auf einmal (TradeLimit: 10kkk)

not missing open bracket member?
I hope he will be able to help us

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 2 months later...
  • 3 years later...


×
×
  • 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.