Sasabmeg / FOnline-BraveNewWorld

FOClassic and PReloaded project, mostly for fodev.net tutorials or module code shares.
https://fodev.net/forum/index.php/topic,30344.0.html
GNU General Public License v3.0
11 stars 4 forks source link

Encounters.dat issue - how to produce this file? #118

Open Sasabmeg opened 2 weeks ago

Sasabmeg commented 2 weeks ago

There is a file "client/data/Encounters.dat" which is used by client with the Scout Perk, it allows players to see on mouseover each tile which random encounters can happen there. The problem is that when adding new encounters, this file does not update automatically and I have not found any tool or script that would update it. Supposedly mojuk from FOClassic: Reloaded knows how to edit it. I made my own research, this is a screenshot of the logic behind the file:

image

The task is to find a way to update this file, without manually entering values in a hex editor.