Jump to content
Sign in to follow this  
1para{god-father}

moving to dedi box some advice

Recommended Posts

We are mving to a dedi server - and all my missions use the following :-

if (isServer) then {

blar blar blar

};

Will this still work or do I now need to change this all to isDedicated to get it to work ?

Share this post


Link to post
Share on other sites

You should definately not change it to isDedicated, then it will not work for hosted servers. If the machine isDedicated then it is also a server. You might run into trouble elsewhere though. If you use 'player' or the like (eg. playerSide) inside those if statements it will not work properly since a dedicated server has no player.

Share this post


Link to post
Share on other sites
You should definately not change it to isDedicated, then it will not work for hosted servers. If the machine isDedicated then it is also a server. You might run into trouble elsewhere though. If you use 'player' or the like (eg. playerSide) inside those if statements it will not work properly since a dedicated server has no player.

Many thanks

it all works appart from this i have installed CBA and it is working but it does not create the marker , if i run it on ahosted server it works fien , any idea why it would not work on a dedi box ?

 		 _vehicleambush=task1;
	_marker1 = ["MissionAO",getpos _vehicleambush,"PERSIST"] call CBA_fnc_createMarker;

It looks like it is no even creatring a marker:-

if i put


_marker = ["TESTP", getpos _vehicleambush, "Rectangle", [500, 500], "COLOR:", "ColorYellow", "PERSIST"] call CBA_fnc_createMarker;

it works on hosted but will not work on dedi , any reason wht a dedi would be diffrent ? -

Edited by psvialli

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
Sign in to follow this  

×