Advanced Players List widget
Moderator: Moderators
Re: Advanced Players List widget
Eurgh russian page with no translations...
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Advanced Players List widget
Yay I like it already just be seeing the screenshot!
AF:
No translation needed.
AF:
No translation needed.
Re: Advanced Players List widget
lern 2 russian, lern 2 google, or lern 2 internet.AF wrote:Eurgh russian page with no translations...
Re: Advanced Players List widget
yES,rank display might be just perfect :)
Re: Advanced Players List widget
uploaded to downloader and made it compatible to widget ranks
Re: Advanced Players List widget
nice widget!
The only think I miss, though, is a handler that allows you to drag it around. Mine tends to fill the middle of the screen now and then, which is really annoying.
The only think I miss, though, is a handler that allows you to drag it around. Mine tends to fill the middle of the screen now and then, which is really annoying.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Advanced Players List widget
Sounds awful, but well, try tweak mode (Ctrl-F11).bartvbl wrote:nice widget!
The only think I miss, though, is a handler that allows you to drag it around. Mine tends to fill the middle of the screen now and then, which is really annoying.
Re: Advanced Players List widget
Version 7.3.1.
Changelog:
* changed AI name format from "AI-Bot" to more informative: "AI:<AI_SHORT_NAME>-<AI_VERSION>"
Archive contains only script without resources (grab them by Spring Downloader).
PS. As i understand last committee forget to add switcher for rank column. Right?
PSS. This script will work on localhost only. Proper bot names should be provided by lobbies which generate script.txt file.
Changelog:
* changed AI name format from "AI-Bot" to more informative: "AI:<AI_SHORT_NAME>-<AI_VERSION>"
Archive contains only script without resources (grab them by Spring Downloader).
PS. As i understand last committee forget to add switcher for rank column. Right?
PSS. This script will work on localhost only. Proper bot names should be provided by lobbies which generate script.txt file.
- Attachments
-
- gui_advplayerslist-7.3.1.zip
- (12.31 KiB) Downloaded 38 times
Last edited by slogic on 12 Jul 2010, 18:56, edited 2 times in total.
Re: Advanced Players List widget
the ShortName and Version is only known on the host of the AI, is it still "AI-Bot" for the others?
There is also a Name for AIs (also set for local AIs only). it is meant to be used in places like this (where player names are shown). your change is better then what it was, thanks
edit: current problem with the Name of AIs, is that the lobbies defaults are not so nice there ("Bot1", "Bot2", ...). If they would be: ShortName_Version_1 eg, we would get the pro of both ways.
There is also a Name for AIs (also set for local AIs only). it is meant to be used in places like this (where player names are shown). your change is better then what it was, thanks

edit: current problem with the Name of AIs, is that the lobbies defaults are not so nice there ("Bot1", "Bot2", ...). If they would be: ShortName_Version_1 eg, we would get the pro of both ways.
Re: Advanced Players List widget
> the ShortName and Version is only known on the host of the AI, is it still "AI-Bot" for the others?
I think it should break even earlier. Here:
isAI should return FALSE for non-host machines and name provided by lobby will be used for AI.
I think it should break even earlier. Here:
Code: Select all
local _, _, _, isAI, tside, tallyteam = Spring_GetTeamInfo(teamID)
Re: Advanced Players List widget
Shit, while watching demo file script crashed:
I need to update it...
PS. File is updated above.
Code: Select all
[ 416] Error in Initialize(): [string "LuaUI\Widgets\gui_advplayerslist.lua"]
:485: attempt to concatenate local 'version' (a table value)
PS. File is updated above.
Re: Advanced Players List widget
Right. I will fix it in the nearest future. Also i don't know how to commit resources (images with rank icons). So i will attach them to this thread.slogic wrote: PS. As i understand last committee forget to add switcher for rank column. Right?
Re: Advanced Players List widget
I updated "Advanced Players List widget" as i promise.jamerlan wrote:Right. I will fix it in the nearest future.
Changes:
1) Ability to turn on/off rank info
2) Golden star rank (best rank) was not handled by previous versions of widget so it was fixed too
I tested it only using AI bots (can't play online from work). Please test it and (upload to widgets server)/(include in mods like BA)/(report bugs).
New version is attached to this message (no russian sites anymore :-D)
- Attachments
-
- LuaUI_7_4.zip
- 7.4 version of advanced players list
Fixed:
-> missing golden star
-> missing ability to turn off rank column - (18.44 KiB) Downloaded 32 times
Re: Advanced Players List widget
Also i found little bug but don't know how to fix it...
I need energy bug (used not max resources amount but available resources amount to ask)
(description) you can share or ask for resources using one slider, so uou can't share more than you already has and because slider is the same, you can't ask more than you has too
I need energy bug (used not max resources amount but available resources amount to ask)
(description) you can share or ask for resources using one slider, so uou can't share more than you already has and because slider is the same, you can't ask more than you has too
Re: Advanced Players List widget
Without looking at the code or knowing much about lua widgets:
Why not check which slider the player is using, and if its his own set the maximum to something high (1000, 2000?) instead of how much he has?
Why not check which slider the player is using, and if its his own set the maximum to something high (1000, 2000?) instead of how much he has?
Re: Advanced Players List widget
Hi,
Attached, an advplayerslist file with the "I need energy" bug solved and some code cleanup.
Jamerlan, can i let you make the package? Btw, there is only rank images in the previous one you submitted, you should add the other ones.
Have a nice day/night/evening/morning,
Marmoth
Attached, an advplayerslist file with the "I need energy" bug solved and some code cleanup.
Jamerlan, can i let you make the package? Btw, there is only rank images in the previous one you submitted, you should add the other ones.
Have a nice day/night/evening/morning,
Marmoth
- Attachments
-
- gui_advplayerslist.lua
- (65.16 KiB) Downloaded 121 times
Re: Advanced Players List widget
to Marmoth: glad to see you at this thread! Thank you for very useful widget and great job! Previously, I included only rank images because I made some changes to them. And I agree that complete package is much easier to use. Zip archive with all images attached to this message.Marmoth wrote: Jamerlan, can i let you make the package? Btw, there is only rank images in the previous one you submitted, you should add the other ones.
to all: please test it and (upload to widgets server)/(include in mods like BA)/(report bugs).
- Attachments
-
- LuaUI_7_5.zip
- Marmoth: "I need energy" bug solved and some code cleanup + all images
- (50.17 KiB) Downloaded 42 times
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Advanced Players List widget
Did you already take a look Marmoth? Should it be added to the widget-DB?
Re: Advanced Players List widget
I had a look: seems ok (didn't make extensive testing though).
Here a slightly modified version that should make double click (to give units) easier when the game is laggy and corrects a mistake in the tooltip text.
I think its worth updating it in the widget db.
Here a slightly modified version that should make double click (to give units) easier when the game is laggy and corrects a mistake in the tooltip text.
I think its worth updating it in the widget db.
- Attachments
-
- advPlayersList v7.6.zip
- (50.78 KiB) Downloaded 38 times