•     Please make sure you check the Support FAQ and relevant Guides before you create a new thread in this section!

[SOLVED] Duel Server Hosting Issue

Posts
4
Likes
0
Hey there.

I've recently set up a dedicated MBII server through a third-party host (I'm also new to both the game mode and community, so hello!). Currently, it's set to MB mode. I'd like to change it to duel, but I'm encountering some issues that I can't really diagnose. Maybe someone here can help?

The Problem:

I change the game mode to duel (3) in the cfg as per instruction and restart, but the server disappears from the master list after. No idea if the server is actually up when this happens; it lists the server in my favorites as the IP instead of the host name I gave it, as if not using the cfg. It does list the game mode as duel, but the player number (both current and max) is always wrong, and it doesn't let anyone connect. It also shows the map as mb2_duel_dotf, which doesn't exist my folder (mb2_dotf does). This is regardless of what I set the map to through cvars in the cfg.

What I've Tried So Far:

  • Replacing the names of the maps in the default map cycle in the cfg with duel map names.
  • Foregoing the cycle list entirely by using the map cvar.
  • Starting up the server in MB mode, then switching it through Rcon to duel and changing the map that way (works, but doesn't really solve the problem).
For a bit more information, I've edited the server information, admin stuff, and class restrictions for MB mode in the cfg, but everything else is default.

Any ideas?

// Movie Battles II
// Sample Server Config

// Server Config:
seta sv_hostname "MBII Server" // Name of your server
seta g_motd "Welcome to my MB2 Server\nHave fun!" // Message of the Day

// Additional master servers to report to
seta sv_master1 "master.moviebattles.org" // Master servers - do not alter unless you know what you are doing.
seta sv_master2 "master.jkhub.org"
seta sv_master3 ""
seta sv_master4 ""
seta sv_master5 ""

// Administration:
seta rconpassword "" // Rcon admin password - CHANGE THIS

// See MBII_Readme (GameData folder) for info on bitvalues!
// If g_smodconfig_1 is set to 0, smod system is disabled.
// Accounts without password are disabled aswell.
seta g_smodAdminPassword_1 "" // Smod admin password - CHANGE THIS
seta g_smodConfig_1 "65535" // All commands enabled
seta g_smodAdminPassword_2 ""
seta g_smodConfig_2 "7" // Kick, nextmap, map.
seta g_smodAdminPassword_3 ""
seta g_smodConfig_3 "0"
seta g_smodAdminPassword_4 ""
seta g_smodConfig_4 "0"
seta g_smodAdminPassword_5 ""
seta g_smodConfig_5 "0"
seta g_smodAdminPassword_6 ""
seta g_smodConfig_6 "0"
seta g_smodAdminPassword_7 ""
seta g_smodConfig_7 "0"
seta g_smodAdminPassword_8 ""
seta g_smodConfig_8 "0"
seta g_smodAdminPassword_9 ""
seta g_smodConfig_9 "0"
seta g_smodAdminPassword_10 ""
seta g_smodConfig_10 "0"
seta g_smodAdminPassword_11 ""
seta g_smodConfig_11 "0"
seta g_smodAdminPassword_12 ""
seta g_smodConfig_12 "0"
seta g_smodAdminPassword_13 ""
seta g_smodConfig_13 "0"
seta g_smodAdminPassword_14 ""
seta g_smodConfig_14 "0"
seta g_smodAdminPassword_15 ""
seta g_smodConfig_15 "0"
seta g_smodAdminPassword_16 ""
seta g_smodConfig_16 "0"

// Shuffle and Auto-balance Settings
set g_ShuffleTimer "300" // How long in seconds clients must wait before they can change teams again after shuffle is used.
set g_autoteambalance "0" // Auto-balance setting - 0 = OFF, 1 = ON. Off by default.
set g_allowunbalance "1" // How many players a team may be stacked before auto balance intervenes. Ex: If teams are 6 on 5 and g_allowunbalance is 1 players cannot join the team with more players.

// Logging
seta g_log "games.log" // Filename to record logging information to. ex: "serverlog.txt" If left blank, do not log.
seta g_logClientInfo "0" // Logs client information changes if set to 1 (More detailed logging, useful in matching clients to IPs.)
seta g_logSync "0" // Use synchronous appending in log writes. (May impact server performance if set to 1(Not generally recommended), but may provide more detailed logs if a crash occurs.)

// Server Settings:
seta sv_fps "40" // Server FPS setting.
seta sv_maxclients "32" // Number of your server's player slots
seta sv_privateClients "" // Number of private slots
seta sv_privatePassword "" // Password for using the private slots
seta sv_pure "0" // Pure setting - 0 = off, 1 = on. If enabled, clients can only use pk3s which match the ones on the server.
seta sv_maxRate "25000" // Server-side cap for /rate. Settings higher than 25000 do not improve the client's ping.
seta sv_maxPing "0" // Only players with a ping below this can connect to your server. "0" = disabled.
seta sv_timeout "600" // Timeout - do not alter unless you know what you are doing.
seta sv_minSnaps "20" // Sets minimum snaps client can have.
seta sv_minRate "2000" // Sets minimum rate client can have.
seta sv_maxConnections "3" // Maximum number of connections from one IP (prevents many crash scripts).
seta sv_floodProtect "1" // Prevent flooding of chat and admin commands.

// Movie Battles II Settings:
seta g_gametype "7" // Gametype - 3 = Duel, 4 = Power Duel, 7 = MovieBattles Mode.
seta fraglimit "15" // If a team reaches this amount of won rounds, it wins the map.
seta roundlimit "20" // When the total rounds reaches this amount, the map ends. Ties may happen.
seta timelimit "0" // Timelimit. No point using this, seeing as rounds end after 5 minutes.
seta g_MinMBPoints "80" // Semi-Authentic: Amount of MB points players start out with.
seta g_MBPointsPerRound "3" // Semi-Authentic: Amount of MB points players gain every round.
seta g_Authenticity "0" // MB Mode setting - 0 = Open mode, 1 = Semi-Authentic, 2 = Full-Authentic.
seta g_allowedHeroClasses "4" // Limit classes on Hero team in Open mode. See Readme for details.
seta g_allowedVillainClasses "4" // Limit classes on Villain team in Open mode. See Readme for details.
seta g_TimePeriod "0" // Set time period in Open mode. See Readme for details.
seta g_EUAllowed "1" // Allow / disallow Expanded Universe models in Open Mode. 0 = disallowed, 1 = allowed.

// Anti-Cheat System:
seta g_AntiCheat "1" // Cheating or unverified clients will be automatically kicked. 0 = disabled, 1 = enabled.

// Anti-Teamkill System:
seta g_TKPointsMinorFriendly "1" // Ignore damage amounts below 5 for purposes of applying g_TKPointsSpecCount (Stray very minor splash damage is permissible.)
seta g_TKPointsSpecCount "400" // Player will be forced to spectate if he/she has accrued this many TKPoints for team kills or hurting teammates. 0 = disabled.
seta g_TKPointsKickCount "700" // Player will be kicked and temp-banned from the server if a player has gotten this many TKPoints for team kills or hurting teammates. 0 = disabled.
seta g_TKPointsForgiveAfterRounds "2" // How many rounds must pass without any TKing by the player before g_TKPointsRemovedPerRound applies. 0 = always.
seta g_TKPointsRemovedPerRound "50" // Each round that passes without the player having done any TKing, this many TKPoints will be removed from their total. 0 = disabled.
seta g_TKPointsTempBanForRounds "10" // Number of rounds player gets banned for after exceeding g_TKPointsKickCount count.

// Misc:
seta g_FullSpecTalkToPlayers "1" // Allow / disallow spectators talk to 'living' players (ghosting).
seta g_chatProtectTime "250" // Ammount of time that has to pass between two chat messages sent by player for them to be valid.
seta g_password "" // Password players need in order to be able to join your server.
seta g_allowVote "0" // Allow votes - 0 = all votes disabled, 127 = all votes allowed. See readme for details.
seta g_automapcycle "0" // Use automapcycle instead of a custom one. 0 = disabled, 1 = enabled.
seta g_dismember "100" // Dismemberment probability. This is a percentage, i.e. 100 is the maximun setting. Clients have to adjust the cg_dismember cvar accordingly in order to see dismemberment.
seta g_allowNPC "1" // Do not alter.
seta g_noSpecMove "0" // Allow / disallow spectator movement. 0 = spectators can move, 1 = they cannot move.
seta g_spectateTeamOnly "0" // 0 = Spectators can spectate players from either team, 1 = Spectators can only spectate players from their own team.
seta g_AllowEntity_target_level_change "0" // Whether or not to permit the target_level_change map entity to function. (Maps which utilize this feature can break map rotations.) 1 = enabled. 0 = disabled.
seta g_HideHUDFromSpecs "1" // 0 = Spectators can view the HUD from 'living' players, 1 = disabled.
seta g_InactivityKick "0" // Time in seconds until an inactive (i.e. not moving etc) client is kicked.
seta g_InactivitySpec "120" // Time in seconds until an inactive (i.e. not moving etc) client is moved to the spectator mode.
seta g_filterban "1" // If "0" - only players who are on the banlist may join. 1: people on the banlist may not join.

// Map rotation:
set d1 "map mb2_commtower;set nextmap vstr d2"
set d2 "map mb2_tradefed;set nextmap vstr d3"
set d3 "map mb2_lunarbase;set nextmap vstr d4"
set d4 "map mb2_republiccruiser;set nextmap vstr d5"
set d5 "map mb2_jabba;set nextmap vstr d6"
set d6 "map mb2_jeditemple;set nextmap vstr d7"
set d7 "map mb2_tatooine;set nextmap vstr d8"
set d8 "map mb2_kamino;set nextmap vstr d1"

vstr d1 // Start the first map in the rotation

Edit: Added the config data.
 
Last edited:

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,487
What I've Tried So Far:
You didn't try the only thing that is important: attaching your config to the first post of a thread where you're asking help for server configuration
d3638ce3ff40.gif
 
Posts
4
Likes
0
I mean, I can, but I didn't think that posting a copy of the default config file would be helpful.

// Movie Battles II
// Sample Server Config

// Server Config:
seta sv_hostname "MBII Server" // Name of your server
seta g_motd "Welcome to my MB2 Server\nHave fun!" // Message of the Day

// Additional master servers to report to
seta sv_master1 "master.moviebattles.org" // Master servers - do not alter unless you know what you are doing.
seta sv_master2 "master.jkhub.org"
seta sv_master3 ""
seta sv_master4 ""
seta sv_master5 ""

// Administration:
seta rconpassword "" // Rcon admin password - CHANGE THIS

// See MBII_Readme (GameData folder) for info on bitvalues!
// If g_smodconfig_1 is set to 0, smod system is disabled.
// Accounts without password are disabled aswell.
seta g_smodAdminPassword_1 "" // Smod admin password - CHANGE THIS
seta g_smodConfig_1 "65535" // All commands enabled
seta g_smodAdminPassword_2 ""
seta g_smodConfig_2 "7" // Kick, nextmap, map.
seta g_smodAdminPassword_3 ""
seta g_smodConfig_3 "0"
seta g_smodAdminPassword_4 ""
seta g_smodConfig_4 "0"
seta g_smodAdminPassword_5 ""
seta g_smodConfig_5 "0"
seta g_smodAdminPassword_6 ""
seta g_smodConfig_6 "0"
seta g_smodAdminPassword_7 ""
seta g_smodConfig_7 "0"
seta g_smodAdminPassword_8 ""
seta g_smodConfig_8 "0"
seta g_smodAdminPassword_9 ""
seta g_smodConfig_9 "0"
seta g_smodAdminPassword_10 ""
seta g_smodConfig_10 "0"
seta g_smodAdminPassword_11 ""
seta g_smodConfig_11 "0"
seta g_smodAdminPassword_12 ""
seta g_smodConfig_12 "0"
seta g_smodAdminPassword_13 ""
seta g_smodConfig_13 "0"
seta g_smodAdminPassword_14 ""
seta g_smodConfig_14 "0"
seta g_smodAdminPassword_15 ""
seta g_smodConfig_15 "0"
seta g_smodAdminPassword_16 ""
seta g_smodConfig_16 "0"

// Shuffle and Auto-balance Settings
set g_ShuffleTimer "300" // How long in seconds clients must wait before they can change teams again after shuffle is used.
set g_autoteambalance "0" // Auto-balance setting - 0 = OFF, 1 = ON. Off by default.
set g_allowunbalance "1" // How many players a team may be stacked before auto balance intervenes. Ex: If teams are 6 on 5 and g_allowunbalance is 1 players cannot join the team with more players.

// Logging
seta g_log "games.log" // Filename to record logging information to. ex: "serverlog.txt" If left blank, do not log.
seta g_logClientInfo "0" // Logs client information changes if set to 1 (More detailed logging, useful in matching clients to IPs.)
seta g_logSync "0" // Use synchronous appending in log writes. (May impact server performance if set to 1(Not generally recommended), but may provide more detailed logs if a crash occurs.)

// Server Settings:
seta sv_fps "40" // Server FPS setting.
seta sv_maxclients "32" // Number of your server's player slots
seta sv_privateClients "" // Number of private slots
seta sv_privatePassword "" // Password for using the private slots
seta sv_pure "0" // Pure setting - 0 = off, 1 = on. If enabled, clients can only use pk3s which match the ones on the server.
seta sv_maxRate "25000" // Server-side cap for /rate. Settings higher than 25000 do not improve the client's ping.
seta sv_maxPing "0" // Only players with a ping below this can connect to your server. "0" = disabled.
seta sv_timeout "600" // Timeout - do not alter unless you know what you are doing.
seta sv_minSnaps "20" // Sets minimum snaps client can have.
seta sv_minRate "2000" // Sets minimum rate client can have.
seta sv_maxConnections "3" // Maximum number of connections from one IP (prevents many crash scripts).
seta sv_floodProtect "1" // Prevent flooding of chat and admin commands.

// Movie Battles II Settings:
seta g_gametype "7" // Gametype - 3 = Duel, 4 = Power Duel, 7 = MovieBattles Mode.
seta fraglimit "15" // If a team reaches this amount of won rounds, it wins the map.
seta roundlimit "20" // When the total rounds reaches this amount, the map ends. Ties may happen.
seta timelimit "0" // Timelimit. No point using this, seeing as rounds end after 5 minutes.
seta g_MinMBPoints "80" // Semi-Authentic: Amount of MB points players start out with.
seta g_MBPointsPerRound "3" // Semi-Authentic: Amount of MB points players gain every round.
seta g_Authenticity "0" // MB Mode setting - 0 = Open mode, 1 = Semi-Authentic, 2 = Full-Authentic.
seta g_allowedHeroClasses "4" // Limit classes on Hero team in Open mode. See Readme for details.
seta g_allowedVillainClasses "4" // Limit classes on Villain team in Open mode. See Readme for details.
seta g_TimePeriod "0" // Set time period in Open mode. See Readme for details.
seta g_EUAllowed "1" // Allow / disallow Expanded Universe models in Open Mode. 0 = disallowed, 1 = allowed.

// Anti-Cheat System:
seta g_AntiCheat "1" // Cheating or unverified clients will be automatically kicked. 0 = disabled, 1 = enabled.

// Anti-Teamkill System:
seta g_TKPointsMinorFriendly "1" // Ignore damage amounts below 5 for purposes of applying g_TKPointsSpecCount (Stray very minor splash damage is permissible.)
seta g_TKPointsSpecCount "400" // Player will be forced to spectate if he/she has accrued this many TKPoints for team kills or hurting teammates. 0 = disabled.
seta g_TKPointsKickCount "700" // Player will be kicked and temp-banned from the server if a player has gotten this many TKPoints for team kills or hurting teammates. 0 = disabled.
seta g_TKPointsForgiveAfterRounds "2" // How many rounds must pass without any TKing by the player before g_TKPointsRemovedPerRound applies. 0 = always.
seta g_TKPointsRemovedPerRound "50" // Each round that passes without the player having done any TKing, this many TKPoints will be removed from their total. 0 = disabled.
seta g_TKPointsTempBanForRounds "10" // Number of rounds player gets banned for after exceeding g_TKPointsKickCount count.

// Misc:
seta g_FullSpecTalkToPlayers "1" // Allow / disallow spectators talk to 'living' players (ghosting).
seta g_chatProtectTime "250" // Ammount of time that has to pass between two chat messages sent by player for them to be valid.
seta g_password "" // Password players need in order to be able to join your server.
seta g_allowVote "0" // Allow votes - 0 = all votes disabled, 127 = all votes allowed. See readme for details.
seta g_automapcycle "0" // Use automapcycle instead of a custom one. 0 = disabled, 1 = enabled.
seta g_dismember "100" // Dismemberment probability. This is a percentage, i.e. 100 is the maximun setting. Clients have to adjust the cg_dismember cvar accordingly in order to see dismemberment.
seta g_allowNPC "1" // Do not alter.
seta g_noSpecMove "0" // Allow / disallow spectator movement. 0 = spectators can move, 1 = they cannot move.
seta g_spectateTeamOnly "0" // 0 = Spectators can spectate players from either team, 1 = Spectators can only spectate players from their own team.
seta g_AllowEntity_target_level_change "0" // Whether or not to permit the target_level_change map entity to function. (Maps which utilize this feature can break map rotations.) 1 = enabled. 0 = disabled.
seta g_HideHUDFromSpecs "1" // 0 = Spectators can view the HUD from 'living' players, 1 = disabled.
seta g_InactivityKick "0" // Time in seconds until an inactive (i.e. not moving etc) client is kicked.
seta g_InactivitySpec "120" // Time in seconds until an inactive (i.e. not moving etc) client is moved to the spectator mode.
seta g_filterban "1" // If "0" - only players who are on the banlist may join. 1: people on the banlist may not join.

// Map rotation:
set d1 "map mb2_commtower;set nextmap vstr d2"
set d2 "map mb2_tradefed;set nextmap vstr d3"
set d3 "map mb2_lunarbase;set nextmap vstr d4"
set d4 "map mb2_republiccruiser;set nextmap vstr d5"
set d5 "map mb2_jabba;set nextmap vstr d6"
set d6 "map mb2_jeditemple;set nextmap vstr d7"
set d7 "map mb2_tatooine;set nextmap vstr d8"
set d8 "map mb2_kamino;set nextmap vstr d1"

vstr d1 // Start the first map in the rotation

Again, with the exception of the server name, password, rcon and smod admin stuff, the only changes to the default cfg file are the ones included in the spoiler above--that is, changing the available classes in MB mode to Jedi and Sith only.

Edit: I'll throw it in the first post as well.
 
Posts
4
Likes
0
To be certain this wasn't an error, you're saying that I have to set g_Auth to 3 (instead of the arguments listed in the default file), and not the gamemode cvar?

Also, for a bit more context, this is the state of my cfg right now. It's set to MB mode (seta g_gametype "7") right now because the last thing I tried was changing it from that to duel while on the server. When I changed it, I changed g_gametype to 3.

Edit: Regarding the class restrictions, that had nothing to do with me trying to change it to duel. That was what I set it to for MB mode because it's what I preferred for that particular mode. It's not relevant to my current issue (I've changed both back to default to test).
 
Last edited:

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,487
Correct setting should be:
Code:
seta g_gametype "7"
seta g_Authenticity "3"
seta g_allowedHeroClasses "0"
seta g_allowedVillainClasses "0"
Edit a config, restart a server.
Make sure server actually uses this config.
If you still have some issues, describe them in detail.
 
Posts
4
Likes
0
That did it. I'm not sure why, but it did. Thank you.

The source of my confusion, if it wasn't clear:

Code:
seta g_gametype "7"                        // Gametype - 3 = Duel, 4 = Power Duel, 7 = MovieBattles Mode.
seta g_Authenticity "0"                        // MB Mode setting - 0 = Open mode, 1 = Semi-Authentic, 2 = Full-Authentic.

The annotations in the default cfg are misleading/false. Doesn't even list setting g_Auth to 3 as a possibility.
 
Top