Jump to content
Sign in to follow this  
bubbashrimps

Testing server on the same machine

Recommended Posts

Hello all,

I am using patch 1.08.

I am trying to test my server using the same machine where game is installed. I am able to enter in the server, however, "Wait for Host" remains on the screen.

I have a feeling that I can't run server and client on the same machine. Hope that I am wrong sad_o.gif

Share this post


Link to post
Share on other sites

Trying logging in as admin and selecting a mission, that should solve the problem. If you don't have a mission list entered it will just sit at wait for host I believe until you log in as an admin and select one to load.

Share this post


Link to post
Share on other sites
Trying logging in as admin and selecting a mission, that should solve the problem.

As far as i understand he doesn't even get into the server, so login as admin is not possible.

Besides, I doubt you can run two ArmA instances on the same machine.. never tried it myself but i'd guess you're out of luck here.

my .02$

Share this post


Link to post
Share on other sites

Thanks guys for the replies.

daikan is right, I can't get an access to the server

I am not running two threads of Arma (unless dedicated server Arma_server.exe is also a whole game itself)

Share this post


Link to post
Share on other sites

you can run server and game on same machine, from what I used to do you had to run the game in window mode.

Share this post


Link to post
Share on other sites

No problem running a server and a game on the same PC I do it all the time.

What server config do you use do you have it set up properly?

IF you have waiting for host then I think Loyalguard is correct. Try voting yourself admin, assuming you have connected to your server.

Share this post


Link to post
Share on other sites

If you have double cpu's or cores you can set the affinity so the dedicated is in one and arma on the other.

Share this post


Link to post
Share on other sites

Thanks guys for the replies.

I will post my server config when I will be at home.

Quote[/b] ]

f you have double cpu's or cores you can set the affinity so the dedicated is in one and arma on the other.

How can I force server to use one core and Arma the other core?

Share this post


Link to post
Share on other sites

There is a program out there, but you can also open up the taskmanager (ctrl-alt-del) and in processes you rightclick the correct process and choose "set affinity".

I havent tried this myself so I'm not promising anything, but I read about it somewhere in this forum. He used a dedicated server on one of his cores and gained some FPS by that playing missions alone in MP as SP. Untested by me.

Share this post


Link to post
Share on other sites

Thanks guys for helping me out. I am able to get into the server from my laptop. I will figure out that why I can't acess from the same machine later

Here is my server config file:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

passwordAdmin = "blah"; // password to protect admin access

hostname="Blah Server";

logFile = "server_console.log";

motd[]=

{

"Welcome to Blah ARMA server.",

"Please respect other players, and follow the rules",

}; // Welcome message

motdInterval=6;

voteThreshold=0.33;

reportingIP="master.gamespy.com";

voteMissionPlayers=3;

checkfiles[]={

"HWTL\dta\data3d.pbo","dta\data3d.pbo"

};

kickduplicate=1;

equalModRequired=0;

MaxCustomFileSize=0;

class Missions

{

//... your other missions ...

class MPBERZERK_01{template=ch64_berzerk_v1.23_arcadia.sara;cadetMode=0;};

class MPBERZERK_02{template=ch64_berzerk_v1.23_desert.sara;cadetMode=0;};

class MPBERZERK_03{template=ch64_berzerk_v1.23_obregan.sara;cadetMode=0;};

class MPBERZERK_04{template=ch64_berzerk_v1.23_mercalillo.sara;cadetMode=0;};

class MPBERZERK_05{template=ch64_berzerk_v1.23_dolores.sara;cadetMode=0;};

class MPBERZERK_06{template=ch64_berzerk_v1.23_airfield.sara;cadetMode=0;};

class MPBERZERK_07{template=ch64_berzerk_v1.23_bagango.sara;cadetMode=0;};

class MPBERZERK_08{template=ch64_berzerk_v1.23_north_bases.sara;cadetMode=0;};

class MPBERZERK_09{template=ch64_berzerk_v1.23_ortego.sara;cadetMode=0;};

class MPBERZERK_10{template=ch84_berzerk_v1.23_sahrani_plains.sara;cadetMode=0;};

};

If I am away, and if server is in "creating" mode then I would like the first player to be able to select the mission

Any suggestion and recommendations are welcome

Share this post


Link to post
Share on other sites

make sure you have...

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

voteMissionPlayers=1;

... not 3 (three)...

set at three, it's saying you need 3 people to agree on what mission to run... when set at 1 (one)... and you are the only player on your dedicated server (it's irrelevant whether it's on the same machine as your game client or remote)... you should be able to run the missions fine...

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  

×