TrackmaniaServer 2006-12-07

This is the place where you can find everything related to the dedicated server, control scripts and community tools.

Moderators: Pit Crew, TM-Patrol

xbx
Developer
Developer
Posts: 452
Joined: 12 Aug 2005 14:42
Contact:

TrackmaniaServer 2006-12-07

Post by xbx » 07 Dec 2006 21:35

ok, so here is a server for the new update of the game:

ftp://FTPNadeoUser39:5Q86awA-nT@ftp.nadeo.com


changelog - sortof:

2006-12-07: (needs a patched client)
- Billing system, to make copper transactions with players. (=> SendBill(), Pay(), GetBillState() )
- ChatSendToLanguage(), ChatSendServerMessageToLanguage()
- ForceSpectator(), ForceSpectatorId()
- ForcePlayerTeam(), ForcePlayerTeamId()
- BlackListId(), AddGuestId(), RemoveGuestId()
- DisplayManialinkPage: you can now add a parent <ManiaLinks> element in order to have several <ManiaLink> with their positions.
- Sending Chat to a player also displayed the chat to the spectators looking at him.
- GetManialinkPageAnswers() no longer crashes.
- You can now display ManialinkPages to each players, and get all the answers..
- Sometimes the name of the challenge was incorrect.
- the server can now act as a P2P relay, if the peers don't accept incomming connections.

JP100NX
pedestrian
pedestrian
Posts: 8
Joined: 18 Nov 2006 17:31
Location: France - Var

Post by JP100NX » 07 Dec 2006 21:47

Yeah thanks a lot :wink:

andreas1983
sunday driver
sunday driver
Posts: 63
Joined: 22 Oct 2006 21:31
Contact:

Post by andreas1983 » 07 Dec 2006 21:56

when is patch release?

lepapa
speedy pilot
speedy pilot
Posts: 359
Joined: 12 Aug 2005 14:55
Location: Villeurbanne
Contact:

Post by lepapa » 07 Dec 2006 22:02

Merci........ ca tourne :wink:
1) Portable TOSHIBA T7100 Core(TM2) Duo CPU
2) Fixe Intel(r) Core(TM)2 CPU 6300@1.86GHz (2 hds 149Go et 249Go) 2Go Ram

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Post by El Fuego » 07 Dec 2006 22:03

andreas1983 wrote:when is patch release?
My thoughts exactly. New server seems to start up OK but I need an updated client program ... but the Update in the launcher reports no updates needed! (It says my version is 2.0.3 en).
Cheers!
.FUEY.
Diary Of A Mad Man

User avatar
BLaHiTiS
lord of the roads
lord of the roads
Posts: 3331
Joined: 12 Aug 2005 15:46
Owned TM-games: tmu tmo tms tmn
Manialink(s): muxitis
Location: Hasselt, Limburg, Belgium
Contact:

Post by BLaHiTiS » 07 Dec 2006 22:13

the patch is not definite yet, it's not "release ready" untill tomorrow
Image

  • MB:Asus P8 H61
  • CPU:Intel i5 2400
  • RAM:8 Gb
  • GFX:Asus GTX-580 (1500mb DDR5) - Forceware 75.33
  • DirectX: June 2011
  • SND:Realtek HD on mobo
  • OS:Windows 7 SP1- Home Premium
[/size]

User avatar
TrabTowN
Pit Crew
Pit Crew
Posts: 789
Joined: 03 Nov 2005 14:30
Owned TM-games: TMS,tmn,TMU
Location: Ireland/orginal SACHSE^^
Contact:

Post by TrabTowN » 07 Dec 2006 22:17

:shock: :shock: :shock: :shock:

WOW...... wOw.....WoW..........

THX xbx.....

woOow.....

:1
100²% addicted
Image
Image

User avatar
El Fuego
solid chaser
solid chaser
Posts: 1097
Joined: 27 Oct 2006 11:00
Owned TM-games: TMUF, TM2 C/S
Location: Nae too far frae Glesgie
Contact:

Post by El Fuego » 07 Dec 2006 22:20

Me waits with baited breath! 8) :D
Cheers!
.FUEY.
Diary Of A Mad Man

Georgiooo
cyclist
cyclist
Posts: 36
Joined: 28 Apr 2006 03:17
Location: Belgium

Post by Georgiooo » 07 Dec 2006 22:54

Great Job, i install it yet ;)
AMD Athlon XP Barton 2500@3200+
512 Mo DDR 400Mhz
Nvidia Geforce 5800 Ultra

User avatar
TrabTowN
Pit Crew
Pit Crew
Posts: 789
Joined: 03 Nov 2005 14:30
Owned TM-games: TMS,tmn,TMU
Location: Ireland/orginal SACHSE^^
Contact:

Post by TrabTowN » 07 Dec 2006 23:24

