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

[SOLVED] g_MinMBPoints

Status
Not open for further replies.
Posts
14
Likes
10
Hey guys, not sure if there is a new server.cfg standard or not to compare against, as the launcher doesn't download one and there really isn't a server install zip anywhere just yet, but I noticed something different when I put our servers on 1.3.2 using our older server.cfg setup.

It appears g_MinMBPoints is not working any more in open mode. Is there a new variable for a starting number of points for open mode?

Also, it appears the semi-authentic mode is showing as open when querying using UDP. It might have always been that way and I just never noticed perhaps.

Thanks!
 

Supa

The Serial Stacker
Movie Battles II Team Retired
Posts
914
Likes
355
Works just fine on my dedicated server. Could you provide post the relevant part of your server config? Just remove any passwords or other nonessential shit.
 
Posts
14
Likes
10
Non-essential shit stripped. :)

// Server Config:
seta sv_hostname ".^2{^7EW^2}" //changed when bottom VSTR runs
seta g_motd "^7www.elitewarriors.net\n ^1Respect your fellow gamers during your stay. \n

// Additional master servers to report to
seta sv_master1 "master.moviebattles2.com"
seta sv_master2 "masterjk3.ravensoft.com"
seta sv_master3 "master.jkhub.org"
seta sv_master4 "master.qtracker.com"
seta sv_master5 ""

// Administration:
seta rconpassword "whatever"

// 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 "whatever"
seta g_smodConfig_1 "4095"
seta g_smodAdminPassword_2 "whatever"
seta g_smodConfig_2 "7"
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 "blue.log"
seta g_logClientInfo "1"
seta g_logSync "1"

// Server Settings:
seta sv_fps "40"
seta sv_maxclients "32"
seta sv_privateClients ""
seta sv_privatePassword ""
seta sv_pure "0"
seta sv_maxRate "25000"
seta sv_maxPing "0"
seta sv_timeout "400"
seta sv_minSnaps "10"
seta sv_minRate "1500"
seta sv_maxConnections "4"
seta sv_floodProtect "1"

// Movie Battles II Settings:
seta g_gametype "7"
seta fraglimit "15"
seta roundlimit "20"
seta timelimit "0"

seta g_MinMBPoints "300"
seta g_MBPointsPerRound "0"
seta g_Authenticity "0"
seta g_allowedHeroClasses "0"
seta g_allowedVillainClasses "0"
seta g_TimePeriod "0"
seta g_EUAllowed "1"

// Anti-Teamkill System:
seta g_TKPointsMinorFriendly "1"
seta g_TKPointsSpecCount "450"
seta g_TKPointsKickCount "900"
seta g_TKPointsForgiveAfterRounds "2"
seta g_TKPointsRemovedPerRound "100"
seta g_TKPointsTempBanForRounds "50"

// Misc:
seta g_FullSpecTalkToPlayers "1"
seta g_chatProtectTime "1000"
seta g_password ""
seta g_allowVote "0"
seta g_automapcycle "0"
seta g_dismember "100"
seta g_allowNPC "1"
seta g_noSpecMove "0"
seta g_AllowEntity_target_level_change "0"
seta g_HideHUDFromSpecs "0"
seta g_InactivityKick "600"
seta g_InactivitySpec "90"
seta g_filterban "1"

//ORA = OPEN ROTATION A
set ORA "map mb2_commtower; fraglimit 10; set nextmap vstr ORA2
set ORA2 "map mb2_corellia; fraglimit 10; set nextmap vstr ORA3
set ORA3 "map mb2_lunarbase; fraglimit 10; set nextmap vstr ORA4
set ORA4 "map mb2_mustafar; fraglimit 10; set nextmap vstr ORA5
set ORA5 "map mb2_sdestroyer; fraglimit 10; set nextmap vstr ORA6
set ORA6 "map mb2_smuggler; fraglimit 10; set nextmap vstr ORA

set HUB1 "set sv_hostname " -^4EW^7- ^4HUB"; set g_gametype 7; set g_password none; mbmode 0;seta g_Authenticity "0"; set g_allowedvillainclasses 0; set g_allowedheroclasses 0; set g_hidehudfromspecs 0; vstr ORA"

// Start the map!
vstr HUB1

So as is, this comes up with only 4 points for new players when in open mode, but comes up with the correct number of starting points when executing 'mbmode 1' from rcon in the in-game console.

Could it be the 'mbmode 0' in our HUB1 vstr causing the problem? I seem to remember there are some 'oh by the ways' with using mbmode in a vstr...

Thanks!
 

Supa

The Serial Stacker
Movie Battles II Team Retired
Posts
914
Likes
355
It's possible HUB1 is causing the problem, yes, but the server isn't starting with that active, is it?

Also, is your g_MinMBPoints set to 300? If so try setting it to 80.
 
Posts
14
Likes
10
Yeah, last line there shows HUB1 being called. We have a bunch of others set as vstrs so we can switch the name of the server and what mode its running without a lot of pain.

Yeah, 300 was just in case the 80 hard coded limit ever was expanded we wouldn't have to change the config. In previous MBII versions I believe the code would check and see its above 80, and just set it to 80.

Hmm, if the code now sees 300 out of range and just sets it to the default (starting at 0 + 4 for the first round) instead of the max, that's probably it!

Geez, why didn't I think of that before lol. Thanks man.
 
Posts
14
Likes
10
That did the trick! I'm sure whoever changed the range check in the code from max 80 to default to 0+4 is laughing at me right now. Thanks again for the assist.
 
Status
Not open for further replies.
Top