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=66350344&is=6633b1c4&hm=c9e8bce9c0cd5f0833cc62debf92f552c5fa35e485dcb0d51b0b36b301c795b3&
#
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=6634b336&is=663361b6&hm=0baa9394a15574ffb57d5bad565c98d3c0ef96b227fabf5917e9244d218fab81&