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

[SOLVED] My friends cannot connect to the server I made

Posts
115
Reaction score
62
I did everything correctly, allowed it in firewall everything except port forwading which I haven't done yet, and my friends cannot connect to the server but I can and It's listed in the local server list but not in the internet server list. How do I make it so my friends can connect to the server?

When they connect all it says for them is Awaiting Connection... And in the console it doesn't say they are connecting, when I change the map the server automatically restarts and I don't know why.

If pictures needed of the console or something, please say. All help is appreciated


1615821700631.png


1615827168692.png

seta sv_master1 "master.moviebattles.org"
seta sv_master2 "masterjk3.ravensoft.com"
seta sv_master3 "master.jkhub.org"
seta sv_master4 "master.qtracker.com"
seta sv_master5 "master.jacklul.com"

.\jampDed.exe +set fs_game "MBII" +set net_port 29070 +exec server.cfg

.\MBIIServer
 
Last edited:

dwarf

Donator
Posts
75
Reaction score
100
You server is currently set up as a LAN server.

I'm assuming your friends cannot see the server and are connecting to your server via IP? Because if your server is only showing up in the 'local' server list then it is set up as a LAN server.
Pretty sure you have to enable port forwarding to allow others to connect to you remotely, So just keep on setting it up.

Can you post a copy of your server.cfg
 
Last edited:
Posts
115
Reaction score
62
Can you post a copy of your server.cfg
Sure, I will be removing the rcon pass and smod logins If you dont mind

Code:
// Movie Battles II
// Sample Server Config

// Server Config:
seta sv_hostname "^5The ^3Chez^5||^3Open"                                        // Name of your server
seta g_motd ""        // 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 "masterjk3.ravensoft.com"
seta sv_master3 "master.jkhub.org"
seta sv_master4 "master.qtracker.com"
seta sv_master5 "master.jacklul.com"

// 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 "4095"                                 // All commands enabled
seta g_smodAdminPassword_2 ""
seta g_smodConfig_2 "4095"                                 // 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"

// 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 "0"        // Limit classes on Hero team in Open mode. See Readme for details.
seta g_allowedVillainClasses "0"    // 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-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 "500"            // 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 "800"            // 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_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 "150"            // 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_deathstar;set nextmap vstr d2"
set d2 "map mb2_dotf;set nextmap vstr d3"
set d3 "map mb2_kamino;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_deathstar;set nextmap vstr d8"
set d8 "map mb2_kamino;set nextmap vstr d1"

map mb2_deathstar
 

dwarf

Donator
Posts
75
Reaction score
100
Sure, I will be removing the rcon pass and smod logins If you dont mind

Code:
// Movie Battles II
// Sample Server Config

// Server Config:
seta sv_hostname "^5The ^3Chez^5||^3Open"                                        // Name of your server
seta g_motd ""        // 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 "masterjk3.ravensoft.com"
seta sv_master3 "master.jkhub.org"
seta sv_master4 "master.qtracker.com"
seta sv_master5 "master.jacklul.com"

// 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 "4095"                                 // All commands enabled
seta g_smodAdminPassword_2 ""
seta g_smodConfig_2 "4095"                                 // 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"

// 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 "0"        // Limit classes on Hero team in Open mode. See Readme for details.
seta g_allowedVillainClasses "0"    // 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-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 "500"            // 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 "800"            // 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_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 "150"            // 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_deathstar;set nextmap vstr d2"
set d2 "map mb2_dotf;set nextmap vstr d3"
set d3 "map mb2_kamino;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_deathstar;set nextmap vstr d8"
set d8 "map mb2_kamino;set nextmap vstr d1"

map mb2_deathstar

I can't seem to see any problems with your server.cfg that could cause a restart. So this is out of my expertise.
However for your connectivity problems, I'm sure once you port forward you'll be able to host outside your LAN.
 
Posts
115
Reaction score
62
You server is currently set up as a LAN server.

I'm assuming your friends cannot see the server and are connecting to your server via IP? Because if your server is only showing up in the 'local' server list then it is set up as a LAN server.
Pretty sure you have to enable port forwarding to allow others to connect to you remotely, So just keep on setting it up.

Can you post a copy of your server.cfg
1615838835019.png

It says UDP in the name but I didnt even put that in the server.cfg and how can I make it so It's not LAN?
 
Posts
115
Reaction score
62
I can't seem to see any problems with your server.cfg that could cause a restart. So this is out of my expertise.
However for your connectivity problems, I'm sure once you port forward you'll be able to host outside your LAN.
1615838889755.png

I am port forwarding but it still doesn't work, why's that?
 
Top