Page MenuHomeFeedback Tracker

getMissionPath command not working correctly on dedicated MP servers
Closed, ResolvedPublic

Description

getMissionPath command always returns mpmissions\__cur_mp.altis\ for dedicated multiplayer missions instead of the correct mission name (in this case mpmissions\test.Altis
)

Hosted MP mission:

Dedicated MP mission:

Details

Severity
None
Resolution
Not A Bug
Reproducibility
N/A
Operating System
Windows 10 x64
Operating System Version
21H2
Category
Dedicated Server

Event Timeline

blackfisch changed Severity from None to Minor.

your second screenshot executes on the client. to get server execution you need to put it in the larger field and press server exec

your second screenshot executes on the client. to get server execution you need to put it in the larger field and press server exec

I am aware of this. This was actually intentional, since my goal is to spawn local p3d's with createSimpleObject
I will test later, if server execution returns the correct path and if so, if spawning it server side works (as a workaround at least).
Still I'm convinced with client side execution the path should still be correct. If I'm not mistaken this was the behaviour when the command was initially introduced

If I'm not mistaken this was the behaviour when the command was initially introduced

¯\_(ツ)_/¯ Then you are mistaken

Okay so apparently it was totally my fault and I somehow managed to break things with a control character in the filename. Sorry for bothering you KK and thanks for the reply. You can mark this as a non-issue

blackfisch updated the task description. (Show Details)Jul 30 2022, 9:06 PM
blackfisch changed Severity from Minor to None.
blackfisch changed Reproducibility from Always to N/A.
blackfisch edited Steps To Reproduce. (Show Details)
BIS_fnc_KK closed this task as Resolved.Jul 30 2022, 10:10 PM
BIS_fnc_KK changed Resolution from Open to Not A Bug.