Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Bar » S!RP - new program - FAQ
Re: S!RP - new release 0.9.4 b (last before 1.0) Fri, 08 August 2003 05:36 Go to previous messageGo to next message
Nexus One is currently offline Nexus One

 
Chief Petty Officer

Messages: 75
Registered: December 2002
Location: Szczecin, Poland
Captain Maim wrote on Fri, 08 August 2003 09:13

Oh and Stars Messager DOES NOT cache your outgoing messages.. Which is a real pain.. so... I dunno how it does it.. Unless it can read screen text output on screen and finds the text from some spacial marker (like the line "Message 1 of" as a reference point).. and uses the up and down arrows or something to move to next message.. that's my guess.


I am not sure either how Stars Message Readers works (thanks to Blue Turbit for reminding the name), but my guess is that it uses WinAPI functions which capture text from open application window and frames (Stars!- Message Pane frame for example): I have found an interesting post about that in rec.games.computer.stars back in 1999!
But, capturing text from application windows and collecting non-text data from application is absolutely different story (I guess it is more like hacking the program) and I mentioned such possibility only hypothetically. Honesty my experience with winAPI functions is very limited and although it looked like a promise, truly I am not inclined to "equip" S!RP with such a feature - sorry!. But, if any smart egg-headed hacker-like programmer can squeeze out all fleet designs particulars from running Stars! application and put in in one report, then I see no problem to adapt S!RP to process such reports and make it visualized. But, believe me, it is a real challenge.

Quote:

