- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
-
Content Count
143 -
Joined
-
Last visited
-
Days Won
5
Posts posted by Ta©ti Tac0Z
-
-
hallo some one no (or can make a mod) that add's more screen. more screens i mean a mod that add "higher resolution" screen's???
--please
-
And thank you for the hex translate website
-
That i mean in number 2 is how to translate html (webbrowser code) into a file or string on OC. computer
-
don't you no the code for it or the api for it
-
ok again more dum question's
1. How can i finde out what color code i need to use in 8 bit it is hard. I no that that you can just go to like type colorcode in google and that there is a lot of colorcode type's but in that website i was in. Was there the following type's:
HEX, RGB, HSV, HSL and CMYK
is there som of the colorcode's here that not take to long time to transform into 8-bit colorcode
2. before i ask this question or before you read it. so i no that it is a bad question but. is there a way to transform html into a string like exeple:
<!DOCTYPE html><html><h1>hallo world</h1><code1>i am dum
just so you know</code1></html>
and then i want the output to be:
hallo world
i am dum
just so you know
i know that the size of the text well be the same it was just an exeple.
So is there someone who no that plese.
because i hope i can do this is because in java you can just create a jlabel in a jframe and then just set the text to a html in the jlabel and the it well work like:
JFrame frame = new JFrame("test frame")
jLabel text = new JLabel("<!DOCTYPE html><html><h1>hallo world</h1><code1>i am dum just so you know</code1></html>")
frame.add(text)
and so on
-
thank you
-
hallo i have a questions again:
how can i run a function in a program. less say that there is a global function called "runfunction" that i can do like:
local fun = "term.set Cursor(1,1)"
runfunction( fun )
again i no that there are not a global function called runfunction it was just to show what i mean
so that i want to be happening what that two line's is that the function term.setCursor will be runned and there fore the cursor is now on col 1 line 1
is there somone who no a function to do that?
-
ok so that is the lua wiki i see there is more backslash code words stof thanks you
-
molinko ??? is was meant to be some nice to say
-
omg it is working thank you to you boft og your to help me came home after work and it is working.
how the hell can i no that \n means newline unless two nice guys is telling me
i have trying to find out how to do that is so long time but NOW THERE IS A NEW BAT qest:
how can i write \ becuse i don't how to do it (i copy pastet it to write it here and in my owne computer in game)
-
and moliko i no that you can use .. to link strings i am not a noob at lua
-
And ' = " ?
-
Ok thanks but so i need to write
"/n" in that string like so
data = io.open("/testfile", "w")
data: write("here is Line 1 /n here is line 2 /n here is Line 3 /n")
and then output: path /testfile:
here is Line 1
hare is Line 2
hare is Line 3
or is there a api for that or do i need to use the seek function fore that?
and ps: i no that i just can't set the cursor
-
hallo here i am again... i know dum question again!
1. what to use filesystem.open or io.open i know that it is the same but what is the best one
2. and how to pick a new line weren in write mode (what i mean is that how can i like write a thing on line 1 and then on line number 10 or 2 or whatever like in
terminal like term.setCursor can i do that in io.open two in write mode)
what i wil say is how to write new line or how to do newline
i also need to point out that i know there is i seek function but 1 i don't no how to use it and 2 as i can understand do seek only work in read mode
i have played opencomputers in a long time and i still don't understand io.open and filesystem.open fully
and yes i do know to the wiki and i do reading it some times so plese don't say that................. or write it
-
Ok then thank you
-
So you say that rpx and rpy is writet as a local i don't remeber that
And do a _ mean local like
is "local rpx" the same as "_rpx" ??
-
and if i remove line 52 it will not crasing
-
The pastepin code Will be in the post (at the top) in 2 min
-
Ok and just so You know the only API i have uset from term.lua is the term.setCursor()
-
Tykuhn2 yes i know that and no i have not modifiet it at all
-
Monlinko ok then
-
hallo weren i try to run one of my programs the screen truns blue and seying:
/lib/term.lua:333 attempt to perform arithetic on local '_y' (a nil value)
i can see weren i go in at line 333 and yes it do try to make a math as it says.
is this like a fail by me or openos?
or a 3 fing plese help me
the pastebin code is: gpf27zhf
-
I Will try it now i mean
-
Thank. Let me try it
dum question's #2
in Programming
Posted
I know how to get the file on the web but how do i "translate it" like so
Input:
output:
hallo World
i am dum just so you know
say on a 2'st way:
have someone made a lua code that Can run a html code