Getting recource node locations

12/21/2024 14:13 benspam#1
I am able to parse the character, player and gadget array and can get the position of characters. However i am at a loss for the gadgets (which i assume hold resource/harvest nodes). Can someone point me in the right direction? Are harvest nodes indeed in a gadget class? And is the location stored as a value in there or in another object linked in the gadget class? Or is it encoded and do i need a vtable function?
12/25/2024 11:55 benspam#2
Never mind, i was looking for the wrong coordinates (there is a world and map coordinate system). I found the agent reference in character and gadget, which holds the coordinates (if the gadget is a resource node, for some gadgets that location does not hold the coordinates).