Gothic 1 Classic

Gothic 1 Classic

112 ratings
zBugFixes (deep level fixes)
   
Award
Favorite
Favorited
Unfavorite
Type: Addon
Category: Utility
Tags: Union, Plugin
File Size
Posted
Updated
188.685 KB
25 Oct, 2023 @ 6:56am
24 Apr @ 11:08am
5 Change Notes ( view )

Subscribe to download
zBugFixes (deep level fixes)

Description
The plugin contains fixes for some bugs in the Gothic engine.

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::PutInInv 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;
  • Fixed sound identifiers assigning algorithm, preventing crashes due to descriptor leaks.

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::PutInInv 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 ClearCriticalStatesOnLoad=1 ; ... fixes bugs when loading starts while talking or looting
13 Comments
McMoonin 12 Oct @ 7:22am 
жоска
󠀡󠀡⁧⁧hattori 7 Oct @ 1:38am 
жоска
zelgadis115 10 Sep @ 5:50am 
Please be careful when using the BetterTorches with this mod.
Due to PutInInvFix=2 or PutInInvFix=1 setting under zBugFixes, Torches might disappear from your Inventory each time you use a Torch hotkey.
Set it to PutInInvFix=0 instead, and it should work fine
Korsar Classic 25 Aug @ 11:38am 
жоска
DarkWorker 21 Aug @ 1:55pm 
жоска
Tony_Dragni 13 Aug @ 4:07pm 
жоска
ego986jk 3 Aug @ 8:46am 
жоска
Berserk 19 Jul @ 8:01am 
жоска
Dwoorf 24 Jan @ 6:04pm 
жоска
Dima5107 7 Jan @ 12:18pm 
жоска