Forums - Open Redstone Engineers
MCsim (pre-alpha release) - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html)
+--- Forum: Programming (https://forum.openredstone.org/forum-8.html)
+--- Thread: MCsim (pre-alpha release) (/thread-1606.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


RE: Redstone simulator anyone? - Legofreak - 03-13-2014

every time i see you post here im like "OOOOO did he release it?!?!"
it looks like you're getting there... i cant wait to see the final product.


RE: Redstone simulator anyone? - CX gamer - 03-22-2014

I made a video on the simulator for those interested:

https://www.youtube.com/watch?v=6Eouiydm0r8

Best part starts at 3:09. Have a good day. Smile


RE: Redstone simulator anyone? - Iceglade - 03-25-2014

Wow, looks extremely fancy!


RE: Redstone simulator anyone? - CX gamer - 04-04-2014

Apologies for the lack of updates, been kinda busy, but I've also been playing Oblivion, so there's really no excuse. Regardless, I've squatted a bug that I've been struggling with. What it eventually was, was what I was thinking, but didn't really think it could be, until I debugged:

Code:
-119: air
-118: air
-112: air
-105: air
-102: air
-107: air
-116: air
52: mobSpawner
25: musicBlock
33: pistonBase
29: pistonStickyBase
117: brewingStand
116: enchantmentTable
68: sign
61: furnace
54: chest
-126: air
84: jukebox
23: dispenser
-98: air
63: sign

All of these should be not air, but some are, so that's the problem. So then I did this:

[Image: M2TEhO1.png]

And then the predictable happens:

Code:
-119: commandBlock
-118: beacon
-112: skull
-105: daylightDetector
-102: hopper
-107: comparator
-116: flowerPot
52: mobSpawner
25: musicBlock
33: pistonBase
29: pistonStickyBase
117: brewingStand
116: enchantmentTable
68: sign
61: furnace
54: chest
-126: enderChest
84: jukebox
23: dispenser
-98: dropper
63: sign

One of the reasons the update took to long is because of many hours of scratching my head about this. Gonna test this now right away and if it works, I'll start integrating it within the GUI. Smile

EDIT: Oh I forgot to add, exporting schematics from ORE doesn't export non-inventory TileEntities at all, sadly.


RE: Redstone simulator anyone? - Iceglade - 04-04-2014

[Image: M2TEhO1.png]
^ I very nearly died laughing


RE: Redstone simulator anyone? - CX gamer - 04-04-2014

Oh to follow up, TileEntities do work now:

[Image: JMBCPVX.png]

Ignore the graphical glitch in the middle image now. After I refactor it a bit to work with multiple worlds, I can integrate it into the GUI and have it working there (though you can't edit blocks there yet, and you need to have a block update to get it started, but it should be soon enough).

EDIT: Alright the refactoring is done. Which means all I will be doing until release is merging the GUI with the Simulator and providing some basic editing functionality (because nothing will happen otherwise).


RE: Redstone simulator anyone? - Chibill - 04-05-2014

Looking good.


RE: Redstone simulator anyone? - CX gamer - 04-11-2014

Big Grin Big Grin Big Grin

It is time!

This version will let you simulate everything besides entities: those aren't implemented yet so their behavior is undefined. There are a couple graphical issues because there are still a lot of leftovers from 3 year old crap code, so ignore those. Oh and I've also started calling it "Redstone lab", since there's plenty of "Redstone Simulator"'s and I don't want my name in the title.

One last note on this GUI: it's very rushed to get a functional prototype out. I'd like to hear if it works for you guys.

After downloading, please do read the readme.

Download link:
https://www.dropbox.com/s/uli6qttj35d17r3/Redstone%20lab.zip

Apologies for the awkward compression format.


RE: Redstone lab (Functional release) - Chibill - 04-11-2014

Zips are not awkward .rar is an awkward one.


RE: Redstone lab (Functional release) - AFtExploision - 04-11-2014

.tar.gz FTW! So, I have to have a schematic to load?