Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Working on a widget, looking for some pointers

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
2/3/2014 3:51:41 PMCArankPxtl before revert after revert
Before After
1 A bunch of small Q's about widget-development for anybody who 1 A bunch of small Q's about widget-development for anybody who might have tips. Sorry for the length.
2 \n 2 \n
3 1) Are there any tools beyond notepad++ and luaui reload I should know about? Any performance profiler or interactive console for run-time inspection or anything? 3 1) Are there any tools beyond notepad++ and luaui reload I should know about? Any performance profiler or interactive console for run-time inspection or anything?
4 \n 4 \n
5 2) This is a player-list-ish widget (sufficiently different that it's not redundant with the existing ones), I'm trying to cover the bases - anybody got a working replay involving CommShare I could use to test that it supports commshare? 5 2) This is a player-list-ish widget (sufficiently different that it's not redundant with the existing ones), I'm trying to cover the bases - anybody got a working replay involving CommShare I could use to test that it supports commshare?
6 \n 6 \n
7 Also, I'm confused about the existing PlayerList logic - how they know to call the player "noname". The behavior makes little sense. 7 Also, I'm confused about the existing PlayerList logic - how they know to call the player "noname". The behavior makes little sense.
8 \n 8 \n
9 player and spGetPlayerInfo(player) or 'noname' 9 player and spGetPlayerInfo(player) or 'noname'
10 \n 10 \n
11 where [player] is the playerID from GetTeamInfo (that is, the "leader" of the team). When I get the player list from Spring.GetPlayerList my "playerID" passes that "player and" test and so spGetPlayerInfo returns "UnnamedPlayer". Does GetTeamInfo fail to return a "leader" when you're launching from Spring.exe? 11 where [player] is the playerID from GetTeamInfo (that is, the "leader" of the team). When I get the player list from Spring.GetPlayerList my "playerID" passes that "player and" test and so spGetPlayerInfo returns "UnnamedPlayer". Does GetTeamInfo fail to return a "leader" when you're launching from Spring.exe?
12 \n 12 \n
13 3) How do I tell the difference between a mobile and a building? isImmobile is not supported under 91, I think. 13 3) How do I tell the difference between a mobile and a building? isImmobile is not supported under 91, I think.
14 \n 14 \n
15 4) Is there a way to alpha out a whole Chili window and not just its background? Or do I have to apply alpha-updates to every GUI element within the window? 15 4) Is there a way to alpha out a whole Chili window and not just its background? Or do I have to apply alpha-updates to every GUI element within the window?