[mod] radio control [v.1][rc]

User avatar
juli
Member
 
Posts: 109
Joined: Sat Jun 11, 2016 10:31
GitHub: cpdef
In-game: juli

[mod] radio control [v.1][rc]

by juli » Mon Mar 13, 2017 20:57

Radio Control for devices and Mesecons
Image
This mod adds the ability to make devices, like this which the digilines-mod uses,
interact over radio control.

At Moment there are these new nodes:
- Radio Controller: like the lua controller, but with radio controll ability
- Radio Controlled Display: To display a text like the digilines lcd
- RC Keyboard: to interact with an RC-controller
- Copier (Printer-Scanner combo)
- lightblock


Comming soon:
- RC tube (like digilines-tube for pipeworks)
- same with chest and injector maybe also the sensors
- drone: an block which you can navigate/fly, with the ability to dig the nodes under it and drop them at an other place (in work already) (hopefully like this: https://ixquick-proxy.com/do/spg/show_picture.pl?l=deutsch&rais=1&oiu=http%3A%2F%2Fd6rp6nm957ee1.cloudfront.net%2Fwp-content%2Fuploads%2F2015%2F11%2Fyay-16002316.jpg&sp=2e8f82525d8362b09e8a43dacdf427a2)
- and router
- option to disable unrealistic protection for signals (add admin controller too)

RC Controller:
The RC Controller has now this new command:
rc_send(pos, msg)
-> sends a message from controller to pos (only if the pos has the ability to receive)
example: rc_send({x=1, y=2, z=3}, 'hello')
-> if u send to an other Radio Controller you receive an event:
{msg=msg, sender=the_owner_of_the_first_controller, type='rc_msg'}

example:
1.The first controller is owned by juli and sends a message to 1 2 3:
rc_send({x=1, y=2, z=3}, 'hello')
2.Then there is a second controller at 1 2 3 which receives the message.
now it handles the event: {msg='hello', sender='juli'}
3. and sends a message to a rcd at 4 5 6:
rc_send({x=4, y=5, z=6}, event.sender..';'..event.msg)
4. On the Screen is now written: 'juli;hello'


Depends: mesecons, memorandum (for copier -> optional)

Credits:
Mesecons-mod by Jeija and contributors
-> textures+most code of the rc_controller
Digiline Keyboard (digiboard) by jogag
-> textures+parts of the code used for the rc_keyboard
Digiline Mod Display (digiline_lcd) by Jeija
-> code used for rc_rcd

License:
All textures in this project are licensed under the CC-BY-SA 3.0 (Creative Commons Attribution-ShareAlike 3.0 Generic).
All code in this project is licensed under the LGPL version 3 or later.
See: https://github.com/cpdef/minetest-rc/blob/master/README.md


Download: https://github.com/cpdef/minetest-rc/archive/master.zip
Source: https://github.com/cpdef/minetest-rc


If someone has tested the mod please reply, especially if there is a bug or something!!
Last edited by juli on Wed Mar 15, 2017 20:33, edited 8 times in total.
Please tell me if i have written bad english.
Planets/Asteroids mod: https://forum.minetest.net/viewtopic.php?t=15933
servers where i'am:
mars-server
jungle-server
buildersworld
 

User avatar
juli
Member
 
Posts: 109
Joined: Sat Jun 11, 2016 10:31
GitHub: cpdef
In-game: juli

Re: [mod] radio control [beta][rc]

by juli » Mon Mar 13, 2017 21:49

Added a new tool:
Smartphone:
- at moment u can u get only the position of one node if u click with the SP on it
- later: ability to send messages to a radio controller etc.

The Image is a bit small here on forum :D :
Image
Please tell me if i have written bad english.
Planets/Asteroids mod: https://forum.minetest.net/viewtopic.php?t=15933
servers where i'am:
mars-server
jungle-server
buildersworld
 

User avatar
juli
Member
 
Posts: 109
Joined: Sat Jun 11, 2016 10:31
GitHub: cpdef
In-game: juli

Re: [mod] radio control [beta][rc]

by juli » Tue Mar 14, 2017 16:16

Now i added a Copier which can Copy, Scan and Print on paper (for this the memorandum mod is need)
Commands are:
PRINT;message;signum
COPY
SCAN
IDLE
--used if there is an error so that Printer can't print
u have to setup the Printer at first( to specify the position of the controller etc. where the Printer sends the scaned text)
Image
i have also added a new block which can change the Color and if it lights or not.
It can also change between glass and normal block.
If u wanna change something send one of this messages to it:
glass, full, on, off, red, blue, green, brown, yellow, cyan, violet
Please tell me if i have written bad english.
Planets/Asteroids mod: https://forum.minetest.net/viewtopic.php?t=15933
servers where i'am:
mars-server
jungle-server
buildersworld
 

User avatar
juli
Member
 
Posts: 109
Joined: Sat Jun 11, 2016 10:31
GitHub: cpdef
In-game: juli

v.1

by juli » Tue Mar 14, 2017 16:37

The mod should now work stable and it is also usable now normal
-> version 1 now :)
Please tell me if i have written bad english.
Planets/Asteroids mod: https://forum.minetest.net/viewtopic.php?t=15933
servers where i'am:
mars-server
jungle-server
buildersworld
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: [mod] radio control [v.1][rc]

by DS-minetest » Tue Mar 14, 2017 18:07

I don't think, it's necessary to add each node as radio controlled one.

Have you seen my digiline_remote mod? It does something (not totally) similar. (It was thought as a way to communicate with entities via digilines.)
It needed mods that use it and as you wrote about a drone I thought, I'll do something.
So, I started to make a digiline_drone mod: https://github.com/DS-Minetest/digiline_drone
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
juli
Member
 
