URL:
  <http://gna.org/bugs/?11232>

                 Summary: ASSERT violated in object/physical_obj.cpp:146:
Missed assertion "m_last_collision_type == NO_COLLISION"
                 Project: Wormux
            Submitted by: gentildemon
            Submitted on: dimanche 09.03.2008 à 23:16
                Category: Network
                Severity: 5 - Blocker
                Priority: 7 - High
                  Status: None
             Assigned to: gentildemon
        Originator Email: 
             Open/Closed: Open
                 Release: 0.8-svn
         Discussion Lock: Any

    _______________________________________________________

Details:

This assert has been introduced to help fixing bug #10668.

If the active character dies, it explodes. Explosion are synchronized over
the network and before sending explosion information, we synchronize
characters information.

Thus, if the active character dies by colliding on the ground, as explained
in #10668, during the collision, he is in unstable state and we send those
unstable information through the network, it's BAD!!!

Here is the backtrace:

 #3  0x0816371e in MissedAssertion (filename=0x81a9e7f
"object/physical_obj.cpp", line=146, message=0x81a9ffc "m_last_collision_type
== NO_COLLISION")
    at tool/error.cpp:53
#4  0x08140cdd in PhysicalObj::StoreValue (this=0xa9183b0, a=0xbfb2af78) at
object/physical_obj.cpp:146
#5  0x080625dc in Character::StoreValue (this=0xa9183b0, a=0xbfb2af78) at
character/character.cpp:845
#6  0x080c2ddb in Action::StoreCharacter (this=0xbfb2af78, team_no=1,
char_no=5) at include/action.cpp:335
#7  0x0817c836 in ApplyExplosion_master ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], fire_particle=true, smoke=ParticleEngine::BigESmoke, 
    [EMAIL PROTECTED]) at weapon/explosion.cpp:248
#8  0x0817d6d2 in ApplyExplosion ([EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], fire_particle=true, smoke=ParticleEngine::BigESmoke, 
    [EMAIL PROTECTED]) at weapon/explosion.cpp:285
#9  0x080654d1 in Character::Die (this=0xa9183b0) at
character/character.cpp:344
#10 0x08065187 in Character::SetEnergy (this=0xa9183b0, new_energy=-14) at
character/character.cpp:322
#11 0x08065dff in Character::SetEnergyDelta (this=0xa9183b0, delta=-16,
do_report=true) at character/character.cpp:283
#12 0x080639de in Character::SignalCollision (this=0xa9183b0) at
character/character.cpp:679
#13 0x08142ab1 in PhysicalObj::CollideOnGround (this=0xa9183b0,
[EMAIL PROTECTED]) at object/physical_obj.cpp:390
#14 0x08142bc4 in PhysicalObj::Collide (this=0xa9183b0, collided_obj=0x0,
[EMAIL PROTECTED]) at object/physical_obj.cpp:356
#15 0x081432ca in PhysicalObj::NotifyMove (this=0xa9183b0, oldPos={x =
2275.4839585541908, y = 1844.1662293031775}, newPos=
      {x = 2294.0978303580882, y = 1844.6462293031775}) at
object/physical_obj.cpp:342
#16 0x081460af in Physics::RunPhysicalEngine (this=0xa9183b0) at
object/physics.cpp:470
#17 0x081421de in PhysicalObj::UpdatePosition (this=0xa9183b0) at
object/physical_obj.cpp:442
#18 0x08063e9c in Character::Refresh (this=0xa9183b0) at
character/character.cpp:538





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?11232>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to