Page 7 of 9

Re: Advanced Players List widget

Posted: 30 Mar 2009, 17:08
by Pxtl
Is there a way to turn this thing off and get the default player list widget back? I speak english, not pictogram.

Re: Advanced Players List widget

Posted: 30 Mar 2009, 18:22
by Marmoth
@ JAZCASH

Just to make things clear, there is 3 lvl of IDs:

1. Player ID = individual human player

2. Team ID = each com (one color) it can include more that one player (shared com). This is the numbers shown by Advplayerslist. Those are also used for spec, and cheat (give units etc).

3. Allyteam ID = each real team (groups of allied commanders)

-------------------

@ Pxtl

Just disable the widget and type "/info" ingame to get the original players list.

Re: Advanced Players List widget

Posted: 30 Mar 2009, 19:50
by Jazcash
Marmoth wrote:@ JAZCASH

Just to make things clear, there is 3 lvl of IDs:

1. Player ID = individual human player

2. Team ID = each com (one color) it can include more that one player (shared com). This is the numbers shown by Advplayerslist. Those are also used for spec, and cheat (give units etc).

3. Allyteam ID = each real team (groups of allied commanders)

-------------------

@ Pxtl

Just disable the widget and type "/info" ingame to get the original players list.
Ok, thanks for info.

Re: Advanced Players List widget

Posted: 30 Mar 2009, 20:03
by Pxtl
tx

Re: Advanced Players List widget

Posted: 20 Apr 2009, 13:10
by very_bad_soldier
A little bug to report: Sometimes the "give-unit"-button just does not work. I select units, double-click the unit-icon from a teammate, but just nothing happens. Sorry for not being able to give you further details in which situations it fails but I experienced it severals time now.

Re: Advanced Players List widget

Posted: 20 Apr 2009, 15:03
by Marmoth
Hi,

Thx for report. I also experienced this bug. Bug it seems that the buttons work only if the computer isnt too busy. My solution for now was to click like a mad and it usually work. I will check if there is a way to solve it, but it looks quite "low lvl" and i am no professionnal programmer.

If i find a solution, ill make a new version.

Bye!

Marmoth

Re: Advanced Players List widget

Posted: 31 May 2009, 07:21
by zwzsg
Is there a way for it to show the AI's ShortName instead of always "AI-Bot"?

Re: Advanced Players List widget

Posted: 31 May 2009, 10:25
by hoijui
Skirmish AIs even do have nick names like players do. you can set them in the lobbies, and if they are not present in the start script, they default to the AIs shortName. So this is what shoudl be used.
This name can be found in the engine like this:

Code: Select all

#include "Game/GameSetup.h"
#include "ExternalAI/SkirmishAIData.h"

int teamId = 0;
const SkirmishAIData* sad = gameSetup->GetSkirmishAIDataForTeam(teamId);
if (sad != NULL) { // is AI team
	/**
	 * This name is purely inforamtive.
	 * It will be shown in statistics eg.,
	 * and everywhere else where normal players
	 * have their name displayed.
	 */
	std::string aiNickName = sad->name;
}
i have no idea if it is available through lua already, if not, someone may add a callIn. i will not.

Re: Advanced Players List widget

Posted: 06 Jun 2009, 16:38
by manolo_
request:

option for showing country of player and its experience (chevrons/stars)


edit: when a player gives his whole base --> many landmarker, could there be a button for delete them all

Re: Advanced Players List widget

Posted: 12 Aug 2009, 10:36
by ginekolog
manolo_ wrote:request:

option for showing country of player and its experience (chevrons/stars)


edit: when a player gives his whole base --> many landmarker, could there be a button for delete them all
+1, esp rank icons would be nice to have

Re: Advanced Players List widget

Posted: 14 Aug 2009, 22:36
by Caydr
Hi, I'm trying to integrate this into AA but I would like it to automatically dock to the right side of the screen, offset from the bottom of the screen by a given number of pixels.

Basically I would like this widget to function as Defense Ranges does by default, but at fixed distance away from the bottom of the screen. It should automatically move when the screen is resized.

Can someone help me with this? I'll probably get it on my own *eventually* but it goes without saying that LUA haxxing isn't my best skill.

Thanks

Re: Advanced Players List widget

Posted: 15 Aug 2009, 04:57
by Niobium
Caydr wrote:Hi, I'm trying to integrate this into AA but I would like it to automatically dock to the right side of the screen, offset from the bottom of the screen by a given number of pixels.
Control + F11
Drag around with left click

Lets user put it where they want, better than any automatic placing.

Re: Advanced Players List widget

Posted: 15 Aug 2009, 05:02
by Caydr
Its default position screws up an important widget, I need to set a different default.

Re: Advanced Players List widget

Posted: 15 Aug 2009, 05:05
by Niobium
local widgetPosX = vsx-200
local widgetPosY = 0

Those are the defaults for when there is no config file. So for you you want to raise widgetPosY. (0, 0) is bottom left. (vsx, vsy) is upper right. I assume 200 is the width of panel.

Re: Advanced Players List widget

Posted: 15 Aug 2009, 05:28
by Caydr
I understand that part, but my problem was that the widget won't dock with the right side of the screen and stay there when the screen is resized.

Re: Advanced Players List widget

Posted: 15 Aug 2009, 05:50
by Niobium
Oh, well that's something that the maker(s) need to add/fix then.

Re: Advanced Players List widget

Posted: 15 Aug 2009, 06:23
by Caydr
Nope I got it fixed.

Re: Advanced Players List widget

Posted: 22 Aug 2009, 23:33
by Jools
The previous issue I reported, the one with players off the list, has fixed itself, I haven't seen it anymore. Probably some beginner noobishness on my part (once I didnt identify the player because he was black in the list and white in game etc...).

One feature wish: would it be possible to also include one column of the number of kills (maybe one column with number of losses too) in the list? That is, the number of units that the player has killed.

Re: Advanced Players List widget

Posted: 23 Aug 2009, 09:56
by manolo_
Jools wrote:The previous issue I reported, the one with players off the list, has fixed itself, I haven't seen it anymore. Probably some beginner noobishness on my part (once I didnt identify the player because he was black in the list and white in game etc...).

One feature wish: would it be possible to also include one column of the number of kills (maybe one column with number of losses too) in the list? That is, the number of units that the player has killed.
mighty iceui has this feature in this ressourcebar

Re: Advanced Players List widget

Posted: 20 Oct 2009, 14:11
by jamerlan
Hello! Thank you so much for this pretty lua widget!

I made some updates for my own needs (i must know who is who while playing). Code is far from perfect.. but it just works. Suitable for me.

Please take a look at screenshot. First column - ranks. Very useful.
Image

Here is modified version of widget (button for switch off ranks not implemented): http://alexlpt.narod.ru/jamerlan.zip

Sorry for my english (i am russian).
my contacts:
skype (preferred): lipatov_alexander
icq: 257-087-957
msn: justtempmail@hotmail.com
jabber: Alexander_Lipatov@jabber.org