Difference between revisions of "Multiplayer Basics"

From Gladiabots Wiki
Jump to: navigation, search
Line 43: Line 43:
 
Currently Windows is the only known device that it is possible to play with multiple accounts on one device or backup an account. All save data for gladiabots (including your career account) is saved in the registry. Since the accounts are saved to the registry, each account is tied to the user that you logged into your computer with, so if you want to use multiple accounts you must create multiple users for your computer, then hold shift while right clicking gladiabots, and choose "run as a different user".
 
Currently Windows is the only known device that it is possible to play with multiple accounts on one device or backup an account. All save data for gladiabots (including your career account) is saved in the registry. Since the accounts are saved to the registry, each account is tied to the user that you logged into your computer with, so if you want to use multiple accounts you must create multiple users for your computer, then hold shift while right clicking gladiabots, and choose "run as a different user".
  
<--
+
<!--
 
=== Creating multiple accounts on the same device ===
 
=== Creating multiple accounts on the same device ===
  
Line 60: Line 60:
  
 
# Pressing <code>Windows key+r</code> and inserting the command <code>Runas /user:{{#tip-text: MyComputer | Replace this with your computer name. Press <code>Windows key+Pause</code> to determine the computer name. }}\{{#tip-text: Gladiatest | Specify the username from the account you want to use. }} /savecred "{{#tip-text: C:\Gladiabots\Gladiabots.exe | This needs to be the path to your Gladiabots.exe file. }}"</code> into the run window. It's also possible to create a shortcut or a batch file with this command.
 
# Pressing <code>Windows key+r</code> and inserting the command <code>Runas /user:{{#tip-text: MyComputer | Replace this with your computer name. Press <code>Windows key+Pause</code> to determine the computer name. }}\{{#tip-text: Gladiatest | Specify the username from the account you want to use. }} /savecred "{{#tip-text: C:\Gladiabots\Gladiabots.exe | This needs to be the path to your Gladiabots.exe file. }}"</code> into the run window. It's also possible to create a shortcut or a batch file with this command.
--!>
+
-->
 
=== Creating and restoring backups ===
 
=== Creating and restoring backups ===
  

Revision as of 04:29, 10 October 2017

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 very end, the reward of XP points is given to them and the league score points are exchanged between them.

Game mode 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.

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.

Synced accounts

Currently, Gladiabots automatically makes a backup of all of your AIs online. Because of which, the developer has made it so that multiple devices could sync up to the same account. However, it must be done manually by creating a new account in career mode and replying in the cross-device sync temporary solution topic on the forum with the name of the two accounts saying which account you want to keep. Afterwards, you will get a data sync message next time you open the game

Resolving data sync conflict messages

Data sync conflict message

Sometimes, you may get a data snyc conflict message when playing. This happens when the data on the server is different from the data on your device. This can also happen if you sync two accounts (since the data updated from one device does not automatically carry over to the next device). If you have used multiple devices for one account then you should usually choose server data. Otherwise, this usually is just an error with updating your AI and choosing server data could leave you before you made any changes, so you should choose local data instead

Warning.png If there is no backup to the accounts, your choice can become irreversible. Even with a backup, picking the wrong option could make you lose some of your work

Multiple accounts and backup

Currently Windows is the only known device that it is possible to play with multiple accounts on one device or backup an account. All save data for gladiabots (including your career account) is saved in the registry. Since the accounts are saved to the registry, each account is tied to the user that you logged into your computer with, so if you want to use multiple accounts you must create multiple users for your computer, then hold shift while right clicking gladiabots, and choose "run as a different user".

Creating and restoring backups

Warning.png The following actions could harm your system, especially when done wrong. Create a backup of all your data before trying any of this. Proceed at your own risk.

A backup is useful if the game data is lost due to a system crash or failed sync. Under windows it seems like Gladiabots is storing all the game data under the folder HKEY_CURRENT_USER\Software\GFX47\Gladiabots] of the registry. Create a backup of this registry key by:

  1. Pressing Windows key+r and inserting the command reg export HKEY_CURRENT_USER\Software\GFX47\Gladiabots "C:\Gladiabots\Backup.reg" into the run window. It's also possible to create a shortcut or a batch file with this command.

Create a backup of this registry key for another account by:

  1. Pressing Windows key+r and inserting the command Runas /user:MyComputer\Gladiatest /savecred "reg export HKEY_CURRENT_USER\Software\GFX47\Gladiabots \"C:\Gladiabots\Backup Gladiatest.reg\"" into the run window. It's also possible to create a shortcut or a batch file with this command.

Can someone please change this to either use regedit, or link back to here

To restore the backup all one needs to do is executing the exported registry file The AI programs and settings are restored. It's not possible to restore a single AI sub tree this way.