Jump to content




another OS (has video!) [CONTAINS INTERWEBS!][has themes][infinite user support][auto updates]


24 replies to this topic

#1 tom2018

  • Members
  • 135 posts

Posted 17 November 2012 - 01:08 PM

basicly as the title says you need http api for it to work it will install a few of my programs.
PROGRAMS INCLUDED
-internet browser (put modem on top)(it caches websites so if you have no connection it will load cache.)
note: to get server (pastebin) (to edit the page server displays type edit data to change url type edit wherever you saved it) (servers work in progress)
-CMD prompt
-Other items i forgot.
HOW TO USE
-first login use
user: admin
pass: admin
edit users and passes in the directory /user
so to make a user named tom do
edit /user/tom
then type
password
then close
you may want to change admin
VIDEO

pictures
Spoiler
PASTEBIN
how to edit themes
log in then type
edit /startup(where os is)
then set the theme variable to A B C or D
note(os wont update with this toggled)
todo
make themes user based not system based

#2 dangranos

  • Members
  • 20 posts
  • LocationBarnaul, Russia

Posted 18 November 2012 - 04:00 PM

What if i have other screen size? I get black borders or cutted text

#3 TheVarmari

  • Members
  • 70 posts
  • LocationFinland

Posted 20 November 2012 - 06:33 AM

View Postdangranos51, on 18 November 2012 - 04:00 PM, said:

What if i have other screen size? I get black borders or cutted text

Hah, he didn't think of that.
Spoiler
But, another OS? Really?

#4 tom2018

  • Members
  • 135 posts

Posted 20 November 2012 - 09:32 AM

View PostTheVarmari, on 20 November 2012 - 06:33 AM, said:

View Postdangranos51, on 18 November 2012 - 04:00 PM, said:

What if i have other screen size? I get black borders or cutted text

Hah, he didn't think of that.
Spoiler
But, another OS? Really?
i just named it that because of my lack of creativity and the endless amounts of OSs

#5 tom2018

  • Members
  • 135 posts

Posted 20 November 2012 - 09:34 AM

View Postdangranos51, on 18 November 2012 - 04:00 PM, said:

What if i have other screen size? I get black borders or cutted text
will add in a special screen sized mode

#6 TheVarmari

  • Members
  • 70 posts
  • LocationFinland

Posted 21 November 2012 - 04:52 AM

I meant, another OS? We've got enough of them.
Also, why not just use term.getSize() and build the enviroment using that?

#7 tom2018

  • Members
  • 135 posts

Posted 21 November 2012 - 04:58 AM

View PostTheVarmari, on 21 November 2012 - 04:52 AM, said:

I meant, another OS? We've got enough of them.
Also, why not just use term.getSize() and build the environment using that?
i have 3 reasons why
1.I didn't know how at the time.
2.I still don't know how.
3.PlanetSide2 is coming out soon.
oh and i fixed your spelling

#8 tom2018

  • Members
  • 135 posts

Posted 21 November 2012 - 06:17 AM

added video

#9 TheVarmari

  • Members
  • 70 posts
  • LocationFinland

Posted 22 November 2012 - 03:20 AM

View Posttom2018, on 21 November 2012 - 04:58 AM, said:

View PostTheVarmari, on 21 November 2012 - 04:52 AM, said:

I meant, another OS? We've got enough of them.
Also, why not just use term.getSize() and build the environment using that?
i have 3 reasons why
1.I didn't know how at the time.
2.I still don't know how.
3.PlanetSide2 is coming out soon.
oh and i fixed your spelling
1. Well then, that is acceptable
2. ... Then go check the wiki
3. And?
4. "Thanks"

#10 ArchAngel075

  • Members
  • 149 posts

Posted 22 November 2012 - 03:31 AM

Hey i noticed you are using alot of button commands in your OS, try adding a "if advanced PC then mouse buttons and clicks enabled"
I already have an api helping my program(tho its only advanced pcs)

say i want to choose "help" i can click on the words or a '[0]' (or whatever) but aat the same time also buttons on KB ?

just a suggestion

#11 tom2018

  • Members
  • 135 posts

Posted 22 November 2012 - 04:27 AM

View PostArchAngel075, on 22 November 2012 - 03:31 AM, said:

Hey i noticed you are using alot of button commands in your OS, try adding a "if advanced PC then mouse buttons and clicks enabled"
I already have an api helping my program(tho its only advanced pcs)

say i want to choose "help" i can click on the words or a '[0]' (or whatever) but aat the same time also buttons on KB ?

