Rubzen 1 Posted August 25, 2019 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
Maff 251 Posted August 25, 2019 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
Rubzen 1 Posted August 25, 2019 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
Rubzen 1 Posted August 25, 2019 Could it have anything to do with this? https://imgur.com/a/THuvYbO Share this post Link to post Share on other sites
Maff 251 Posted August 25, 2019 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
Rubzen 1 Posted August 25, 2019 I'll give that a test, thanks a lot! Share this post Link to post Share on other sites
Rubzen 1 Posted August 25, 2019 https://imgur.com/a/PPMuTS1 still not working 😞 Share this post Link to post Share on other sites
Rubzen 1 Posted August 25, 2019 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! 1 Share this post Link to post Share on other sites
Maff 251 Posted August 25, 2019 I'll take a look in the editor. 1 Share this post Link to post Share on other sites
Rubzen 1 Posted August 25, 2019 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
Maff 251 Posted August 25, 2019 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
Rubzen 1 Posted August 25, 2019 Did you try killing yourself in a heli aswell? Share this post Link to post Share on other sites
Rubzen 1 Posted August 25, 2019 Tried with "respawnOnStart = -1;" and it still shows up. Share this post Link to post Share on other sites
Rubzen 1 Posted August 25, 2019 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
Rubzen 1 Posted August 25, 2019 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
Michael Marsh 0 Posted October 14, 2019 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
ANZACSAS Steven 396 Posted August 28, 2020 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
pierremgi 4906 Posted August 28, 2020 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
ANZACSAS Steven 396 Posted August 29, 2020 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