Jump to content




[Error] multiple points [SOLVED]


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

#1 ComputerCraftFan11

  • Members
  • 771 posts
  • LocationHawaii

Posted 03 June 2012 - 12:45 AM

I made a program, and when i run it, it just prints "multiple points". No line number or anything else.

I uploaded the code to pastebin and tried rebooting ComputerCraft.

http://pastebin.com/7TNwKKsa

What does this error mean?

#2 EatenAlive3

  • New Members
  • 53 posts

Posted 03 June 2012 - 02:04 AM

In this segment of code, I've gotten that same error before:
table.insert(cube,#cube+1,xb+iii..","..yb-i..","..zb+ii)
I found out that you can't do any operations like addition and subtraction within string concatenations. So, the fixed code would be using parenthesis:
table.insert(cube,#cube+1,(xb+iii)..","..(yb-i)..","..(zb+ii))
Search your code for things like this.

#3 ComputerCraftFan11

  • Members
  • 771 posts
  • LocationHawaii

Posted 03 June 2012 - 02:11 AM

View PostEatenAlive3, on 03 June 2012 - 02:04 AM, said:

In this segment of code, I've gotten that same error before:
table.insert(cube,#cube+1,xb+iii..","..yb-i..","..zb+ii)
I found out that you can't do any operations like addition and subtraction within string concatenations. So, the fixed code would be using parenthesis:
table.insert(cube,#cube+1,(xb+iii)..","..(yb-i)..","..(zb+ii))
Search your code for things like this.

I don't have table.insert, only:
PvP[#PvP+1] = string.sub(message, string.len("[MM] [" ..channel.."] [Bomb] *"), string.len(message))
EDIT:
that was my error, i did currentX+1 into PvP. Thanks!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users