Other mods bugs

Other mods bugs for Dayz

#
here I will publish errors that are not related to our mods but may interfere with the work of our mods
////
здесь я буду публиковать ошибки, которые не относятся к нашим модам, но могут мешать работе наших модов


#
-


#
-


#
-


#
-


#
-


#
ActionDestroyBBP NULL pointer to instance
Class:
Function: 'ActionCondition'
Stack trace: ActionDestroyBBP

> /scripts/4_world/disablebbpwindowraiding.c:4
find
modded class ActionDestroyBBP
{
override bool ActionCondition( PlayerBase player, ActionTarget target, ItemBase item )
{
BBP_BASE potentialWindow = BBP_BASE.Cast(target.GetObject());
if ( potentialWindow.isWindow() )return false;

return super.ActionCondition( player, target, item );
}
}

fix
modded class ActionDestroyBBP
{
override bool ActionCondition( PlayerBase player, ActionTarget target, ItemBase item )
{
BBP_BASE potentialWindow = BBP_BASE.Cast(target.GetObject());
if (potentialWindow && potentialWindow.isWindow() )return false;

return super.ActionCondition( player, target, item );
}
}



item, target, return, actiondestroybbp, player, potentialwindow, class, actioncondition, itembase, actiontarget, bbp_basecasttargetgetobject, suactioncondition, false, potentialwindowiswindow, bbp_base
#
SCRIPT (E): NULL pointer to instance
Class: DayZPlayerMeleeFightLogic_LightHeavy
Function: HandleFightLogic

> scripts/4_World/entities\manbase\dayzplayer\dayzplayermeleefightlogic_lightheavy.c:270
find
\scripts\4_World\Entities\ManBase\DayZPlayer\DayZPlayerMeleeFightLogic_LightHeavy.c
hcm.SetMeleeBlock(false);
edit
if(hcm)hcm.SetMeleeBlock(false);

or just throw the file fix_HandleFightLogic.c into your scripts 4_World



files fix_handlefightlogic.c?ex=66574a44&is=6655f8c4&hm=4e49e7ab0b59d9da7a41da91ef4b5afb8d64753d46affbcdd8241a74059a8124&
#
MapLink error MissionServer.c line 48
File error
_MapLink\scripts\5_Mission\mission\MissionServer.c line 48
find
int cid = UApi().db(PLAYER_DB).Load("MapLink", identity.GetId(), this, "LoadPlayerFromUApiDB");
to correct
Class cbInstance = this;
int cid = UApi().db(PLAYER_DB).Load("MapLink", identity.GetId(), cbInstance, "LoadPlayerFromUApiDB");


#
DayZExpansionAI
file error
DayZExpansion/AI/Scripts/5_Mission/dayzexpansion_ai\mission\missionserver.c(56): Can't find matching overload for function 'Print'
reason
problem with SyncRespawnModeInfo function
fix

ai_scripts_fix.pbo



files ai_scripts_fix.pbo?ex=6657a2f6&is=66565176&hm=1ad3b48ed39b022178f8131e93f192a6d9bd7fc7e8a21035d1dca4b041b3acdc&