Difference between revisions of "Multiplayer Basics"

From Gladiabots Wiki
Jump to: navigation, search
m (GFX47 moved page Multiplayer to Multiplayer Basics)
 
(15 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
[[Image:Career ranked tooltip.png|thumb|Ranked match with match details in the tooltip.]]
 
[[Image:Career ranked tooltip.png|thumb|Ranked match with match details in the tooltip.]]
  
The real competition takes place in career mode. The matches between 2 players are created {{#tip-text: asynchronously | There is no need for both players to be online at the same time. }} according to the [[matchmaking rules]]. Both players first need to deploy a match by assigning bot classes and programs to each bot. If both players deployed the match, the match can be watched by them. After either of the players {{#tip-text: watched the full match to the very end | The match results are currently computed by the players, not on the server. }}, the reward of [[XP points and player level|XP points]] is given to them and the [[Leagues and league score|league score points]] are exchanged between them.
+
The real competition takes place in career mode. The matches between 2 players are created {{Tooltip|asynchronously|There is no need for both players to be online at the same time.}} according to the [[matchmaking rules]]. Both players first need to deploy a match by assigning bot classes and programs to each bot. If both players deployed the match, the match can be watched by them. After either of the players {{Tooltip|watched the full match to the game result screen|The match results are currently computed by the players, not on the server.}}, the reward of [[XP points and player level|XP points]] is given to them and the [[Leagues and league score|league score points]] are exchanged between them.
 +
 
 +
=== Game types ===
 +
 
 +
You can select different game types in the career. Each one has its own purpose:
  
 
{|class="wikitable"
 
{|class="wikitable"
!Game mode!!League score points!!XP points!!Description
+
!Game type!!League score points!!XP points!!Description
 
|-
 
|-
|Ranked matches    ||[[Leagues and league score|normal impact]]||[[XP points and player level|normal impact]]||This is where the real competition takes place.
+
|Ranked matches    ||{{C}} {{Green}}|[[Leagues and league score|normal impact]]||{{C}} {{Green}}|[[XP points and player level|normal impact]]||This is where the real competition takes place.
 
|-
 
|-
|Unranked matches  ||no impact                                 ||[[XP points and player level|small impact]] ||Playing against random players of other leagues.
+
|Unranked matches  ||{{C}}|no impact                                           ||{{C}} {{Yellow}}|[[XP points and player level|small impact]]||Playing against random players of other leagues.
 
|-
 
|-
|Private matches  ||no impact                                 ||no impact                                   ||Playing against friends or other players of the community.
+
|Private matches  ||{{C}}|no impact                                           ||{{C}}|no impact                                             ||Playing against friends or other players of the community.
 
|-
 
|-
|Tournament matches||no impact                                 ||no impact                                   ||This is where the official and unofficial [[tournaments]] will appear.
+
|Tournament matches||{{C}}|no impact                                           ||{{C}}|no impact                                             ||This is where the official and unofficial [[tournaments]] will appear.
 
|-
 
|-
 
|}
 
|}
Line 22: Line 26:
 
[[Image:Career leaderboard.png|thumb|Ingame leaderboard]]
 
[[Image:Career leaderboard.png|thumb|Ingame leaderboard]]
  
The ingame leaderboard shows the current league ranking, the [[Leagues and league score|league score points]], the [[XP points and player level|XP level]] and the victory ratio. The stats button opens the [https://stats.gladiabots.com/ ''Gladiabots'' stats] page in the web browser showing further information about the players and the leagues. Both leaderboards hide {{#tip-text: inactive players | Players that didn't play a ranked match in a week are considered inactive. }}. The website can show inactive players on demand.
+
The ingame leaderboard shows the current league ranking, the [[Leagues and league score|league score points]], the [[XP points and player level|XP level]] and the victory ratio. The stats button opens the [https://stats.gladiabots.com/ ''Gladiabots'' stats] page in the web browser showing further information about the players and the leagues. Both leaderboards hide {{Tooltip|inactive players|Players that didn't play a ranked match in a week are considered inactive.}}. The website can show inactive players on demand.
 +
 
 +
For further stats there are the [http://gladiabots-stats.info.tm/ unofficial Gladiabots stats] by MrChris.
  
 
== Sharing matches ==
 
== Sharing matches ==
  
To share a ranked, unranked, private or tournament match with friends or the community one needs to find its {{#tip-text: replay ID | Currently a number with 6 digits. }}. The replay ID is either accessible as tooltip by hovering or tipping on the match or it can be found on the [https://stats.gladiabots.com/?&league=0&display=matches ''Gladiabots'' stats] latest matches page. This replay ID can be shared with other players.
+
To share a ranked, unranked, private or tournament match with friends or the community one needs to find its {{Tooltip|replay ID|Currently a number with 6 digits.}}. The replay ID is either accessible as tooltip by hovering or tipping on the match or it can be found on the [https://stats.gladiabots.com/?&league=0&display=matches ''Gladiabots'' stats] latest matches page. This replay ID can be shared with other players.
 
+
If a player wants to watch a replay he needs to press the replay button and enter the replay ID afterwards. A replay can only be watched if the {{#tip-text: version of the game resolution engine | The game resolution engine needs to change if updates change game mechanic due to new features or bugfixes. }} of the viewer matches the version of the deploying players.
+
 
+
== Sync accounts ==
+
 
+
It's possible to create a cloud sync connection between {{#tip-text: two or more accounts on one or more devices | For example the first account is on an android smartphone, the second account is on a windows PC and the third account is on the same windows PC but from a different user. }}. Currently the developer creates this cloud sync connection manually. The following steps are required to use this connection:
+
 
+
# Make sure that each account has a valid player name.
+
#* To create the player name open career mode for each account and choose the player name.
+
#* To determine the current player name check the leaderboard or the [https://stats.gladiabots.com/ ''Gladiabots'' stats] page.
+
# Reply to the [https://forum.gladiabots.com/viewtopic.php?f=7&t=128 cross-device sync temporary solution] topic at the forum with all the needed information.
+
#* Provide all player names of each account that should be synced.
+
#* Specify the main player name. The player name, bot programs and settings of this account is used for every other account.
+
# After the developer told you that it's ready, you need to launch the game on every synced account. Always choose '''use server data''' when the data sync conflict message appears.
+
 
+
=== Working with synced accounts ===
+
 
+
[[Image:Career data sync conflict.png|thumb|Data sync conflict message]]
+
 
+
If the first account changes some nodes, the changes are usually automatically pushed to the server. The following steps are required to sync this changes with the second account:
+
 
+
# Close the game on the first account.
+
# Upon opening the second account the data sync conflict message should appear:
+
#* Choose '''use server data'''.
+
#* The changes should be synced.
+
 
+
=== Resolving data sync conflict messages ===
+
 
+
Sometimes there is a data sync conflict message and it's not clear which of the accounts is up to date. <span style="color:red">'''Warning:'''</span> If the wrong option is selected all changes could be reverted. The following steps are recommended to solve this conflict:
+
 
+
# Launch the game on every synced account and choose '''keep local data''' for now.
+
# Try to determine the account that is up to date by checking the recently changed nodes on the different accounts.
+
# Close the game on every synced account.
+
# Launch the game on the account that is up to date.
+
#* When the data sync conflict message appears choose '''keep local data'''.
+
# Launch the game on all other accounts.
+
#* When the data sync conflict message appears choose '''use server data'''.
+
 
+
== Windows: Multiple accounts and backup ==
+
 
+
'''''ToDo''''' Move somewhere else? Write pretty.
+
 
+
<span style="color:red">'''Warning:'''</span> The following (do at your own risk and make a backup before you change anything)
+
 
+
=== Creating multiple accounts on the same device ===
+
 
+
compmgmt.msc
+
 
+
<code>Runas /user:MyComputer\Testuser /savecred "C:\Gladiabots\Gladiabots.exe"</code>
+
 
+
=== Creating backups ===
+
 
+
If you do a major refactoring it would be great to revert changes. Also crashes and failed syncs could be a use case. Accidentally choosing the wrong button "use server data" or "use local data" could destroy a whole evening.
+
 
+
If my investigation is correct in windows everything is saved in the registry:
+
[HKEY_CURRENT_USER\Software\GFX47\Gladiabots]
+
 
+
<code>reg export HKEY_CURRENT_USER\Software\GFX47\Gladiabots "C:\Gladiabots\Backup.reg"</code>
+
 
+
<code>Runas /user:MyComputer\Testuser /savecred "reg export HKEY_CURRENT_USER\Software\GFX47\Gladiabots \"C:\Gladiabots\Backup Testuser.reg\""</code>
+
=== Use the backup ===
+
  
I just tried it with my second account: Exporting the registry entries, changing something, restoring the registry entries works - changes are undone. I suggest windows users create a backup of the registry regularly. You may start the backup in a "Backup.cmd" file with help of the command line:
+
If a player wants to watch a replay he needs to press the replay button and enter the replay ID afterwards. A replay can only be watched if the {{Tooltip|version of the game resolution engine|The game resolution engine needs to change if updates change game mechanic due to new features or bugfixes. Not every new version uses a new game resolution engine.}} of the viewer matches the version of the game resolution engine of the deploying players.

Latest revision as of 09:06, 15 June 2020

Playing matches

Ranked match with match details in the tooltip.

The real competition takes place in career mode. The matches between 2 players are created asynchronously according to the matchmaking rules. Both players first need to deploy a match by assigning bot classes and programs to each bot. If both players deployed the match, the match can be watched by them. After either of the players watched the full match to the game result screen, the reward of XP points is given to them and the league score points are exchanged between them.

Game types

You can select different game types in the career. Each one has its own purpose:

Game type League score points XP points Description
Ranked matches normal impact normal impact This is where the real competition takes place.
Unranked matches no impact small impact Playing against random players of other leagues.
Private matches no impact no impact Playing against friends or other players of the community.
Tournament matches no impact no impact This is where the official and unofficial tournaments will appear.

Leaderboard and stats

Ingame leaderboard

The ingame leaderboard shows the current league ranking, the league score points, the XP level and the victory ratio. The stats button opens the Gladiabots stats page in the web browser showing further information about the players and the leagues. Both leaderboards hide inactive players. The website can show inactive players on demand.

For further stats there are the unofficial Gladiabots stats by MrChris.

Sharing matches

To share a ranked, unranked, private or tournament match with friends or the community one needs to find its replay ID. The replay ID is either accessible as tooltip by hovering or tipping on the match or it can be found on the Gladiabots stats latest matches page. This replay ID can be shared with other players.

If a player wants to watch a replay he needs to press the replay button and enter the replay ID afterwards. A replay can only be watched if the version of the game resolution engine of the viewer matches the version of the game resolution engine of the deploying players.