just a little info from the new server soft... it might be handy :wink:
1.) system.listMethods
array - system.listMethods()
---> Return an array of all available XML-RPC methods on this server.

2.) system.methodSignature
array - system.methodSignature(string)
---> Given the name of a method, return an array of legal signatures. Each signature is an array of strings. The first item of each signature is the return type, and any others items are parameter types.

3.) system.methodHelp
string - system.methodHelp(string)
---> Given the name of a method, return a help string.

4.) system.multicall
array - system.multicall(array)
---> Process an array of calls, and return an array of results. Calls should be structs of the form {'methodName': string, 'params': array}. Each result will either be a single-item array containg the result value, or a struct of the form {'faultCode': int, 'faultString': string}. This is useful when you need to make lots of small calls without lots of round trips.

5.) Authenticate
boolean - Authenticate(string, string)
---> Allow user authentication by specifying a login and a password, to gain access to the set of functionalities corresponding to this authorization level

6.) ChangeAuthPassword
boolean - ChangeAuthPassword(string, string)
---> Change the password for the specified login/user. Only available to SuperAdmin.

7.) EnableCallbacks
boolean - EnableCallbacks(boolean)
---> Allow the GameServer to call you back.

8.) GetVersion
struct - GetVersion()
---> Returns a struct with the Name, Version and Build of the application remotely controled.

9.) CallVote
boolean - CallVote(string)
---> Call vote for cmd. The command is a XML string corresponding to an XmlRpc request. Only available to Admin.

10.) InternalCallVote
boolean - InternalCallVote()
---> Used internaly by game.

11.) CancelVote
boolean - CancelVote()
---> Cancel the current vote. Only available to Admin.

12.) ChatSendServerMessage
boolean - ChatSendServerMessage(string)
---> Send a text message to all clients without the server login. Only available to Admin.

13.) ChatSendServerMessageToLanguage
boolean - ChatSendServerMessageToLanguage(array)
---> Send a localised text message to all clients without the server login. Only available to Admin.

14.) ChatSendServerMessageToId
boolean - ChatSendServerMessageToId(string, int)
---> Send a text message to all clients without the server login. . The parameter is an array of structures {Lang='^, Text='...'}. If no matching language is found, the last text in the array is used. Only available to Admin.

15.) ChatSendServerMessageToLogin
boolean - ChatSendServerMessageToLogin(string, string)
---> Send a text message to a client without the server login. Only available to Admin.

16.) ChatSend
boolean - ChatSend(string)
---> Send a text message to all clients. Only available to Admin.

17.) ChatSendToLanguage
boolean - ChatSendToLanguage(array)
---> Send a localised text message to all clients. The parameter is an array of structures {Lang='^, Text='...'}. If no matching language is found, the last text in the array is used. Only available to Admin.

18.) ChatSendToLogin
boolean - ChatSendToLogin(string, string)
---> Send a text message to the client with the specified login. Only available to Admin.

19.) ChatSendToId
boolean - ChatSendToId(string, int)
---> Send a text message to with the specified PlayerId. Only available to Admin.

20.) GetChatLines
array - GetChatLines()
---> Returns the last chat lines. Maximum of 20 lines. Only available to Admin.

21.) SendNotice
boolean - SendNotice(string, string)
---> Display a notice on all clients. The parameters are the text message to display, and the login of the avatar to display next to it (or '' for no avatar). Only available to Admin.

22.) SendNoticeToId
boolean - SendNoticeToId(int, string, int)
---> Display a notice on the client with the specified UId. The parameters are the Uid of the client to whom the notice is sent, the text message to display, and the UId of the avatar to display next to it (or '255' for no avatar). Only available to Admin.

23.) SendNoticeToLogin
boolean - SendNoticeToLogin(string, string, string)
---> Display a notice on the client with the specified login. The parameters are the login of the client to whom the notice is sent, the text message to display, and the login of the avatar to display next to it (or '' for no avatar). Only available to Admin.

24.) SendDisplayManialinkPage
boolean - SendDisplayManialinkPage(string, int, boolean)
---> Display a manialink page on all clients. The parameters are the xml description of the page to display, a timeout to autohide it (0 = permanent), and a boolean to indicate whether the page must be hidden as soon as the user clics on a page option. Only available to Admin.

25.) SendDisplayManialinkPageToId
boolean - SendDisplayManialinkPageToId(int, string, int, boolean)
---> Display a manialink page on the client with the specified UId. The first paramter is the UId of the player, the other are identical to 'SendDisplayManialinkPage'. Only available to Admin.

26.) SendDisplayManialinkPageToLogin
boolean - SendDisplayManialinkPageToLogin(string, string, int, boolean)
---> Display a manialink page on the client with the specified login. The first paramter is the login of the player, the other are identical to 'SendDisplayManialinkPage'. Only available to Admin.

