Jump to content
pSiKO

strange error message "Tried to AccessTargetList ... which will hurt clientside performance"

Recommended Posts

hi all Arma coders,

I face a strange issue in my mission, in the server log, I've got this message:
 

Tried to AccessTargetList for non-local AI group while non-local targeting was disabled!
Engine will now enable non-local targeting which will hurt clientside performance.

 

I really don't know what can cause this, (even with -debug), and searching on the Internet don't give me any clue!


is someone could explain me what this message mean, and (crossed fingers) what can cause this ?


I suspect a bad usage of reveal, knowsAbout or doTarget commands, but because I'm not understand what happen I can't solve this

thanks you all
 

Share this post


Link to post
Share on other sites
1 hour ago, pSiKO said:

hi all Arma coders,

I face a strange issue in my mission, in the server log, I've got this message:
 

Tried to AccessTargetList for non-local AI group while non-local targeting was disabled!
Engine will now enable non-local targeting which will hurt clientside performance.

 

I really don't know what can cause this, (even with -debug), and searching on the Internet don't give me any clue!


is someone could explain me what this message mean, and (crossed fingers) what can cause this ?


I suspect a bad usage of reveal, knowsAbout or doTarget commands, but because I'm not understand what happen I can't solve this

thanks you all
 

 

you used "disableRemoteSensors TRUE" and then you used an AI getter command like "knowsAbout" or "targets" or "getattacktarget" or something. the getter only works if remote sensors are enabled. so instead of returning nothing, the getter enabled remote sensors and returned the desired result.

 

@Dedmen might correct me or elaborate more on the issue

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

thanks QuickSilver,

that make sense, I understand a bit better 🙂


you point me in the right direction, (re reading disableRemoteSensors documentation help me)
 

if I enable the remote sensor (on client/server) will there be a huge impact on performance?

 

Share this post


Link to post
Share on other sites

so, I follow your advice,

 

I put:

disableRemoteSensors false;

 

in the main init.sqf

 

I comment almost all reveal/doTarget in my code, but I still have this message in log (only on server)
 

What can I do to investigate further ?

 

is there a list of command (AI getter) that can access to AccessTargetList ?

 

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×