OsuSync / OsuRTDataProvider

A sync plugin, get OSU! game data from memory.
GNU Lesser General Public License v3.0
64 stars 17 forks source link

OnBeatmapChanged dosen't work. #51

Open Someone999 opened 3 years ago

Someone999 commented 3 years ago

I can't read any valid data from the addresses ORTDP got. image

Address:0x12B18003 image Fail to read Address 0x8B24048F.

Someone999 commented 3 years ago

ReadProcessMemory to a byte array and use Encoding.UTF8.GetString

Someone999 commented 3 years ago

size is 2048 bytes

Someone999 commented 3 years ago

image Memory Content

Deliay commented 3 years ago

osu! update may change the object structure in memory, try update 'ortdp' to latest version

Someone999 commented 3 years ago

It looks like version of my ortdp is up-to-date. 1.6.6/1.6.6

Someone999 commented 3 years ago

It works after the update of osu! yesterday (20201102.5). Thanks

Someone999 commented 3 years ago

But it happened again for many times recently.

Someone999 commented 3 years ago

Contents in memory are the same everytime.

Someone999 commented 3 years ago

And I found ORTDP can get correct address if game is it's first launch.

Someone999 commented 3 years ago

After this, ORTDP can only get game status address at first and can not get correct address of beatmap.

Someone999 commented 3 years ago

I need to restart Sync for twice to get the beatmap base address. But ORTDP can not get any beatmap info in the runing period after the restart. If I restart again, RTPPD will shows that it can not find any beatmap.