generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: I find every 'computer in ROBLOX' attempt funny

Previous Thread :: Next Thread 
Draeton is not online. Draeton
Joined: 04 Jun 2012
Total Posts: 4269
07 Sep 2012 12:44 PM
Mainly because the people committing themselves to such projects do not know a bit, a speck of information about such. They instead end up poorly replicating common expected features of an operating system, with little to no flexibility or functionality.

I wouldn't laugh at actual hardware virtualization though. But can anyone think of the benefits of such?
Report Abuse
Seranok is online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
07 Sep 2012 01:30 PM
You could have a browser that supports HTML and JavaScript IN GAME! The possibilities are endless! :D
Report Abuse
noliCAIKS is not online. noliCAIKS
Joined: 08 Mar 2010
Total Posts: 917
07 Sep 2012 01:46 PM
Not really.
Perhaps if someone actually makes it they could start by making an assembly interpreter based of an existing one and simulate required hardware such as a mouse, keyboard, monitor, clock and optionally sound? That way they could just add a compatibility layer so linux can be insterted on top of it or something.
Doing this would also supply you with a huge amount of free resources, and you wouldn't even have to do any scripting for the user interface and default software pack as you could just put your favourite distro on it.
It could also use the tree-like system for expandability in our fake internet I used in RoDomain, so that new servers can be connected by linking them through any exisiting one. I can't think of a way to implement PHP though, unfortunately, so things like forums or mail services won't be possible. Although, it might be possible if you seperate it over several small (and quickly loading) places and temporarily teleport somewhere to manage requests and server data?
Report Abuse
Seranok is online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
07 Sep 2012 01:47 PM
The main problem is that systems running on top of other systems (i.e. a computer in a Roblox game server) tend to be rather laggy.
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
07 Sep 2012 01:54 PM
I remember I tried something like this a pretty long time ago. The code itself wasn't that bad however the idea and the design was a ton of crap.

I could have every scripter here just stomp on the code like a stampede.
Report Abuse
noliCAIKS is not online. noliCAIKS
Joined: 08 Mar 2010
Total Posts: 917
07 Sep 2012 01:57 PM
Actually, it seems that using lua tables as arrays is not as slow as I had expected but does allow for holes. This might make memory a bit easier. You could also treat nil as 0 and 0 as nil to save memory. Labels and goto also seem to be relatively efficient in Lua, so you could just use that for the control loop so that you don't have to evaluate `true' for each instruction.
Obviously, use a local script for the control and send the operating system from the server in chunks, otherwise it would be outrageously slow rather than really slow.
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
07 Sep 2012 02:02 PM
In my humble opinion creating your own computer in ROBLOX is actually a good use of creativity. However I don't like when people use it to:

1. Prove that they are good at scripting.
2. 'dis thing i mad will be eveywhere on r0blox and u cant stop me and dis wil make rob0x b33tteer'
Report Abuse
Techboy6601 is not online. Techboy6601
Joined: 29 Jun 2009
Total Posts: 4914
07 Sep 2012 02:27 PM
I don't get why nobody tried, but using NecroBumpist's bytecode exploit couldn't you run arbitrary asm?

In which case you could actually replicate a microprocessor and RAM could be represented by IntValues...

Too bad that kind of bytecode is gone.
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
07 Sep 2012 02:29 PM
I'm making an OS in Roblox, with a proper API and all standards stuff with my horrible untabbed, end stacked code.... but due to Roblox's idea that the Roblox GUI shouldn't be deleted, I can't actually release it for a Roblox server. It requires the command bar to hide them so you can actually see the entire OS's screen.

It currently has some VERY basic programs (the ones that control stuff on the screen like the taskbar, desktop, etc) but no applications.

I believe it has some great potential if I can be bothered to write a window manager ._.
Report Abuse
Techboy6601 is not online. Techboy6601
Joined: 29 Jun 2009
Total Posts: 4914
07 Sep 2012 02:35 PM
oh yeah, window managers are the bomb diggidy
Report Abuse
Vitouliss14 is not online. Vitouliss14
Joined: 18 Mar 2009
Total Posts: 7918
07 Sep 2012 02:37 PM
@Prehistoricman

WRITE ONE!!!!

#botherprehistoricman
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
07 Sep 2012 04:02 PM
Maybe tomorrow.

