Jump to content

Fix Official Pet System


Recommended Posts

  • Bronze

Hello guys.

I looked at (trkmo) official pet system, and i thinking we are making some bug fix for m2dev.

You have some bug fix relase at this topic. :D (haha)

I start:

first fix:

cmd_gm.cpp

in this function:


 

ACMD(do_item_purge)

search this:

 

	int         i;
	LPITEM      item;

add after this:

 

#ifdef NEW_PET_SYSTEM
	if (ch->GetNewPetSystem()->IsActivePet())
	{
		ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("First time unsummon your pet."));
		return;
	}
#endif

examples: You have summoned pet, and you making /ip, channel has crashed.

Edited by asterix2
edit
  • Metin2 Dev 1
  • Not Good 3
  • Love 1
Link to comment
Share on other sites

  • 5 months later...

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.