boltgolt / boltobserv

🕹️ An external CS radar made specifically for observing
GNU General Public License v3.0
281 stars 32 forks source link

inferno #97

Closed fyflo closed 5 months ago

fyflo commented 5 months ago

Hi all! Starting today, inferno began to display incorrectly. It is not located at the coordinates where it should be. Has anyone figured out the problem?

fyflo commented 5 months ago

2024-06-02 20_30_05-Counter-Strike 2 2024-06-02 20_36_13-Developer Tools - http___192 168 0 199_2626_huds_YRpKJZ8SCNLepMCl

For some reason, the calculation of left and botton is no longer correct

fyflo commented 5 months ago

I solved the problem.

boltgolt commented 5 months ago

Heuristics were used on the name of the inferno because the actual location in the infernos was very very off sometimes. I guess they finally fixed that? Was your fix to use the actual coords?

fyflo commented 5 months ago

@boltgolt HI

For some reason gsi.js stopped working for me and I simply replaced it from version 1.4.0 where there is no division by 2 Also made the width 120: flameElement[i].style.height = flameElement[i].style.width = (120 / global.mapData.resolution / 1024) * 100 + "%";

Test it just in case.

2024-06-03 17_05_31-CSGO OVERLAY FOR CUSTOM HUD