I am confused by the results of a very simple MP test map.
* two playable soldiers placed in the editor: named player1 and player2
* in the init line of player1: [1] exec "start.sqf";
* in the init line of player2: [2] exec "start.sqf";
start.sqf looks like this:
The delay is there to be able to get two different hints, since a hint does not expand a previous hint, but edges it out.Code:_value = _this select 0; ~_value hint format ["%1",_value]; exit;
I'm testing it on one computer with two instances of Arma, which allows to join a LAN-server with the same ID.
Mkay, here it goes. It may be a bit confusing at the first glance, but it is very simple at all:
When I start the server (not dedicated, look above) and enter the world with as one of the soldiers and the A.I. is ENabled in the lobby, then of course I have this result:
one second after start I see the text "1"
two seconds after start I see the text "2"
So far, so fine. Everything is clear to me.
Then I start another instance of Arma and join my first instance. In this second instance I select player2 in the MP lobby (player1 is occupied, of course).
Question 1: While I am player2, that joined the server that is already running, I only get the hint "1" on my screen. I rather would have expected to see hint "2" ONLY. Why does player2 see the hint of the player1-init-line, which is not local for player2, but does not see his own init-line-hint?
When I 'jip' the server as player2 (player1 is the host) and the A.I. had been DISabled in the MP lobby, then I see hint "1" and one second later "2".
Question 2: Why does a client, that joins later by JIP, execute the init-line of a unit, that is not local to the JIP'er?
All this is so confusing
PS. This setup has no real purpose and is just there for testing and understanding.
HOME 
Reply With Quote