27.) SendHideManialinkPage
boolean - SendHideManialinkPage()
---> Hide the displayed manialink page on all clients. Only available to Admin.

28.) SendHideManialinkPageToId
boolean - SendHideManialinkPageToId(int)
---> Hide the displayed manialink page on the client with the specified UId. Only available to Admin.

29.) SendHideManialinkPageToLogin
boolean - SendHideManialinkPageToLogin(string)
---> Hide the displayed manialink page on the client with the specified login. Only available to Admin.

30.) GetManialinkPageAnswers
array - GetManialinkPageAnswers()
---> Returns the latest results from the curent manialink page, as an array of structs {login, playerid, result} result==0 -> no answer, result>0.... -> answer from the player.

31.) Kick
boolean - Kick(string)
---> Kick the player with the specified login. Only available to Admin.

32.) KickId
boolean - KickId(int)
---> Kick the player with the specified PlayerId. Only available to Admin.

33.) Ban
boolean - Ban(string)
---> Ban the player with the specified login. Only available to Admin.

34.) BanId
boolean - BanId(int)
---> Ban the player with the specified PlayerId. Only available to Admin.

35.) UnBan
boolean - UnBan(string)
---> Unban the player with the specified client name. Only available to Admin.

36.) CleanBanList
boolean - CleanBanList()
---> Clean the ban list of the server. Only available to Admin.

37.) GetBanList
array - GetBanList(int, int)
---> Returns the list of player banned. This method takes two parameters. The first parameter specifies the maximum number of infos to be returned, and the second one the starting index in the list. The list is an array of structure. Each structure contains the following fields : Login, ClientName and IPAddress.

38.) BlackList
boolean - BlackList(string)
---> Blacklist the player with the specified login. Only available to SuperAdmin.

39.) BlackListId
boolean - BlackListId(int)
---> Blacklist the player with the specified PlayerId. Only available to SuperAdmin.

40.) UnBlackList
boolean - UnBlackList(string)
---> UnBlackList the player with the specified login. Only available to SuperAdmin.

41.) CleanBlackList
boolean - CleanBlackList()
---> Clean the blacklist of the server. Only available to SuperAdmin.

42.) GetBlackList
array - GetBlackList(int, int)
---> Returns the list of player blacklisted. This method takes two parameters. The first parameter specifies the maximum number of infos to be returned, and the second one the starting index in the list. The list is an array of structure. Each structure contains the following fields : Login.

43.) AddGuest
boolean - AddGuest(string)
---> Add the player with the specified login on the guest list. Only available to Admin.

44.) AddGuestId
boolean - AddGuestId(int)
---> Add the player with the specified PlayerId on the guest list. Only available to Admin.

45.) RemoveGuest
boolean - RemoveGuest(string)
---> Remove the player with the specified login from the guest list. Only available to Admin.

46.) RemoveGuestId
boolean - RemoveGuestId(int)
---> Remove the player with the specified PlayerId from the guest list. Only available to Admin.

47.) CleanGuestList
boolean - CleanGuestList()
---> Clean the guest list of the server. Only available to Admin.

48.) GetGuestList
array - GetGuestList(int, int)
---> Returns the list of player on the guest list. This method takes two parameters. The first parameter specifies the maximum number of infos to be returned, and the second one the starting index in the list. The list is an array of structure. Each structure contains the following fields : Login.

49.) WriteFile
boolean - WriteFile(string, base64)
---> Write the data to the specified file. The filename is relative to the Tracks path. Only available to Admin.

50.) Echo
boolean - Echo(string, string)
---> Just log the parameters and invoke a callback. Can be used to talk to other xmlrpc clients connected, or to make custom votes. If used in a callvote, the first parameter will be used as the vote message on the clients. Only available to Admin.

51.) Ignore
boolean - Ignore(string)
---> Ignore the player with the specified login. Only available to Admin.

52.) IgnoreId
boolean - IgnoreId(int)
---> Ignore the player with the specified PlayerId. Only available to Admin.

53.) UnIgnore
boolean - UnIgnore(string)
---> Unignore the player with the specified login. Only available to Admin.

54.) UnIgnoreId
boolean - UnIgnoreId(int)
---> Unignore the player with the specified PlayerId. Only available to Admin.

55.) CleanIgnoreList
boolean - CleanIgnoreList()
---> Clean the ignore list of the server. Only available to Admin.

56.) GetIgnoreList
array - GetIgnoreList(int, int)
---> Returns the list of player ignored. This method takes two parameters. The first parameter specifies the maximum number of infos to be returned, and the second one the starting index in the list. The list is an array of structure. Each structure contains the following fields : Login and Id.

57.) Pay
int - Pay(string, int, string)
---> Pay coppers from the server account to a player, returns the BillId. This method takes three parameters: Login of the payee, Coppers to pay and a Label to send with the payement. Only available to Admin.

58.) SendBill
int - SendBill(string, int, string, string)
---> Create a bill, send it to a player, and return the BillId. This method takes four parameters: LoginFrom of the payer, Coppers the player has to pay, Label of the transaction and an optional LoginTo of the payee (if empty string, then the server account is used). Only available to Admin.

59.) GetBillState
struct - GetBillState(int)
---> Returns the current state of a bill. This method takes one parameter, The BillId. Returns a struct containing State, StateName and TransactionId. Possible enum values are: CreatingTransaction, Issued, ValidatingPayement, Payed, Refused, Error,

60.) SetServerName
boolean - SetServerName(string)
---> Set a new server name in utf8 format. Only available to Admin.

61.) GetServerName
string - GetServerName()
---> Get the server name in utf8 format.

62.) SetServerComment
boolean - SetServerComment(string)
---> Set a new server comment in utf8 format. Only available to Admin.

63.) GetServerComment
string - GetServerComment()
---> Get the server comment in utf8 format.

64.) SetServerPassword
boolean - SetServerPassword(string)
---> Set a new password for the server. Only available to Admin.

65.) GetServerPassword
string - GetServerPassword()
---> Get the server password if called as Admin or Super Admin, else returns if a password is needed or not.

66.) SetServerPasswordForSpectator
boolean - SetServerPasswordForSpectator(string)
---> Set a new password for the spectator mode. Only available to Admin.

67.) GetServerPasswordForSpectator
string - GetServerPasswordForSpectator()
---> Get the password for spectator mode if called as Admin or Super Admin, else returns if a password is needed or not.

68.) SetMaxPlayers
boolean - SetMaxPlayers(int)
---> Set a new maximum number of players. Only available to Admin. Requires a challenge restart to be taken into account.

69.) GetMaxPlayers
struct - GetMaxPlayers()
---> Get the current and next maximum number of players allowed on server. The struct returned contains two fields CurrentValue and NextValue.

70.) SetMaxSpectators
boolean - SetMaxSpectators(int)
---> Set a new maximum number of Spectators. Only available to Admin. Requires a challenge restart to be taken into account.

71.) GetMaxSpectators
struct - GetMaxSpectators()
---> Get the current and next maximum number of Spectators allowed on server. The struct returned contains two fields CurrentValue and NextValue.

72.) EnableP2PUpload
boolean - EnableP2PUpload(boolean)
---> Enable or disable peer-to-peer upload from server. Only available to Admin.

73.) IsP2PUpload
boolean - IsP2PUpload()
---> Returns if the peer-to-peer upload from server is enabled.

74.) EnableP2PDownload
boolean - EnableP2PDownload(boolean)
---> Enable or disable peer-to-peer download for server. Only available to Admin.

75.) IsP2PDownload
boolean - IsP2PDownload()
---> Returns if the peer-to-peer download for server is enabled.

76.) AllowChallengeDownload
boolean - AllowChallengeDownload(boolean)
---> Allow clients to download challenges from the server. Only available to Admin.

77.) IsChallengeDownloadAllowed
boolean - IsChallengeDownloadAllowed()
---> Returns if clients can download challenges from the server.

78.) AutoSaveReplays
boolean - AutoSaveReplays(boolean)
---> Enable the autosaving of all replays on the server. Only available to SuperAdmin.

79.) IsAutoSaveReplaysEnabled
boolean - IsAutoSaveReplaysEnabled()
---> Returns if autosaving of all replays is enabled on the server.

80.) SaveCurrentReplay
boolean - SaveCurrentReplay(string)
---> Saves the current replay. pass a filename, or '' for an automatic filename. Only available to Admin.

81.) SetLadderMode
boolean - SetLadderMode(int)
---> Set a new ladder mode between ladder inactive (0), normal mode (1), and forced ladder (2). Only available to Admin. Requires a challenge restart to be taken into account.

82.) GetLadderMode
struct - GetLadderMode()
---> Get the current and next ladder mode on server. The struct returned contains two fields CurrentValue and NextValue.

83.) SetVehicleNetQuality
boolean - SetVehicleNetQuality(int)
---> Set the network vehicle quality to Fast (0) or High (1). Only available to Admin. Requires a challenge restart to be taken into account.

84.) GetVehicleNetQuality
struct - GetVehicleNetQuality()
---> Get the current and next network vehicle quality on server. The struct returned contains two fields CurrentValue and NextValue.

85.) SetCallVoteTimeOut
boolean - SetCallVoteTimeOut(int)
---> Set a new timeout for waiting for votes. A zero value disables callvote. Only available to Admin. Requires a challenge restart to be taken into account.

86.) GetCallVoteTimeOut
struct - GetCallVoteTimeOut()
---> Get the current and next timeout for waiting for votes. The struct returned contains two fields 'CurrentValue' and 'NextValue'.

87.) SetCallVoteRatio
boolean - SetCallVoteRatio(double)
---> Set a new ratio for accepting callvote. Must lie between 0 and 1. Only available to Admin.

88.) GetCallVoteRatio
double - GetCallVoteRatio()
---> Get the current ratio for accepting callvote. This value lies between 0 and 1.

89.) SetServerOptions
boolean - SetServerOptions(struct)
---> Set new server options using the struct passed as parameters. This struct must contain the following fields : Name, Comment, Password, PasswordForSpectator, NextMaxPlayers, NextMaxSpectators, IsP2PUpload, IsP2PDownload, NextLadderMode, NextVehicleNetQuality, NextCallVoteTimeOut, CallVoteRatio, AllowChallengeDownload and AutoSaveReplays. Only available to Admin. A change of NextMaxPlayers, NextMaxSpectators, NextLadderMode, NextVehicleNetQuality or NextCallVoteTimeOut requires a challenge restart to be taken into account.

90.) GetServerOptions
struct - GetServerOptions()
---> Returns a struct containing the server options i.d. Name, Comment, Password, PasswordForSpectator, CurrentMaxPlayers, NextMaxPlayers, CurrentMaxSpectators, NextMaxSpectators, IsP2PUpload, IsP2PDownload, CurrentLadderMode, NextLadderMode, CurrentVehicleNetQuality, NextVehicleNetQuality, CurrentCallVoteTimeOut, NextCallVoteTimeOut, CallVoteRatio, AllowChallengeDownload and AutoSaveReplays.

91.) LoadBlackList
boolean - LoadBlackList(string)
---> Load the black list file with the specified file name. Only available to SuperAdmin.

92.) SaveBlackList
boolean - SaveBlackList(string)
---> Save the black list in the file with specified file name. Only available to SuperAdmin.

93.) LoadGuestList
boolean - LoadGuestList(string)
---> Load the guest list file with the specified file name. Only available to Admin.

94.) SaveGuestList
boolean - SaveGuestList(string)
---> Save the guest list in the file with specified file name. Only available to SuperAdmin.

95.) GetLastConnectionErrorMessage
string - GetLastConnectionErrorMessage()
---> Returns the last error message for an internet connection. Only available to SuperAdmin.

96.) ChallengeRestart
boolean - ChallengeRestart()
---> Restarts the challenge. Only available to Admin.

97.) NextChallenge
boolean - NextChallenge()
---> Switch to next challenge. Only available to Admin.

98.) StopServer
boolean - StopServer()
---> Stop the server. Only available to SuperAdmin.

99.) ForceEndRound
boolean - ForceEndRound()
---> In Rounds or Laps mode, force the end of round without waiting for all players to giveup/finish. Only available to Admin.

100.) SetGameInfos
boolean - SetGameInfos(struct)
---> Set new game settings using the struct passed as parameters. This struct must contain the following fields : GameMode, RoundsPointsLimit, RoundsUseNewRules, TimeAttackLimit, TimeAttackSynchStartPeriod, TeamPointsLimit, TeamMaxPoints, TeamUseNewRules, LapsNbLaps, LapsTimeLimit and ChatTime. Only available to Admin. Requires a challenge restart to be taken into account.

101.) GetCurrentGameInfo
struct - GetCurrentGameInfo()
---> Returns a struct containing the current game settings i.d. GameMode, RoundsPointsLimit, RoundsUseNewRules, TimeAttackLimit, TimeAttackSynchStartPeriod, TeamPointsLimit, TeamMaxPoints, TeamUseNewRules, LapsNbLaps, LapsTimeLimit, ChatTime and NbChallenge.

102.) GetNextGameInfo
struct - GetNextGameInfo()
---> Returns a struct containing the game settings for the next challenge i.d. GameMode, RoundsPointsLimit, RoundsUseNewRules, TimeAttackLimit, TimeAttackSynchStartPeriod, TeamPointsLimit, TeamMaxPoints, TeamUseNewRules, LapsNbLaps, LapsTimeLimit, ChatTime and NbChallenge.

103.) GetGameInfos
struct - GetGameInfos()
---> Returns a struct containing two other structures, the first containing the current game settings and the second the game settings for next challenge. The first structure is named CurrentGameInfos and the second NextGameInfos.

104.) SetChatTime
boolean - SetChatTime(int)
---> Set a new chat time value in milliseconds. Only available to Admin. Requires a challenge restart to be taken into account.

105.) GetChatTime
struct - GetChatTime()
---> Get the current and next chat time. The struct returned contains two fields CurrentValue and NextValue.

106.) SetFinishTimeout
boolean - SetFinishTimeout(int)
---> Set a new finish timeout (for rounds/laps mode) value in milliseconds. 0 means default. 1 means adaptative to the duration of the challenge. not available in 'nations'. Only available to Admin. Requires a challenge restart to be taken into account.

107.) GetFinishTimeout
struct - GetFinishTimeout()
---> Get the current and next FinishTimeout. The struct returned contains two fields CurrentValue and NextValue.

108.) SetGameMode
boolean - SetGameMode(int)
---> Set a new game mode between Rounds (0), TimeAttack (1), Team (2), Laps (3) and Stunts (4). Only available to Admin. Requires a challenge restart to be taken into account.

109.) GetGameMode
int - GetGameMode()
---> Get the current game mode.

110.) SetTimeAttackLimit
boolean - SetTimeAttackLimit(int)
---> Set a new time limit for time attack mode. Only available to Admin. Requires a challenge restart to be taken into account.

111.) GetTimeAttackLimit
struct - GetTimeAttackLimit()
---> Get the current and next time limit for time attack mode. The struct returned contains two fields CurrentValue and NextValue.

112.) SetTimeAttackSynchStartPeriod
boolean - SetTimeAttackSynchStartPeriod(int)
---> Set a new synchronised start period for time attack mode. Only available to Admin. Requires a challenge restart to be taken into account.

113.) GetTimeAttackSynchStartPeriod
struct - GetTimeAttackSynchStartPeriod()
---> Get the current and synchronised start period for time attack mode. The struct returned contains two fields CurrentValue and NextValue.

114.) SetLapsTimeLimit
boolean - SetLapsTimeLimit(int)
---> Set a new time limit for laps mode. Only available to Admin. Requires a challenge restart to be taken into account.

115.) GetLapsTimeLimit
struct - GetLapsTimeLimit()
---> Get the current and next time limit for laps mode. The struct returned contains two fields CurrentValue and NextValue.

116.) SetNbLaps
boolean - SetNbLaps(int)
---> Set a new number of laps for laps mode. Only available to Admin. Requires a challenge restart to be taken into account.

117.) GetNbLaps
struct - GetNbLaps()
---> Get the current and next number of laps for laps mode. The struct returned contains two fields CurrentValue and NextValue.

118.) SetRoundForcedLaps
boolean - SetRoundForcedLaps(int)
---> Set a new number of laps for rounds mode (0 = default, use the number of laps from the challenges, otherwise forces the number of rounds for multilaps challenges). Only available to Admin. Requires a challenge restart to be taken into account.

119.) GetRoundForcedLaps
struct - GetRoundForcedLaps()
---> Get the current and next number of laps for rounds mode. The struct returned contains two fields CurrentValue and NextValue.

120.) SetRoundPointsLimit
boolean - SetRoundPointsLimit(int)
---> Set a new points limit for rounds mode. Only available to Admin. Requires a challenge restart to be taken into account.

121.) GetRoundPointsLimit
struct - GetRoundPointsLimit()
---> Get the current and next points limit for rounds mode. The struct returned contains two fields CurrentValue and NextValue.

122.) SetUseNewRulesRound
boolean - SetUseNewRulesRound(int)
---> Set if new rules are used for rounds mode. Only available to Admin. Requires a challenge restart to be taken into account.

123.) GetUseNewRulesRound
struct - GetUseNewRulesRound()
---> Get if the new rules are used for rounds mode (Current and next values). The struct returned contains two fields CurrentValue and NextValue.

124.) SetTeamPointsLimit
boolean - SetTeamPointsLimit(int)
---> Set a new points limit for team mode. Only available to Admin. Requires a challenge restart to be taken into account.

125.) GetTeamPointsLimit
struct - GetTeamPointsLimit()
---> Get the current and next points limit for team mode. The struct returned contains two fields CurrentValue and NextValue.

126.) SetMaxPointsTeam
boolean - SetMaxPointsTeam(int)
---> Set a new number of maximum points per round for team mode. Only available to Admin. Requires a challenge restart to be taken into account.

127.) GetMaxPointsTeam
struct - GetMaxPointsTeam()
---> Get the current and next number of maximum points per round for team mode. The struct returned contains two fields CurrentValue and NextValue.

128.) SetUseNewRulesTeam
boolean - SetUseNewRulesTeam(int)
---> Set if new rules are used for team mode. Only available to Admin. Requires a challenge restart to be taken into account.

129.) GetUseNewRulesTeam
struct - GetUseNewRulesTeam()
---> Get if the new rules are used for team mode (Current and next values). The struct returned contains two fields CurrentValue and NextValue.

130.) GetCurrentChallengeIndex
int - GetCurrentChallengeIndex()
---> Returns the current challenge index in the selection.

131.) GetCurrentChallengeInfo
struct - GetCurrentChallengeInfo()
---> Returns a struct containing the infos for the current challenge. The struct contains the following fields : Name, UId, FileName, Author, Environnement, Mood, BronzeTime, SilverTime, GoldTime, AuthorTime, CopperPrice and LapRace.

132.) GetChallengeInfo
struct - GetChallengeInfo(string)
---> Returns a struct containing the infos for the challenge with the specified filename. The struct contains the following fields : Name, UId, FileName, Author, Environnement, Mood, BronzeTime, SilverTime, GoldTime, AuthorTime, CopperPrice and LapRace.

133.) GetChallengeList
array - GetChallengeList(int, int)
---> Returns a list of challenges among the current selection of the server. This method take two parameters. The first parameter specifies the maximum number of infos to be returned, and the second one the starting index in the selection. The list is an array of structure. Each structure contains the following field : Name, UId, FileName, Environnement, Author, GoldTime and CopperPrice.

134.) AddChallenge
boolean - AddChallenge(string)
---> Add the challenge with the specified filename at the end of the current selection. Only available to Admin.

135.) AddChallengeList
int - AddChallengeList(array)
---> Add the list of challenges with the specified filename at the end of the current selection. Only available to Admin.

136.) RemoveChallenge
boolean - RemoveChallenge(string)
---> Remove the challenge with the specified filename from the current selection. Only available to Admin.

137.) RemoveChallengeList
int - RemoveChallengeList(array)
---> Remove the list of challenges with the specified filenames from the current selection. The list of challenge to remove is an array of strings. Only available to Admin.

138.) InsertChallenge
boolean - InsertChallenge(string)
---> Insert the challenge with the specified filename after the current challenge. Only available to Admin.

139.) InsertChallengeList
int - InsertChallengeList(array)
---> Insert the list challenges with the specified filename after the current challenge. The list of challenge to insert is an array of strings. Only available to Admin.

140.) ChooseNextChallenge
boolean - ChooseNextChallenge(string)
---> Set as next challenge the one with the specified filename, if it is present in the selection. Only available to Admin.

141.) ChooseNextChallengeList
int - ChooseNextChallengeList(array)
---> Set as next challenge the list of challenges with the specified filenames, if they are present in the selection. Only available to Admin.

142.) LoadMatchSettings
int - LoadMatchSettings(string)
---> Set a list of challenges defined in the playlist with the specified filename as the current selection of the server, and load the gameinfos from the same file. Only available to Admin.

143.) AppendPlaylistFromMatchSettings
int - AppendPlaylistFromMatchSettings(string)
---> Add a list of challenges defined in the playlist with the specified filename at the end of the current selection. Only available to Admin.

144.) SaveMatchSettings
int - SaveMatchSettings(string)
---> Save the current selection of challenge in the playlist with the specified filename, as well as the current gameinfos. Only available to Admin.

145.) InsertPlaylistFromMatchSettings
int - InsertPlaylistFromMatchSettings(string)
---> Insert a list of challenges defined in the playlist with the specified filename after the current challenge. Only available to Admin.

146.) GetPlayerList
array - GetPlayerList(int, int)
---> Returns the list of players on the server. This method take two parameters. The first parameter specifies the maximum number of infos to be returned, and the second one the starting index in the list. The list is an array of structure. Each structure contains the following field : Login, NickName, PlayerId, TeamId, IsSpectator, IsInOfficialMode and LadderRanking.

147.) GetPlayerInfo
struct - GetPlayerInfo(string)
---> Returns a struct containing the infos on the player with the specified login. The structure (identical to the ones from GetPlayerList) contains the following field : Login, NickName, PlayerId, TeamId, IsSpectator, IsInOfficialMode and LadderRanking.

148.) GetDetailedPlayerInfo
struct - GetDetailedPlayerInfo(string)
---> Returns a struct containing the infos on the player with the specified login. The structure contains the following fields : Login, NickName, PlayerId, TeamId, IPAddress, DownloadRate, UploadRate, Language, PlayerId, IsSpectator, IsInOfficialMode, a structure named Avatar, an array of structure named Skins and a structure named LadderStats. The structure Avatar and each structure of the array Skins contains two fields FileName and Checksum.

149.) GetCurrentRanking
array - GetCurrentRanking(int, int)
---> Returns the current ranking for the race in progress. This method take two parameters. The first parameter specifies the maximum number of infos to be returned, and the second one the starting index in the ranking. The ranking returned is a list of structure. Each structure contains the following fields : Login, NickName, PlayerId, Rank, BestTime, Score, NbrLapsFinished and LadderScore. it also contains an array BestCheckpoints that contains the checkpoints times for the best race.

150.) ForceScores
boolean - ForceScores(array)
---> Force the scores of the current game. Only available in rounds and team mode. You have to pass an array of structs with two fields: PlayerId and Score. Only available to Admin.

151.) ForcePlayerTeam
boolean - ForcePlayerTeam(string, int)
---> Force the team of the player. Only available in team mode. You have to pass the login and the team number (0 or 1). Only available to Admin.

152.) ForcePlayerTeamId
boolean - ForcePlayerTeamId(int, int)
---> Force the team of the player. Only available in team mode. You have to pass the playerid and the team number (0 or 1). Only available to Admin.

153.) ForceSpectator
boolean - ForceSpectator(string, int)
---> Force the team of the player. Only available in team mode. You have to pass the login and the spectator mode (0: user selectable, 1: spectator, 2: player). Only available to Admin.

154.) ForceSpectatorId
boolean - ForceSpectatorId(int, int)
---> Force the team of the player. Only available in team mode. You have to pass the playerid and the spectator mode (0: user selectable, 1: spectator, 2: player). Only available to Admin.

155.) GetNetworkStats
struct - GetNetworkStats()
---> Returns a struct containing the networks stats of the server. The structure contains the following fields : Uptime, NbrConnection, MeanConnectionTime, MeanNbrPlayer, RecvNetRate, SendNetRate, TotalReceivingSize, TotalSendingSize and an array of structure named PlayerNetInfos. Each structure of the array PlayerNetInfos contains the following fields : Login, IPAddress, LastTransferTime, DeltaBetweenTwoLastNetState, PacketLossRate. Only available to SuperAdmin.

156.) GetValidationReplay
base64 - GetValidationReplay(string)
---> Returns a replay containing the data needed to validate the current best time of the player.

157.) StartServerLan
boolean - StartServerLan()
---> Start a server on lan, using the current configuration. Only available to SuperAdmin.

158.) StartServerInternet
boolean - StartServerInternet(struct)
---> Start a server on internet using the 'Login' and 'Password' specified in the struct passed as parameters. Only available to SuperAdmin.

159.) GetStatus
struct - GetStatus()
---> Returns the current status of the server.

160.) QuitGame
boolean - QuitGame()
---> Quit the application. Only available to SuperAdmin.

161.) GameDataDirectory
string - GameDataDirectory()
---> Returns the path of the game datas directory. Only available to Admin.

162.) GetTracksDirectory
string - GetTracksDirectory()
---> Returns the path of the tracks directory. Only available to Admin.

163.) GetSkinsDirectory
string - GetSkinsDirectory()
---> Returns the path of the skins directory. Only available to Admin.
NOTE: there are 15 new calls since the last version!:wink:

all the best
TRAB :lovetm
Last edited by TrabTowN on 07 Dec 2006 23:56, edited 3 times in total.
100²% addicted
Image
Image

eyez
Pit Crew
Pit Crew
Posts: 379
Joined: 15 Mar 2006 17:46
Location: Aberdeen, UK
Contact:

Post by eyez » 07 Dec 2006 23:48

Wow this is incredible!

These new fixes and features are just what I was after...

Nice one xbx :D
:1
AMD X2 3800+
1gb Dual-channel RAM (2x512 kingston DDR400)
PowerColor Radeon x700 256mb GFX
SoundBlaster Audigy 2 ZS Platinum Pro

Mikey
happy cruiser
happy cruiser
Posts: 147
Joined: 15 Sep 2006 00:11
Contact:

Post by Mikey » 08 Dec 2006 00:23

The new features do look good, And will certainly use this version once the client patch is out.

I do have a problem though (using 16-11-2006 united server)

I get no ladder/not registered to master server errors close to 50% of the time.
When previously on the same PC (server) for nations this would happen less than 1% of the time !

Is there a shorter timeout for the united server (compared to nations) to register to the master server/ladder each race?
As being located in Australia, I don't think you could get much further away from france for ping times.

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: TrackmaniaServer 2006-12-07

Post by Slig » 08 Dec 2006 09:32

Wooow, many thanks xbx, all those things are very very nice ! :D
xbx wrote:- DisplayManialinkPage: you can now add a parent <ManiaLinks> element in order to have several <ManiaLink> with their positions.
Can you explain a little more the tags format for that please ?

Edit: why is the update luncher button not used for updates ? :oops:
Last edited by Slig on 08 Dec 2006 09:59, edited 1 time in total.

User avatar
njones03
happy cruiser
happy cruiser
Posts: 122
Joined: 03 Sep 2005 21:08

Post by njones03 » 08 Dec 2006 09:43

Cool I install that this evening, one needs the patch tmu Release Candidate for the game ?

http://www.trackmania-lejeu.com/forum/v ... hp?t=19404
Image

User avatar
TrabTowN
Pit Crew
Pit Crew
Posts: 789
Joined: 03 Nov 2005 14:30
Owned TM-games: TMS,tmn,TMU
Location: Ireland/orginal SACHSE^^
Contact:

Post by TrabTowN » 08 Dec 2006 11:51

:shock: :roll:

THX ALOT.... and i am waiting all morning for the client tho update...... :?

yes... why is the update button not used?
100²% addicted
Image
Image

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests