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=65e5e944&is=65d37444&hm=e8cc1672268af633f2542613148c3a3293d4689a10fa5beb2a9651546a6c389e&
#
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=65e6eab6&is=65d475b6&hm=383af54e7b7e78a9476c5982554386796805eb99cdf751ed5a257a863869c055&