View topic - Widget to display team eco



All times are UTC + 1 hour


Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: 19 Jul 2011, 20:02 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
I have no idea what you are talking about. A search for wdb on wiki yields this, but I don't think you mean that with wdb.


Top
 Offline Profile  
 
PostPosted: 19 Jul 2011, 20:06 
Conflict Terra Developer
User avatar

Joined: 29 Aug 2009, 19:12
Location: Also Richmond
http://www.springinfo.info/lua-widgets/widget-database/

I think this.


Top
 Offline Profile  
 
PostPosted: 19 Jul 2011, 20:08 
Lua Coder
User avatar

Joined: 20 Feb 2007, 01:10
Also http://springrts.com/wiki/WidgetDatabaseFAQ


Top
 Offline Profile  
 
PostPosted: 21 Jul 2011, 02:05 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
Thanks for the replies. I tried registering on the springinfo page, but it says my image verification doesn't match even thought it DOES imo.

I made a new version of this widget, that I call version 1.0. I updated the first post.


Top
 Offline Profile  
 
PostPosted: 23 Jul 2011, 01:54 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Jools wrote:
Thanks for the replies. I tried registering on the springinfo page, but it says my image verification doesn't match even thought it DOES imo.


Should be fixed, sorry for the trouble.

Edit: Minor update to springinfo, you can now create an account with the site using your google, yahoo, aolIM, OpenID, etc account. On the right hand side, click on "Join Site" then once you have joined the site, visit a page with a comments box so that it will create the account (e.g., the games page)(then you'll get the admin bar across the top and everything will make total sense).


Top
 Offline Profile  
 
PostPosted: 23 Jul 2011, 16:30 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
Thanks. I registered to it, it's a wordpress site so I already had an account, but it turned out that the my widget is already there, it's the same database as the other link I was shown (the german one).


Top
 Offline Profile  
 
PostPosted: 24 Jul 2011, 09:05 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
I used the widget profiler widget to evaluate the performance of this widget:, it seems to be quite heavy on the CPU, but I haven't noticed any effect on my framerate. However I do have a dual core.

Is the CPU performance of this widget a rpbleem?


Top
 Offline Profile  
 
PostPosted: 24 Jul 2011, 20:35 
Redacted
User avatar

Joined: 11 Jul 2007, 16:47
Jools wrote:
Is the CPU performance of this widget a rpbleem?
how does it place compared to your other widgets? profile it against some widgets like UnitShapes, RedUI, Tetris, Advanced Player List and see if it's much more or less than them.


Top
 Offline Profile  
 
PostPosted: 25 Jul 2011, 19:45 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
It uses about 500-800 ms/s, roughly on par with advanced playerslist but one order more than UnitShapes and other widgets. I'm looking into making it more effective, moving calculations out of the DrawScreen function maybe and using more callins instead.

I guess it's the process of checking whether a player has commander that draws much resources, however that is only activated when a unit dies.


Top
 Offline Profile  
 
PostPosted: 22 Aug 2011, 23:33 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
I posted a new version with some changes:

* Added many options to tweak screen, press ctrl+F11 to customise widget
* Saves settings now
* Click on arm/core image to zoom in on player
* Changed kills/losses bar to display killed hp/lost hp instead of kills/losses
* Added active player mode, can be disabled/customised in options
* Made lua calls more efficient by moving stuff out of drawscreen function

Newest version is in first post.

Screenies:

Image


Top
 Offline Profile  
 
PostPosted: 23 Aug 2011, 14:49 
User avatar

Joined: 04 Jan 2011, 20:00
Looks cool, but when I installed it my spring broke down. When starting a game there were no console, startboxes and whatever more missing. (BA)

(problem must be in any new files you added, since copy paste old backup dirs to current dirs didnt fixed it, had to delete current dirs and then copy backups back)


Top
 Offline Profile  
 
PostPosted: 23 Aug 2011, 17:20 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
There in an error in the load function, it doesnt depends on the mod but happens first time you use a new mod, because all widgets store the settings in a mod-specific file.

Weird that this error crashes all other widget too...

I'll have a fix up soonish...


Top
 Offline Profile  
 
PostPosted: 24 Aug 2011, 19:09 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
The error is now fixed. Also addes some new features:
-- Click on player faction icon to center camera on player start position
-- Ctrl+click on player faction icon to zoom in on player's commander and select it (so you can press t to track him)
-- Added a kill distribution graph, useless in 1v1 but in FFA you can now see who has attacked whom most, and who has been the coward :)

Screenie:

Image


Top
 Offline Profile  
 
PostPosted: 02 Dec 2012, 12:59 
Lua Coder
User avatar

Joined: 20 Feb 2007, 01:10
Really cool widget! Love it!


Top
 Offline Profile  
 
PostPosted: 06 Dec 2012, 12:17 
User avatar

Joined: 14 Jan 2009, 14:20
Could yous as well write all the usual stats into a file ?

I would like to run all the replay using this widget in order to get the stats from the game.

I would need each of the regular data that is usually displayed at the end of the game for each Delta_Time for each player. Do you that that is possible ?

The points is to use this data in order to feed a DB and use it for stats/ranking

The best would be it also include all the information about the players (accountID, name, IngameRank, chrank) the name of the map, the host, etc... But I guess I can still extract that for the replay.

Please let me know if you plan to do it, and if not, if you think that can be done from your widget ? Thanks ! :D


Top
 Offline Profile  
 
PostPosted: 06 Dec 2012, 16:06 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
Many are asking for the possibility to write the stuff into a file. I guess that's my next improvement to do.

But why do you need the data in delta_time? Currently none of the data is saved, but I guess it would be possible to write it into a file with regular intervals, but I have no idea how it would affect performance. What would be a good delta, 5, 10 secs?

The other option would be to store all the data withing the widget as a function of time, but that would make the tables quite big I suppose. And what happens if the widget crashes.


Top
 Offline Profile  
 
PostPosted: 06 Dec 2012, 18:54 
User avatar

Joined: 14 Jan 2009, 14:20
Jools wrote:
Many are asking for the possibility to write the stuff into a file. I guess that's my next improvement to do.

But why do you need the data in delta_time? Currently none of the data is saved, but I guess it would be possible to write it into a file with regular intervals, but I have no idea how it would affect performance. What would be a good delta, 5, 10 secs?

The other option would be to store all the data withing the widget as a function of time, but that would make the tables quite big I suppose. And what happens if the widget crashes.


I do not really care what data format is used for the time sampling, but I guess that is the easiest way to do it no ? It is the way it is done for the stats given at the end the game afaik.

A data sampling of a minimum of 10 sec will be great. But once the widget is available, I guess that something that can easily be modified.
Concerning the performance inpact, it does not have to be dumped into a file at the same time step, but that is another issue...

Once you manage to get something please PM me :p
I will be browsing anyway :)


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.