Download Infobar 3.2 \ Graphical Status Bar for MUSHclient

Started by Agent_137, April 09, 2009, 02:51:29 PM

:D thanks! glad it's getting some use.

Does anyone ever use the Descriptive version? I'm most proud of that. (/SwapInfobar to try it and to switch back.)

Quote from: Agent_137 on July 08, 2012, 09:20:50 PM
:D thanks! glad it's getting some use.

Does anyone ever use the Descriptive version? I'm most proud of that. (/SwapInfobar to try it and to switch back.)

I think Descriptive mode is really cool, but I personally use the Detailed mode.
QuoteSunshine all the time makes a desert.
Vote at TMS
Vote at TMC

I can't remember if I ever tried changing the font again to make this work. I'm going to try when I get home and post about it!

Quote from: tiptoe on July 09, 2012, 03:12:49 AM
I can't remember if I ever tried changing the font again to make this work. I'm going to try when I get home and post about it!

Running it through WINE?
QuoteSunshine all the time makes a desert.
Vote at TMS
Vote at TMC

Quote from: Feco on July 09, 2012, 03:19:23 AM
Quote from: tiptoe on July 09, 2012, 03:12:49 AM
I can't remember if I ever tried changing the font again to make this work. I'm going to try when I get home and post about it!

Running it through WINE?

Yes. It's been quite a while since I tried it, but there was some problem with it not showing up at all or showing up as just characters.

Ha! Got it to work. I downloaded corefonts, fontfix, tahoma fonts, and vcrun6 through winetricks. Then changed my font to Tahoma.

Quote from: tiptoe on July 09, 2012, 12:30:58 PM
Ha! Got it to work. I downloaded corefonts, fontfix, tahoma fonts, and vcrun6 through winetricks. Then changed my font to Tahoma.

awesome! at long last.

so i'm still not getting any notifications from this board. :( if you guys need anything, be sure and send me an email.

shade,
Agent

I just installed this.

It's amazing!  I'm excited.
Child, child, if you come to this doomed house, what is to save you?

A voice whispers, "Read the tales upon the walls."

Installed...and I'll never use anything else. Descriptive is the best!
A staff member sends:
     "I hate you. :p"

Quote from: LauraMars on July 22, 2013, 01:50:56 PM
I just installed this.

It's amazing!  I'm excited.

Quote from: razorback on July 24, 2013, 04:55:33 PM
Installed...and I'll never use anything else. Descriptive is the best!

Only a few years late to the party ;)

As to all you Wineusers, if you edit the script and under '--Setting up default look' remove the fontname/leave it blank, it will go to a default font that works.

Quote from: charas on October 02, 2013, 06:41:52 AM
Only a few years late to the party ;)

As to all you Wineusers, if you edit the script and under '--Setting up default look' remove the fontname/leave it blank, it will go to a default font that works.

Charas,

you rock. thanks for pointing that out. We actually figured this out back in 2011, but no one reads the middle of a 5 page thread.

So I've finally done now what I should have done then. I commented out the "InfoFont" commands from the script. windows users don't need them anyway.




Quote from: thewolfen3 on October 05, 2013, 07:23:09 PM
How do you actually uninstall the bar?

change your prompt to something else using the prompt command.

go into the triggers menu and remove the triggers it added.


Yo, doc. Is there a way to nest if statements inside of another if statement?

In C, you can do:

