Rollback (EN)

Revisão de 17h39min de 18 de outubro de 2024 por Vicsz (discussão | contribs) (→‎How it works)
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)

PT-BR.png ES.png

Rollback is an indispensable procedure in crash situations, which involves reverting the server state to its last backup (last server save). As such, it is a preventive measure aimed at avoiding the occurrence of numerous bugs as a result of a crash.

When a rollback occurs, everything that was done after the save is lost, but there is a system to mitigate the damage caused by a rollback.

How it works

Backups are generated daily at 7:40 a.m. with the shutdown, but often the failure occurs very late, and a whole day's progress is lost. In order to try to mitigate the loss of playing time, but without creating new bugs, there is a system that will return part of the day's progress to players.

The system operates along 3 main lines:

  1. Items acquired;
  2. Pokémon caught;
  3. Experience gained.

Each system has been changed to track the items the player obtains and this will be saved in an external database that will not be rolled back. The server sends the information to the database every 5 minutes or the moment the player leaves the game.

NOTE: This time was chosen to avoid overloading the database and may be changed depending on the volume of data.

In the case of major achievements, such as catching Pokémon and completing a DZ, for example, the data is sent to the database at the same moment.

Progress log

The contents that have a progress log through this system are:

  1. Catching Pokémon;
  2. Pokémon loot drop;
  3. Experience gained in common hunts;
  4. DZ loot and experience (Bronze, Silver, Gold and Crystal);
  5. Profession resource collection;
  6. Adventurer's chest;
  7. Adventurer's dungeon;
  8. Daily reward;
  9. Daily experience (normal and Nightmare).

On 08/11/2023, an update was made to the system and new logs were added to the Rollback system:

  1. Academic's Dungeons;
  2. Nightmare Terrors;
  3. Pokémon catch log;
  4. Pokémon first catch experience.

Notes

There are a few details that need to be explained so that the system is clear:

  1. The focus of this system is to recover players' time from repetitive tasks, such as spending hours collecting resources or picking up experience and loot on hunts;
  2. It's not possible to recover everything;
  3. Recovered Pokémon will be delivered as if they were items bought on the Market, i.e. as if the player had bought them, the Brokes and the catch itself will not be recovered;
  4. T1H and Cyber Pokémon will not be recovered, as they are based on merit;
  5. Not everything will always be recovered. There have been situations in which the rollback was due to infinite collection in the DZ chest. If this happens, the system has been designed so that each of the 3 lines can be recovered individually;
  6. Nothing other than what has been described here will be recovered. Therefore, cases where a player lucked into a held merge, completed quests or brokes in T1H/Cyber will unfortunately not be recovered;
  7. The player who does DZ will make a certain profit because, with the rollback, the keys will return to the character and the reward will remain. The same goes for loot, as no potions, revives and other items will be spent, but the loot will come back in its entirety.