One thing you could derive from mixed fleets is (unless the largest quantity of ship is a freighter, the mass of that ship could be removed from the whole... And you could count it as like... "400 Peeping toms and 1000kt worth of 'Scout'(5), 'Utility'(5) and 'Bomber'(43) class ships" and the (#) could be the displayed number of ships of each type it says that I believe.. I just made up numbers there...

And having the lists of designs to look over you could or the prog could take a guess at what kind of ship might be in use in that fleet.. But no, no exact measurements can be derived from mass, any freighter with anything but full or empty will nuke those values with unquantifiable readings.


Yes, such analyses are possible, but I am afraid that in most case it would not bring expected results. Look at "warship" ship class for example. It embraces all kind of armed ships excepted those based on scout and destroyer ship class. It embraces full/half/1/3-laden armed freighters of different masses etc. Lets say a fleet has only 56 warships of total mass 1523KT, and you know about 6-7 different (in mass) warship types a fleet owner has. How many possible combinations would be (to match integer total fleet mass)? I guess many. What if you the fleet has 56 warship, 10 scouts, 30 bomber (of 2 types) and you now only total mass of that fleet.

Moreover program would need to have a list of comparative designs (by mass) to make a right guesses and the list would have to have almost all designs to make it work properly. It would have to be updated (manually) any time a new design is spotted. Hell'o'work for an user.

Well, once I am finished the all outstanding task, I will look into this problem. Maybe I am too pessimistic now, maybe in practice it would work better than I expect.



Check out my new program S!RP (test version)!
ftp://library.southern.edu/starsreportsprocessor.zip
More information in the Bar.

Report message to a moderator

Re: S!RP - new release 0.9.4 b (last before 1.0) Fri, 08 August 2003 05:50 Go to previous messageGo to next message
Nexus One is currently offline Nexus One

 
Chief Petty Officer

Messages: 75
Registered: December 2002
Location: Szczecin, Poland
Captain Maim wrote on Fri, 08 August 2003 09:42

OOO IDEA! Could it be possible (while in the ship design menu) to allow an external program to go to through your designs and the listed "Enemy designs" and visually collect that data? using like.. some kind of temporary keyboard override or something to rapidly scan through all your designs and take snap shots of them and brake them down into recognizable components and patterns??



Smart, but ship's component are non-text (graphical) icons, so I am afraid again it would take a sort of a hacker (I guess) to retrieve such data (or at least good command of WinAPI functions). Any volunteers? Very Happy

Regards,
Feliks



Check out my new program S!RP (test version)!
ftp://library.southern.edu/starsreportsprocessor.zip
More information in the Bar.

Report message to a moderator

Re: S!RP - new release 0.9.4 b (last before 1.0) Fri, 08 August 2003 23:58 Go to previous messageGo to next message
Captain Maim is currently offline Captain Maim

 
Lt. Junior Grade

Messages: 492
Registered: March 2003
Location: USA, Mesa, Arizona

But, the images would be the same all the time.. I mean couldn't you compair a component image on file to the design images from a screen shot of the window (alt+printscreen would only put the design lab box into the clip board. That's a quantifiable size.) So visual scanning for known patterns could be reduced to locations in that same image since the image would always be the same size..

Though.. Your probably right about doing a similar thing for fleets.. That's... less.. practical... But.. I dunno.. it might be possible.

You can get access to an image held in the clip board and use that to analize? Can't you?

(PS. Stars ships/SB's are organized with a rather large grid layout.. So scanning along an overlayed grid like that for a componets... Well.. I dunno. I'm just making suggestions and I'm probably not smart enough to knowo what the implications of doing this stuff is... I think I'll drop this point...)

Still think design sharing even if done manually has it's advantages.


[Updated on: Sat, 09 August 2003 00:03]




Rule 1: "Pillage, THEN burn!"

Report message to a moderator

Re: S!RP - new program - FAQ Sat, 16 August 2003 05:07 Go to previous messageGo to next message
Captain Maim is currently offline Captain Maim

 
Lt. Junior Grade

Messages: 492
Registered: March 2003
Location: USA, Mesa, Arizona

Having problems trying to make a fleet movement animation with your program.... I can't get it to load the years properly because I've got 3 to 4 races per year loading at once. Couldn't you just set it up to scan a directory like Xtreme Boarders does, and just ask which player is you?
And what does it mean when it gives an error with a "Menu_" infront of a race name?

Incidentally, any new versions out yet?



Rule 1: "Pillage, THEN burn!"

Report message to a moderator

Re: S!RP - new program - FAQ Tue, 19 August 2003 07:29 Go to previous messageGo to next message
Nexus One is currently offline Nexus One

 
Chief Petty Officer

Messages: 75
Registered: December 2002
Location: Szczecin, Poland
Captain Maim wrote on Sat, 16 August 2003 11:07

Having problems trying to make a fleet movement animation with your program.... I can't get it to load the years properly because I've got 3 to 4 races per year loading at once. Couldn't you just set it up to scan a directory like Xtreme Boarders does, and just ask which player is you?
And what does it mean when it gives an error with a "Menu_" infront of a race name?


Reverting to my request via PM: Please send me your fleet report files which cause the problem. I need to check them to see what might be wrong. You may include MAP file (but it is not necessary).
Mailto: _nospam_fpr@barber.pl

Quote:

Incidentally, any new versions out yet?


Unfortunately writing a help file is going very slowly and I was quite busy recently, so earliest date for 1.0 issue I guess around 01.09.

Regards,
Feliks

PS [edited]. One more thing corning design capturing thread:

I consulted a kind of an expert of WinAPI about possibility of information capturing from external application screen (to capture enemy ship designs directly from Ship & Starbase Designer screen), but in his opinion without knowledge on program structure such capturing would be hardly possible. His exact words were like:

"Getting at that text and those bitmaps is going to be a nightmare".
Dead

So I guess the best way will be manual creation of enemy design (text) files in S!RP and sharing such files between S!RP users.
I am putting this idea to the list of planned future enhancements.

Feliks.



[Updated on: Tue, 19 August 2003 07:40]




Check out my new program S!RP (test version)!
ftp://library.southern.edu/starsreportsprocessor.zip
More information in the Bar.

Report message to a moderator

Re: S!RP - new program - FAQ Sat, 23 August 2003 03:34 Go to previous messageGo to next message
Captain Maim is currently offline Captain Maim

 
Lt. Junior Grade

Messages: 492
Registered: March 2003
Location: USA, Mesa, Arizona

Can't you just order a print screen and then scan the image?? Rather than trolling around for the image data in the cache... But maybe you already thought of that.
It's okay, manual is what I expected originally. (Oh a way to plot Worm hole locations (Generally speaking such as within a 20ly radius (or maybe less) of it's currently location on the map might help (cause it moves) )


[Updated on: Sat, 23 August 2003 17:54]




Rule 1: "Pillage, THEN burn!"

Report message to a moderator

Re: S!RP - new program - FAQ Mon, 15 September 2003 19:32 Go to previous message
quatch is currently offline quatch

 
Crewman 1st Class

Messages: 21
Registered: April 2003
Location: Ontario, Canada

Great program,

Here's another idea that would tie in with your past years data view..

Make a 3D graph of fleet strength by X-Y coord, in a mesh style, for each year, than play back as a movie(optional, would be nice to review the game after its finished).

Such a thing would really let you get a idea of where things are at a mere glance.

##

Also, allowing filtering of the ships showen in the map view would be nice.. wether it is simple as the main stars program (warship, utility) or you put in all visible designs...

##

And here's my error:

When I load up the map view (My file + 3 others), and try to use the 'Fleet Routes' I get a whole bunch of error boxes to click through. Each says: "Fleet report(s) does not match MAP file or the file(s) is corrupted."

I loaded the additional files with the options: ignore own fleets; delete current fleets of report owner; allow overwrite.

Also, these errors (although just one instance) show up when I do not include the fleet files of others. Thoughts?

##

Is your program open source? What language is it in?

Report message to a moderator

Previous Topic: quick question about the patches
Next Topic: AlgĂșn player de habla hispana???
Goto Forum:
  


Current Time: Thu May 16 05:14:08 EDT 2024