Home   Help Search Login Register  

Author Topic: Running Dedicated Server and Client on One PC  (Read 1890 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Running Dedicated Server and Client on One PC
« on: 25 Aug 2008, 21:28:13 »
Could someone please point me in the direction of how this would be done and whether an old P4 3.2GHz, 2GB machine can pull it off? I would like to be able to do a little MP testing.
« Last Edit: 27 Aug 2008, 17:23:26 by Mr.Peanut »
urp!

Offline bluevein

  • Members
  • *
Re: Running Dedicated Server and Client on One PC
« Reply #1 on: 26 Aug 2008, 09:24:26 »
Yes it can be done, I have done it before, look at these:

http://community.bistudio.com/wiki/ArmA:_Dedicated_Server

http://community.bistudio.com/wiki/server.cfg

http://www.armaholic.com/forums.php?m=posts&p=18095#18095

Once you have made your new desctop Icon running the server, then launch the game as normal.

Your PC looks fine to run a server, shame its not duel core as you caould have 1 side running the server and the other running the game for you  :D

Here is a copy of my server.cfg

Code: [Select]
   password ="YOURSERVERPASSWORDHERE";
   passwordAdmin ="YOURPASSWORDHERE";
   reportingIP ="armedass.master.gamespy.com";
   maxPlayers=64;
   hostname="-CAF- COMBAT SERVER";
motd[]=
{
   "Welcome to -CAF- COMBAT SERVER",
   "CAF CLAN www.cafhq.co.uk NOW RECRUITING",
   "REMEMBER ARMA IS A MATURE RATED GAME, ACT LIKE IT",
};
   voteMissionPlayers=1;
   motdInterval=1;
   voteThreshold=1;
   disableVoN=0;
   persistent=1;
   BattlEye=0;
class Missions
{
class Mission0
{
   template=Manik_Assault_V1.2.Sara;
   param1=1;
   param2=2;
   cadetMode = 1;
};
class Mission1
{
   template=CAFCOMBATROUND3.Sara;
   param1=2;
   param2=3;
   cadetMode = 1;
};
class Mission2
{
   template=CAFCOMBATROUND2.Sara;
   param1=3;
   param2=7;
   cadetMode = 1;
};
class Mission3
{
   template=CAFCOMBATROUND4.Sara;
   param1=6;
   param2=3;
   cadetMode = 1;
};
class Mission4
{
   template=CAFCOMBATROUND1.Sara;
   param1=2;
   param2=1;
   cadetMode = 1;
};
class Mission5
{
   template=dm_10_vodka_v1-10.intro.pbo;
   param1=2;
   param2=3;
   cadetMode = 1;
};
class Mission6
{
   template=MP01SEIZETHECITY.SARA;
   param1=1;
   param2=2;
   cadetMode = 1;
};
class Mission7
{
   template=dm_16_tequila_sunburn_v1-06.sara.pbo;
   param1=2;
   param2=3;
   cadetMode = 1;
};
class Mission8
{
   template=dm_16_vanilla_v1-04.sara.pbo;
   param1=3;
   param2=7;
   cadetMode = 1;
};
class Mission9
{
   template=MP04CLEANSWEEP.SARA;
   param1=6;
   param2=3;
   cadetMode = 1;
};
class Mission10
{
   template=co12redhotel_rg.sara.pbo;
   param1=2;
   param2=1;
   cadetMode = 1;
};
class Mission11
{
   template=ctf_caf_50_The_Bridge.sara.pbo;
   param1=2;
   param2=3;
   cadetMode = 1;
};
};
« Last Edit: 26 Aug 2008, 09:27:13 by bluevein »

Offline D007

  • Members
  • *
Re: Running Dedicated Server and Client on One PC
« Reply #2 on: 26 Aug 2008, 12:54:30 »
Regarding arma-server and GCAADST I assume you mean.
But knowing my current correct to incorrect ratio I wouldn't bet on anything I say lol..
But we ran those on my pc.. 3.2 ghz 8800 gtx.. ran well.. until it crashed.. sooner than normal.. :dunno:

Honestly I think It puts to much of a strain on a pc to run both at extended periods. but doing it for testing is np..
I ran fine for hours like that. Even when I did crash, there was question it it had simply been due to editing beforehand, or arma related..
Not arma server/GCAADST related likely.. but Im sure it still contributed..

Can you pull it off for testing.. yes np..
prolonged.. good luck.. maybe..

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Running Dedicated Server and Client on One PC
« Reply #3 on: 27 Aug 2008, 17:27:06 »
Thanks for the replies. Is there any advantage to running GCAADST? With only one core it seems to me it would eat up badly needed resources. I might try to install the ArmA ded server on my laptop instead...
urp!

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Running Dedicated Server and Client on One PC
« Reply #4 on: 27 Aug 2008, 18:05:02 »
The most useful practical advice I can give is to minimise your graphics settings, especially texture quality, when running more than one client, since that reduces the time it takes to change from one client to another and increases FPS. Running them windowed will make it a bit easier to manage too. I used to test on a machine similar to yours and I really struggled, but it is possible.

There is a section on how to test MP missions properly on one machine, in the MP tutorial, though since it was written, you need to add,
Code: (server.cfg) [Select]
BattlEye=0;
To prevent BattlEye kicking multiple clients using the same key.
« Last Edit: 27 Aug 2008, 18:07:15 by Spooner »
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)