BugID: 559 (Scatman) Breathing

Old bugs stored here for reference.
Locked
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

BugID: 559 (Scatman) Breathing

Post by John Adams » Sun Jul 24, 2011 4:11 pm

Bug ID: 559 - Breathing
Bug Date: 2011-07-14 15:16:50
Priority: Critical

Originated From World: EQ2Emu DB Project (906)
Category: Mechanics
Sub-Category: Other
Causes a Crash: Affects gameplay
Reproducible: Always Happens
Version: SOEBuild=6563L

Details:
Running out of breath under water is almost instantaneous!
Spawn: N/A (0), Zone: FrostFang Sea

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: BugID: 559 (Scatman) Breathing

Post by John Adams » Sun Jul 24, 2011 4:12 pm

Entered on Jul 24, 2011 16:07 by John Adams
Breathing underwater seems to still function properly on 5040/6118 clients, only sped up on Halas (SF) clients.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: BugID: 559 (Scatman) Breathing

Post by John Adams » Thu Jul 28, 2011 8:47 pm

I have exhausted my searching for Breathing, Swimming, Surfing, Snorkling, or whatever cute variable name LE might have named merely being in water (and UPDATE_ACTIVITY_IN_WATER_BELOW is nowhere in the code aside from the define!) so I need a pointer... Where the hell do we monitor player in water, underwater, while their breathing bar goes down?

Does the client handle all that, and only shoot a command back when we're out of air? If so, how can our world allow normal speed breathing underwater with 6118L and rapid insta-drown with 6563?

Scatto?


PS: I'm suspecting this may be a character sheet value maybe added in the newer clients? maybe it's a mistaken low value, so the player runs out of air instantly? If so, I think we need to bypass drowning for 1096+ data clients for now :/

User avatar
Sylva1n
Posts: 271
Joined: Tue Mar 24, 2009 3:03 pm
Location: Quebec, Canada

Re: BugID: 559 (Scatman) Breathing

Post by Sylva1n » Thu Jul 28, 2011 9:12 pm

I noticed the same thing last week on client 6667L

User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Re: BugID: 559 (Scatman) Breathing

Post by Scatman » Mon Aug 01, 2011 5:13 pm

A drowning player is first found and removed in Player::ProcessMovementData(). It basically adds it to a list in the zone, and that list is processed every so often until you die or you're removed from the list. The client will basically tell the server when you are drowning. So for SF, like you said, a char sheet value may have changed or they meant to process drowning a lot slower than they used to.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: BugID: 559 (Scatman) Breathing

Post by John Adams » Mon Aug 01, 2011 6:23 pm

k, well CharacterSheet is somewhere I am not brave enough to go into..., SF client players, don't go swimming ;)

User avatar
Zcoretri
Team Member
Posts: 1642
Joined: Fri Jul 27, 2007 12:55 pm
Location: SoCal

Re: BugID: 559 (Scatman) Breathing

Post by Zcoretri » Sun Jul 29, 2012 10:28 am

Jabantiz committed a fix for this for 1096 clients. The value is currently hard coded. What needs to be added is support for underwater breathing spells.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests