Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Dustpuppy

Members
  • Content Count

    75
  • Joined

  • Last visited

  • Days Won

    19

Reputation Activity

  1. Like
    Dustpuppy got a reaction from foxp552 in My gui (Now with visual editor)   
    BIG UPDATE!
    I've worked out some updates and a new visual editor for the gui system.
    To use the gui just download http://pastebin.com/Dfgc6z0T to a computer as /lib/gui.lua and try your best.
     
    If you don't want to fight with the placing of elements on the screen, then you want to use the visual editor.
    It's alpha state, but i hope it will make no errors.
    The editor will create a full lua code as frame work for your own program in resolution 80x25 like for a tier 2 screen. But you need a tier 3 screen to use the editor it self. The program you can run then on a tier 2 or tier 3 screen.
    Please try it and let me know, what you think. It's a bit flickry when updating the screen, but i hope i get this fixed.
    You can download the editor at https://pastebin.com/jdaM8FKG
    If you like it, let me know and tell me, what i could change, or what you want me to put into the gui or the editor.
     
    Have fun
     
  2. Like
    Dustpuppy got a reaction from JackCarterSmith in My gui (Now with visual editor)   
    BIG UPDATE!
    I've worked out some updates and a new visual editor for the gui system.
    To use the gui just download http://pastebin.com/Dfgc6z0T to a computer as /lib/gui.lua and try your best.
     
    If you don't want to fight with the placing of elements on the screen, then you want to use the visual editor.
    It's alpha state, but i hope it will make no errors.
    The editor will create a full lua code as frame work for your own program in resolution 80x25 like for a tier 2 screen. But you need a tier 3 screen to use the editor it self. The program you can run then on a tier 2 or tier 3 screen.
    Please try it and let me know, what you think. It's a bit flickry when updating the screen, but i hope i get this fixed.
    You can download the editor at https://pastebin.com/jdaM8FKG
    If you like it, let me know and tell me, what i could change, or what you want me to put into the gui or the editor.
     
    Have fun
     
  3. Upvote
    Dustpuppy got a reaction from hpf3 in My gui (Now with visual editor)   
    BIG UPDATE!
    I've worked out some updates and a new visual editor for the gui system.
    To use the gui just download http://pastebin.com/Dfgc6z0T to a computer as /lib/gui.lua and try your best.
     
    If you don't want to fight with the placing of elements on the screen, then you want to use the visual editor.
    It's alpha state, but i hope it will make no errors.
    The editor will create a full lua code as frame work for your own program in resolution 80x25 like for a tier 2 screen. But you need a tier 3 screen to use the editor it self. The program you can run then on a tier 2 or tier 3 screen.
    Please try it and let me know, what you think. It's a bit flickry when updating the screen, but i hope i get this fixed.
    You can download the editor at https://pastebin.com/jdaM8FKG
    If you like it, let me know and tell me, what i could change, or what you want me to put into the gui or the editor.
     
    Have fun
     
  4. Upvote
    Dustpuppy got a reaction from sigmasoldier in My gui (Now with visual editor)   
    And one more. As you see, i have nothing to do at the moment ;-)
     
    Insert radio buttons.
     
    Now it's enough. I have no idea what else is missing. If you have ideas let me know.
     

  5. Upvote
    Dustpuppy got a reaction from sigmasoldier in My gui (Now with visual editor)   
    BIG UPDATE!
    I've worked out some updates and a new visual editor for the gui system.
    To use the gui just download http://pastebin.com/Dfgc6z0T to a computer as /lib/gui.lua and try your best.
     
    If you don't want to fight with the placing of elements on the screen, then you want to use the visual editor.
    It's alpha state, but i hope it will make no errors.
    The editor will create a full lua code as frame work for your own program in resolution 80x25 like for a tier 2 screen. But you need a tier 3 screen to use the editor it self. The program you can run then on a tier 2 or tier 3 screen.
    Please try it and let me know, what you think. It's a bit flickry when updating the screen, but i hope i get this fixed.
    You can download the editor at https://pastebin.com/jdaM8FKG
    If you like it, let me know and tell me, what i could change, or what you want me to put into the gui or the editor.
     
    Have fun
     
  6. Upvote
    Dustpuppy got a reaction from CocoVanChoco in My gui (Now with visual editor)   
    BIG UPDATE!
    I've worked out some updates and a new visual editor for the gui system.
    To use the gui just download http://pastebin.com/Dfgc6z0T to a computer as /lib/gui.lua and try your best.
     
    If you don't want to fight with the placing of elements on the screen, then you want to use the visual editor.
    It's alpha state, but i hope it will make no errors.
    The editor will create a full lua code as frame work for your own program in resolution 80x25 like for a tier 2 screen. But you need a tier 3 screen to use the editor it self. The program you can run then on a tier 2 or tier 3 screen.
    Please try it and let me know, what you think. It's a bit flickry when updating the screen, but i hope i get this fixed.
    You can download the editor at https://pastebin.com/jdaM8FKG
    If you like it, let me know and tell me, what i could change, or what you want me to put into the gui or the editor.
     
    Have fun
     
  7. Upvote
    Dustpuppy got a reaction from LarynxDE in Security system for opensecurity   
    Hi,
    now i'am getting complicated :-)
     
    Here's my security system. It's based on opensecurity and oc.
     
    -------------------------------------------------------------------------------------------------------------------------------
    What's needed?
     
    The server
    Start it before starting any door computer or the card writer system.
    The server will handle all user accesses.
     
    The card writer
    This is the main system.
    It's with gui to setup all users.
    It needs an opensecurity card writer connected.
    You can setup new user, edit user or delete user.
    A user can be blocked to stop him using a mag card and a level can give to grant access on different doors.
    Data will be encrypted on the card.
     
    The door systems
    This will be used for the door it self.
    The computer needs a door controller and a card reader connected.
    You can use as much of this systems, as you want.
    It's important, that a door computer is started after the server, because it sends his access level to server during start.
    The level can be changed in the code. It's this line on the top : local accessLevel = 2
     
    -------------------------------------------------------------------------------------------------------------------------------
     
    All data will be send encrypted over network on port 199. The port and the crypting key can be changed in the source codes on top. Easy to find. :-)
     
    Downloads
     
    The server
    http://pastebin.com/Entk3KX5
     
    The card writer
    http://pastebin.com/156Np04X     - main program
    http://pastebin.com/Dfgc6z0T      - the gui system (save it as gui.lua)
     
    The door computer
    http://pastebin.com/KwQjiQPD
     
    Hope u get it setup :-) If not, let me know. If i don't answer...good luck ;-)



  8. Upvote
    Dustpuppy got a reaction from LarynxDE in Security system for opensecurity   
    It's because ur using MC 1.10.2
    The names of the blocks are changed in Open security, compared to MC 1.7.10.
    I will redo the programs with the new names for MC 1.20.2 if i find the time. At the moment i am working on my gui.
     
  9. Upvote
    Dustpuppy got a reaction from Aether in My gui (Now with visual editor)   
    I've updated the pastebin download.
     
  10. Upvote
    Dustpuppy reacted to RandomRedMage in Nanomachines, son. Control them, don't let them control you. :D   
    I haven't been here in a long while, mostly because life, the universe, and everything has been getting in the way of fun. Also, I'm usually an eternal lurker, but hey today I have a small contribution, As I have been playing I wanted a gui interface to easily turn on and off the different nanomachine flags. So I built a small application to do it. Right now it is super basic, but I hope to flesh it out a bit more and give it proper displays ect, so I dont have to do things as janky as I did here.
    Long story short, I'm bad at lua/coding/scripting in general, so its a little hamfisted and could prolly be streamlined a lot,
    As some basic prerequisites, it needs a computer or tablet with a teir 2 graphics card, and a wireless card.
    I used Dustpuppies gui api found here: 
    It was really helpful, and made setting up an interface really simple.
     
    Screenshot below~ 
    Pastebinlink: https://pastebin.com/wrxi0726
    Buttons that say on, turn flags on, buttons that say off turn flags off. super simple nonsense.
    arguments~ you can launch the file with the argument '-s' and this will skip a 'loading' screen I coded into it. The loading screen, is just a visual representation of the program turn off all nanomachine flags one by one. since nanomachines will only respond to commands once every second or so. I did this as I am still learning and figureing things out with network messages, and sending is easier than receiving for me, lol and telling the nanos to turn everything off was easier than asking the nanos whats turned on, and setting the buttons up to match it at launch. Mainly because I am dense, and it's going to take a little time to work things out and hammer it into my mind how to do this.

     
    Thanks for taking a look at my nonsense. If you have any suggestions, or contributions, please, speak up. D: seriously I wont learn exactly how terrible I am at this without your help, and in turn wont get any better. I made this because I wanted to, and the only nanomachine control app I was able to find was just a text based type thigns application. [though that application has been helpful in setting this up and will likely be helpful in continuing work on this program. As I believe every nanomachine function is in use by it. https://www.youtube.com/watch?v=gl3zGcTh67w that's the program. I picked apart to learn how to do this and stuff. D
     
  11. Upvote
    Dustpuppy got a reaction from GreaseMonkey in My gui (Now with visual editor)   
    Made some changes :-)
     
    Internal display handling changed to prevent the flickering. Now only the changed element is refreshed, not the whole gui anymore.
     
    Added the checkbox.
     
     
    Still the same download link on pastebin
  12. Upvote
    Dustpuppy got a reaction from maarten2000ha in Security system for opensecurity   
    Hi,
    now i'am getting complicated :-)
     
    Here's my security system. It's based on opensecurity and oc.
     
    -------------------------------------------------------------------------------------------------------------------------------
    What's needed?
     
    The server
    Start it before starting any door computer or the card writer system.
    The server will handle all user accesses.
     
    The card writer
    This is the main system.
    It's with gui to setup all users.
    It needs an opensecurity card writer connected.
    You can setup new user, edit user or delete user.
    A user can be blocked to stop him using a mag card and a level can give to grant access on different doors.
    Data will be encrypted on the card.
     
    The door systems
    This will be used for the door it self.
    The computer needs a door controller and a card reader connected.
    You can use as much of this systems, as you want.
    It's important, that a door computer is started after the server, because it sends his access level to server during start.
    The level can be changed in the code. It's this line on the top : local accessLevel = 2
     
    -------------------------------------------------------------------------------------------------------------------------------
     
    All data will be send encrypted over network on port 199. The port and the crypting key can be changed in the source codes on top. Easy to find. :-)
     
    Downloads
     
    The server
    http://pastebin.com/Entk3KX5
     
    The card writer
    http://pastebin.com/156Np04X     - main program
    http://pastebin.com/Dfgc6z0T      - the gui system (save it as gui.lua)
     
    The door computer
    http://pastebin.com/KwQjiQPD
     
    Hope u get it setup :-) If not, let me know. If i don't answer...good luck ;-)



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.