Jump to content




TPS - "multiple points" error, and I can't find where it is


  • You cannot reply to this topic
2 replies to this topic

#1 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 13 December 2016 - 09:39 PM

I was modifying my program to work with chests, and for some reason, it gives me the error 'multiple points'. It doesn't specify a line number, and I can't figure out where it is by looking at the code. What line is causing it!?

http://pastebin.com/PsTiQ5eu

#2 Anavrins

  • Members
  • 775 posts

Posted 13 December 2016 - 09:54 PM

Line 395, you have ..a/10..
You'll have to put that in parentheses.

#3 apemanzilla

  • Members
  • 1,421 posts

Posted 13 December 2016 - 11:24 PM

 Anavrins, on 13 December 2016 - 09:54 PM, said:

Line 395, you have ..a/10..
You'll have to put that in parentheses.

Or simply add a space after the between the 10 and the ..

The reason this happens is because Lua thinks that the .. is supposed to be part of the number literal 10, and you can't have multiple decimal points in a single number.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users