Balanced Annihilation 7.31 - Page 8

Balanced Annihilation 7.31

Classic game design, maintained to please you...

Moderator: Content Developer

User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Balanced Annihilation 7.31

Post by smoth »

you must be running some stripped down settings. enabled I get 120 fps, disabled I get 135.
User avatar
Wombat
Posts: 3379
Joined: 15 Dec 2008, 15:53

Re: Balanced Annihilation 7.31

Post by Wombat »

i dont want to whine, but, seriously, does someone else got problems with fps drop while highlightselectedunits widget is enabled ?
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Balanced Annihilation 7.31

Post by Pxtl »

Wombat wrote:i dont want to whine, but, seriously, does someone else got problems with fps drop while highlightselectedunits widget is enabled ?
A lot of those unit-highlighters seem to be resource beasts. I remember CA used to bundle with a SelectionHalo widget that would bring my old onboard to its knees, when the rest of the game would run just fine.

I'm so happy to be done with that onboard.
User avatar
Wombat
Posts: 3379
Joined: 15 Dec 2008, 15:53

Re: Balanced Annihilation 7.31

Post by Wombat »

would be nice if it could be disabled by default / fixed. there are already many threads in bugs section about that (lag and huge dots on minimap)
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Balanced Annihilation 7.31

Post by Jazcash »

smoth wrote:you must be running some stripped down settings. enabled I get 120 fps, disabled I get 135.
Well, firstly, I use a lot of widgets. Secondly, yeah, Spring Settings are pretty low.
User avatar
Wombat
Posts: 3379
Joined: 15 Dec 2008, 15:53

Re: Balanced Annihilation 7.31

Post by Wombat »

widgets are for nubs ! i wish their list was closed :c
User avatar
Nixa
Posts: 350
Joined: 05 Oct 2006, 04:32

Re: Balanced Annihilation 7.31

Post by Nixa »

Back in my day son there was no such thing as a widget :lol:
I miss 2005/2006 spring
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Balanced Annihilation 7.31

Post by smoth »

Spring is a better project for the addition of lua.

Jaz, I suggest you getting the widget profiler and start tracking down which widgets in particular are causing the most slowdown and reporting back on it.

P.S. How does the gundam widget setup effect you(pm me on this so we do not derail)
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Balanced Annihilation 7.31

Post by Beherith »

http://springrts.com/phpbb/viewtopic.ph ... er#p226428
I made this for my own but I release it in case some other devs or players are interested..

This is useful for widget devs and players who want to know which widget slows them down..

It just shows all active widgets and the time it takes for some callins (configured with a table in the file) to execute.

Note that it needs to be reloaded whenever you toggle another widget.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Balanced Annihilation 7.31

Post by smoth »

well jaz?
User avatar
Gota
Posts: 7151
Joined: 11 Jan 2008, 16:55

Re: Balanced Annihilation 7.31

Post by Gota »

Only one truly epic widget...custom formations.
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Balanced Annihilation 7.31

Post by Jazcash »

smoth wrote:well jaz?
Image

IceUI is the main culprit. How embarrassing :oops:
Attachments
Aghr.jpg
(230.5 KiB) Downloaded 4 times
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Balanced Annihilation 7.31

Post by smoth »

lol chili is so slow :P
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Balanced Annihilation 7.31

Post by Jazcash »

Mid-game shots:

Image

Image
Attachments
2.jpg
(765.09 KiB) Downloaded 3 times
1.jpg
(493.25 KiB) Downloaded 3 times
User avatar
Wombat
Posts: 3379
Joined: 15 Dec 2008, 15:53

Re: Balanced Annihilation 7.31

Post by Wombat »

for me team platter took most :C and i love it so much . . .

also adv players list sux suprisingly much, no ?
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Balanced Annihilation 7.31

Post by Jazcash »

I thought this was pretty interesting. Take Reminder widget uses an awful lot when you have a fair few players drop or start lagging immensely.

Image
Attachments
hooge.jpg
(898.87 KiB) Downloaded 3 times
User avatar
Wombat
Posts: 3379
Joined: 15 Dec 2008, 15:53

Re: Balanced Annihilation 7.31

Post by Wombat »

christ, u use so many widgets. nuke button, lol
User avatar
Niobium
Posts: 456
Joined: 07 Dec 2008, 02:35

Re: Balanced Annihilation 7.31

Post by Niobium »

Jazcash wrote:I thought this was pretty interesting. Take Reminder widget uses an awful lot when you have a fair few players drop or start lagging immensely.
Takereminder is horrendously inefficient, it basically checks every unit individually every frame to see if it is takeable, here's the rough process:

Code: Select all

For every frame being drawn:
    Find all visible units
    Foreach visible unit
        Get unit team
        Get active players
        Foreach active player
            If player controls the units team, exit
        Draw a 'T'
Given that the 'T' is largely unnecessary due to flashing team color of disconnected teams, a quick fix is just to remove the :DrawWorld function altogether, if you are concerned about performance.

It's likely quite a few of default widgets will be updated in the coming release(s).
klapmongool
Posts: 843
Joined: 13 Aug 2007, 13:19

Re: Balanced Annihilation 7.31

Post by klapmongool »

Interesting stuff. Probably splitting it to a topic in lua stuff would be best?

OT (on the potentially split off topic): I am interested in cutting down on my, also rather big, list of widgets. Also in order to switch to MT IF I can do that without loosing too much functionality. I hope to combine this with reducing required cpu time for widgets. I have experimented with cutting down/changing some widgets in the past but it seemed that there are simply too many problems in both gui widget code (red/ice) and specific 'functional' widget code.

Is anyone else interested in sharing knowledge on 'MT-safe' widgets and 'cpu-friendly' widgets? (I dont need to hear that MT is not being supported, its about time we start adjusting to it).
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Balanced Annihilation 7.31

Post by hoijui »

you should not/can not adjust GUI stuff to current release MT version of spring. it needs re-factoring (being done by zerver already) first. so a much better idea is to fix CPU ineffective Lua code now.
Post Reply

Return to “Balanced Annihilation”