Oh damn I have homework. Uhhh maybe in a few months.


If you guys are really interested I will push onto verion 1.0 (it is 0.8 final ATM) so I get desktop icons, an applications menu and the.... window manager D:< Then I release with a few basic apps and you guys take it from there to make it liek awesomesauce.
Report Abuse
Draeton is not online. Draeton
Joined: 04 Jun 2012
Total Posts: 4269
07 Sep 2012 04:40 PM
@PreHistoricman
In regards to GUI not being removed, try using destroy().
Report Abuse
Techboy6601 is not online. Techboy6601
Joined: 29 Jun 2009
Total Posts: 4914
07 Sep 2012 06:26 PM
ooo i know
make a interpreter
den maik ur own supa dupa language

den we all happeh
Report Abuse
chickenman158 is not online. chickenman158
Joined: 18 Jan 2011
Total Posts: 915
07 Sep 2012 06:56 PM
*interpatater
Your welcome.
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
08 Sep 2012 06:43 AM
@Draeton
The command bar is absolutely the only way to get rid of them. Trying to do anything with them in a script produces an unknow exception.
Report Abuse
Tarabukka is not online. Tarabukka
Joined: 18 Jan 2011
Total Posts: 394
08 Sep 2012 08:55 AM
Actually emulating a computer in Roblox would be extremely difficult. It'd also have to be a pretty old/low-power computer to actually run at any kind of speed, although you could "JIT compile" some code to Lua with loadstring.

Also, this made me laugh:

>by making an assembly interpreter

You cannot make an "assembly interpreter". That is called a processor emulator. To emulate the Intel 80386, a 27-year-old processor, you would need to implement the following:

- Real mode support, which means writing your own BIOS firmware
- Protected mode support, including the following:
-- Interrupt vectors, including emulation of 2 programmable interrupt controllers.
-- Segment descriptors, including the global descriptor table (and the memory segmentation/protection it gives) and the task state segment (required for multitasking)
-- Paging
- All the quirks of the processor; instructions often don't just do what a one-sentence description does.

That is just a little bit of a high-level overview of the CPU, which is just one part of the system. I am not just throwing big words at you to try and look cool. There is plenty of work to do and understanding to have on each point above. If you do not understand these, you probably can't write a processor emulator. I won't claim to have anywhere near enough in-depth knowledge about any processor to write even part of an emulator for it, though. I just want you to be realistic.
Report Abuse
Tarabukka is not online. Tarabukka
Joined: 18 Jan 2011
Total Posts: 394
08 Sep 2012 09:03 AM
For an example of what I'm talking about: look at target-i386/translate.c in QEMU's source code. Those 8,000+ lines of C are just one part of what I talked about above. Remember that QEMU was originally written by the same guy who originally wrote the Tiny C Compiler and FFMPEG.
Report Abuse
Vocalise is not online. Vocalise
Joined: 11 Aug 2012
Total Posts: 160
08 Sep 2012 09:15 AM
Is it even possible to emulate a computer in ROBLOX?

Because all 'computers' in ROBLOX all actually includes is a text editor, a wallpaper editor, and a shutdown/startup thing.

☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞
Report Abuse
TaslemGuy is not online. TaslemGuy
Joined: 10 Jun 2009
Total Posts: 12174
08 Sep 2012 10:51 AM
@Vocalise

To an extent, yeah.

But it would probably be so horrendously slow that it wouldn't really work.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
08 Sep 2012 11:20 AM
I don't know who would want a computer in Roblox anyway.
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
08 Sep 2012 01:03 PM
You could implement a MIPS emulator, or perhaps a DCPU-16 emulator...
Report Abuse
pighead10 is not online. pighead10
Joined: 03 May 2009
Total Posts: 10341
08 Sep 2012 01:04 PM
I started working on a character-by-character HTML parser that would work with Roblox GUIs a while back.
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
08 Sep 2012 01:05 PM
@Pig

Don't use HTML, use XHTML! Then you can use one of my ridiculous XML parsers! :D
Report Abuse
pighead10 is not online. pighead10
Joined: 03 May 2009
Total Posts: 10341
08 Sep 2012 01:55 PM
Forgot to mention that I stopped working on it a while back as well.

=p
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image