forked from baalexander/node-xmlrpc
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Floats from scripted modes are converted to number, this will loose the decimal notation (with zero after it.).
Will be a problem when using ScriptModeSettings:
receiving from gbx:
{ S_AutoManageAFK: false,
S_AFKIdleTimeLimit: 90000,
S_UseScriptCallbacks: true,
S_NeutralEmblemUrl: '',
S_ScoresTableStylePath: '',
S_MatchmakingAPIUrl: 'https://matchmaking.maniaplanet.com/v8',
S_MatchmakingMode: 0,
S_MatchmakingRematchRatio: -1,
S_MatchmakingRematchNbMax: 2,
S_MatchmakingVoteForMap: false,
S_MatchmakingProgressive: false,
S_LobbyRoundPerMap: 60,
S_LobbyMatchmakerPerRound: 6,
S_LobbyMatchmakerWait: 2,
S_LobbyMatchmakerTime: 8,
S_LobbyInstagib: false,
S_LobbyDisplayMasters: true,
S_LobbyDisableUI: false,
S_MatchmakingErrorMessage: '�An error occured in the matchmaking API. If the problem persist please try to contact this server administrator.',
S_MatchmakingLogAPIError: false,
S_MatchmakingLogAPIDebug: false,
S_MatchmakingLogMiscDebug: false,
S_ProgressiveActivation_WaitingTime: 180000,
S_ProgressiveActivation_PlayersNbRatio: 1,
S_Mode: 0,
S_TimeLimit: 60,
S_TimePole: 15,
S_TimeCapture: 1.5,
S_WarmUpDuration: 90,
S_MapWin: 2,
S_TurnGap: 2,
S_TurnLimit: 15,
S_DeciderTurnLimit: 20,
S_QuickMode: false,
S_UseLegacyCallback: false,
S_WarnWhenSpectating: false,
S_UsePlayerClublinks: false,
S_ForceClublinkTeam1: '',
S_ForceClublinkTeam2: '',
S_DisplaySponsors: true,
S_RestartMatchOnTeamChange: false,
S_Practice: false,
S_PracticeRoundLimit: 3,
S_TurnWin: 9,
S_UseDraft: false,
S_DraftBanNb: 4,
S_DraftPickNb: 3,
S_NbPlayersPerTeamMax: 3,
S_NbPlayersPerTeamMin: 2,
S_DisplayRulesReminder: true }
Error when changing one value and query the SetModeScriptSettings:
XML-RPC fault: Wrong setting type for 'S_MatchmakingRematchRatio'
Error: XML-RPC fault: Wrong setting type for 'S_MatchmakingRematchRatio'
Type according to ManiaPlanet Docs:
http://doc.maniaplanet.com/dedicated-server/matchmaking.html#Dedicated-server-configuration
Metadata
Metadata
Assignees
Labels
No labels