Open fluxionary opened 10 months ago
So buffer[point.y] is nil in: https://github.com/mt-mods/digistuff/blob/master/gpu.lua#L348 Can't find any issue with the buffer creation, serialization and storage at first glance.
So buffer[point.y] is nil in: https://github.com/mt-mods/digistuff/blob/master/gpu.lua#L348 Can't find any issue with the buffer creation, serialization and storage at first glance.
x1 and y1 are bigger than x2 and y2, i think thats the cause (?), or they are out of range, but honestly it (the gpu) should just be rewritten imo
What causes it and what doesn't (i will be using (x1, y1, x2, y2)
to keep it short)
Keep in mind that buffer size is 64 x 64
(10,10,100,120)
- doesn't
(100, 120, 10, 10)
- doesn't
(65, 65, 1, 64)
- doesn't
(100, 500, 1, 64)
- doesn't
Well i've gotten some crashes while doing stuff on 11 x 11 before... so
(buffer size is now 11 x 11)
(13,6,6,6)
- does (came from my wireframe renderer)
(13,1,1,1)
- does
Well i think i get the idea... i will try 64 x 64...
(65, 1, 1, 1)
- doesn't???
Weird... i guess time to try 63 x 63?
(65, 1, 1, 1)
- does???
What
buffer size: 62 x 62
(65, 1, 1, 1)
- does
oh i see
if the buffer size is less than 64
and x1
is more than that it crashes
Tested on pandorabox
The script snippet in OP doesn't crash game when using #58 Please test the other cases you found @TheEt1234 (or whoever feels like it) and comment on PR #58, thanks.
The original case that started the issue was fixed, so has the (65, 1, 1, 1)
case when buffer size is 63x63
So it's most likely patched
this was reported by a player calling themselves frogTheSecond
run the following in a luacontroller:
result: