Home » Stars! Clones, Extensions, Modding » Stars! Extensions » "message pane" scraper
|
Re: "message pane" scraper |
Sat, 10 August 2013 17:24 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
XyliGUN wrote on Sat, 10 August 2013 23:08Imho, it's not a good idea to just give ppl a possibility to add any block to the x file, since first of all I have to research how will Stars! react on any of possible unintentionally wrong/added by mistake blocks ("free pop hack" is one example here, and giving order to the foreign fleet will be another one), and if Stars! will react badly,
Well, nobody has a clear idea of all the things that can go wrong. This is quite new territory.
Luckily you don't need to do all the work yourself. You can release beta tools (or even source code) and let volunteer testers have some of the fun.
Quote:then some sort of verifier will be required.
Yes indeed. Hopefully filtering out the most egregious problems won't be too hard.
As for ppl shooting themselves in their foot... happens every day, I wouldn't worry too much about it.
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
| | | | |
Re: "message pane" scraper |
Mon, 12 August 2013 19:55 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
XyliGUN wrote on Mon, 12 August 2013 23:05OK, have a look at the exports of the fleets and waypoints (location + orders). Will that works for you?
Interesting!
A couple things, tho:
* In the Waypoints report, what's "ObjectId" supposed to mean?
* In the Fleets report, why don't player1's fleets have Mass, Direction, or Speed?
* I guess "LocationId" is a Planet ID?
* "DesignDamage" seems to be an integer, and not a percent. Perhaps it's the whole Damage Points?
* Fleets #12 and #16 (player 0) show DesignDamage = "1" but no corresponding "DesignCount".
* In case a fleet is assigned to "shadow" another fleet at its same location, how does it show in the report?
* Also, if a fleet is targeting another fleet, how does it show?
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
|
Re: "message pane" scraper |
Tue, 13 August 2013 06:35 |
|
XyliGUN | | | Messages: 325
Registered: July 2004 Location: Russia, St.Petersburg |
|
|
m.a@stars* In the Waypoints report, what's "ObjectId" supposed to mean?
PlanetId (and probably, needs to be verified, other FleetId, MinefieldId, etc.)
m.a@stars* I guess "LocationId" is a Planet ID?
The same as ObjectId, and to avoid confusion LocationId will be renamed to ObjectId.
m.a@stars* In the Fleets report, why don't player1's fleets have Mass, Direction, or Speed?
This is by design, for foreign fleet these values are present, for own fleets they are calculated by Stars! (for example, you know actual destination of your own fleets, since you can see fleets current target, while in case of foreign fleet you can only see last year target).
m.a@stars* "DesignDamage" seems to be an integer, and not a percent. Perhaps it's the whole Damage Points?
Needs to investigate, from my notes this must be a percent, but in fact it is 2 bytes value...
m.a@stars* Fleets #12 and #16 (player 0) show DesignDamage = "1" but no corresponding "DesignCount".
Fixed.
m.a@stars* In case a fleet is assigned to "shadow" another fleet at its same location, how does it show in the report?
There will be two fleets (i.e. 2 lines in CSV) at the same location.
m.a@stars* Also, if a fleet is targeting another fleet, how does it show?
In the waypoints.csv ObjectId will point to that fleet.
PS: I'll upload fixed report shortly.
"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
Robert A. Heinlein, Time Enough For LoveReport message to a moderator
|
|
|
Re: "message pane" scraper |
Tue, 13 August 2013 07:48 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
XyliGUN wrote on Tue, 13 August 2013 12:35This is by design, for foreign fleet these values are present, for own fleets they are calculated by Stars! (for example, you know actual destination of your own fleets, since you can see fleets current target, while in case of foreign fleet you can only see last year target).
Sounds good, but if the aim of these "expanded reports" is to help create out-of-game tools, then all the possible info on one's own fleets will also be useful/needed.
Tools that don't act on one's own fleets can always ignore their info.
Quote:There will be two fleets (i.e. 2 lines in CSV) at the same location.
Of course, but will one of them somehow have orders to "follow" the other?
Last but not least, I'm seeing no mention of any waypoints beyond the 1st. Are they not to be found in the m-file, or the problem is displaying that much info?
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
|
Re: "message pane" scraper |
Tue, 13 August 2013 08:08 |
|
XyliGUN | | | Messages: 325
Registered: July 2004 Location: Russia, St.Petersburg |
|
|
m.a@starsSounds good, but if the aim of these "expanded reports" is to help create out-of-game tools, then all the possible info on one's own fleets will also be useful/needed.
Yeah, but there is no fleet mass, direction and speed of the one's own fleets in the m (or any other) file. This info of your own fleet are only present as part of the waypoint data, which is exported to waypoints.csv.
m.a@starsOf course, but will one of them somehow have orders to "follow" the other?
There will be waypoint for one fleet to follow another (ObjectId in the waypoint record will points to another fleet).
m.a@starsLast but not least, I'm seeing no mention of any waypoints beyond the 1st. Are they not to be found in the m-file, or the problem is displaying that much info?
They are here (see fleet #8 have 3 waypoints for ecxample), it's just a sample turn I'm using isn't big enough. I'm sure you will make a very good and fat export once I'll publish the tool.
"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
Robert A. Heinlein, Time Enough For LoveReport message to a moderator
|
|
| | | | | | |
Re: "message pane" scraper |
Mon, 19 August 2013 09:31 |
|
XyliGUN | | | Messages: 325
Registered: July 2004 Location: Russia, St.Petersburg |
|
|
m.a@stars wrote on Mon, 19 August 2013 00:36XyliGUN wrote on Sat, 17 August 2013 13:39And one more update... now the designs included.
Sweet! Particularly those "BuiltCount" and "RemainingCount" stats!
Perhaps even a bit too sweet. As I notice there's also "BuiltCount" and "RemainingCount" on foreign fleets and these don't seem to have a reason to be there, unless they actually are "seenCount" and "seenCount-destroyedCount" or some similar guesstimate.
Also, what are the "Category" columns supposed to be? Perhaps the "Category" of the item present in the corresponding Slot #?
To be fair I don't have an exact answer here, but based on my tests:
* for the own designs these values are always exactly build count and remains count
* for the foreign fleets this is more like "estimated" build count and an "estimated" remains count
For the foreign designs these values can be much lower than actual as well as much higher than actual, and probably these numbers mean nothing in that case at all. So, in general you cannot trust these values, Also, perhaps they should be removed from the export for the foreign fleets to avoid confusion. Comments, suggestions?
[Updated on: Mon, 19 August 2013 09:35]
"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
Robert A. Heinlein, Time Enough For LoveReport message to a moderator
|
|
|
Re: "message pane" scraper |
Mon, 19 August 2013 10:32 |
|
m.a@stars | | Commander | Messages: 2765
Registered: October 2004 Location: Third star to the left | |
|
XyliGUN wrote on Mon, 19 August 2013 15:31* for the foreign fleets this is more like "estimated" build count and an "estimated" remains count
For the foreign designs these values can be much lower than actual as well as much higher than actual, and probably these numbers mean nothing in that case at all. So, in general you cannot trust these values, Also, perhaps they should be removed from the export for the foreign fleets to avoid confusion. Comments, suggestions?
Well, as long as they work almost like the foreign pop reports, or the fleet reports that miss cloaked fleets, I'd say they can stay.
So many Stars, so few Missiles!
In space no one can hear you scheme! Report message to a moderator
|
|
|
Re: "message pane" scraper |
Fri, 23 August 2013 08:39 |
|
XAPBob | | Lt. Commander | Messages: 957
Registered: August 2012 | |
|
XyliGUN wrote on Mon, 19 August 2013 14:31m.a@stars wrote on Mon, 19 August 2013 00:36XyliGUN wrote on Sat, 17 August 2013 13:39And one more update... now the designs included.
Sweet! Particularly those "BuiltCount" and "RemainingCount" stats!
Perhaps even a bit too sweet. As I notice there's also "BuiltCount" and "RemainingCount" on foreign fleets and these don't seem to have a reason to be there, unless they actually are "seenCount" and "seenCount-destroyedCount" or some similar guesstimate.
Also, what are the "Category" columns supposed to be? Perhaps the "Category" of the item present in the corresponding Slot #?
To be fair I don't have an exact answer here, but based on my tests:
* for the own designs these values are always exactly build count and remains count
* for the foreign fleets this is more like "estimated" build count and an "estimated" remains count
For the foreign designs these values can be much lower than actual as well as much higher than actual, and probably these numbers mean nothing in that case at all. So, in general you cannot trust these values, Also, perhaps they should be removed from the export for the foreign fleets to avoid confusion. Comments, suggestions?
I'm not entirely convinced by those numbers at all... Details sent...
Report message to a moderator
|
|
|
Re: "message pane" scraper |
Fri, 23 August 2013 11:22 |
|
XyliGUN | | | Messages: 325
Registered: July 2004 Location: Russia, St.Petersburg |
|
|
XAPBob wrote on Fri, 23 August 2013 16:39XyliGUN wrote on Mon, 19 August 2013 14:31m.a@stars wrote on Mon, 19 August 2013 00:36XyliGUN wrote on Sat, 17 August 2013 13:39And one more update... now the designs included.
Sweet! Particularly those "BuiltCount" and "RemainingCount" stats!
Perhaps even a bit too sweet. As I notice there's also "BuiltCount" and "RemainingCount" on foreign fleets and these don't seem to have a reason to be there, unless they actually are "seenCount" and "seenCount-destroyedCount" or some similar guesstimate.
Also, what are the "Category" columns supposed to be? Perhaps the "Category" of the item present in the corresponding Slot #?
To be fair I don't have an exact answer here, but based on my tests:
* for the own designs these values are always exactly build count and remains count
* for the foreign fleets this is more like "estimated" build count and an "estimated" remains count
For the foreign designs these values can be much lower than actual as well as much higher than actual, and probably these numbers mean nothing in that case at all. So, in general you cannot trust these values, Also, perhaps they should be removed from the export for the foreign fleets to avoid confusion. Comments, suggestions?
I'm not entirely convinced by those numbers at all... Details sent...
Probably these counts mean nothing in case of foreign fleets, so it could be better to just make them blank for the foreign fleets.
XAPBob I cannot find any details, did I miss something?
"Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
Robert A. Heinlein, Time Enough For LoveReport message to a moderator
|
|
| | | | | |
Goto Forum:
Current Time: Fri Apr 19 07:20:18 EDT 2024
|