just a suggestion
i want to add that but then we cant support users on tekkit because the if advanced pc is only for later versions, BUT i could use a get version and some other fancy coding.

#12 Geforce Fan

  • Members
  • 846 posts
  • LocationMissouri, United States, America, Earth, Solar System, Milky Way, Universe 42B, Life Street, Multiverse, 4th Dimension

Posted 22 November 2012 - 04:37 AM

Hey, you're welcome to copy off my iHomeOS code if you can find it.
Btw, looks sorta-nice, but I think you shouldn't make another OS, there's too many. ShadOS will hopefully take over.

#13 ArchAngel075

  • Members
  • 149 posts

Posted 22 November 2012 - 05:47 AM

View Posttom2018, on 22 November 2012 - 04:27 AM, said:

View PostArchAngel075, on 22 November 2012 - 03:31 AM, said:

Hey i noticed you are using alot of button commands in your OS, try adding a "if advanced PC then mouse buttons and clicks enabled"
I already have an api helping my program(tho its only advanced pcs)

say i want to choose "help" i can click on the words or a '[0]' (or whatever) but aat the same time also buttons on KB ?

just a suggestion
i want to add that but then we cant support users on tekkit because the if advanced pc is only for later versions, BUT i could use a get version and some other fancy coding.


hmm i think thats easy, perhaps place both the type of loops into a function (each with own function name) and add a startup part so itl be like this :
-- [[ startup : check for advanced! ]] --
if term.isColor() == true then
xifAdvanced()
  else
   xifBasic()
end

-- [[ The magical tours! ]] --

function xifBasic()
 while true do
  os.startTimer(0.1)
  local gnb,keyr = os.pullEvent()
   if gnb == "timer" then
    --THE MAGICAL TOUR GOES HERE!
----
----
----
----
   elseif gnb == "key" and keyr == 28 then
    return false -- cancells the tour!
   end
 end
end

function xifAdvanced()
 while true do
  os.startTimer(0.1)
  local gnb,keyr = os.pullEvent()
   if gnb == "timer" then
    --THE MAGICAL TOUR GOES HERE!
    ----
    ----
    ----
    ----
   elseif gnb == "key" and keyr == 28 then
    return false -- cancells the tour!
   elseif gnb == "mouse_click" then
    return false -- same but uses mouse too!
   end
 end
end


#14 tom2018

  • Members
  • 135 posts

Posted 22 November 2012 - 06:57 AM

well see in tekkit if you do isColor() it will error out.

#15 ArchAngel075

  • Members
  • 149 posts

Posted 22 November 2012 - 07:15 AM

hmms.... derps
only thing i can think of is either two versions or make a config file:
Spoiler

edit, i was tired so i accidently included the MMTh parts of the code lol, removed

#16 Expenox

  • Members
  • 137 posts
  • LocationIn the depths of my computer.

Posted 23 November 2012 - 05:35 AM

Cool!

#17 Laserman34170

  • New Members
  • 34 posts
  • LocationProgramming Land

Posted 24 November 2012 - 04:34 AM

View Posttom2018, on 22 November 2012 - 06:57 AM, said:

well see in tekkit if you do isColor() it will error out.
To solve that problem you just use os.version() That should work
if os.version() == "CraftOS 1.4" then
  --do stuffs with term.isColor()
else
  --do other stuffs without term.isColor()
end


#18 ArchAngel075

  • Members
  • 149 posts

Posted 24 November 2012 - 04:56 AM

View PostLaserman34170, on 24 November 2012 - 04:34 AM, said:

View Posttom2018, on 22 November 2012 - 06:57 AM, said:

well see in tekkit if you do isColor() it will error out.
To solve that problem you just use os.version() That should work
if os.version() == "CraftOS 1.4" then
  --do stuffs with term.isColor()
else
  --do other stuffs without term.isColor()
end

oh derp that is true ;)/>
well either way works but Lasermans is now WAY much cleaner -_-/>

#19 inventor2514

  • Members
  • 63 posts

Posted 24 November 2012 - 05:14 AM

local function useColor()
if term.isColor then
  if term.isColor() then
   return true
  end
end
return false
end

if useColor() then
-- use color
else
-- don't use color
end

Works with old versions and non-advanced computers.

#20 tom2018

  • Members
  • 135 posts

Posted 26 November 2012 - 05:29 AM

View PostMechaTallon, on 24 November 2012 - 12:20 PM, said:

o_o just wait until theres so many OS' out there that someone takes up ASS OS
I just code for fun and that's really what the mod is about if people don't want an OS I don't really care.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users