RPT errors using 1.9.1

Richie

Valued Member!
Hey Buttface,

I'm using 1.9.1 with Torndeco's mission script and have a few errors, not sure if these are mission related or DZAI related, I know you guys communicate so here's the error from my RPT

Code:
private "_ret";
 
if(count _this > 0) then
{
_ret = count _th>
16:56:13  Error position: <count _this > 0) then
{
_ret = count _th>
16:56:13  Error count: Type Bool, expected Array,Config entry
16:56:13 File z\addons\dayz_server\DZAI\compile\fn_selectRandom.sqf, line 16
16:56:15 "Purging player: 44258080# 775564: man_survivor.p3d"
16:56:16 Error in expression <m.sqf";

and also

Code:
private "_ret";

if(count _this > 0) then
{
_ret = count _th>
16:56:16   Error position: <count _this > 0) then
{
_ret = count _th>
16:56:16   Error count: Type Bool, expected Array,Config entry
16:56:16 File z\addons\dayz_server\DZAI\compile\fn_selectRandom.sqf, line 16
16:56:18 Server: Object 119:7 not found (message 89)
16:56:22 Error in expression <m.sqf";

The mission script doesn't alter that file but it does use it, any ideas what i can do to fix it ?
Players are reporting red desync chains when that's being logged
 
The root cause of this problem is related to something that is calling the select random function. Its likely something wrong with the mission part.

Sent from my Nexus 5 using Tapatalk
 
Torndeco says it's nothing used by his mission script, I'll post his reply :)

Thats an error with DZAI randomselect function...
Should have nothing todo with my mission system.

Plus am running with the latest DZAI & have no errors

I'll reply to his thread with your reply, thanks for the reply.
 
Try examining what's before and after the error to see what's causing the error in the function. I know for a fact the function works perfectly as much of DZAI depends on it.

Sent from my Nexus 5 using Tapatalk
 
Noticed the error after server been up for several hours...
Think it was 2.5 hours, so its slightly odd
Will attempt to debug if i get around to it & find some time.


Only thing my mission script does is use the
spawnBandits_custom.sqf
To spawn AI + has a trigger created with respawn variable set to false.
Other than that the mission script using setDamage to kill off spawned AI after a set period of time..

Got no clue why its happening to be honest...
 
Using setDamage to kill AI will throw off the way DZAI counts active AI spawns. Instead, kill off AI by doing this:

Code:
{
   [_x,_x] call DZAI_unitDeath;
} forEach (units _unitGroup);

Where _unitGroup is the reference to the AI group. The first _x is a reference to the victim unit, the second _x is a reference to the killer unit (in this case, it's a suicide).
 
hi there !

i got this spamming on the rpt.log using 1.9.1

Code:
>
7:06:49   Error position: <};
>
7:06:49   Error Missing {
7:06:49 File z\addons\dayz_server\system\server_monitor.sqf, line 372
7:06:49 Error in expression <_done = true;
publicVariable "sm_done";
};
>

oh an update to 1.9.2 sry didnt saw it buttface !
 
Last edited:
That's a pretty self-explanatory error message, you're missing an opening bracket { somewhere. Check all of the lines where you've made edits and see if you've accidentally removed any brackets.
 
so im having this same issue on 1.9.1.2 it is after i bring down a Heli is when this code seems to trigger. I am running DZAI server side. right before update did not have this issue.. compared files before and after the update (the fn_selectRandom.sqf file) and they are a match. Not sure whats going on with it :/

Btw: i do have AI land vehicle turned on.. dont think that would cause it though..
 
Can anyone provide a larger log sample of this error message. I'm more interested in what happens before and after this error.

I took down 3 helicopters and was not able to replicate this error. Found a minor unrelated bug though.
 
Still using 1.9.1. atm, but doesnt look like much changed in last update...

To reproduce the error u need to

Shoot Down Heli
AI survives the parachute jump
Player Kills AI from heli crash

U wont get the error if all AI dies from crash / fall.

I need to up the debug info since not much in the logs...
I assume its a bug in the find killer part of code.
 
After finding out the AI heli/vehicle patrols still use gradechances values (an array of probabilities) to generate a weapongrade value instead of an equipType value (a number), I'm certain that this is the source of the error messages. So when the AI helicopter is destroyed, the AI death script is expecting a number to generate a weapongrade value while it's being provided with an array of numbers instead.

So the reason I never encountered this error while testing is because I had already fixed this problem.

Consider this problem solved in the 1.9.2 update, which I'll upload within a few hours of this post.
 
Hey buttface sry for dont sending u the rpt.log .

I'm on a boat trip !

Gesendet von meinem GT-I9100 mit Tapatalk
 
Back
Top