Forums » Bugs

Wrong session id after being killed while docked at cap ship

Jun 25, 2011 draugath link
During a Large Border Skirmish, I was recently killed either while onboard a capship that was exploding or while launching from the capship, but before the launch cinematic was displayed.

It was a rather odd series of events, so I'm not sure what exactly may have caused it.

I had docked at a TPG Constellation Heavy Transport which had 4% armor remaining and a Teradon with it's nose directly against the Constellation firing it's big cannons. I quickly pressed the hotkeys for repair and reload, and then I pressed Launch. Right as I pressed Launch the screen went black (I think) and I got the message "draugath is having issues" and I was sent back to Deneb where I proceeded to attempt to use the Buyback dialog to buyback my last ship. The buyback process seemed to have frozen, so I clicked cancel, assuming it had been caused by present work on my Ledger plugin that was centered around proper reporting of ship buybacks while in a Border skirmish.

When I was back in the station with the station interface displayed I found out that I couldn't buy any new ships at all. Review of my errors.log file presented the following excerpt:

---------------------------------------------------------------
[Sat Jun 25 09:34:17 2011] You are now in *IDV Osh.
Event: CHAT_MSG_CONFIRMATION - Data:
1: (table) msg="All ammo in active ship purchased for a total price of 0c."
[Sat Jun 25 09:34:18 2011] All ammo in active ship purchased for a total price of 0c.
Event: CHAT_MSG_CONFIRMATION - Data:
1: (table) msg="Ship repaired for a total price of 0c."
[Sat Jun 25 09:34:18 2011] Ship repaired for a total price of 0c.
Event: CHAT_MSG_SECTORD_MISSION - Data:
1: (table) missionid=0,msg="452 casualties taken due to loss of *IDV Osh, 1548 remaining before retreat."
[Sat Jun 25 09:34:18 2011] 452 casualties taken due to loss of *IDV Osh, 1548 remaining before retreat.
[Sat Jun 25 09:34:18 2011] draugath is having issues.
Event: PLAYER_DIED - Data:
1: (number) 189776
2: (number) 189776
3: (number) 0
check_for_skirmish() end
check_for_skirmish() printvars
stored_purchases: ""
last_purchase: 4586
buyback: false
mission_faction: 1
mission_reimburse_ship: "Ragnarok MkIII"
mission_title: "Large Skirmish"
current_ship: "Ragnarok MkIII"

Event: INVENTORY_REMOVE - Data:
1: (number) 4456
Event: INVENTORY_REMOVE - Data:
1: (number) 4461
Event: INVENTORY_REMOVE - Data:
1: (number) 4465
Event: INVENTORY_REMOVE - Data:
1: (number) 4464
Event: INVENTORY_REMOVE - Data:
1: (number) 4463
Event: INVENTORY_REMOVE - Data:
1: (number) 4450
Event: INVENTORY_REMOVE - Data:
1: (number) 4454
Event: INVENTORY_REMOVE - Data:
1: (number) 4455
[Sat Jun 25 09:34:19 2011] You are entering Deneb O-3
[Sat Jun 25 09:34:21 2011] People in the room: Shugi Kroto, draugath, Mulle Barap
[Sat Jun 25 09:34:21 2011] You are now in Ellias Stand (Itani Barracks).
Wrong session id: got 0 but wanted 16
[Sat Jun 25 09:34:22 2011] *** *IDV Osh has left the group.

---------------------------------------------------------------

I will attempt to reproduce the error. But I get the feeling that it will be an error that is hard to reproduce.
Jun 25, 2011 PaKettle link
sounds like a race condition where the server saw the events

launch ship
Player died
Ship launched

Gonna be tough to reproduce it.