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

[SOLVED] Dedicated Server Tools

Status
Not open for further replies.
Posts
386
Likes
455
EDIT: Issues resolved, cheers for the responses, server runs now.

Hi all.
I had a look around and couldn't seem to find any tools specifically for hosting Moviebattles II servers, is there a dedicated server tool I can pick up somewhere? I've hosted servers before so I'm fairly familiar with how to set them up and get them to run online, just an issue of finding the tools and figuring out how to configure it now.

Would greatly appreciate a response, been meaning to throw together a semi-dedicated server for a while now.

Cheers in advance.
 
Last edited:
Posts
386
Likes
455
So I've managed to get this up and running as far as I can see the server in local and favourites yet it doesn't appear on the Internet tab, do I have to get the server listed there? I'm going to keep looking around but I can't see anything that should be causing issues, ports are open and the server runs flawlessly in LAN, just not on the internet list.

Server config file included in case it's something I didn't get right in there.

Cheers in advance for any support.

Code:
// Server Config:
seta sv_hostname "Appo's Server"                                        // Name of your server
seta g_motd "Welcome to the server, work with your team!"        // Message of the Day

// Additional master servers to report to
seta sv_master1 "master.moviebattles2.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 ""

// 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 "0"                                 // 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"

// 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 "16"                // 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 "8"                    // If a team reaches this amount of won rounds, it wins the map.
seta roundlimit "12"                // 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, 3 = Duel mode.
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 "20"        // Ignore damage amounts below 5 for purposes of applying g_TKPointsSpecCount (Stray very minor splash damage is permissible.)
seta g_TKPointsSpecCount "0"            // 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 "0"            // 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 "0"    // How many rounds must pass without any TKing by the player before g_TKPointsRemovedPerRound applies. 0 = always.
seta g_TKPointsRemovedPerRound "800"    // 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 "1"        // 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 "1"                // 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 "50"                // 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 "1"    // 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 "0"            // 0 = Spectators can view the HUD from 'living' players, 1 = disabled.
seta g_InactivityKick "1800"        // Time in seconds until an inactive (i.e. not moving etc) client is kicked.
seta g_InactivitySpec "180"            // 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 "set g_gametype 7; map mb2_boc ; set nextmap vstr d2"
set d2 "set g_gametype 7; map mb2_corellia ; set nextmap vstr d3"
set d3 "set g_gametype 7; map mb2_deathstar ; set nextmap vstr d4"
set d4 "set g_gametype 7; map mb2_jeditemple ; set nextmap vstr d5"
set d5 "set g_gametype 7; map mb2_jeditemple_classic ; set nextmap vstr d6"
set d6 "set g_gametype 7; map mb2_kamino ; set nextmap vstr d7"
set d7 "set g_gametype 7; map mb2_Coruscant_chase ; set nextmap vstr d8"
set d8 "set g_gametype 7; map mb2_mustafar ; set nextmap vstr d9"
set d9 "set g_gametype 7; map mb2_mygeeto ; set nextmap vstr d10"
set d10 "set g_gametype 7; map mb2_republiccruiser ; set nextmap vstr d11"
set d11 "set g_gametype 7; map mb2_SDestroyer ; set nextmap vstr d12"
set d12 "set g_gametype 7; map mb2_theed ; set nextmap vstr d13"
set d13 "set g_gametype 7; map mb2_tradefed ; set nextmap vstr d1"

// start the first map
vstr d1
 
Posts
386
Likes
455
I made the change and fired up the server, still nothing. The server did disappear from the Local section though, I'll have a look in the morning if there's any issues with the port-forwarding, if there's nothing else you could see that I may have missed.
 
Posts
386
Likes
455
So I gave it another bash to see what I could get done but I'm having no luck, all the ports are active and allow traffic to pass through, I continue through with the following launch options for the server It just hosts a local (LAN) server that cannot be seen from the internet tab nor joined by people using my external IP, which, even if it could be joined via IP would not be ideal, hoping to get it onto the server browser for ease of access.

image.jpg

(jampDed.exe +set dedicated 2 +set net_port 28070 +set fs_game MBII +exec server.cfg)
I've included the parameters I use to launch the server that gives me the above issue, again that issue being that the server cannot be seen or interacted with by anyone but me, I was only able to produce results when I used another quake/JKA command, +set net_ip *IP* which did give me another error.

image.jpg

(jampDed.exe +set dedicated 2 +set net_ip 2.102.207.145 +set net_port 28070 +set fs_game MBII +exec server.cfg)
So above is again, the launch options for that screencap and the errors they provide, I had a look around on JK forums and Quake 3 forums and was unable to find any sort of common ground that would explain how to resolve said issue, I'm not exactly experienced with Jedi Academy's server setup so I'm pretty much stuck at the moment.

Would appreciate any input if anyone has any idea what the issue here is, I'm certain it's not port related though as those ports do indeed work when I'm using them for something else, just used said ports to host a Chivalry: Medieval Warfare server without fault the same as I would with my usual ports for that game.

Cheers.
 
Last edited:

LoU

R2D2
Movie Battles II Team Retired
Posts
746
Likes
651
Remove this line:
+set net_ip 2.102.207.145

Unless you are connected directly to modem(not router) with ability to route more than one IP Address.
 
Posts
386
Likes
455
EDIT: Scratch that, got it working. I don't know what changed but I just fired up the server again and I can see it on the Internet section and my friends are able to join it.

Thanks to both of you for your help.
 
Status
Not open for further replies.
Top