Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: control module #3

Open
enderman-2009 opened this issue Feb 7, 2023 · 24 comments
Open

feature request: control module #3

enderman-2009 opened this issue Feb 7, 2023 · 24 comments
Labels
enhancement New feature or request

Comments

@enderman-2009
Copy link
Contributor

enderman-2009 commented Feb 7, 2023

could be multiple modules if you want
potential features

  • door editing (maybe similar to diagnostic tablet)
  • door control (open/close control)
  • sector control (lockdown/open control)
@enderman-2009
Copy link
Contributor Author

@cadergator10 maybe also a color palette editor but idk if that is possible with the current version

@cadergator10
Copy link
Owner

I don't understand what you mean by this

@enderman-2009
Copy link
Contributor Author

by what

@enderman-2009
Copy link
Contributor Author

@cadergator10 what do you not understand

@cadergator10
Copy link
Owner

What does this control module do? Like is it just all 3 of the modules together?

@enderman-2009
Copy link
Contributor Author

enderman-2009 commented Feb 7, 2023

@cadergator10 some of this may require extra modification on other stuff, you can also separate them if you think its better but its essentially this:

  • door editing: like diagnostic tablet door editing and the door setup module in one thing
  • door control: similar to remote control but maybe you could like store the addresses of the door computers or something so you don't have to walk to a mag reader everytime
  • like the sector control program but from the database with buttons instead

@enderman-2009
Copy link
Contributor Author

enderman-2009 commented Feb 7, 2023

@cadergator10 i think this is a good idea cause editing doors with the diagnostic tablet is pain and the door control isn't require but sector control would be nice

@cadergator10
Copy link
Owner

OOOOOH :P I mistook what you said about the control module and assumed you meant the three modules already in place.

Door Editing: I was planning on adding this feature to the current door editing, so you can not only create doors, but edit doors already in place.

Door control: Remote control could be something added, something almost exactly like the Diagnostic tablet. The diagnostic tablet's remote control doesn't require you to go to magreaders as well I dont think.

An ability to use the MineOS to control sectors is possible, but there are a few major caveats:

  1. The MineOS database is designed to be turned completely on and completely off, which makes redstone control pretty much impossible
  2. Modules aren't designed much for background tasks. Really at most I could make it so you can control sectors manually, which leads into
  3. The database sector control would override redstone sector control, and also right back at it. It's a whole mess of a problem.
    Of course, workarounds can be found, but for the moment it doesn't make too much sense.

@cadergator10 cadergator10 added the enhancement New feature or request label Feb 7, 2023
@enderman-2009
Copy link
Contributor Author

btw i didn't mean redstone i meant like buttons or something

@enderman-2009
Copy link
Contributor Author

and for the sector they still get overwriten if you use a bypass anyway

@cadergator10
Copy link
Owner

and for the sector they still get overwriten if you use a bypass anyway

Yeah. A bypass I can think of is, rather than wait for when redstone is enabled, make it so when it detects a pulse it triggers a sector and add another redstone line in to disable lockdown or lock open.

@enderman-2009
Copy link
Contributor Author

no a bypass like in the sectors module

@enderman-2009
Copy link
Contributor Author

and i mean if someone doesn't want there sector control program to get overwriten then just don't use that feature

@cadergator10
Copy link
Owner

no a bypass like in the sectors module

Sorry, I meant bypass like a way around this issue. Doing it that way would mean that sector statuses, instead of local to one sectorcontrol module, only update the server one (meaning multiple sectorcontrol devices are possible)

@enderman-2009
Copy link
Contributor Author

also i think door editing should be the first of those features if you don't know where to start

@cadergator10
Copy link
Owner

also i think door editing should be the first of those features if you don't know where to start

It'll be a while until I add in any enhancements. My current progress is going towards the servertine website, so that when I begin work on the minecraft system, I can program it in to work with it

@enderman-2009
Copy link
Contributor Author

@cadergator10 what is the servertine website?

@cadergator10
Copy link
Owner

cadergator10 commented Feb 9, 2023 via email

@enderman-2009
Copy link
Contributor Author

btw if i knew how to make modules i might make some

@cadergator10
Copy link
Owner

btw if i knew how to make modules i might make some

I have created some documentation on how to make some (some changes to it will be made, but nothing that should break previous modules) and I'm always here to help. If you need my discord it's here cadergator10#6531

@enderman-2009
Copy link
Contributor Author

enderman-2009 commented Feb 24, 2023

i don't understand for me it just looks like a big incomprehensible mess, also why would i need your discord?

@enderman-2009
Copy link
Contributor Author

like i don't even know how to import custom modules in the system

@enderman-2009
Copy link
Contributor Author

enderman-2009 commented Feb 24, 2023

i have a decent amount of experience with lua i just don't understand how to make something for your system
like i made a network protocol that allows confirmation and a system to allow the transfer of files through that protocol extremely fast and also a remote code execution that works on both drone and a computer that also allows receiving messages from that location and it also has error protection it only crashes if it receives nil which in my setup only happens if you crash the program that sends the info and more thats just the main things

@cadergator10
Copy link
Owner

i don't understand for me it just looks like a big incomprehensible mess, also why would i need your discord?

The discord is for instant communication if you want to ask me questions to be answered quicker, just for smaller stuff like help with the documentation (which I'll try and make a little better)

like i don't even know how to import custom modules in the system

Once the new servertine module and server are released, it'll be much easier to import custom modules. Before, I had to manually wget the files to the server in order to debug it, but the new version will have a developer mode. The developer mode will use the second url specified by developers to download files (meaning download from the development branch of code) as well as backing up and clearing previous files to create a cleanish install of sorts.

i have a decent amount of experience with lua i just don't understand how to make something for your system like i made a network protocol that allows confirmation and a system to allow the transfer of files through that protocol extremely fast and also a remote code execution that works on both drone and a computer that also allows receiving messages from that location and it also has error protection it only crashes if it receives nil which in my setup only happens if you crash the program that sends the info and more thats just the main things

Understandable lol. I need to put comments through my system and improve my documentation, which I plan on doing before the next release. Just a double check, have you seen the module prefabs for both the server and the database? If not, those could make it a little more easier. Also for the database, you need to understand the MineOS' GUI API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants