Alef/nocdkey – User

From Bohemia Interactive Community
Jump to navigation Jump to search
 
mNo edit summary
Line 1: Line 1:
==How to run 2 ArmAs on the same PC==
==How to run 2 ArmAs on the same PC==
Need a crafted ''ws2_32.dll'', which returns ''WSAHOST_NOT_FOUND'' in ''gethostbyname()'' for ''armedass.master.gamespy.com'' or ''armedass.available.gamespy.com'' if -nokey is given on the server (-host) command line.
<pre>
Editor/Server:
\ArmA\arma.exe -window -nosplash -world=empty -nopause -host -nokey
Client:
\ArmA\arma.exe -window -nosplash -world=empty -nopause -connect=localhost
</pre>

Revision as of 17:58, 5 December 2008

How to run 2 ArmAs on the same PC

Need a crafted ws2_32.dll, which returns WSAHOST_NOT_FOUND in gethostbyname() for armedass.master.gamespy.com or armedass.available.gamespy.com if -nokey is given on the server (-host) command line.

Editor/Server:
\ArmA\arma.exe -window -nosplash -world=empty -nopause -host -nokey

Client:
\ArmA\arma.exe -window -nosplash -world=empty -nopause -connect=localhost