ryex / ic10emu Goto Github PK
View Code? Open in Web Editor NEWA Stationeers IC10 code editor and emulator
Home Page: https://ic10emu.dev/
License: Apache License 2.0
A Stationeers IC10 code editor and emulator
Home Page: https://ic10emu.dev/
License: Apache License 2.0
tracking issue. for shoelace-style/shoelace#1971
sadly fixing this is not as simple as sub-classing it and watching for mutation. I would need to compliment the whole SlSelect
element
When developing scripts in ic10emu, I often want to trigger save before importing into the game. Usually that's to put it in a git repository before running the optimizer on it. (Very important to save before running optimizer -- since the optimized version isn't meant to be edited, I have to save the original somewhere)
So a keyboard shortcut for save would be really handy. It doesn't seem like it would be very hard to do, either with https://stackoverflow.com/questions/4446987/overriding-controls-save-functionality-in-browser or https://stackoverflow.com/questions/31801274/is-there-an-event-for-a-keyboard-initiated-save-in-ace-editor
If no one else picks this up I'll probably eventually spend the time to do it myself, but I figured I'd open an issue instead of just leaving those links open in web browser tabs.
lb r0 HASH("ItemActiveVent") On Maximum
gives
unknown batch mode '23'
where batchmode is interpreted as logictype Maximum=23
Idea: Add a Checkbox to the IC-Housing/Code/Watever can be associated with IC10-Code
To allow it to also write Read-Only Properties.
This way we can write our own "Simulation" of the environment as an extra IC10-Code.
Additionally this Code could also allow to execute more than 128 Lines/have more than 128 Lines.
But this would only be secondary, as we could just add more "simulation Housings".
This, together with the Share-Links, could allow someone to create a predefined environment, in which others could test their own code.
Examples:
A basic Airlock which adds/Subtracts Pressure based on the Vent-"On"/"Mode"-State. (two Vents, a GasSensor and two Doors)
Maybe every x Idle Ticks it could simulate door-Button presses.
A Plant simulation, which counts the time the GrowLight is on/off and simulates the SolarSensor.
Based on "if the Plant would be alive" it could also set the ON-State of a Lamp or such, which could be somewhat easy to see.
It would be a great feature if you could save the entire project alongside the code.
(code + devices , device configuration...)
Especially if you build somewhat more complex scripts, it would be really nice if you could save and load your working environment with the devices.
best regards
Christian
Being able to set IP would be helpful
On https://ryex.github.io/ic10emu/ , in the javascript console:
Uncaught TypeError: aliases.keys().forEach is not a function
update webpack://ic10emu/./src/js/virtual_machine/index.js?:243
update webpack://ic10emu/./src/js/virtual_machine/index.js?:127
update webpack://ic10emu/./src/js/virtual_machine/index.js?:89
updateCode webpack://ic10emu/./src/js/virtual_machine/index.js?:51
VirtualMachine webpack://ic10emu/./src/js/virtual_machine/index.js?:27
<anonymous> webpack://ic10emu/./src/js/index.js?:32
setTimeout handler*docReady webpack://ic10emu/./src/js/index.js?:24
<anonymous> webpack://ic10emu/./src/js/index.js?:30
a https://ryex.github.io/ic10emu/main.js:696
<anonymous> webpack://ic10emu/./src/js/index.js?:1
js https://ryex.github.io/ic10emu/src_js_index_js.main.js:68
__webpack_require__ https://ryex.github.io/ic10emu/main.js:633
promise callback* webpack://ic10emu/./src/js/main.js?:12
js https://ryex.github.io/ic10emu/main.js:609
__webpack_require__ https://ryex.github.io/ic10emu/main.js:633
<anonymous> https://ryex.github.io/ic10emu/main.js:1043
<anonymous> https://ryex.github.io/ic10emu/main.js:1045
And (presumably relatedly), the editor isn't showing up at all
I think it should be possible to show registers, stack values and fields in other formats depending on some mechanism. This would help with the upcoming (currently on beta, see Stationeers discord) changes with operators on devices like the logic sorter.
Expected:
Actual:
ic encountered an error: Error on line 0:
device has no field 'On'
The interpreter doesn't seem to handle move foo -
very well, putting the interpreter in a unrecoverable crash
Tracking issue for the relevant pr from ace-linters.
Highlight rules may need to be adjusted.
I tried to use multiple IC10's in the emulator and got the error:
Error in Virtual Machin RuntimeError
unreachable
Other error Behaviour:
Error in Virtual Machine Error
ic with id '6' does not exist
I Used
Chrome Version 124
(Which should be the current Version)
I think it would be neat if the website could utilize https://gist.github.com/ to store sessions, this way you could track changes and persist across different browsers
Good afternoon, I am a developer of a similar project. ic 10.dev
I am watching your project with interest.
If you need data from the game on devices, objects and the rest, with images - you can use my gist.github.com
I also have a question, since I'm using browser javascript, the result of my operations with bits is not the same as in the game
Have you managed to solve this problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.