Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate heatmap and nade trajectories - invalid memory address or nil pointer dereference #520

Open
AXNTROYUANXD opened this issue Mar 15, 2024 · 6 comments

Comments

@AXNTROYUANXD
Copy link

AXNTROYUANXD commented Mar 15, 2024

I was using the test scripts in the heatmap example and the nade trajectory example.

Got this error:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x8295c2]

goroutine 1 [running]:
main.main()
        .../playground/test_go_scripts/nade_trajectories.go:128 +0x562
exit status 2

The demo I used is here.

@victoralan2
Copy link

victoralan2 commented Dec 24, 2024

This happens because the csgo-centrifuge is not working. This is to my understanding because
https://radar-overviews.csgo.saiko.tech/map/crc/radar.png closes the connection indicating that the service is down.

For example. a reqiest to https://radar-overviews.csgo.saiko.tech/de_mirage/2778284110/radar.png has no response.

@markus-wa
Copy link
Owner

Fix for this is ready and was gonna come with v5 - but that might take a couple of months. maybe I'll backport it to v4

@victoralan2
Copy link

victoralan2 commented Dec 24, 2024

Isn't the problem with the service rather that with the library? At least I can't use the radar-overviews.csgo.saiko.tech service in any way

@markus-wa
Copy link
Owner

Yeah, I made the service for csgo but cs2 broke everything..

Afaik there's no way to do the same in CS2, partially because I can't even find Map CRCs.

So we'll just go back to having a static mapping of the most recent map version

@markus-wa
Copy link
Owner

So the service won't be needed anymore

@victoralan2
Copy link

I guess its better than nothing. The main problem I was having was figuring out the map offsets and scales because the map radars I could find easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants