#evil 4-block script
1 messages · Page 1 of 1 (latest)
your evil as fuck lmao
this would be very funny if this code executed under certain circunstances
like a certain player
i found out this when i tried to get the dump memory table
using a function with dump memory
and put them in a function checking its type
if it's a table then return but i realized it's just a function made out of table lol
but when i use the loop through table
on it
it crashes my game
ok wait so if you loop through table a function it crashes?
so there can be a evil 2-block script?
3-block
without return
it wont works
alright?
it loops through function's code
wdym "loops through function's code"
because as i said the function is made out of table
interesting..
basically the function = {[1]="FunctionReturn"}
why does it crash then
because the loop kept executing the function return
basically
start jump into line 1
no it didn't
hm
i don't really know
i just say what i theorized
maybe the loop is what makes the function executes
but since there's no origins (execute function blocks) to return
it got nil and the function basically returns it back to itself
@vague portal what about you? what do you think
back
Okay nevermind, what makes it crashes your studio is the loop itself, without breaking it
i don't think functions are iteratable
it'll continuously executes the function
yk
maybe retrostudio can't really resolve that
that's made out of a table with 0 length
devs didn't think of that possibility
there's no problem in iterating a 0 lengthed tabl
table
there will just be no iterations at all
that's so fucking weird
imma see
i think retrostudio already has anti stack overflow by time out the scripts
but still the studio is completely fucked
wait it does
it didn't "fuck the studio"
i just couldn't exit playtest
if you "execute script" it
ohh
i think execute script doesn't have timeout
no it does..
wait
you can't delete..
things from explorer
no you can...
this is weird
really weird
i would recommend deleting this post, since this may be a vulnerability people can take advantage of
idk
good
maybe it's just looping a table (disguises as a function) with 1 values which is the index "FunctionReturn"
maybe that make the script compute so fast that it creates a crazy ping spike
prob the "FunctionReturn" has done it
kept returning to the loop
that make it loop again
return to the loop and make it loop again
kept doing that until the script timeout
and that makes a crazy ping spike
basically, you can execute a function without using spawn/executefunction
if you switch it with set variable, it'll also bug
i think it is with the loop