Pets on repop

EQ2Emulator Development forum.

Moderator: Team Members

Post Reply
User avatar
Gangrenous
Posts: 812
Joined: Sun Apr 24, 2016 6:54 am
Characters: Dinsmoor

Pets on repop

Post by Gangrenous » Sat Apr 27, 2019 3:00 am

Pets on repop need their owner removed, causes some chaos otherwise.

If someone is committing today, or maybe getting committed.

zoneserver.cpp, around line 708

Code: Select all

		for (itr = spawn_list.begin(); itr != spawn_list.end(); itr++) {
			spawn = itr->second;
			if(spawn && !spawn->IsPlayer()){
				if (spawn->IsPet())
					((NPC*)spawn)->GetOwner()->DismissPet(((NPC*)spawn), true);
				
				SendRemoveSpawn(client, spawn, packet);
			}
		}
We may even think about just leaving the pets alone. In the endgame, you would not want to repop the zone and kill everyone's pets.
Resident Dirty Hippy

User avatar
Cynnar
Project Leader
Posts: 738
Joined: Sat Sep 27, 2014 1:22 am
EQ2Emu Server: Eq2emulator
Characters: Vlash
Veinlash
Taragak
Cynnar

Re: Pets on repop

Post by Cynnar » Sat Apr 27, 2019 5:58 pm

Will see about getting it in asap, but currently I have no way to compile the server. John is doing some work on the VM and ssh is not responding.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]

Follow on:
Twitter Facebook

Contact me:
PM Discord chat email

Hardware: the parts of a computer that can be kicked

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest