phyrex1an
Staff Member and irregular helper
- Reaction score
- 447
First take a look at the battle.net ladder
Do you notice anything wrong?
No?
How can your own map use the ladder?
You can't?
Custom Game Ladder for Warcraft 3
Description
wc3custom.net is a ladder for warcraft 3 custom maps. Maps powered with the wc3custom map script can have game scores submitted to the ladder with the help of the ladder tool. The ladder itself functions like the well known battle.net ladder with the difference that it's available for custom maps.
I'm a mapmaker, how do I use it?
Register at wc3custom.net and add your map.
Download, import and config the map script to your map, instructions are located in the map.
With this done you have to feed the script with the scores and team data with the following functions, I suggest that you do this at the end of the map.
Description:
Sets the score (integer score) for the player with the id (integer id).
Example:
Player 2 (Blue) had a crushing defeat against Player 1 (Red).
Description:
Sets the team (integer team) which the player with id (integer id) belongs to, any team between 1 and 255 is possible but I suggest values from 0 to 11.
The default setting is ffa with all players in different teams.
Example:
This is a 2v2 game with Player 1 and Player 2 in the same team battling against Player 3 and Player 4.
If you want to change the players that will have there score submitted, for example you may want to remove early leavers from the submitted players, you have two functions available:
Ladder_AddPlayer resets the score, team and name of the player.
When the map is done you have to tell the script to save the score
Description:
Saves the ladder score to a game cache so it can be read from a save game. Don't worry, this works in multi player. This function uses TriggerSleepAction and can't be used in a timer callback or a ForGroup/ForForce callback. It takes a few seconds to finish.
Example:
When the Ladder_Save function has completed you have to tell your players to Save the game, if one or more of the players have the ladder tool running the score will now be submitted to the ladder at www.wc3custom.net/map/name-of-your-map.
I'm a player, how do I use it?
You need to download and unpack the ladder tool. Start it and check Program/Wait for save game. Enter a warcraft 3 custom game that uses the ladder script. When the game ends and tells you to save the game then save the game, the name of the save game does not matter.
Notice that you need the .net framework for the ladder tool to run.
Your ladder data is available at www.wc3custom.net/player/your-bnet-name after your first game.
Honourable mentions
Pitzer Mike - Planted the idea seed long time ago.
BlacKDicK - Wc3 file unpacker.
Everybody behind http://www.wc3campaigns.net/tools/specs/index.html, without them the custom ladder would probably not exist.
And here is the quote that explains it better than I can do:
Questions? Suggestions? Want help to use it? Spelling mistake(s)? Post here.
Do you notice anything wrong?
No?
How can your own map use the ladder?
You can't?
Custom Game Ladder for Warcraft 3
Description
wc3custom.net is a ladder for warcraft 3 custom maps. Maps powered with the wc3custom map script can have game scores submitted to the ladder with the help of the ladder tool. The ladder itself functions like the well known battle.net ladder with the difference that it's available for custom maps.
I'm a mapmaker, how do I use it?
Register at wc3custom.net and add your map.
Download, import and config the map script to your map, instructions are located in the map.
With this done you have to feed the script with the scores and team data with the following functions, I suggest that you do this at the end of the map.
Description:
Sets the score (integer score) for the player with the id (integer id).
Example:
JASS:
call Ladder_SetPlayerScore(0, 55)
call Ladder_SetPlayerScore(1, -2)
Player 2 (Blue) had a crushing defeat against Player 1 (Red).
Description:
Sets the team (integer team) which the player with id (integer id) belongs to, any team between 1 and 255 is possible but I suggest values from 0 to 11.
The default setting is ffa with all players in different teams.
Example:
JASS:
call Ladder_SetPlayerTeam(0, 0)
call Ladder_SetPlayerTeam(1, 0)
call Ladder_SetPlayerTeam(2, 1)
call Ladder_SetPlayerTeam(3, 1)
This is a 2v2 game with Player 1 and Player 2 in the same team battling against Player 3 and Player 4.
If you want to change the players that will have there score submitted, for example you may want to remove early leavers from the submitted players, you have two functions available:
JASS:
Ladder_AddPlayer resets the score, team and name of the player.
When the map is done you have to tell the script to save the score
Description:
Saves the ladder score to a game cache so it can be read from a save game. Don't worry, this works in multi player. This function uses TriggerSleepAction and can't be used in a timer callback or a ForGroup/ForForce callback. It takes a few seconds to finish.
Example:
JASS:
call Ladder_Save()
When the Ladder_Save function has completed you have to tell your players to Save the game, if one or more of the players have the ladder tool running the score will now be submitted to the ladder at www.wc3custom.net/map/name-of-your-map.
I'm a player, how do I use it?
You need to download and unpack the ladder tool. Start it and check Program/Wait for save game. Enter a warcraft 3 custom game that uses the ladder script. When the game ends and tells you to save the game then save the game, the name of the save game does not matter.
Notice that you need the .net framework for the ladder tool to run.
Your ladder data is available at www.wc3custom.net/player/your-bnet-name after your first game.
Honourable mentions
Pitzer Mike - Planted the idea seed long time ago.
BlacKDicK - Wc3 file unpacker.
Everybody behind http://www.wc3campaigns.net/tools/specs/index.html, without them the custom ladder would probably not exist.
And here is the quote that explains it better than I can do:
Seth Cross said:I might be wrong, but it seems pretty simple...
What do Ladders do? Provide ranking for melee games.
What does this do? Create Ladders for non-melee games.
Thus, what is it doing? Giving non-melee games a ranking system. And it seems that the ranking system can be customized, according to what the map-creator wants (which would work for different types of maps... Racing, for example, can rank by time instead of just "who won the race")
Rex can nit-pick anything I said wrong ^.^ But that seems to be the gist of it.
Questions? Suggestions? Want help to use it? Spelling mistake(s)? Post here.