nuxil   2 Posted August 17, 2008 Hi all.. im woundering if its possible to test for Mp compabiety on same pc by running 2 armas at the same time.. host a mission with one. and join the mission with the other arma started up.. i tried this but get a message about cd key is use. is it not possible? Share this post Link to post Share on other sites
mrcash2009 Â Â 0 Posted August 17, 2008 Don't think it is, one copy per machine. You need to try over LAN with a second PC / laptop connected. Also, how can you realy test on the same PC you cant be in both instances at once? Share this post Link to post Share on other sites
nuxil   2 Posted August 17, 2008 Quote[/b] ]Don't think it is, one copy per machine. what you mean? one cd key pr machine? if so,, it should be possible, since its the same machine,, Quote[/b] ]Also, how can you realy test on the same PC you cant be in both instances at once? running simple tests. as example.. p1 and p2 is the name of the players,, <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _t1=false;_t2=false; if (isplayer p1) then {_t1=true;}; if (isplayer p2) then {_t2=true;}; hint format["%1\n%2",_t1,_t2]; Quote[/b] ]You need to try over LAN with a second PC / laptop connected. i dont got a 2nd pc Share this post Link to post Share on other sites
norrin   9 Posted August 17, 2008 You can do it.  All you need to do is disconnect from the internet before you start the server.  In fact I was just explaining how to do this to some one yesterday. This is what I said: "All you need to do is start the game in windowed mode (put –window in the target line of your ArmA shortcut - this makes it easier to switch between instances of the game).  Then start a second instance of the game on your PC (ie. Run the game again so you have 2 ArmA games running on your PC - you need a reasonable computer to do this).  Disconnect your computer from the internet (otherwise it won’t work as you a get duplicate CD key error). Then in the first instance of ArmA you are running go to the MP screen and start a local server.  In the second instance of ArmA go to the MP screen switch to LAN games and your just created server should appear in your list and connect.  You now have two games of arma running the same mission on the same server on your computer and you can just alt-tab between the two instances. This is really great for testing MP missions because what happens on the second instance, the one which joined the server, is almost identical to what happens on a dedicated server so perfect for testing scripts, triggers etc. The other great thing is once you’ve started the server on the first instance of ArmA you can reconnect to the net if you need to check the BIKI for script and code info.  In a similar way you create a dedicated server on your PC and then connect to it.  Using my laptop and my desktop PC I’ve had four instances (the same as 4 players) all playing/testing the same mission and scripts using the same CD key." I hope this makes sense. Here's a thread where a few people discussed this technique: http://www.flashpoint1985.com/cgi-bin....=norrin Share this post Link to post Share on other sites
december   0 Posted August 17, 2008 You don't have to do all that. Just run the game as a server then start up the game as usual and join your own server in the MP options. I do it all the time to test missions. Share this post Link to post Share on other sites
Curious   0 Posted August 18, 2008 Thanks alot I was going to ask this too today.  Wait ....am still getting the CD Key with the sever way. edit : worked, just had to turn off router. Too bad you cant record something with FRAPS and do another thing in the other, its doesnt capture it. Share this post Link to post Share on other sites
nuxil   2 Posted August 18, 2008 there seams to be some issues doing this,, it doesnt work 100%. i made a test mission to test it. http://www.flashpoint1985.com/cgi-bin....t=75056 Cameras and 2x arma  crashes the server dont know if anyone else has the same issue Share this post Link to post Share on other sites
alef   0 Posted August 18, 2008 For an network unplugged PC, in file C:\windows\system32\devices\etc\hosts, add these lines <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">. armedass.master.gamespy.com . armedass.available.gamespy.comIf you put 127.0.0.1 instead of dots, you will be kicked off. Start the editor/server with <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">-window -nopause -host and clients with <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">-window -nopause -connect=localhost The mission directory you want to edit must be in My Documents\ArmA\MPMissions. It will appear in green font in the mission selection list. Clients will see the server in "Editing" mode. As you click "Preview", clients will get into the lobby. You may get a error after downloading the mission file. This can maybe be solved using two different users or some env settings, will see. The nice thing is the packing happens after the lobby page, so you can edit your scripts without cycling to the edit page. Edit: I've made a ws2_32.dll replacement which returns WSAHOST_NOT_FOUND in gethostbyname() for armedass.master|available.gamespy.com if -nokey is given on the server (-host) command line. It works! No need to disconnect the Internet. Don't know if hits works on Vista. Share this post Link to post Share on other sites
nuxil   2 Posted August 19, 2008 alef thanks for you effort. and your findings.. i found -nopause to be verry helpful. im gonna save this page to my pc for later use Share this post Link to post Share on other sites