Author Topic: Ships trying to attack themself  (Read 1692 times)

0 Members and 1 Guest are viewing this topic.

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Ships trying to attack themself
Had this happen a couple of times now in TBP.  I get the following:

Int3(): From e:\storage\fso\fs2_open\code\ai\aicode.cpp at line 3306

Code: [Select]
if (attacker == attacked) {
Int3(); // Bogus!  Who tried to get me to attack myself!  Trace out and fix!
return;

Don't know if it's a bug or just a fluke that happens now and then.  I can play the same mission for days and not get it then all of sudden it pops up out of nowhere.  Just played a mission I played several times over the last couple of days and half an hour or so into it (and of course just when I'm about at the end) it pops up. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Re: Ships trying to attack themself
I wouldn't be called the EAC Ouroboros, would it?
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Ships trying to attack themself
Nope.  Brand new mission and only one EA cap ship in it and some thunderbolts. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

  

Offline Flipside

  • əp!sd!l£
  • 212
Re: Ships trying to attack themself
I now get visions of Alpha 2 punching himself in the chin....

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Ships trying to attack themself
Stophittingyourselfstophittingyourselfwhyareyouhittingyourself stopitstophittingyourself
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Ships trying to attack themself
I take it from the humorous nature of the replies that this isn't a real problem then. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Ships trying to attack themself
It definitely shouldn't be happening. I think one solution might be to change the Int3() to a debug log entry (or at least have one preceding the Int3(). That way we can at least check if it is always the same ship class attacking itself.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Ships trying to attack themself
I have a feeling it's either an AI class thing or the good old TBP Gunship ship type.  Probably a combination of the two.  First time I saw it was right after a wing of Drakh Raiders warped in.  At least one of them had an AI of Captain instead of DH Pilot. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras