Hosting Server: Windows

Status
Not open for further replies.
Posts
25
Likes
0
I never do it lol. and surprisingly I thought moving files was "complex" at first. Ive gotten used to it since my first ever jedi academy mod download. and thanks!

it only lets me make it a txt file

I tried it, it didn't appear in my gamedata folder

if I could take screenshots and show them to you I would
if I knew how to even take screenshots x_x
lol I have no idea how doe

puppytine plz help D:

I cant find the "server.bat" in my gamedata folder even if I put it in there

am I able to like, download the file then put it there instead? does that effect anything?o_O
 
Last edited by a moderator:

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
if I could take screenshots and show them to you I would
if I knew how to even take screenshots x_x
lol I have no idea how doe
Press "Print screen" on your keyboard, launch any graphical editor you have (Paint, Photoshop...), Edit => Paste, Ctrl + S, then upload file to this thread using a "Upload a File" button.

Or read this:
how to make a screenshot - Поиск в Google

And please stop posting so many replies in row, use "Edit" button to edit your posts. You can be punished by forum admins for flooding.
 
Last edited:

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
what about the thing I just said?|
I uploaded file as atachment to this message.
After you download it, you need change its extension to .bat, since forum doesn't allow uploading files with extension ".bat".
 

Attachments

  • server.bat.txt
    68 bytes · Views: 437
Posts
25
Likes
0
oh no, I cant do it, my f keys are binded to windows 10 oh yeah I can do rename srry xD wait. so it needs to be server.bat.bat

Linux guide coming out soon.

Requirements:

Folder structure:
  • /GameData
    • /base
      • assets files
    • /MBII
      • Movie Battles II mod files
    • jampDED.exe


Configure server.cfg file
Server.cfg is configuration file for your server. It contains the more important information about your server like maximum players, name of your server etc.

Let's take a close look:
Code:
// Movie Battles II
// Sample Server Config
// Server Config:
seta sv_hostname "" // 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 "masterjk3.ravensoft.com"
seta sv_master3 "master.jkhub.org"
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 "8191"                                 // 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 "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 "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_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

What should we change first is:
Code:
seta sv_hostname "" // Name of your server
seta rconpassword "" // Rcon admin password - CHANGE THIS

The rest is optional, every option is commented



Now let's create .bat file so we can start our server.

Open notepad.exe and paste code:
Code:
jampDed.exe +set fs_game "MBII" +set net_port 29070 +exec server.cfg

Save as: "server.bat" in GameData folder.

Run server by double-clicking server.bat.


Connection FAQ
1. I can join server but my friends can't. Why?
Make sure you gave your friends public IP Address, and forwarded 29070 port on your router.

2. What is my public IP Address?
Here: What is my IP? - WhatIsMyIP.org

3. What is port forwarding and why do i need it?
This will be edited today :) Paint is killing me.


To be added:
smod commands,
rcon commands
how to setup rtv,
anything else?
I tried it, buuuuuuuuut it didn't work, I tested with a friend
 
Last edited by a moderator:
Posts
25
Likes
0
servers console?
ok

I can't get a picture

I cant get a screenshot of the server, I try, but it takes one of the launcher, any help?
 
Last edited by a moderator:

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
I cant get a screenshot of the server, I try, but it takes one of the launcher, any help?
I don't even understand what are you talking about.
Just start the server, press Print Screen, paste to some image editor, save, upload to the forum.
That's how it should looks like:

b0d485629169.png
 
Posts
20
Likes
2
I cant find the "server.bat" in my gamedata folder even if I put it in there
show the screen shots with print screen sysRq

Code:
smod say trolololo
Before that you must login:
Code:
smod login 1 password
where 'password' is that set in server's config:
Code:
seta g_smodAdminPassword_1 "" // Smod admin password - CHANGE THIS
uhhm i write that smod login 1 password in sta g_smodAdminPassword_1"" what should i do now?
 
Last edited by a moderator:
Posts
25
Likes
0
well i'll try and say all it said
I don't even understand what are you talking about.
Just start the server, press Print Screen, paste to some image editor, save, upload to the forum.
That's how it should looks like:

b0d485629169.png
I don't understand, I did the console of the ingame server. how do I get to that?
 

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,493
uhhm i write that smod login 1 password in sta g_smodAdminPassword_1"" what should i do now?
You need to open your config and change a password, something like this:
Code:
seta g_smodAdminPassword_1 "wanderlust" // Smod admin password - CHANGE THIS
Then start server, start game, join the server, open console, type:
Code:
smod login 1 wanderlust
smod say I want to see where the sirens sing
9f3839e55d00.png

well i'll try and say all it said
I don't understand, I did the console of the ingame server. how do I get to that?
Still can't understand you.
Please read guide once again.
Describe in detail what steps did you take, what output did you get, what problem do you have. Provide screenshots.
 
Last edited:
Status
Not open for further replies.
Top