Jump to content




Code not writing on monitor


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

#1 Twijn

  • Members
  • 119 posts

Posted 25 August 2015 - 04:08 AM

For some reason, this code will not always write on the monitor:

Spoiler


#2 Bomb Bloke

    Hobbyist Coder

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

Posted 25 August 2015 - 04:15 AM

Likely a certain 1.74 bug. Try modifying this bit like so:

local m = peripheral.find("monitor")
if not m then print("Monitor not found.") return end
m.setTextScale(0.5)
m.setTextScale(1)
while true do


#3 Twijn

  • Members
  • 119 posts

Posted 25 August 2015 - 02:32 PM

View PostBomb Bloke, on 25 August 2015 - 04:15 AM, said:

Likely a certain 1.74 bug. Try modifying this bit like so:

local m = peripheral.find("monitor")
if not m then print("Monitor not found.") return end
m.setTextScale(0.5)
m.setTextScale(1)
while true do

It seems like that fixed it. Thanks!





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users