Results 1 to 8 of 8

Thread: Dedicated server on self PC

  1. #1

    Dedicated server on self PC

    I am trying to set up a dedi server on my own PC and join it. I do not want anyone else joining it as I am testing a mission (scripts wont work unless it is dedicated). Now I have a problem. I changed the server.cfg to my requirements but all it seems to read is the admin password. I want to be able to fully use the server.cfg. Kinda lame as I have to vote for the mission to start which takes 60 secs each time I need to test.

    Also, the BE Rcon doesn't connect either, it gets an error.
    Last edited by Double Doppler; Feb 14 2011 at 11:09.

  2. #2
    Staff Sergeant Double Doppler's Avatar
    Join Date
    Sep 1 2010
    Location
    London, UK
    Posts
    239
    Author of the Thread
    Can anyone help out please?

  3. #3
    Sergeant Major Mosh's Avatar
    Join Date
    Feb 17 2002
    Location
    St. Louis, Missouri - USA
    Posts
    1,605
    Quote Originally Posted by Double Doppler View Post
    Can anyone help out please?
    Would love to, when you post some more info, like maybe your defective server.cfg... taking wild guesses isn't my strong point.

    Windows 7 64-bit | AMD FX 8350 4.0 GHZ |
    GTX 570 (310.70) | 32 GB RAM
    OCZ Agility 3 120 GB SSD | OCZ Agility 2 120 GB SSD | OCZ Vertex Plus 60 GB SSD | Intel 80 GB SSD
    Logitech G500 G15 G930 | TrackIR 5 | Saitek X52 Pro + Pro Flight Rudder

  4. #4
    Staff Sergeant Double Doppler's Avatar
    Join Date
    Sep 1 2010
    Location
    London, UK
    Posts
    239
    Author of the Thread
    I just copied the server template, saved as cfg, and put in the pwords and server name.

    The most important bit that I need to work is:

    GLOBAL SETTINGS
    hostname = "My Server";
    password = "etc";
    passwordAdmin = "etc";
    reportingIP = "armedass.master.gamespy.com";
    //reportingIP = arma2pc.master.gamespy.com";
    reportingIP = "arma2oapc.master.gamespy.com";
    logFile = "server_console.log";

  5. #5
    Sergeant Major Mosh's Avatar
    Join Date
    Feb 17 2002
    Location
    St. Louis, Missouri - USA
    Posts
    1,605
    Code:
    //GLOBAL SETTINGS
    hostname = "My Server";    
    password = "etc";                        
    passwordAdmin = "etc";                     
    //reportingIP = "armedass.master.gamespy.com";        
    //reportingIP = arma2pc.master.gamespy.com";            
    //reportingIP = "arma2oapc.master.gamespy.com";       
    logFile = "server_console.log";
    should work now, all I did was comment out the first line (which needed to be commented out) and the reporting IPs aren't really needed if you just want to test at home without anyone joining.

    If that doesn't work, maybe show your full server.cfg using [CODE TAG] or http://pastebin.com/.

    And you are sure your command line in your server shortcut is correct also? That would be the next place to look for solutions if it isn't the server.cfg file itself.

  6. #6
    Staff Sergeant Double Doppler's Avatar
    Join Date
    Sep 1 2010
    Location
    London, UK
    Posts
    239
    Author of the Thread
    Well it seems to read the server admin password, as I can log in with that, but as for the names and join password, doesn't work.

  7. #7
    Might be off base here but I don't use spaces in the lines
    xxxx="yyy";
    and having no issues that's the only other difference i can see

  8. #8

    Lightbulb

    Dedicated server is notorious for its weird ways. It is very hard sometimes to confirm what settings its using.
    "http://www.kellys-heroes.eu/files/tutorials/dedicated/"

    I used that as a template, created all 3 of the profile and cfg's and kept them seperate in a specific folder. No confusion over what settings are what and where.

    The last line tells my server to report to the local host, ie - its self. The rest is just info.

    Code:
    /*
    Gamespy reporting url for public server list inclusion
    use 127.0.0.1 for LAN server
    */
    // reportingIP="arma2pc.master.gamespy.com";
    reportingIP="127.0.0.1";
    When i launch the server i explicitly call those files. From the wiki

    rem "[drive]\[path to arma2]\ArmA2Server.exe" -port=2302 -name=default -config=default\server.cfg -cfg=default\Arma2.cfg -profiles=default

    using a batch file for me this becomes
    Code:
    REM Batch Launch
    CD /d Z:\Bohemia Interactive\ArmA2
    START arma2oaserver.exe -name=Kamakazi -config=C:\Documents and Settings\Kamakazi\Desktop\ArmA2\ArmA2 SERVER\server.cfg -cfg=C:\Documents and Settings\Kamakazi\Desktop\ArmA2\ArmA2 SERVER\arma2.cfg -profile=C:\Documents and Settings\Kamakazi\Desktop\ArmA2\ArmA2 SERVER\SERVERprofile.arma2profile -mod=@CBA;@GDT;@ACE;@ACEX;@ACEX_RU;@ACEX_USNavy;@sap_everon;ACEX_SM -exThreads=7 -port=23888
    Im not sure about the spaces, they are usualy ignored and my cfg has both.
    Be sure of your syntax, no random Rem or */ anywhere near.

    as for the voting try
    voteThreshold=1.5;

    The Kelly's site is full of good stuff.
    lots of luck.
    - "Welcome to your infinite trip down the Rabbit Hole! "

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •