Bring out your dead
Moderator: Team Members
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Bring out your dead
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.
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.
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
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Bring out your dead
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
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.
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Bring out your dead
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.
If you set revive_points outside of your current zone, that does seem to fix at least some of the issues.
Resident Dirty Hippy
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Bring out your dead
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
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?
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?
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: Bring out your dead
It only works when the revive point is in another zone. Trickling through it all, this is what it needs...
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.
Code: Select all
ClientPacketFunctions::SendZoneChangeResident Dirty Hippy
- 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
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.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.
[ 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
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
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.
- 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
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
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
Not seeing that on my server at all. That's weird.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.
Who is online
Users browsing this forum: No registered users and 0 guests