17 posts
Posted 04 August 2015 - 06:44 AM
My code:
local file = fs.open("piecinema/logo", "r")
if file then
local text = file.readAll()
file.close()
print(text)
else
print("PieCinema Logo Doesn't Exist! Downloading!")
shell.run("pastebin get x0yd4h9D piecinema/logo")
end
ASCII Art:
http://pastebin.com/x0yd4h9DIt works perfectly fine in 1.73
656 posts
Posted 04 August 2015 - 07:07 AM
What does it do instead?
17 posts
Posted 04 August 2015 - 03:19 PM
What does it do instead?
Prints the number of lines the file is, blank, and then continues on with the script.
For example, instead of printing 5 lines of the art, it prints 5 blank lines.
1140 posts
Location
Kaunas, Lithuania
Posted 04 August 2015 - 03:23 PM
Are you sure the text and background colors aren't the same?
7083 posts
Location
Tasmania (AU)
Posted 05 August 2015 - 11:55 PM
Are you printing to a monitor, as your PieCinema thread suggests? If so, do you have the same problem if your script changes the text scale before attempting to print?
17 posts
Posted 06 August 2015 - 03:04 AM
Are you printing to a monitor, as your PieCinema thread suggests? If so, do you have the same problem if your script changes the text scale before attempting to print?
Yes, and yes.
As for the above:
I have edited the script a little bit to change the color to white and still nothing displays.
1852 posts
Location
Sweden
Posted 06 August 2015 - 04:22 AM
My guess is that it probably has something todo with the escape character( \ )
Try replacing your ascii-art with something else that contains simple characters like # or something and see if it truly is the escape character that's causing problems.
8543 posts
Posted 06 August 2015 - 05:33 AM
My guess is that it probably has something todo with the escape character( \ )
That won't be the issue. Reading the string in from the file means that the resulting Lua string will contain a literal backslash.
7083 posts
Location
Tasmania (AU)
Posted 06 August 2015 - 07:22 AM
Yes, and yes.
Did you specifically CHANGE the text scale, or did you just try to set it to what it already was?
Does it do the same thing when using the computer's own display?
Now that we've established that you're only showing us part of the problematic script, please link to the rest of it.
818 posts
Location
Wherever you want me to be
Posted 06 August 2015 - 08:55 AM
just a random question, what did you use to make the ascii art?
otherwise you made it?
1852 posts
Location
Sweden
Posted 07 August 2015 - 01:30 PM
just a random question, what did you use to make the ascii art?
otherwise you made it?
My guess would be that he either used this:
http://patorjk.com/software/taag/#p=display&f=Graffiti&t=Type%20Something%20 or it was custom made.
818 posts
Location
Wherever you want me to be
Posted 08 August 2015 - 05:22 AM
just a random question, what did you use to make the ascii art?
otherwise you made it?
My guess would be that he either used this:
http://patorjk.com/s...%20Something%20 or it was custom made.
thanks ;)/>
Edited on 08 August 2015 - 03:43 AM
17 posts
Posted 08 August 2015 - 11:42 PM
just a random question, what did you use to make the ascii art?
otherwise you made it?
Custom made.
Yes, and yes.
Did you specifically CHANGE the text scale, or did you just try to set it to what it already was?
Does it do the same thing when using the computer's own display?
Now that we've established that you're only showing us part of the problematic script, please link to the rest of it.
http://pastebin.com/pX1n482D
7083 posts
Location
Tasmania (AU)
Posted 09 August 2015 - 01:28 PM
I can't reproduce the problem with that script.
At this point I'm pretty well convinced the issue is 1.74's monitor rendering bug. There's a number of threads about it,
this being the most recent.
2679 posts
Location
You will never find me, muhahahahahaha
Posted 09 August 2015 - 08:40 PM
Well, let's hope the issue will soon be fixed