Ambrosia Software Web Board: Possible bug in multiplayer Ares - Ambrosia Software Web Board

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Possible bug in multiplayer Ares

#1 User is offline   Pallas Athene 

  • Lame space monkey
  • PipPipPipPipPip
  • Group: Members
  • Posts: 2,636
  • Joined: 27-February 00
  • Gender:Not Telling
  • Location:Omisha

Posted 23 March 2015 - 04:07 AM

Anyone able to test if a bug exists?

From #147 (Neutral death (maybe) causes crash in net game):

Quote

Here's a bug that I think exists:

Assume an asymmetric multiplayer level; call it "Yo Ho Ho Net". Both are playing the same race, and have set each other to different colors. One player starts with a liner that is marked "kNeutralDeath"; the other player doesn't have one. If the pirates succeed in neutralizing the liner, then I believe their game will crash, because they loaded the sprite to display the recolored liner, but not a neutral liner.

At a minimum, the following would be necessary to trigger the crash:

  • The opposing player is set to a different color (because they are the same race).
  • The object has kNeutralDeath and kCanThink, but not kIsDestination.
  • The object has a sprite but no spriteIDOverride.
  • Only the opposing player has the ship.
  • Nothing exists that could otherwise change the owner of the ship (like special EVATs).

...if the bug exists, it's no wonder that no one ever triggered it; there are a lot of prerequisites. On the other hand, "Yo Ho Ho Net" sounds fun :)/>/>


#2 User is offline   Lord Commander Anic 

  • Member
  • PipPipPipPip
  • Group: Members
  • Posts: 853
  • Joined: 27-September 00

Posted 14 May 2015 - 05:07 PM

The level does sound interesting.
If you upload the level, I could test for the bug in soliloquy mode (Two Macs, an ethernet cable and a beer).

Er, how did you manage to find this bug, i wonder...
Oh, so it is another bug hunt then...

#3 User is offline   Pallas Athene 

  • Lame space monkey
  • PipPipPipPipPip
  • Group: Members
  • Posts: 2,636
  • Joined: 27-February 00
  • Gender:Not Telling
  • Location:Omisha

Posted 16 May 2015 - 07:46 PM

I was looking through the code and didn't find anything that would load neutral-colored sprites for ships with kNeutralDeath. (I think through later investigation I determined that it would probably result in a wrong-colored ship rather than a crash)

I don't have a level to test with. It's really not such a huge issue, and even if it exists it's fixed in Antares now.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users