Geyser UI Template

Share your scripts and packages with other Mudlet users.
Filion
Posts: 93
Joined: Sat Mar 26, 2011 4:21 pm

Re: Geyser UI Template

Post by Filion »

It seems that the problem is that box1 is a label, that itself is placed inside another label, Rightwhatever name. The solution to my problem was making right a container, sacrificing some style as you (can't make a container look pretty) for functionality.

benigno
Posts: 1
Joined: Thu Oct 20, 2016 2:19 pm

Re: Geyser UI Template

Post by benigno »

Hello,
I am using Delta 3.0 is this working on this version ?. I have a couple of problems.

1.When resizing the window, all the boxes get over the window where text appears.
2.I set values for GUI.Health etc.. but they are not refreshed on the screen.

Please do excuse me if this questions are pretty basic, or I should not be even using this in this version.

Cheers,
Benigno.

Stenfire
Posts: 6
Joined: Sat Nov 04, 2017 1:41 am

Re: Geyser UI Template

Post by Stenfire »

I am trying to get my chats sent to GUIbox1. I did create a miniconsole but not sure how to create a script to send the chat to that window. There is tells, com, and say, that I would like to send to the miniconsole. maybe even have each a different color. Any help would be greatly appreciated.

Caled
Posts: 403
Joined: Thu Apr 09, 2009 4:45 am

Re: Geyser UI Template

Post by Caled »

Jor'Mox has created an excellent window manager style of script, which acts as a basic framework for a drag-and-drop resizable UI. Genuinely simple and easy to use:
https://forums.mudlet.org/viewtopic.php ... 768#p44768

Vadi suggested a nice demo for people may be to combine Jor'Mox excellent work with Akaya's Geyser Template from this thread, so I had a look to see if the two could be combined, and it can be. I doubt I would ever use the result - using GUIframe is so easy, most of the 'laying out' part is bypassed because of the drag-and-drop nature of the script.

But, it may be useful to some people wondering how to use GUIframe - particularly if you're already familiar with using the template from this thread to build from.

The attached script replaces the one downloadable from the original post of this thread, but you also need the script from Jor'Moxs thread, linked above.
Attachments
AkayasGeyserTemplate-with-JorMoxsGUIFrame.xml
(4.98 KiB) Downloaded 907 times

User avatar
fstltna
Posts: 29
Joined: Tue Oct 07, 2014 7:19 am
Location: South San Francisco, CA
Discord: MarisaG#2083
Contact:

Re: Geyser UI Template

Post by fstltna »

Im using coffeemud, how would I set up this template to get the health, mana, etc data to update the template?

I'm trying to do it like this:
GUI.Health:setValue(gmcp.char.vitals.hp, gmcp.char.maxstats.maxhp)

Is that correct? I get errors or no output when I do it...
---- https://PocketMud.com - full-featured CoffeeMUD hosting - $14/month with first month free
---- https://discord.gg/HgDxtas - Semi-Official CoffeeMUD Discord server
---- https://EmpireDirectory.net - portal for Empire and Imperium

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Geyser UI Template

Post by Vadi »

Does coffeemud actually do gmcp with those values?

User avatar
fstltna
Posts: 29
Joined: Tue Oct 07, 2014 7:19 am
Location: South San Francisco, CA
Discord: MarisaG#2083
Contact:

Re: Geyser UI Template

Post by fstltna »

I have it working, never mind. Will post another thread for the issues I am having now...
---- https://PocketMud.com - full-featured CoffeeMUD hosting - $14/month with first month free
---- https://discord.gg/HgDxtas - Semi-Official CoffeeMUD Discord server
---- https://EmpireDirectory.net - portal for Empire and Imperium

manwichman44
Posts: 2
Joined: Mon Jun 10, 2019 4:42 pm

Re: Geyser UI Template

Post by manwichman44 »

Im trying to get Geyser ui to work with Materia Magica, I don't know how to get the gauges working.

breakone9r
Posts: 24
Joined: Sun Jul 26, 2020 1:39 am

Re: Geyser UI Template

Post by breakone9r »

Code: Select all

my_miniconsole = Geyser.MiniConsole:new({
  name = "my_miniconsole",
  x = 0, y = 0,
  width = "100%",
  height = "100%",
}, GUI.Box2)
This removes the borders from GUI.Box2. so uhh.. what?

jtg0285
Posts: 2
Joined: Tue Sep 29, 2020 2:10 pm

Re: Geyser UI Template

Post by jtg0285 »

After struggling a bit, I have compiled an EZ-Mode for gauges in case anyone else just wants to copy/paste their way to victory:

Go to scripts -> Template -> Gui
click Add Item
Name the new item updateGauges
Add User Event Handler: gmcp.Char.Vitals
click the + sign to actually add it to registered event handlers above

((You will need to EDIT the script below to fit your games method of handling gmcp, and ignore or delete anything that doesn't apply to your game))
Copy/Paste/EDIT the following script in the code section at the bottom:

Code had to be posted as an image attachment due to inane forum rules.
gaugesScript
gaugesScript

Post Reply