-
Notifications
You must be signed in to change notification settings - Fork 14
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
GridNav doesnt work properly #20
Comments
i found the problem. the GNV_message length differs: LUA: 87552 (x3 EQ 262.656 Grid Blocks) I think the LUA Function Send_ServerToPlayer is limited here. Trying to Split the String into Multiple Events now... |
Works for me, cant find the Function for JS access to the string with for loop.
buildinghelper.lua:
|
Hey @SirWayN3 thanks for the report and proposing a solution. I will try looking into this during this weekend |
The GridNav in LUA does work correct, giving me the correct amount of squares, with buildable areas ect.
But when sending this to JS via GNV, this doesnt work at all.
[BH] Max World Bounds:
[BH] -16352 16352 -16352 16352
[BH] -256 255 -256 255
[BH] Free: 65243 Blocked: 196901
Compiled Building Helper!
[BH] Sending GNV to player 0
Registering GNV [512,512] Min Bounds: X=-256, Y=-256
Free: 16315 Blocked: 81792
the Sum of Squares in LUA is 512*512. But in JS, this does not work. Still searching for the issue, this isnt working.
The text was updated successfully, but these errors were encountered: