Developer: Slavemaster aka TopLayer
List of fixes:
- NPC going unconscious when using a MOBSI object works correctly;
- Fixed some inventory errors that caused items to disappear and other annoyances;
- Fixed the oCNpcInventory::GetAmount function underlying the widely used Npc_HasItems function in scripts;
- Function oCNpc:
utInInv correctly removes a burning torch from the world;
- The hero now does not execute the player's commands that came before the completion of all previous ones (for example, the hero will not uncontrollably change the sword to the bow and vice versa several times);
- Fixed a crash due to the uninitialized world property of the AI object of the activated NPC;
- Fixed bugs when loading starts while talking or looting.
New options in Gothic.ini:
[ZBUGFIXES]
PackStringFix=1; ... fixes inventory bugs related to packString usage (such as items disappearence)
GetAmountFix=1; ... fixes oCNpcInventory::GetAmount function, which is widely used in scripts and can return wrong results
PutInInvFix=2; ... fixes oCNpc:

utInInv function, which doesn't remove burning torches from the world properly; 0 - fix disabled; 1 - fix enabled; 2 - fix enabled but not for Archolos mod
EventThrottling=1; ... throttles some types of input messages in hero's AI queue to preserve his long-lasting starvation; ex., changing sword to bow and bow to sword several times without ability to interrupt; the option value (if not zero) is number of player's commands in AI queue when throttling starts
EnableNpcFix=1; ... fixes a crash due to the uninitialized world property of the AI object of the activated NPC
ClearCriticalStates ... fixes bugs when loading starts while talking or looting