DayZ
CatchRain
PoPo  [developer] 10 Nov, 2021 @ 6:27pm
Bugs
.
< >
Showing 1-2 of 2 comments
Lewk.io 16 Jan, 2022 @ 3:22am 
NULL pointer to instance
Class: 'CCTWaterSurface'
Function: 'Can'
Stack trace:
scripts/4_World/classes\useractionscomponent\targetconditionscomponents\cctwatersurface.c:36
CatchRain\scripts\4_World/cacontinuousfill.c:19
scripts/4_World/classes\useractionscomponent\actioncomponents\cacontinuousfill.c:58
scripts/4_World/classes\useractionscomponent\animatedactionbase.c:66
scripts/4_World/classes\useractionscomponent\animatedactionbase.c:363
scripts/4_World/classes\useractionscomponent\actions\actioncontinuousbase.c:28
Crimson Zamboni 13 Mar, 2022 @ 8:03am 
Yep, this mod repeatedly generates the error reported in the previous comment every time a player fills a container with water at a pond or stream. Unfortunately, so many mod authors are lazy and don't look for the errors their buggy scripts generate.

https://i.imgur.com/lstQ71l.png

Most likely, all that needs to be done is to pass the player from the action data to the CCTWaterSurface "Can" method:

if(waterCheck.Can(action_target.m_Player, action_data.m_Target))
< >
Showing 1-2 of 2 comments
Per page: 1530 50