Page 4 of 4

Re: Red UI widgets

Posted: 25 Sep 2009, 20:47
by Forboding Angel
The positions gravitate towards the top left of the screen. There isn't anything in the infolog. redui isn't crapping out, just it's positions for elements shift. It's really frustrating, because then I have to open up my widget settings and delete the redui stuff to reset it.

Re: Red UI widgets

Posted: 05 Oct 2009, 21:46
by Regret
Updated first post, sorry forb didnt fix your bug yet I think.

Re: Red UI widgets

Posted: 11 Oct 2009, 01:21
by SkyStar
In your resource bars, can you explain whats the difference between pull and expense? I don't quite understand how expense can sometimes not be the same as pull.

Re: Red UI widgets

Posted: 11 Oct 2009, 01:23
by Regret
SkyStar wrote:Can you explain whats the difference between pull and expense? I don't quite understand how expense can sometimes not be the same as pull.
When you stall then one represents your demand and one how much you are actually spending due to lesser income than demand.

Re: Red UI widgets

Posted: 11 Oct 2009, 01:36
by SkyStar
Ah now I understand, thank you for your time to answer ^^.

Re: Red UI widgets

Posted: 08 Dec 2009, 08:50
by Regret
.

Re: Red UI widgets

Posted: 09 Dec 2009, 01:38
by Forboding Angel
Can you please implement a "reset positions" function? Anytime spring crashes I have to go take all the redui crap out of widgets so that it gets repositioned correctly. It's a really really really annoying bug.

Re: Red UI widgets

Posted: 09 Dec 2009, 10:32
by Regret
Forboding Angel wrote:Can you please implement a "reset positions" function? Anytime spring crashes I have to go take all the redui crap out of widgets so that it gets repositioned correctly. It's a really really really annoying bug.
I can't replicate that bug so I have no idea what's wrong.

Did you modify the framework/widgets? If so upload all.
Are the widgets included in a game archive? Post link to game.
Got any replays that crash while watching?
What resolution are you playing in?
Windowed mode?
Post infolog of a normal game where spring doesn't crash (for list of all widgets you use).

A reset button would have to be made for every single widget as the framework itself has nothing to do with configuration saving.

Re: Red UI widgets

Posted: 09 Dec 2009, 15:39
by Forboding Angel
Regret wrote:
Forboding Angel wrote:Can you please implement a "reset positions" function? Anytime spring crashes I have to go take all the redui crap out of widgets so that it gets repositioned correctly. It's a really really really annoying bug.
I can't replicate that bug so I have no idea what's wrong.

Did you modify the framework/widgets? If so upload all.
Are the widgets included in a game archive? Post link to game.
Got any replays that crash while watching?
What resolution are you playing in?
Windowed mode?
Post infolog of a normal game where spring doesn't crash (for list of all widgets you use).

A reset button would have to be made for every single widget as the framework itself has nothing to do with configuration saving.
No.
Yes: http://download.evolutionrts.info/
Probably
1920x1200
Fullscreen

I only use the widgets that are included with Evo.

They only go all out of wack when spring crashes.

Re: Red UI widgets

Posted: 09 Dec 2009, 19:05
by Regret
Forboding Angel wrote:No.
Yes: http://download.evolutionrts.info/
Probably
1920x1200
Fullscreen

I only use the widgets that are included with Evo.

They only go all out of wack when spring crashes.
I could use those crashing replays, so upload if you find any.

Next time it crashes upload the config file (before running game again) that you purge after crashes to reset it. Also a screenshot of how it looks after you run it again (with the shifted positions) would be nice.

Try updating to newest framework / widget versions.

Re: Red UI widgets

Posted: 18 Dec 2009, 19:16
by Forboding Angel
I've been using the newest framework since forever. Every time you updated, I updated. Same for the widgets (haven't added minimap yet due to lack of time to test it).

I don't have a crashing replay (but any crashing replay will cause it to happen), but I do have a screenshot:

Image
screen053.jpg
(1.5 MiB) Downloaded 2 times

Re: Red UI widgets

Posted: 18 Dec 2009, 19:27
by Regret
Forboding Angel wrote:I've been using the newest framework since forever. Every time you updated, I updated. Same for the widgets (haven't added minimap yet due to lack of time to test it).
Thanks to TheFatController this bug is now fixed, I'll release fixed widgets close to the release of new BA because there are still few bugs to fix etc.

To fix your bug just add this line:

Code: Select all

AutoResizeObjects()
to end of every Initialize() callin in every RedUI widget (not the framework).

f.e. tooltip widget:

Code: Select all

function widget:Initialize()
	PassedStartupCheck = RedUIchecks()
	if (not PassedStartupCheck) then return end
	
	tooltip = createtooltip(Config.tooltip)
	
	Spring.SetDrawSelectionInfo(false) --disables springs default display of selected units count
	Spring.SendCommands("tooltip 0")

	AutoResizeObjects() -- <-----
end

Re: Red UI widgets

Posted: 19 Dec 2009, 19:36
by Regret
New versions released.

Re: Red UI widgets

Posted: 19 Dec 2009, 22:37
by Forboding Angel
Did this new version include Z's fix for greyed out (disabled) buildpics?

Re: Red UI widgets

Posted: 19 Dec 2009, 22:47
by Regret
Forboding Angel wrote:Did this new version include Z's fix for greyed out (disabled) buildpics?
Don't remember, maybe.

Re: Red UI widgets

Posted: 21 Dec 2009, 10:14
by Forboding Angel
Regret wrote:
Forboding Angel wrote:Did this new version include Z's fix for greyed out (disabled) buildpics?
Don't remember, maybe.
Kind of a dealbreaker tbh, if at all possible, I would really really like to know.

Re: Red UI widgets

Posted: 21 Dec 2009, 10:17
by Regret
Forboding Angel wrote:Kind of a dealbreaker tbh, if at all possible, I would really really like to know.
You could just try it out, or give me a link to the topic where the fix was discussed.

Re: Red UI widgets

Posted: 22 Dec 2009, 04:27
by Forboding Angel

Re: Red UI widgets

Posted: 22 Dec 2009, 11:31
by Regret
That fix is in this release. :regret: