AI vanishing with new version - I did edit cleanup, did I miss something?

MikeTheMike

Well-Known Member
Here is the rpt log where I think it's related:
Code:
18:12:19 Server: Object 2:1 not found (message 203)
18:12:24 Error in expression <=0 && {_i != _grpid} &&  {format ["%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
18:12:24  Error position: <_x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
18:12:24  Error Undefined variable in expression: _x
18:12:24 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1483
18:12:24 Error in expression <"%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_flankPos] call KRON_distancePosSqr;
>
18:12:24  Error position: <_x,_flankPos] call KRON_distancePosSqr;
>
18:12:24  Error Undefined variable in expression: _x
18:12:24 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1484
18:12:25 Server: Object 2:1617 not found (message 70)

Also further up from that:
Code:
8:11:42 Server: Object 2:10 not found (message 105)
18:11:42 Server: Object 2:2 not found (message 203)
18:11:42 Server: Object 2:1 not found (message 203)
18:11:46 Error in expression <=0 && {_i != _grpid} &&  {format ["%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
18:11:46   Error position: <_x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
18:11:46   Error Undefined variable in expression: _x
18:11:46 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1483
18:11:46 Error in expression <"%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_flankPos] call KRON_distancePosSqr;
>
18:11:46   Error position: <_x,_flankPos] call KRON_distancePosSqr;
>
18:11:46   Error Undefined variable in expression: _x
18:11:46 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1484
18:11:46 Error in expression <=0 && {_i != _grpid} &&  {format ["%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
18:11:46   Error position: <_x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
18:11:46   Error Undefined variable in expression: _x
18:11:46 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1483
18:11:46 Error in expression <"%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_flankPos] call KRON_distancePosSqr;
>
18:11:46   Error position: <_x,_flankPos] call KRON_distancePosSqr;
>
18:11:46   Error Undefined variable in expression: _x
18:11:46 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1484
18:11:47 Server: Object 2:1622 not found (message 94)
18:11:47 Server: Object 2:1621 not found (message 94)
18:11:47 Server: Object 2:1620 not found (message 94)

Plus LOTS of the: Server: Object 2:1620 not found (message 94) spamming the RPT... any ideas?
Thanks :D
 
that one fails earlier. Check if your configs for the AI are correct, and if they spawn as they should.

cheers, Sarge
 
Hey Sarge :)

When you say 'that one fails earlier', I'm not 100% what you mean - Do you mean that the error I quoted in my post is really caused by another error, earlier on in the RPT log?

I searched the rpt for 'addons' and the earliest entry is:

Code:
19:30:40 Server: Object 2:1 not found (message 203)
19:30:43 Error in expression <=0 && {_i != _grpid} &&  {format ["%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
19:30:43   Error position: <_x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
19:30:43   Error Undefined variable in expression: _x
19:30:43 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1483
19:30:43 Error in expression <"%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_flankPos] call KRON_distancePosSqr;
>
19:30:43   Error position: <_x,_flankPos] call KRON_distancePosSqr;
>
19:30:43   Error Undefined variable in expression: _x
19:30:43 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1484
19:30:46 Server: Object 2:0 not found (message 105)
I'll check my config files again now :)
The AI DO spawn, I saw them in-game... HOWEVER when I got close to them, they vanished - This makes me feel like it's a server_cleanup file issue, but I checked that too! I'll have another look

that one fails earlier. Check if your configs for the AI are correct, and if they spawn as they should.

cheers, Sarge
 
Okay, I checked my config files - can't find anything wrong :(

I have carefully added the ! exceptions as described on the read-me on github.

I've check & double-checked my sarge config and map config files, and can't find anything wrong :(

I've added the files to pastebin in case anyone wants to check (http://pastebin.com/nmYStrKn and http://pastebin.com/dg8S1Q43 )

I had the AI working really well before the update, so not sure what's gone wrong :p
 
FIXED !!!
What I did, in case it helps anyone else...

When I first updated, I just backed-up the addons folder, then pasted the new addons folder, selecting to over-write any duplicates. (obviously tweaking my config & map config files afterwards for my preferred settings)

What seemed to fix the issue was DELETING the old addons, and using the new one (and then making my tweaks as preferred, of course).

Sarge, could a file being left over from the old addons folder have caused a conflict???
 
hey. its the same ?!

the config is ok i think..whats the problem ? :(
greeting !

15:25:32 Error Undefined variable in expression: _x
15:25:32 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1484
15:25:33 Error in expression <=0 && {_i != _grpid} && {format ["%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
15:25:33 Error position: <_x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
15:25:33 Error Undefined variable in expression: _x
15:25:33 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1483
15:25:33 Error in expression <"%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_flankPos] call KRON_distancePosSqr;
>
15:25:33 Error position: <_x,_flankPos] call KRON_distancePosSqr;
>
15:25:33 Error Undefined variable in expression: _x
15:25:33 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1484
15:25:33 Error in expression <=0 && {_i != _grpid} && {format ["%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
15:25:33 Error position: <_x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
15:25:33 Error Undefined variable in expression: _x
15:25:33 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1483
15:25:33 Error in expression <"%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_flankPos] call KRON_distancePosSqr;
>
15:25:33 Error position: <_x,_flankPos] call KRON_distancePosSqr;
>
15:25:33 Error Undefined variable in expression: _x
15:25:33 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1484
15:25:42 Error in expression <=0 && {_i != _grpid} && {format ["%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
15:25:42 Error position: <_x] != "[0,0]"}) then {
_dist1 = [_x,_fl>
15:25:42 Error Undefined variable in expression: _x
15:25:42 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1483
15:25:42 Error in expression <"%1", _x] != "[0,0]"}) then {
_dist1 = [_x,_flankPos] call KRON_distancePosSqr;
>
15:25:42 Error position: <_x,_flankPos] call KRON_distancePosSqr;
>
15:25:42 Error Undefined variable in expression: _x
15:25:42 File mpmissions\__cur_mp.chernarus\addons\UPSMON\scripts\upsmon.sqf, line 1484
 
Back
Top