Author Topic: jBasic OS  (Read 42016 times)

0 Members and 1 Guest are viewing this topic.

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: jBasic OS
« Reply #150 on: October 05, 2010, 03:04:33 pm »
I had the same problem as DJ and LordConiupiter, but I installed Firebug, then enabled it for the tab I had jBOS in, refreshed and it worked.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #151 on: October 05, 2010, 06:24:41 pm »
Ok I just tried again and weirdly enough, now it works. It seems the script execution warning pop up only shows up when Firebug is opened, for me. X.x

Do you think in the future it will be possible to not have that script warning show up like over 9000 times when loading? Some people may not want to click "Remember this action" since other sites may pose a threat. Anyway, now it looks really nice. Suggestion, allow the user to turn off animations/effects if they got older computers and have options to make the notices at the bottom-right of the screen show up for longer so we get time to see them.
Strange
Um, well no I can't do that because that is how often it calls upon those permissions, and the remember this action is only for that one page and it doesn't effect others so you should be fine.
It would take a lot to turn off animations due to the fact that I'm using someone else's library to do it, so that probably wont be an option, sorry. Notices at the bottom could be done with a little tweaking to some stuff, I'll look into it :)
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #152 on: October 06, 2010, 12:04:41 am »
Ah ok. My concern was if it ran extremly slow on anything older than a quad-core or something. Also Had this been cross-browser compatible I would most likely have created a sub-forum for it under projects, since it would have a larger audience.
« Last Edit: October 06, 2010, 12:07:30 am by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

_player1537

  • Guest
Re: jBasic OS
« Reply #153 on: October 06, 2010, 12:14:23 am »
OHHHHHHHHHHH

That's the problem!  I totally forgot to say that in order to get it to even boot  I had to have firebug open.  My guess: It relies to heavily on console output.  Fix: Download and run firebug when running jBOS.  No idea how Eeems will fix it though >.>

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #154 on: October 06, 2010, 12:20:15 am »
Oh I see. X.x

I guess it is dependent on Firebug, then? D:
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #155 on: October 06, 2010, 12:36:04 am »
First off making it cross browser is impossible due to the fact that firefox is the only one that has the file commands I need. It shouldn't rely on firebug die to the fact that firefox can handle console logging without firebug, firebug just puts everything together into a mice interface. I need to put more work into this I guess though and figure out of there is a way around it.
Also I developed this on a singlecore with 2GB pelt ram, so anything more then my single Turion should be fine of course it may be a little slow at loading if you load it just as firefox starts as I've found out :p but other then that it's good :) it runs nice and snappy with little slowdown unless you have CPU hogs running, I usually have firefox with ~3 tabs open, thunderbird, notepad++, push, avast and the post notifier running while I run jBOS.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #156 on: October 06, 2010, 12:44:40 am »
Ah ok I see. I wish all other browsers supported all commands x.x. They make things harder for web devs...
« Last Edit: October 06, 2010, 12:44:58 am by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #157 on: October 06, 2010, 01:16:19 am »
Yeah well I'm using commands that web developers wouldn't because it's all client side stuff, and it's a security risk if everybody could use it. It's usually reserved for addons to firefox :p
It would be nice if they all had the same client side stuff though. Making addons for more browsers would be easier.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #158 on: October 06, 2010, 01:23:44 am »
Yeah. Although personally things would be much better if there was only one single browser and it was good. But again, if a browser had a monopoly the company might not care about making it good x.x
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #159 on: October 06, 2010, 01:28:35 am »
It would be better if they all followed the rules to the T on how things are suppose to be rendered. But everything has to have it's own tiny little changes...:(
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #160 on: October 06, 2010, 01:40:57 am »
Right, yeah that could work too. Currently, no site, even ones that follows standards, will show fine in all 3 most web-compliant browsers. Even Firefox fails to render some sites sometimes.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: jBasic OS
« Reply #161 on: October 06, 2010, 02:47:09 am »
Couldn't get it to even boot without firebug's console output running.
Omnimaga Admin

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #162 on: October 06, 2010, 10:57:46 am »
Right, yeah that could work too. Currently, no site, even ones that follows standards, will show fine in all 3 most web-compliant browsers. Even Firefox fails to render some sites sometimes.
Yeah that's because the coder is trying to make it work for all the browsers but didn't quite get it right
Couldn't get it to even boot without firebug's console output running.
Strange, did you get any errors in the error console?
/e

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic OS
« Reply #163 on: October 07, 2010, 07:50:43 pm »
Ok, new version :D this one has a keyboard driver :D so apps can call $.keyboard.getKey(keycode) which will return true if it is currently down false if it isn't.The keyboard driver can also create keyhooks, so when a certain key is pressed a function is executed, currently there is a test hook in place which will log "space is pressed" if you press the space key. The keyhook task runs every second, but I might switch it up to run only on a keypress instead of a task.
How to create a keyhook:
Code: [Select]
var key = new Keyhook(keycode,function(){
   //function content goes here
});
key.init();  //adds the keyhook
key.remove();  //removes the keyhook so it wont run
I might as well talk about tasks too:
Code: [Select]
var task = new Task(app id,task name,task id,interrupt,function(){
   //onstart function
},function(){
  //onexec funtion
},function(){
  //onstop function
},function(){
  //onend function
});
task.init(); //adds the task to the task list, disabled
task.start();  //initializes the task, running onstart and then runs onexec every interrupt
task.stop();  //stops the task, keeping it in the list, runs onstop
task.end();  //removes the task from the tasklist and runs onend
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic OS
« Reply #164 on: October 07, 2010, 08:18:51 pm »
Nice, by keyhook can it hijack my computer keyboard or something, though? X.x
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)