Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Ticks in Experience_Bar disappeared with Version 4.39

Ticks in Experience_Bar disappeared with Version 4.39

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Itzie   Australia  (16 posts)  Bio
Date Thu 19 Feb 2009 02:27 AM (UTC)
Message
Hello, I've just updated to version 4.39 and I've noticed that all the ticks in my Experience_Bar have disappeared.

I checked the plugin and NUMBER_OF_TICKS = 5, tried reinstalling the plugin, still no tick joy.

Not sure whats going on :P
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 19 Feb 2009 02:47 AM (UTC)
Message
Yes, I noticed that too when testing 4.39, but I just assumed I was going insane. ;)

It is because of a change to 4.38 about the way lines are drawn.

Inside the plugin, change:


 -- ticks
  for i = 1, NUMBER_OF_TICKS do
    WindowLine (win, i * ticks_at, 0, i * ticks_at, 0, ColourNameToRGB ("silver"), 0, 1)
  end -- for


to:


 -- ticks
  for i = 1, NUMBER_OF_TICKS do
    WindowLine (win, i * ticks_at, 0, i * ticks_at, GAUGE_HEIGHT, ColourNameToRGB ("silver"), 0, 1)
  end -- for


The word in bold is the only difference. That should fix it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Itzie   Australia  (16 posts)  Bio
Date Reply #2 on Thu 19 Feb 2009 03:16 AM (UTC)
Message
Thats got it, thank you :D
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,336 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.