1 |
Yeah, but thankfully syntax errors can be fixed by parsing the code into a site like https://onecompiler.com/lua to check if it works.
|
1 |
Yeah, but thankfully syntax errors can be fixed by parsing the code into a site like https://onecompiler.com/lua to check if it works.
|
2 |
\n
|
2 |
\n
|
3 |
@GoogleFrog I wish I could say which string fails, but I do not know. I simply know that it must be amongst the lines that I included.
|
3 |
@GoogleFrog I wish I could say which string fails, but I do not know. I simply know that it must be amongst the lines that I included.
|
4 |
\n
|
4 |
\n
|
5 |
Using the function n_in_table in an if-statement works fine in the online lua compiler, but it doesn't work ingame. No idea if it is the if-statement or something in the functon that breaks.
|
5 |
Using the function n_in_table in an if-statement works fine in the online lua compiler, but it doesn't work ingame. No idea if it is the if-statement or something in the functon that breaks.
|
6 |
\n
|
6 |
\n
|
7 |
Same
with
round_to_number
and
multiply_and_round.
I
suspect
there
might
be
a
problem
when
a
function
passes
one
of
its
arguments
to
another
function?
|
7 |
Same
with
round_to_number
and
multiply_and_round.
Maybe
there's
a
problem
when
a
function
passes
one
of
its
arguments
to
another
function?
|
8 |
\n
|
8 |
\n
|
9 |
Though I have a function which does this, but works just fine. See and compare:
|
9 |
Though I have a function which does this, but works just fine. See and compare:
|
10 |
https://pastebin.com/raw/emrz1Jdf
|
10 |
https://pastebin.com/raw/emrz1Jdf
|
11 |
\n
|
11 |
\n
|
12 |
\n
|
12 |
\n
|