Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

Another Zulah GUI based off Jor'mox

ZulahZulah Member Posts: 775 @ - Epic Achaean
edited January 24 in Tech Support
Decided I wanted to work on a GUI utilizing Jor'mox's impressive drag and drop framework put out here: https://forums.mudlet.org/viewtopic.php?f=6&t=22636

General Screenshots: 
https://imgur.com/NJismy0 
https://imgur.com/hWqY2ae

Gif:
https://imgur.com/HeMpNND 

Download:
https://www.dropbox.com/s/67r3i3xl7bm2zll/ZulahGUI.mpackage

Right click and drag to interact with the GUI.

I'd like to expand on this so please feel free to update, correct any bugs, or add to this code and share.

I've created some basic windows already:
  • Walking Map
  • Ocean Map
  • Chat captures (Word wrap should auto adjust now, no need to change code for size)
  • Logger
  • Combat Information
I have an affliction tracking window using AK as well but other than tracking your own afflictions the purpose of this GUI is just visual organization not combat code.

I've added 2 extra bits of code in this version:
  1. A room database. This will add any room you enter for the first time to a database in your profile folder. You can later use this database for all sorts of purposes! If you're unfamiliar with databases, you can download a free DB Browser and search all rooms. Example: search all room descriptions for a single word "atavian" you would get: https://imgur.com/psqWaYX 
  2. I added a secondary method of viewing rooms. You can turn this on and off as well as the database tracking as seen in this gif: https://imgur.com/vyymY1k It makes seeing items, people, denizens in the rooms much easier.
You can read more on Jor'mox help about how the framework works. Creating a new window is simple code:
GUIframe.addWindow(window, name [this is the text shown on the tab], target container [top, bottom, topleft, bottomleft, topright, bottomright], hideTabText [optional])

Needs to be tested out a bit. I haven't added all classes to the defense tracking. Also some aff tracking has changed since I was last about so I'll have to update that. Let me know any other issues
JakiroDurzaanKresslackKyrraUtianimaAtalkezRiavan

Comments

  • KresslackKresslack Florida, United StatesMember Posts: 6,319 @@ - Legendary Achaean
    That looks very useful and easy to use. Thanks for putting this together and sharing.


  • DominiusDominius Member Posts: 136 ✭✭✭ - Distinguished
    Looks really nice, tried it out and this is what I got :
  • ZulahZulah Member Posts: 775 @ - Epic Achaean
    Dominius said:
    Looks really nice, tried it out and this is what I got :
    Looks like your login trigger didn't fire right. There is one login trigger:
    Your last login was from domain: (.*).

    A few people told me their login was longer than 1 line though. Will have to adjust that to work on all login locations, even longer ones.
  • TamotsuTamotsu Member Posts: 2
    Is there a way to save the layout you set it to? I can't seem to figure out how to do that if there is.
  • ZulahZulah Member Posts: 775 @ - Epic Achaean
    edited January 31
    Tamotsu said:
    Is there a way to save the layout you set it to? I can't seem to figure out how to do that if there is.

     Yes. I already put a logout trigger that saves the layout called:

    -- Logout Trigger --
    GUIframe.saveSettings()


    To load use:
    GUIframe.loadSettings()


    Utianima
  • TamotsuTamotsu Member Posts: 2
    Zulah said:
    Tamotsu said:
    Is there a way to save the layout you set it to? I can't seem to figure out how to do that if there is.

     Yes. I already put a logout trigger that saves the layout called:

    -- Logout Trigger --
    GUIframe.saveSettings()


    To load use:
    GUIframe.loadSettings()


    Ahah! Thank you! I thought that I might have glanced over it some how when I was trying to figure it out.
    Zulah
  • UtianimaUtianima Norway and AustriaMember Posts: 287 ✭✭✭✭ - Eminent
    I've installed and restarted, and something flashes as I log in, but does not seem to be working for me.

    Error output:


  • ZulahZulah Member Posts: 775 @ - Epic Achaean
    edited February 1
    Utianima said:
    I've installed and restarted, and something flashes as I log in, but does not seem to be working for me.

    Those errors are ok. Those flash for a moment as the system starts up. I've had a few people contact me saying it doesn't seem to be working when it actually is working but it's hard to tell at first. Keep in mind when you install it, nothing will look any different at first. You have to RIGHT CLICK and hold down on the blue squares and pull them towards the center of the screen as seen in this gif: https://imgur.com/HeMpNND

    All tab movement, dragging, resizing, is done via RIGHT click HOLD and DRAG on the mouse.

    If you aren't able to do that msg me here or in game and I'll help trouble shoot any issues!


    Utianima
  • UtianimaUtianima Norway and AustriaMember Posts: 287 ✭✭✭✭ - Eminent
    @Zulah thanks, that was the issue. Works perfect now  <3

    Zulah
  • ZulahZulah Member Posts: 775 @ - Epic Achaean
    Enough people asked me I thought it worth mentioning here.

    If you want something to echo in the log window simply add to a trigger:

    zgui.sendLogger("green", "This text is sent to the log!")

    As you can see you assign the color used here as well
    UtianimaJakiro
  • JakiroJakiro Member Posts: 133 ✭✭✭ - Distinguished
    Thought I'd give a minor edit to the enemy list part of the combat script to make it click-to-target. Might be useful if you've got a boatload of targets and the raid leader just died or something. I dunno. *shrugs*

    For anyone interested, just replace it with this:
    clearWindow("enemyList")
    cecho("enemyList", "Enemies:\n")
    for _,v in ipairs(zgui.enemies) do
         echoLink("enemyList", "- "..v.."\n", [[expandAlias("t ]]..v..[[")]], "Target "..v, true)
    end
    image
    ZandyrZulah
Sign In to Comment.