applejaxc 2500 Posted May 2, 2013 SO I went into my config.cfg file with Notepad++ to make a new message when spawning into the server. Satisfied that my code and syntax was correct, I tried to load up my server. I got to "Host created," then an error pop up saying, "line XXX had "." was expecting "=" (or something similar). Scared, I restored the file to its previous state. I tried undoing what I did by hand. Every time I try to fix my problem, the "Line XXX" changes to a different line.//// config.cfg//// comments are written with "//" in front of them.// GLOBAL SETTINGShostname = "Applejaxc" // The name of the server that shall be displayed in the public server listpassword = ""; // Password for joining, eg connecting to the server[s]passwordAdmin = "not telling you";[/s] // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz'reportingIP = "arma2oapc.master.gamespy.com"; // For Arma2: Operation ArrowheadlogFile = "arma2oaserver.rpt"; // Tells ArmA-server where the logfile should go and what it should be called=// WELCOME MESSAGE ("Hello and welcome!")// It can be several lines, separated by comma// Empty messages "" will not be displayed at all but are only for increasing the intervalmotd[] = {"Welcome to the Applejaxc Server!","Have fun!",};motdInterval = 15; // Time interval (in seconds) between each message// JOINING RULESmaxPlayers = 50; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.kickDuplicate = 1; // Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing.verifySignatures = 2; // Verifies .pbos against .bisign files. Valid values 0 (disabled), 1 (prefer v2 sigs but accept v1 too) and 2 (only v2 sigs are allowed).equalModRequired = 0; // Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server.requiredBuild = 102285; // Require clients joining to have at least build 12345 of game, preventing obsolete clients to connectrequiredSecureId = 1; // Request clients joining to provide a secure ID token (change to 2 to force this)// VOTINGvoteMissionPlayers = 1; // Tells the server how many people must connect so that it displays the mission selection screen.voteThreshold = 2; // 33% or more players need to vote for something, for example an admin or a new map, to become effective// INGAME SETTINGSdisableVoN = 0; // If set to 1, Voice over Net will not be availablevonCodecQuality = 10; // Quality from 1 to 30persistent = 1; // If 1, missions still run on even after the last player disconnected.timeStampFormat = "short"; // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full".BattlEye = 0; // Server to use BattlEye system// SCRIPTING ISSUESonUserConnected = ""; //onUserDisconnected = ""; //doubleIdDetected = ""; //// SIGNATURE VERIFICATIONonUnsignedData = "kick (_this select 0)"; // unsigned data detectedonHackedData = "kick (_this select 0)"; //"ban (_this select 0)"; // tampering of the signature detectedonDifferentData = ""; // data with a valid signature, but different version than the one present on server detected// MISSIONS CYCLE (see below)class Missions{class DayZ { template = dayz_1.chernarus; difficulty = "regular"; // change this for other difficulty settings, regular, expert is valid};}; Share this post Link to post Share on other sites
fatalwaffles 20 Posted May 2, 2013 The second line of your motd doesn't need a comma. Share this post Link to post Share on other sites
applejaxc 2500 Posted May 2, 2013 The second line of your motd doesn't need a comma.Thank you.I just copy-pasted (and edited what needed to be edited) it from another mission's .cfg and it seems to be working. Can someone tell me what I did that fucked it up though so I don't do it again, other than the comma? Share this post Link to post Share on other sites
fluxley 2228 Posted May 2, 2013 (edited) message of the day should be all on one line, the comma seperates the lines,so yours would bemotd[] = {"Welcome to the Applejaxc Server!","Have fun!" Edited May 2, 2013 by Fluxley Share this post Link to post Share on other sites
applejaxc 2500 Posted May 3, 2013 message of the day should be all on one line, the comma seperates the lines,so yours would bemotd[] = {"Welcome to the Applejaxc Server!","Have fun!"Really? Hmm. The example file I was using had them split up. Thank you. :) Share this post Link to post Share on other sites
fluxley 2228 Posted May 3, 2013 i could be mistaken, but i had a similar problem and that fixed it. Share this post Link to post Share on other sites
applejaxc 2500 Posted May 3, 2013 i could be mistaken, but i had a similar problem and that fixed it.My fix efforts, unfortunately, reset my server. Instead of sitting in Chernogorsk with three guns, I'm sitting in Elektro with a G17 and a SA50. Share this post Link to post Share on other sites