Posts: 109
Joined: Sat Jun 11, 2016 10:31
GitHub: cpdef
In-game: juli

Re: [mod] radio control [v.1][rc]

by juli » Tue Mar 14, 2017 18:44

Yeah but the Problem is:
1.Digilines is slow and laggy if u build a circuit which is a bit more big only.
Because of this some servers can't use Digilines.
For example if u build a 10X10 area of digilines, the server can become nearly unplayable.
Also i'll add one request function which make it possible to directly get the answer as result of an function,
not as an event. That would be better for a remote/digiline-chest because this will not mess up so much if u connect it with a lua-controller or so.
For example Jungle Server would never use digilines and the Mars-Server goes to remove it too.

2. Also the digilines_remote mod seems not very usefull at moment, i have an own digiline remote controller programed, but not uploaded jet, which prevents for example messages from other players over remote.
But because of this lag problem i'am not realy motivated to do more digilines stuff.

3. The rc_mod should become later able to build a whole communicating system over a server (if i have enought time to do so) and this would be a bit more complex then digilines_remote, e.g. the smartphone can't receive
any message with that mod at moment.
Please tell me if i have written bad english.
Planets/Asteroids mod: https://forum.minetest.net/viewtopic.php?t=15933
servers where i'am:
mars-server
jungle-server
buildersworld
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: [mod] radio control [v.1][rc]

by DS-minetest » Wed Mar 15, 2017 14:32

Is digilines really that laggy? I mean, normally it doesn't send anything. Sending so often would be like if you always make mesecons wire of and on, but this is not the normal thing.
juli wrote:e.g. the smartphone can't receive any message with that mod at moment.

Well, you would have to attach an entity to the player. But this is no real problem.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
juli
Member
 
Posts: 109
Joined: Sat Jun 11, 2016 10:31
GitHub: cpdef
In-game: juli

Re: [mod] radio control [v.1][rc]

by juli » Wed Mar 15, 2017 16:24

I don't know but as i said i programmed rc because for some servers it is to laggy and
on my PC some thinks i programmed for it where also very slow, because i needed much digilines.
And the mod is also compatible with digilines.
Also its a modpack and if u don't need all nodes u an simply disable it :)

So u could use it also as an digiline_remote, but as i said i will make it more complex maybe and players should have fun with a communiction system. So i'll not add only the things digilines use, but them also, for servers which don't wanna use digilines. There has been other digiline_remote mods before your mod, but they had also nothing to prevent other players to send a signal to your machines if u don't want it. Also my mod allows other players to communicat with your machines if u allow it.

PS: u can PM me in german :)
Please tell me if i have written bad english.
Planets/Asteroids mod: https://forum.minetest.net/viewtopic.php?t=15933
servers where i'am:
mars-server
jungle-server
buildersworld
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: [mod] radio control [v.1][rc]

by DS-minetest » Wed Mar 15, 2017 16:41

I don't like unrealistic protecting with something like signals. I think, important channels should simply be handled like passwords.
It could be nice to have a totally wireless communication system.
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
juli
Member
 
Posts: 109
Joined: Sat Jun 11, 2016 10:31
GitHub: cpdef
In-game: juli

Re: [mod] radio control [v.1][rc]

by juli » Wed Mar 15, 2017 20:28

Ok i could make a option to disable the protection,
but i won't totaly remove it, because especially if an admin does something with it, there could be ways, that a player does things he should not do. I could also make 2 controllers 1 for admins and one for players or so.

I make in the first thread a list of things which i wanna go to implement and i add your idea to ok?

Also i had the idea to add lifi-routers except wifi (that will cause only a graphical change) (https://en.wikipedia.org/wiki/Li-Fi)
Please tell me if i have written bad english.
Planets/Asteroids mod: https://forum.minetest.net/viewtopic.php?t=15933
servers where i'am:
mars-server
jungle-server
buildersworld
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: [mod] radio control [v.1][rc]

by DS-minetest » Thu Mar 16, 2017 15:55

juli wrote:Ok i could make a option to disable the protection,
but i won't totaly remove it, because especially if an admin does something with it, there could be ways, that a player does things he should not do. I could also make 2 controllers 1 for admins and one for players or so.

This sounds good.

juli wrote:I make in the first thread a list of things which i wanna go to implement and i add your idea to ok?

What idea do you mean?

juli wrote:Also i had the idea to add lifi-routers except wifi (that will cause only a graphical change) (https://en.wikipedia.org/wiki/Li-Fi)

What will the lifi-router do?
Will it connect with entities?
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
juli
Member
 
Posts: 109
Joined: Sat Jun 11, 2016 10:31
GitHub: cpdef
In-game: juli

Re: [mod] radio control [v.1][rc]

by juli » Thu Mar 16, 2017 21:38

With Idea i mean, that u have said, that it is unrealistic with such protection.
And lifi would do the same as a wifi-router, only it looks not same :), but i like this new technology (called light fideling or so)
Please tell me if i have written bad english.
Planets/Asteroids mod: https://forum.minetest.net/viewtopic.php?t=15933
servers where i'am:
mars-server
jungle-server
buildersworld
 

User avatar
DS-minetest
Member
 
Posts: 707
Joined: Thu Jun 19, 2014 19:49
GitHub: DS-Minetest
In-game: DS

Re: [mod] radio control [v.1][rc]

by DS-minetest » Fri Mar 17, 2017 13:56

juli wrote:And lifi would do the same as a wifi-router, only it looks not same

I mean, what should it do in minetest?
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 49 guests

cron