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 previous 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

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


Current Time: Fri Jun 14 01:17:05 EDT 2024