Bring out your dead

EQ2Emulator Development forum.

Moderator: Team Members

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

Bring out your dead

Post by Gangrenous » Fri Mar 24, 2017 8:55 am

We have had this issue a while now, really needs to get resolved. I do not know if it is every time, but this happens.
death.jpg
Notice the stacked bodies? Also the combat seems to quit reacting properly. I am getting hit, but nothing in the client log. I will try to find a common theme, but so far I have just done cursory glances at what could be causing it.
You do not have the required permissions to view the files attached to this post.
Resident Dirty Hippy

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

Re: Bring out your dead

Post by Gangrenous » Fri Mar 24, 2017 9:09 am

Okay, so more information. It seems to happen on your first death. If you level up, heal, camp and then restart the server you are okay. On the first death, you see the combat hits going on the client. Your energy is represented above your character. After the first death, the bar above your character quits working. Go into combat like this and you will die, and nothing shows as happening on the screen. The monsters do not swing and no activity under the client's combat window.
Resident Dirty Hippy

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Bring out your dead

Post by Jabantiz » Fri Mar 24, 2017 3:50 pm

I know of this issue but I can not reproduce it reliably, some report it happens all the time other it is rare, in my case it is rare and I can't figure out why it happens or why it seems to happen more often for some then others.

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

Re: Bring out your dead

Post by Gangrenous » Fri Mar 24, 2017 7:16 pm

Tried multiple zones, happens every time for me. Tried a new character, same thing. Tried reverting my source back to the first version I have of my source and did a /make clean and /make -j5 and same thing. Also, not just logging in and out fixes it. Zoning also fixes it.

If you set revive_points outside of your current zone, that does seem to fix at least some of the issues.
Resident Dirty Hippy

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

Re: Bring out your dead

Post by Gangrenous » Sat Mar 25, 2017 8:12 am

This fixes it... I am sure I can clean it up more, after I exercise and work on my yard I will edit the post.

Code: Select all

	//revive at zone safe coords
	if(!revive_point)
	{
		LogWrite(CCLIENT__WARNING, 0, "Client", "No Revive Point! Spawning player at safe coordinates!");
		x = GetCurrentZone()->GetSafeX();
		y = GetCurrentZone()->GetSafeY();
		z = GetCurrentZone()->GetSafeZ();
		heading = GetCurrentZone()->GetSafeHeading();
		zone_desc = GetCurrentZone()->GetZoneDescription();
		location_name = "Zone Safe Point";
		player->ClearEverything();
		Zone(GetCurrentZone()->GetZoneName(), false);
	}
Resident Dirty Hippy

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Bring out your dead

Post by Jabantiz » Sat Mar 25, 2017 3:10 pm

Xinux pointed me to probably the same function last night and after going over it that entire function doesn't make much sense and I think it need to be entirely reworked.

Also does this mean that there is only an issue when the zone has no revive points and everything works fine when there is a revive point?

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

Re: Bring out your dead

Post by Gangrenous » Sat Mar 25, 2017 3:29 pm

It only works when the revive point is in another zone. Trickling through it all, this is what it needs...

Code: Select all

ClientPacketFunctions::SendZoneChange
When that is sent, it seems to fix the issue. I do not know the code like you guys do, I am just experimenting at this point.
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: Bring out your dead

Post by Cynnar » Sat Jan 06, 2018 10:03 pm

Gangrenous wrote: Fri Mar 24, 2017 9:09 am After the first death, the bar above your character quits working. Go into combat like this and you will die, and nothing shows as happening on the screen. The monsters do not swing and no activity under the client's combat window.
I noticed that the fighting animation not working is back. I noticed it on the emu server while testing out Queen's Colony today. I did notice that I was doing damage while fighting, but the animation wasn't working.
[ 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

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Bring out your dead

Post by Jabantiz » Sat Jan 06, 2018 10:12 pm

Something really goes wrong after death as /bot customize stops working if you die and release (if you are rezzed there is no issues) and that command overwrites the three main structs temporarily, the fact that it stops working after a death means something is getting seriously broken when you revive.

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

Re: Bring out your dead

Post by Cynnar » Sat Jan 06, 2018 10:18 pm

It's not one of those areas that need to be rewritten is it?
[ 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

tyrbo
Team Member
Posts: 271
Joined: Thu Feb 18, 2016 12:33 pm

Re: Bring out your dead

Post by tyrbo » Sat Jan 06, 2018 10:25 pm

Cynnar wrote: Sat Jan 06, 2018 10:03 pm I noticed that the fighting animation not working is back. I noticed it on the emu server while testing out Queen's Colony today. I did notice that I was doing damage while fighting, but the animation wasn't working.
Not seeing that on my server at all. That's weird.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests