Full documentation moved to Libraries+, a library extension module
rekt if ur not in the devforum
Forum moderator. Need something? PM me.
Moved topic to commons. Let this be the first and last time you post in the wrong category.
@thesit123, that would be obfuscation. Security through obscurity never works. What if one day you decide a change needs to be made but because of the poorly named scripts you might confuse even yourself. Also exploiter can just look at the script despite being poorly named.
They are flawed to the same degree, as I said.They're both abusing the condition part of while loops. One has a function and one doesn't--but they're still truthy no matter what happens.
[...] you should know that if you're using a function call in a conditional, which has no way of allowing to retrieve your lost return value, 99.999.999.999% chance that the value that you are using is unimportant at the time.
Reminds me, by following the while wait() do idiom you lose the return values of wait. You may need to do things over time, and getting the delta time was a good way of doing this. You get the exact time waited, but instead you put it to waste by using it as a condition.
while 1.017474474 do end
1.017474474 represent? It's not relevant to the desired (non) terminating condition at all.
And for my last point...
while true do ... endis clear and goes straight to the point.
while wait(t) do ... endfails to do this.
while true do -- ... wait(t) end
is clearer. It explicitly tells you that the condition is true, that the loop is infinite because there is no terminating condition.
Answer the following questions, I asked for a proper English interpretation of
while wait() do a few posts back, but you failed to give one, presumably because I was right about there being none, or one being difficult to find.
Here they are:
waitin the conditional part tell you the loop is infinite?
waitin the conditional part tell you the condition is
Looks like your connection to Scripting Helpers was lost, please wait while we try to reconnect.