좋아요 1
댓글 1
동영상 0
업로드 0
팔로워 0
Hi @meumeuh007
Thanks a lot for this amazing addition to the scripting plattforms for gta5 :) I already wrote a few smaller mods, which mostly work like a charm. However, I struggle to get any raycasting results. The wrapper of GET_SHAPE_TEST_RESULT (gta.natives.shapetest) requires to give the pointers of the return variables as argument. Naturally, this shouldn't be the case for the wrapped python function. I tried to write a workaround by handing over actual pointer addresses (pointing to writeable cbuffers created using ctypes). Although, now I don't get SEH exceptions anymore, but the values/buffer stay/contain zeros only. I guess this has to be fixed within the .asi :/
(I try to get a location of the world the player currently is looking at, without the necessity to aim with a weapon; just by moving the camera)
Nevertheless, this is an exceptionally well made mod. It doesn't seem to crash GTA, it supports hot-reload, and script exceptions only halt the offending script without affecting other scripts or the game world :) Highly recommended to check out!!!!