Jump to content
Sign in to follow this  
player999

how do i make a make a dedicated server?

Recommended Posts

i know there are alot of threads out there about dedicated servers

I used to be able to make a dedicated server with my dial up connection no problem but now i have broadband:D but i can only host on lan:( how do i host on internet

i read the tutorial but i have no server.cfg

Edited by player999

Share this post


Link to post
Share on other sites

Hi. Here's a minimal server.cfg:

hostname="Test";
maxPlayers = 64;
reportingIP="master.gamespy.com";
password=""; // password to join server
passwordAdmin="123"; // password to login as admin
voteTreshold=0.334;

motd[]=
{
"Welcome",
"message"
};
motdInterval = 5;

class Missions
{
};

and a server_flashpoint.cfg for bandwidth settings:

MinErrorToSend=0.00500;
MaxMsgSend=512;
MaxSizeGuaranteed=256;
MaxSizeNonguaranteed=128;
MinBandwidth=3072000;
MaxBandwidth=4608000;
MaxCustomFileSize=1024000;


Product="Resistance";
Language="English";
HW_Type="Direct3D HW T&L";
Adapter=0;
3D_Performance="10714";
CPU_Benchmark=10714;
Resolution_W="1920";
Resolution_H="1080";
Resolution_Bpp="32";
LOD=7.500000;
Limit_LOD=0.000000;
Shadows_LOD=10.000000;
MaxObjects=256;
Cockpit_Textures=1024;
Landscape_Textures=1024;
Object_Textures=1024;
Animated_Textures=256;
Textures_Drop_Down=4;
Texture_Heap="16";
File_Heap="16";
Total_Memory="1728";
MaxLights=32;
Light_Explo=1;
Light_Missile=1;
Light_Static=1;
Frame_Rate_Pref=500;
Quality_Pref=500;
refresh=59;

If you don't have the deddy exe just use the normal one like:

C:\Games\OFP\FLASHPOINTRESISTANCE.EXE -nomap -server -config=server.cfg -cfg=server_flashpoint.cfg

Share this post


Link to post
Share on other sites
-nomap -server -config=server.cfg -cfg=server_flashpoint.cfg

where do i add that on the ofp exe?

Share this post


Link to post
Share on other sites

ok i give up ive tryed everything but server never shows up on the internet only lan or on my ip when i enter into the romote section and i dled the ofp 1.96c server and on lan it shows that its 1.95!

Can somebody pm me exact steps or something please.

Share this post


Link to post
Share on other sites

When you are on the same IP as the server, you only see it on LAN but others will see it on the Internet.

Share this post


Link to post
Share on other sites

:confused::confused:

I clicked on the server.exe and it gave me error message : No entry 'Flashpoint.cfg.3D_Performance'.

Edited by player999

Share this post


Link to post
Share on other sites

@999

Did you even bother the read the documentation or examine the server files?

I suggested that you download the latest server pack, I guess you didin't.

If you did you would find these 3 files:

OFPR_Server.bat

OFPR_Server.exe

sample.cfg

You need to modify the "OFPR_Server.bat" and "sample.cfg" for your particular server setup. The server is launched by "OFPR_Server.bat", not directly "server.exe ".

Share this post


Link to post
Share on other sites
@999

I suggested that you download the latest server pack, I guess you didin't.

but i am wrong because you have

you have these 3 files:

OFPR_Server.bat

OFPR_Server.exe

sample.cfg

You need to modify the "OFPR_Server.bat" and "sample.cfg" for your particular server setup. The server is launched by "OFPR_Server.bat", not directly "server.exe ".

I have done all of that this below is what my sample.cfg looks like

hostname="Player 999s server";

maxPlayers = 5;

reportingIP="master.gamespy.com";

password=""; // password to join server

passwordAdmin=LOL u thought you were going to find out

voteTreshold=0.334;

motd[]=

{

"Welcome",

"message"

};

motdInterval = 5;

class Missions

{

};

and how on earth is it possible to modify batch files?

I clicked on the bat it started the server but i cannot see it on ofp monitor so its not on the internet

Edited by player999
Phew

Share this post


Link to post
Share on other sites

You wont see it there. You can use ofpwatch and enter you local lan number...like 10.0.0.4 or go into the game in the MP screen and select LAN insted of internet and you'll see it there.

To make sure others can see you, you need to unblock firewalls, antivirus programs or anything else that restricts program access as well as unblock ports 2302 and 2303.

At least you have this:

reportingIP="master.gamespy.com";

So your IP will show up on gamespy.

123 is not a good password and you've just told it to the whole world. :)

Share this post


Link to post
Share on other sites

and how on earth is it possible to modify batch files?

.bat files can be edited like if they were .txt files, so notepad/wordpad are enough.

Share this post


Link to post
Share on other sites
123 is not a good password and you've just told it to the whole world. :)

Dont worry its been changed cannot believe i put it there :icon_ohmygod::icon_lol:

Share this post


Link to post
Share on other sites

mr. cheater i think u must only forward ports in ur router and have public IP not private, if u not have public IP you need to talk with ur ISP.

Share this post


Link to post
Share on other sites

Don't worry about IP, just be sure to use

reportingIP="master.gamespy.com";

Share this post


Link to post
Share on other sites

hi

i have a question connecting to this thread.

we have WIN server hosted by provider.

all needed files uploaded, server started, but the server not using modfolders.

can't pick up missions with addons, drop up a noaadon template mission when i choose mission with addons.

heres the ofpr.bat file looks ok:

OFPR_Server.exe -config=server.cfg -nomap -port=2302 -mod=@XXX;@YYY

its Windows server, using OFPserver_196b

folders and files list on server: http://www.mediafire.com/?8kbvbnk0pp3c2h0

anybody can help?

thanks

Share this post


Link to post
Share on other sites
Hi. Here's a minimal server.cfg:

hostname="Test";
maxPlayers = 64;
reportingIP="master.gamespy.com";
password=""; // password to join server
passwordAdmin="123"; // password to login as admin
voteTreshold=0.334;

motd[]=
{
"Welcome",
"message"
};
motdInterval = 5;

class Missions
{
};

and a server_flashpoint.cfg for bandwidth settings:

MinErrorToSend=0.00500;
MaxMsgSend=512;
MaxSizeGuaranteed=256;
MaxSizeNonguaranteed=128;
MinBandwidth=3072000;
MaxBandwidth=4608000;
MaxCustomFileSize=1024000;


Product="Resistance";
Language="English";
HW_Type="Direct3D HW T&L";
Adapter=0;
3D_Performance="10714";
CPU_Benchmark=10714;
Resolution_W="1920";
Resolution_H="1080";
Resolution_Bpp="32";
LOD=7.500000;
Limit_LOD=0.000000;
Shadows_LOD=10.000000;
MaxObjects=256;
Cockpit_Textures=1024;
Landscape_Textures=1024;
Object_Textures=1024;
Animated_Textures=256;
Textures_Drop_Down=4;
Texture_Heap="16";
File_Heap="16";
Total_Memory="1728";
MaxLights=32;
Light_Explo=1;
Light_Missile=1;
Light_Static=1;
Frame_Rate_Pref=500;
Quality_Pref=500;
refresh=59;

If you don't have the deddy exe just use the normal one like:

C:\Games\OFP\FLASHPOINTRESISTANCE.EXE -nomap -server -config=server.cfg -cfg=server_flashpoint.cfg

Hi! I did like you said (on Arma 1.99) but when I get a window with starting server, I get: Server creation failed: 2302

Share this post


Link to post
Share on other sites
Hi! I did like you said (on Arma 1.99) but when I get a window with starting server, I get: Server creation failed: 2302

It works exactly the same for 1.99 but remove the -server option and use the ColdWarAssault_Server.exe. The port is probably already open by some other program. Try a different port by adding -port=2402 or something to the command line. IIRC OFP will use 3 ports, 2402-2404 in this case.

You can check the active/listeing udp ports in Win7 like so:

netstat -ap udp

Edited by Pulverizer
  • Thanks 1

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  

×