Advanced Players List widget - Page 9

Advanced Players List widget

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

User avatar
Marmoth
Posts: 63
Joined: 26 Mar 2008, 20:44

Re: Advanced Players List widget

Post by Marmoth »

Version 8.0 is out.

Better design.
Some bug fixes (images transparency).
Bit of code cleanup (its not very pleasant yet tough).

Hope you will like it.

Please post any report/suggestion/impression in this thread!
User avatar
Floris
Posts: 611
Joined: 04 Jan 2011, 20:00

Re: Advanced Players List widget

Post by Floris »

Still sais:

date = "November 28, 2010",
version = "7.5",
User avatar
Marmoth
Posts: 63
Joined: 26 Mar 2008, 20:44

Re: Advanced Players List widget

Post by Marmoth »

Ooops, thx. This should be ok now (it was the new version already, but with wrong header...).
User avatar
exciter
Posts: 65
Joined: 13 Jun 2010, 16:47

Re: Advanced Players List widget

Post by exciter »

Marmoth wrote:Version 8.0 is out.

Better design.
Some bug fixes (images transparency).
Bit of code cleanup (its not very pleasant yet tough).

Hope you will like it.

Please post any report/suggestion/impression in this thread!
Do you have somethin' like a screenshot? :)

Would be nice :-p

greets
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Advanced Players List widget

Post by jamerlan »

I like 8.0 version very much!
User avatar
Marmoth
Posts: 63
Joined: 26 Mar 2008, 20:44

Re: Advanced Players List widget

Post by Marmoth »

I would have loved to make a screenshot, but my computer only saves pure black images :-(. I would be happy if someone could make one and post it...
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Advanced Players List widget

Post by jamerlan »

looks like it has hardcoded unit limit of 32 players (and specs). When we have 8vs8 players and 25 specs - it renders player list incorrectly.

I am trying to fix that but code is full of magic constants like 31, 32, 64.. so I can add some errors too))

maybe there is a better person who can fix it? Marmoth? are you here? You are the best person who can fix that.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: Advanced Players List widget

Post by dansan »

Marmoth wrote:I would have loved to make a screenshot, but my computer only saves pure black images :-(. I would be happy if someone could make one and post it...
Probably you cannot take a screenshot with your normal program, because 3D is rendered directly to your gfx cards output. So your desktop programs never see the content. You can use springs built-in however :) It's F11... or somewhere near there... (F9-F12). The pictures will be stored in SPRING_DATADIR/screenshots.
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Advanced Players List widget

Post by Jools »

Does this new version retain some fix to be compatible with commander change widgets? In ba and xta, you can change commander in-game, so the list needs to know that can happen.
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Advanced Players List widget

Post by jamerlan »

I made 8.1 version. I will test it more, and if no bugs will be appeared - will include in next BA version: https://github.com/pakolainen/Player_wi ... rslist.lua
User avatar
Jools
XTA Developer
Posts: 2816
Joined: 23 Feb 2009, 16:29

Re: Advanced Players List widget

Post by Jools »

But there is already 8.2 version: http://code.google.com/p/xta-springrts/ ... rslist.lua

Maybe I shouldn't have done that.
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Advanced Players List widget

Post by Silentwings »

@Jools: as far as I can see the change you made is to make advplayerlist work with the xta spawn gadgets?

@Decay: Thanks! I've done something similar to your 8.1 version and also made AdvPlayerList display spectators in a small font without the unnecesary icons. http://imolarpg.dyndns.org/trac/balatest/changeset/1092.
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Advanced Players List widget

Post by jamerlan »

Silentwings wrote:@Decay: Thanks! I've done something similar to your 8.1 version and also made AdvPlayerList display spectators in a small font without the unnecesary icons. http://imolarpg.dyndns.org/trac/balatest/changeset/1092.
We are PRO! :-D replaced one magic number with another :-D
User avatar
Marmoth
Posts: 63
Joined: 26 Mar 2008, 20:44

Re: Advanced Players List widget

Post by Marmoth »

Hi all!

I am happy to see that advplayerslist is still in use and that you decided to work on it!

I first have to apologize for the poor coding style i used: i was a real amateur at the time i coded this. Looking at my own code now hurts my eyes...

The design of the widget seems to have been well received by the players and that pleases me a lot.

See you soon on the battlefield.

Marmoth
User avatar
jamerlan
Balanced Annihilation Developer
Posts: 683
Joined: 20 Oct 2009, 13:04

Re: Advanced Players List widget

Post by jamerlan »

Marmoth wrote:I am happy to see that advplayerslist is still in use and that you decided to work on it!
As for me - this widget is the best player list widget. Especially I like sharing using sliders and double click.

We have a few ideas how to improve it further:
http://imolarpg.dyndns.org/trac/balatest/ticket/547
User avatar
Silentwings
Posts: 3720
Joined: 25 Oct 2008, 00:23

Re: Advanced Players List widget

Post by Silentwings »

I first have to apologize for the poor coding style i used: i was a real amateur at the time i coded this. Looking at my own code now hurts
my eyes...
:mrgreen: Believe me, it hurt mine too - I think I'm the only person who has ever done any serious work on it. I cleaned it up a lot and stopped it guzzling cycles every frame: http://imolarpg.dyndns.org/trac/balates ... rslist.lua. You can flick through the revisions to see what else.
The design of the widget seems to have been well received by the players and that pleases me a lot.
Yes!
Post Reply

Return to “Lua Scripts”