if good{
   if yellow{
      do red
   }
   elseif bad{
   if red{
      do yellow
{{{


I'm a horrible coder, but I understand that I can do basically that in C.

Is there any way to do this in Lua without checking the condition at every line? Because I certainly can't write it like that.
Wynning since October 25, 2008.

Quote from: Ami on November 23, 2010, 03:40:39 PM
>craft newbie into good player

You accidentally snap newbie into useless pieces.


Discord:The7DeadlyVenomz#3870

oh you want to just nest other statements in an if statement?

or do you want ifelse statements?

http://www.lua.org/pil/4.3.1.html
QuoteWhen you write nested ifs, you can use elseif. It is similar to an else followed by an if, but it avoids the need for multiple ends:

   if op == "+" then
     r = a + b
   elseif op == "-" then
     r = a - b
   elseif op == "*" then
     r = a*b
   elseif op == "/" then
     r = a/b
   else
     error("invalid operation")
   end

you could also try it here:
http://www.lua.org/demo.html

Generally nesting if statements is going to rapidly lead to confusing and hard to read code. it usually suggests you need to break some of what you're nesting into separate functions, or combine the tests, or put the tests into their own function.

i.e.
if good && yellow
then do red

i don't remember a whole lot about lua tbh.

Quote
if 1==1 then
io.write("1 equaled 1")
if 1==2 then
io.write("this won't execute")
else
io.write("\r1 didn't equal 2")
end
else
io.write("this won't execute")
end



I think where I ran into my problem was trying to figure out what position fighting actually is. I tried to use a variable to do this.

CP = 0
if CurrentPosition ~= "sleeping" and
CurrentPosition ~= "resting" and
CurrentPosition ~= "sitting" and
CurrentPosition ~= "standing" then
CP = 1
else
CP = 0
end

--Movement/Sitting Status
InfoColour ("black")
Info ("and ")
if CurrentPosition ~= "standing" and
CP ~= "1" then
                InfoColour ("black")
Info (CurrentPosition)
elseif CP == "1" then
                InfoColour ("red")
Info (CurrentPosition)
elseif CurrentSpeed == "running" then
                InfoColour ("firebrick")
Info (CurrentSpeed)
elseif CurrentSpeed == "sneaking" then
                InfoColour ("darkorange")
Info (CurrentSpeed)
    elseif CurrentSpeed then
                InfoColour ("black")
Info (CurrentSpeed)
end
Info (". ")


That's not really going that well. There's no errors, though, so I'm not completely flubbing it.
Wynning since October 25, 2008.

Quote from: Ami on November 23, 2010, 03:40:39 PM
>craft newbie into good player

You accidentally snap newbie into useless pieces.


Discord:The7DeadlyVenomz#3870

bump, see first post.

this is now available as a MUSHclient plugin.

no other major changes yet so if you already use this you don't need to upgrade.

Any idea on how to make the font larger, it's pretty small on this end :/

Quote from: Helloworld on November 12, 2013, 03:05:40 PM
Any idea on how to make the font larger, it's pretty small on this end :/

Yeah, go find the two instances of InfoBackground ("wheat"), create a blank line right after it, and copy/paste this into it: InfoFont ("",10,0)

If that's still to small change the 10 to 11 or 12.

You may have to go into the plugins menu and click the "reinstall" button after making your change.

Details on what that command does is here:
http://www.gammon.com.au/scripts/doc.php?function=InfoFont

If it's too small for everyone, I'll make this change across the board.

I'm not that handy so I wouldn't mind if uh.... you'd make a change :P
Sometimes, severity is the price we pay for greatness

Thanks for your instruction and attention to all this, agent!
Case: he's more likely to shoot up a mcdonalds for selling secret obama sauce on its big macs
Kismet: didn't see you in GQ homey
BadSkeelz: Whatever you say, Kim Jong Boog
Quote from: Tuannon
There is only one boog.

Quote from: Iiyola on November 16, 2013, 11:42:10 AM
I'm not that handy so I wouldn't mind if uh.... you'd make a change :P

Iiyola,

ok, i'll change it. But for the record, if you can learn to play arma, you can handle tweaking a simple script. :)

It looks like the default size built into MUSHclient is 8, which is indeed too small. I've now set it at 10, which is what it's been in the past.

Please refer to the post at the top of this thread for instructions on updating your armageddon infobar.



boog,

no problem, it's a pleasure.

Piggybacking on this thread for a bit, I'm finally getting back on that MUSHclient color trigger file. By popular request I'm focusing on a black-background one first, though I've been playing with (and prefer) a light tan background for yeaaaars and years. So, without further ado:

Does anyone have a list of the various "conditions" a character can be in, and their 'bleeding' messages?

I lost them in the Great Trigger Overwrite Catastrophe I had a while back.

For example:

The tall, muscular man is in moderate condition.

The tall, muscular man is standing here, bleeding heavily.

Quote from: Delirium on November 18, 2013, 03:09:15 PM
Piggybacking on this thread for a bit, I'm finally getting back on that MUSHclient color trigger file. By popular request I'm focusing on a black-background one first, though I've been playing with (and prefer) a light tan background for yeaaaars and years. So, without further ado:

Does anyone have a list of the various "conditions" a character can be in, and their 'bleeding' messages?

I lost them in the Great Trigger Overwrite Catastrophe I had a while back.

For example:

The tall, muscular man is in moderate condition.

The tall, muscular man is standing here, bleeding heavily.


Here's a github repo dedicated to MUSHclient plugins for Armageddon. One of which is a trigger plugin. You should contribute to it.

I hadn't thought of dark vs light backgrounds, and I wasn't looking forward to duplicating all that code to handle them, and then worry about color-blind types...

Fortunately, the highlights just use an integer that represents a custom color. It's settable in MUSHclient, so the background is irrelevant. The user can customize the colors as she sees fit.

See the mushclient documentation for colors.

The bleeding messages is still an open question though - i never bother to highlight that myself.