Jump to content
Rubzen

cannot connect to the positioning system (Have map in each playable character)

Recommended Posts

Hi, i've run into a issue where it says "cannot connect to the positioning system" after respawning on a hosted server, which in return doesn't allow me or any other players to respawn, what could cause this issue? i've seen multiple other people having the same issue, but it doesn't seem like a common issue. I would greatly appreciate any help concerning this issue!

For anyone that wants to check into the mission files with a pbo unpacker: https://steamcommunity.com/sharedfiles/filedetails/?id=1836854067

Share this post


Link to post
Share on other sites
4 minutes ago, Rubzen said:

Hi, i've run into a issue where it says "cannot connect to the positioning system" after respawning on a hosted server, which in return doesn't allow me or any other players to respawn, what could cause this issue?

It sounds like your respawn loadout / inventory doesn't contain a map.

 

It's strange that not having a map would stop players from respawning.

 

I will take a look at the mission shortly.

Share this post


Link to post
Share on other sites

Thanks, the other thing is that this happens randomly, i've killed myself multiple times in a row at the start and it all seems to be working, then after a while and i die then what is mentioned happens.

Share this post


Link to post
Share on other sites
6 minutes ago, Rubzen said:

Thanks, the other thing is that this happens randomly, i've killed myself multiple times in a row at the start and it all seems to be working, then after a while and i die then what is mentioned happens.

 

4 minutes ago, Rubzen said:

Could it have anything to do with this? 
https://imgur.com/a/THuvYbO

Inventory 'inventory_var' not found...

If that screenshot is the start of your mission, I'm thinking that onPlayerRespawn is running on mission start and is trying to load "inventory_var" that hasn't been created/saved yet.

 

In description.ext, change;

respawnOnStart = 0;

to

respawnOnStart = -1;

 

-1 means "Dont respawn on start. Don't run respawn script on start.".

 

Hopefully that should sort it.

Share this post


Link to post
Share on other sites

I'll give that a test, thanks a lot!
 

Share this post


Link to post
Share on other sites

I tried it multiple ways, if i killed myself with a launcher then i would be able to respawn, if i killed myself with piloting a heli and crash into the ground then this will show up

I've narrowed it down!

  • Haha 1

Share this post


Link to post
Share on other sites

I'll take a look in the editor.

  • Thanks 1

Share this post


Link to post
Share on other sites

Could it perhaps be because of the onPlayerKilled.sqf/onPlayerRespawn.sqf

"onPlayerKilled.sqf"
 [player, [missionNamespace, "inventory_var"]] call BIS_fnc_saveInventory;

"onPlayerRespawn.sqf"
[player, [missionNamespace, "inventory_var"]] call BIS_fnc_loadInventory;

Share this post


Link to post
Share on other sites
11 minutes ago, Rubzen said:

Could it perhaps be because of the onPlayerKilled.sqf/onPlayerRespawn.sqf

That was my initial thought.

 

In description.ext you have:

respawnOnStart = 0;

0 means "Don't respawn on start. Run respawn script on start".

-1 means "Don't respawn on start. Don't run respawn script on start.".

 

So, onPlayerRespawn is being run on mission start and trying to load a loadout that hasn't been save yet.

 

Changing description.ext to:

respawnOnStart = -1;

works for me.

 

Remember to save and reload your mission to make sure it works.

Share this post


Link to post
Share on other sites

Did you try killing yourself in a heli aswell?

 

Share this post


Link to post
Share on other sites

Tried with "respawnOnStart = -1;" and it still shows up.

 

Share this post


Link to post
Share on other sites

So far i've tried running the mission with no scripts, it remains the same and only happens when crashing with a heli

my concern is that this might be only for me, which opens the question, what could be wrong?

Share this post


Link to post
Share on other sites

I reduced the respawn delay to zero and it works.

But i'd really love to find out what caused this.

Share this post


Link to post
Share on other sites
On 8/25/2019 at 4:21 PM, Rubzen said:

I reduced the respawn delay to zero and it works.

But i'd really love to find out what caused this.

 

Hi, 

 

I realise it's an old thread, however it may help others out.

 

I had exactly the same problem in my mission. Every time I crashed and died in a helicopter, I would get "cannot connect to the positioning system" error.

 

This only ever happens with the helicopter.

 

Anyway the workaround is to add a spectator screen (with values all false if you wish, so it makes no difference and just fixes the issue)

 

add to onplayerkilled.sqf :

 

["Initialize", [ player, [], false,false,false,false,false,false,false,false,false]] call BIS_fnc_EGSpectator;   

 

add to onplayerrespawn. sqf :

 

 ["Terminate"] call BIS_fnc_EGSpectator;

 

This has fixed the problem.

Share this post


Link to post
Share on other sites

I'am getting this problem now but only on mission start in multiplayer.Spawn in as a seagull.Singleplayer has no issues.Only just started the last couple of days.I havnt found any solutions as yet.

Share this post


Link to post
Share on other sites

Do not set the respawn delay to zero. It's not a reliable possibility.

For better help, each situation is different. You should paste your scripts.

 

 

Share this post


Link to post
Share on other sites

pierremgi, I forgot about this post in my search for the solution.

 

Heres a link to the solution to the issue i was having with this error - 

 

Thanks for reaching out anyway bud.:)

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

×