Jump to content




attempt to concatenate nill and string help!

help

1 reply to this topic

#1 Compream64

  • New Members
  • 1 posts

Posted 01 January 2018 - 08:37 AM

ok so i have this program im working on (data over Redstone) and i keep (randomly) getting this bug
please help, i cant figure out what is going on! to get the error you need to connect to computers with Redstone around the back and run the client on one and the pulse on the other and wait (sorry i dont know
how else to trigger the error)

(pastebin)
Client: YUX7GTf5
Pulser: https://pastebin.com/iez6Qdzm

help is very appreciated, this project isn't finished but i need to fix this bug before i can continue

#2 Stekeblad

  • Members
  • 62 posts
  • LocationSweden

Posted 02 January 2018 - 07:35 AM

Your error should contain a line number to tell you where the problem is.

From looking at the code my guess is line 34. Did you know Lua is 1-indexed and 0-indexed? letters[1] == "a", letters[2] == "b" etc and letters[0]== nil because it has not been explicitly defined.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users