Jump to content
Sign in to follow this  
ibaked

Server Config trouble with mission cycle

Recommended Posts

:confused: Hello

I have searched around and still can't get to the bottum of the problem.

perhaps i wrote it in wrong.

but when ever i put up a mission to cycle, the server won't even list on the public

it will only list when i delete the mission cycle input.

:j:

// MISSIONS CYCLE

// Specifies the mission rotation and related difficulty settings.

// Leave blank to enable alternative maplist

class Missions {};

class DM_Detector

{

template = "MP_Detector.Chernarus";

difficulty = "regular";

};

Really don't know how to get this to work, for the time being am stuck on a vote map,

Share this post


Link to post
Share on other sites

This is the one your using, I suspect the problem is whats red.

// MISSIONS CYCLE
// Specifies the mission rotation and related difficulty settings.
// Leave blank to enable alternative maplist
class Missions [color="Red"]{};[/color]
class DM_Detector
{
template = "MP_Detector.Chernarus";
difficulty = "regular";
};

With whats in red, you are basically defining Missions as nothing, then making a new define of your map, but that is not what the server looks for. Below is what I use, obviously switch out the map.

// MISSIONS CYCLE
class Missions
{
class OADomi
{
	template = co30_3id_domi_2_60i0s_west_oa.takistan; 
	difficulty = "regular";
};
};

Works fine. Also, if you're using a Linux server make sure to have the map file in lower case letters.

Share this post


Link to post
Share on other sites

ohh. thanks! will give this ago

---------- Post added at 08:51 PM ---------- Previous post was at 06:54 PM ----------

still no luck :o

// MISSIONS CYCLE

class Missions

{

class DM_Detector

{

template = MP_Detector.Chernarus;

difficulty = "regular";

};

};

// EOF

Server won't start now

Edited by ibaked

Share this post


Link to post
Share on other sites

