Project

General

Profile

Bugs #471

closed

When you die and start a new game your entire inventory can go to the new game

Added by Haios Alumiren over 6 years ago. Updated almost 6 years ago.

Status:
Done
Priority:
Normal
Assignee:
Category:
Code
Target version:
Start date:
2015-11-15
Due date:
% Done:

0%

Estimated time:

Description

This was with shifter enabled. I did most of the intro mission down to reporting to Manderly. After he killed me, I started a new game, but had all of my gear from the previous one. The basic new game inventory spawned on top of the old inventory. It was not repeatable.


Files

Shot0081.jpg (111 KB) Shot0081.jpg Haios Alumiren, 2015-11-15 05:07
#1

Updated by Björn Ehrby over 6 years ago

  • Status changed from New to Triaged
  • Priority changed from Undecided to Normal

We think this is due to having a weapon out when dying, can you try and verify if it happens all the time with a weapon out?

#2

Updated by Haios Alumiren over 6 years ago

I can confirm that it happens 100% of the time when you have a weapon out and die. And it did not happen while unarmed.

#3

Updated by Hawk Bird over 6 years ago

Try moving

SetInHandPending(None);
SetInHand(None);

Above the part where you destroy the inventory in DeusExPlayer.ResetPlayerToDefaults

#4

Updated by Hawk Bird about 6 years ago

Well scratch all of this, I didn't fix it.

From what I found, this only happens if the player dies, while holding a weapon.

I appear to have fixed this by just making sure nothing's in the player's hand and deleting the player's inventory on death. From my experience with the phoenix glitch it seems that the game keeps your inventory on you, in ghost form at least.

When you die your inventory goes to both yourself and your carcass (or something). Upon looting your carcass you gain all of your weapons, but your ammo is reset to defaults (plus the randomized ammo from the carcass). But, if you don't loot your carcass and open your inventory you appear to have nothing. BUT if you don't loot your carcass and leave the map, you DO have your inventory, so for some reason you do actually have it, but it's not displayed until map change.

#5

Updated by Hawk Bird almost 6 years ago

  • Status changed from Triaged to Done
  • Assignee set to Hawk Bird
  • Target version set to 1.1.1

Also available in: Atom PDF