Ticks in Experience_Bar disappeared with Version 4.39

Posted by Itzie on Thu 19 Feb 2009 02:27 AM — 3 posts, 14,130 views.

Australia #0
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
Australia Forum Administrator #1
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.
Australia #2
Thats got it, thank you :D