Anyone? my server is kinda offline untill this gets fixed ;(

Share this post


Link to post
Share on other sites

Ok i have now uploaded a new map into server MPMISSION folder and put this into my command line

// MISSIONS CYCLE

class Missions

{

class dm_08_ranch_iii_v0-86c

{

template = dm_08_ranch_iii_v0-86c.chernarus;

difficulty = "regular";

};

};

Server still wont show/list/start ? :j:

---------- Post added at 05:09 AM ---------- Previous post was at 05:08 AM ----------

;1992548']Is it a Linux server?

Am really not sure, its from Alpha Networks

Share this post


Link to post
Share on other sites

That looks OK to my jaundiced eyes. Maybe there is something else in the config causing this not to work. Might be useful to post the full config (minus any passwords that you don't want to have to change!).

Share this post


Link to post
Share on other sites

// GLOBAL SETTINGS

// The name of the server that shall be displayed in the public server list

hostname="[uKT] TERRORIST PUBLIC TDM ";

// Password for private servers. Uncomment this if you wish to run a private server

//password="";

// Password to become server admin. When Youre in Arma MP and connected to the server, type '#login xyz'

passwordAdmin="XXXXXXXX";

// Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player.

maxPlayers=50;

// WELCOME MESSAGE ("message of the day")

// It can be several lines, separated by comma

// Empty messages "" will not be displayed at all but are only for increasing the interval

motd[]={

"Welcome to the UK TERRORIST server."

};

// Time interval (in seconds) between each message

motdInterval=50;

// Do not allow players with duplicate id's to connect

Kickduplicate=0;

// If set to 1, player has to use exactly the same -mod= startup parameter as the server.

equalModRequired=0;

// Enables persistent battlefield

// This is dependent on the mission specifiying persistence, otherwise has no effect.

persistent=0;

// Anti-cheat

battlEye = 1;

// Gamespy reporting url for public server list inclusion

reportingIP="arma2pc.master.gamespy.com";

// If specified player connects/disconnects and player id's are written to file.

// The loffile is persistant and appends data on server restart.

logFile="server_console.log";

// Enables network traffic logging, client IP etc

netlog=1;

// Set the timestamp format used on each report line in server-side RPT file.

// Possible values are "none" (default),"short","full".

timeStampFormat=full;

// VOTING SETTINGS

// start voting when 1 players connect.

voteMissionPlayers=1;

// 25% or more players need to vote for mission to become effective

// set to 1.5 to turn off missions voting

voteThreshold=25;

// VOICE SETTINGS

// If set to 1, Voice over Net will not be available

disableVoN=0;

// Enabling VonID displays player name to all clients when client VON is in use.

VonID=1;

// Quality from 1 to 10

// See http://community.bistudio.com/wiki/ArmA:_Multiplayer#VOIP_support for codec info. 7 is the best.

vonCodecQuality=7;

// INGAME SETTINGS

// Enables ingame scoreboard.

NetStats=1;

// Enables death messages ingame

DeathMessages=1;

// SCRIPTING ISSUES

onUserConnected="";

onUserDisconnected="";

doubleIdDetected="";

// some ArmA specific stuff - signature verification

// Enables signature verification for addons

// This will prevent pbo hacks by only allowing pbo's that pass server's public key checks

verifySignatures=0;

// Signature timeout fix

regularcheck="{}";

// unsigned data detected

onUnsignedData = "kick (_this select 0)";

// tampering of the signature detected

onHackedData = "ban (_this select 0)";

// data with a valid signature, but different version than the one present on server detected

onDifferentData="";

// See ArmA Biki for additional signature commands

// MISSIONS CYCLE

class Missions

{

class dm_08_ranch_iii_v0-86c

{

template = dm_08_ranch_iii_v0-86c.chernarus;

difficulty = "regular";

};

// EOF

Share this post


Link to post
Share on other sites

You only have 1 closing ( }; ) in that file in the mission cycle.. Don't know if that was a copy/paste issue or what, but that's all I see wrong.

Share this post


Link to post
Share on other sites

Should i add more of these {; ? :j:

Share this post


Link to post
Share on other sites

This is what you just showed us:

// MISSIONS CYCLE
class Missions
{
class dm_08_ranch_iii_v0-86c
{
template = dm_08_ranch_iii_v0-86c.chernarus;
difficulty = "regular";
};

This is what it SHOULD be:

// MISSIONS CYCLE
class Missions
{
class dm_08_ranch_iii_v0-86c
{
template = dm_08_ranch_iii_v0-86c.chernarus;
difficulty = "regular";
};
[color="Red"]};[/color]

New part is Red. You only closed class missnameislonghere, but never closed class Missions.

Share this post


Link to post
Share on other sites

i myself use tabs to keep better control of each section, makes error spotting much easier:

// MISSIONS CYCLE
class Missions {
class dm_08_ranch_iii_v0-86c {
	template = dm_08_ranch_iii_v0-86c.chernarus;
	difficulty = "regular";
};
};

some use the { in its own single line, it does not matter either way, just a personal thing.

Share this post


Link to post
Share on other sites

*slams head on the desk*

No luck its not working for me :eek: :(

thanks guys for your imput, but unfortnetly its just not doing it for me.. ohh well

Share this post


Link to post
Share on other sites

im thinking this is the error:

class dm_08_ranch_iii_v0[size="6"][color="Red"]-[/color][/size]86c

Share this post


Link to post
Share on other sites
im thinking this is the error:

class dm_08_ranch_iii_v0[size="6"][color="Red"]-[/color][/size]86c

Possible,

but thats the missions name

when i start the server normaly, i can start the map by voting for it.

but i can't get the mission cycle to make it so that maps on always by defult.

:butbut:

---------- Post added at 10:33 PM ---------- Previous post was at 10:25 PM ----------

Is their anychance someone could Teamviewer me?

Share this post


Link to post
Share on other sites

Actually, I'm with Demonized on this one. I got an error today when I tried using ' - ' in a name, so rename the mission and class to an underscore or something else instead. Couldn't hurt to try.

Share this post


Link to post
Share on other sites

Got to agree with both Grimes and Demonized that the issue is most likely the fact that you have a ' - ' in the class name, although did notice one other little change I would make which shouldn't really matter but may make the difference whcih is put the mission in quotes

// MISSIONS CYCLE
class Missions
{
   class dm_ranch_iii
   {
       template = "dm_08_ranch_iii_v0-86c.Chernarus";
       difficulty = "regular";
   };
};

Share this post


Link to post
Share on other sites

Sorry for the late reply

But its working now! thanks guys for all your help :yay:

Share this post


Link to post
Share on other sites
Sorry for the late reply

But its working now! thanks guys for all your help :yay:

how did you fix it?

might be useful for someone else at some point.

Share this post


Link to post
Share on other sites
 // MISSIONS CYCLEclass Missions
{
    class scriga
    {
        template = "cqriga.altis";
        difficulty = "veteran";
    };
class sckavala
    {
        template = "cqkavala.altis";
        difficulty = "veteran";
    };
    class cqpyrgos
    {
        template = "cqpyrgos.altis";
        difficulty = "veteran";
    };


};

dont work.... =(

Share this post


Link to post
Share on other sites
 // MISSIONS CYCLEclass Missions
{
    class scriga
    {
        template = "cqriga.altis";
        difficulty = "veteran";
    };
class sckavala
    {
        template = "cqkavala.altis";
        difficulty = "veteran";
    };
    class cqpyrgos
    {
        template = "cqpyrgos.altis";
        difficulty = "veteran";
    };


};

dont work.... =(

 

 

 

You commented out the first line.

class Missions
{
    class MPCTF_01 // name for the mission, can be anything
    {
        template = M02CaptureTheFlag.SaraLite; // omit the .pbo suffix
        cadetMode = 1; // difficulty 0=veteran 1=cadet
    };
    class MPCOOP_01
    {
        template = M01Cooperative.SaraLite;
        cadetMode = 1;
    };
    class MPCTI_01
    {
        template = M03ConquerTheIsland.SaraLite;
        cadetMode = 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  

×