Comments (10)
Alternative suggestion: “hardware” digiline filter (that lets only certain channels pass) and diode (that lets the signal pass in one direction only). That would be way nicer and faster, both in terms of server load and digiline network bandwidth, than using multiple controllers.
from digilines.
digiline_send(channel, msg)
is a Mesecons Luacontroller function. Is that what you're talking about? If so, it is not currently possible to do what you say, but it would be very easy to add. Normally, though, you can just use different channels so you don't need to worry about sides.
The only use I really can see for this (other than for getting around poorly written mods) would be for making a digilines network switch to reduce congestion on large networks that branch at central points. And side selection isn't even necessary for a switch - you could just use multiple luacontrollers.
from digilines.
I just don't want digiline event echo/duplication.
from digilines.
And side selection isn't even necessary for a switch - you could just use multiple luacontrollers.
I have to agree with this, so I'm not in favor of adding this functionality. The idea behind digilines is to abstract mesecons away from from the physical layout of the schematic to a system that is based on channels (so that code using digilines can be copied and pasted without caring about the physical location / surroundings of the luacontroller). Sending signals in only one direction doesn't really fit in that concept.
from digilines.
@numberZero That would be good. If it's not wanted in digilines mod it could be done in a separate mod.
from digilines.
@DS-Minetest https://github.com/numberZero/digiline_routing
- Diode works right now (no crafting yet). Note that it acts as a repeater rather than conventional wire so don’t short-circuit it or it will overheat.
- Filter is on my TODO list. It has to span 2 blocks to work with unmodified
digilines
. - Splitter: the same.
from digilines.
@numberZero Nice!
It would be nice if it would be configurable like a luacontroller like port.a = pin.b
or if pin.a.channel == "bla" then port.a = pin.b end
or something like that.
I'll close this issue.
from digilines.
@DS-Minetest:
numberZero/digiline_routing#1
numberZero/digiline_routing#2
Feel free to add other device requests. I don’t want to overcomplicate this (that’s “hardware” processing, after all) but still there is a variety of possibilities.
from digilines.
Sending messages to multiple sides is terrifying. I am building a easy programable computer with luacontrollers and the messages goes to the wrong way causes security problem!
Also, a lot of mrssages makes the controller brurn!
from digilines.
New digiline hardware (obsoletes my digiline_routing
): https://github.com/OgelGames/digicontrol
Warning: it patches digilines
! (in runtime only ofc)
from digilines.
Related Issues (20)
- Pollution of global namespace. HOT 4
- lcd: letters are a bit far away
- LCD: Make the text left-aligned HOT 4
- Make digiline_chest report its contents on request HOT 16
- Add protected digiline_chest
- The display produces lots of warning messages like HOT 10
- minetest.setting_* functions are deprecated HOT 1
- LCD appears broken HOT 4
- LCD Z-fighting HOT 9
- LCD text is not visible from distance
- Vertical digilines HOT 2
- Add Support for Tubelib and/or Terumet to the Digilines Chest HOT 1
- LCD line length limits are not enforced properly HOT 2
- LCD lines and character limits HOT 4
- Clear screen HOT 1
- German "Umlaute" are ignored when cut and paste text in a Microcontroller editor HOT 2
- Documentation is missing HOT 2
- Get contents of a digiline chest? HOT 1
- Digiline distributor not working in the game
- moves stuff in chest at
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from digilines.