Jump to content




bios : 14 : [string "mobs"] : 5 : unexcepted symbol


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

#1 scotti8

  • New Members
  • 2 posts

Posted 27 August 2016 - 06:33 AM

Hello. This is my first post and I am fairly new to lua so pardon me if this fix is quite easy.

I was trying to create a menu for computercraft so i could use it in later programs. Like most newcomers, I took to tutorials for help. But when I try it to run, I get an Error.

Error: bios : 14 : [string "mobs"] : 5 : unexcepted Symbol

http://pastebin.com/RhJ5SrQj

#2 TheRockettek

  • Members
  • 547 posts
  • LocationRem is best girl

Posted 27 August 2016 - 11:44 PM

Erm, is there the "2." Part writen in it? If there isnt the "2." On the 5th line, its just the fas=ct that the right side of the computer doesnt have a monitor.

#3 scotti8

  • New Members
  • 2 posts

Posted 28 August 2016 - 10:29 AM

View PostTheRockettek, on 27 August 2016 - 11:44 PM, said:

Erm, is there the "2." Part writen in it? If there isnt the "2." On the 5th line, its just the fas=ct that the right side of the computer doesnt have a monitor.
That is what should I Change now?

#4 Dragon53535

  • Members
  • 973 posts
  • LocationIn the Matrix

Posted 29 August 2016 - 02:18 AM

If you do indeed have the commands numbered like
1.
2.
3.
4.
5.
Then you need to remove those.

#5 TheRockettek

  • Members
  • 547 posts
  • LocationRem is best girl

Posted 29 August 2016 - 07:18 AM

If it still doesnt work then that means theres no monitor on the right side, you can check if you dont know the peripheral name by doing peripheral.getType(sideName)

#6 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 29 August 2016 - 07:58 AM

If the side display were missing, there'd be a different error - you won't get an "unexpected symbol" due to a missing peripheral.

#7 TheRockettek

  • Members
  • 547 posts
  • LocationRem is best girl

Posted 29 August 2016 - 03:17 PM

View PostBomb Bloke, on 29 August 2016 - 07:58 AM, said:

If the side display were missing, there'd be a different error - you won't get an "unexpected symbol" due to a missing peripheral.

Weve already established the fact that the "1. " is erorung it, just adding extra information incase that is also an error :I

#DontAssumeOrTrustHashtags





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users