Bugs and Feature Requests for PlanetsCentral and other VGAP software

[Posting] More suggestions for PCC2
vlk
Thread opener
Posted Tue, 2016-06-14 21:38 GMT

Here are some other things which I noticed while playing with PCC. Of course, I know that you have probably enough more important things on your todo list, but I just want to let you know, what would make PCC even better, imho.

Writing scripts or plugins is still a bit above my level, but I started using my own expressions for labeling and searching. To not type these over and over again I manipulated the lru.ini file to show my own expressions as last used expressions. Because lru.ini is rewritten after every PCC2 run, I replace the file by my own version before each run. It'd be nice to make it somehow easier to use own expressions. A section 'own labels' and 'own search expressions' in lru.ini would be sufficient or another file own_expressions.ini.

If a team member looses a planet, the planet will still be shown as a yellow planet later, which might be a bit confusing. Also, sometimes old information is associated with a new owner of a planet. For example, planet level ally looses a planet, later I get to know the new owner by Dark Sense. Now, the number of clans is associated with the new owner. There is no information displayed that the 'number of clans' information is much older than the 'planet owner' information. A possibility to delete (some of the) planet information would solve these cases.

Old minefields could be automatically deleted, if they should have been scanned again in the last turn.

Often I found myself asking. What, where is my minefield? Wasn't it gigantic? To check if it really was gigantic, I have to load the last rst and util.dat in a new directory. Watching past turns easily would be a killer feature.

[Posting] Re: More suggestions for PCC2
Posted Wed, 2016-06-15 16:56 GMT

Writing scripts or plugins is still a bit above my level, but I started using my own expressions for labeling and searching. To not type these over and over again I manipulated the lru.ini file to show my own expressions as last used expressions. Because lru.ini is rewritten after every PCC2 run, I replace the file by my own version before each run. It'd be nice to make it somehow easier to use own expressions. A section 'own labels' and 'own search expressions' in lru.ini would be sufficient or another file own_expressions.ini.

This feature exists, although heavily under-documented: place a text file expr.usr in your game directory. The content is the similar as lru.ini:

[Find]
my planets          [p] owner$=my.race$

These expressions will appear at the end of the search function's drop-down list. The "p" in brackets means you want to search only planets, it could also be "s" or "b".

If a team member looses a planet, the planet will still be shown as a yellow planet later, which might be a bit confusing. Also, sometimes old information is associated with a new owner of a planet. For example, planet level ally looses a planet, later I get to know the new owner by Dark Sense. Now, the number of clans is associated with the new owner. There is no information displayed that the 'number of clans' information is much older than the 'planet owner' information. A possibility to delete (some of the) planet information would solve these cases.

Noted.

(Number of clans should probably be deleted when the owner changes.)

Old minefields could be automatically deleted, if they should have been scanned again in the last turn.

PCC2 cannot tell whether they should have been scanned again. There could be an ion storm hiding the minefield.

You can delete minefields manually. To find old minefields, use the search function, which has an appropriate expression predefined. Use PCC 2.0, earlier ones crash when you do that :smile:

Often I found myself asking. What, where is my minefield? Wasn't it gigantic? To check if it really was gigantic, I have to load the last rst and util.dat in a new directory. Watching past turns easily would be a killer feature.

I know, this is the most-often requested feature ever. It will take a while until that arrives, it's a big thing.

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Wed, 2016-06-15 23:03 GMT

Writing scripts or plugins is still a bit above my level, but I started using my own expressions for labeling and searching. To not type these over and over again I manipulated the lru.ini file to show my own expressions as last used expressions. Because lru.ini is rewritten after every PCC2 run, I replace the file by my own version before each run. It'd be nice to make it somehow easier to use own expressions. A section 'own labels' and 'own search expressions' in lru.ini would be sufficient or another file own_expressions.ini.

This feature exists, although heavily under-documented: place a text file expr.usr in your game directory. The content is the similar as lru.ini:

[Find]
my planets          [p] owner$=my.race$

These expressions will appear at the end of the search function's drop-down list. The "p" in brackets means you want to search only planets, it could also be "s" or "b".

I had the same issue but for some reason (which I can't remember anymore :lol:) I decided against adding another expr.usr file in the game directory. Maybe that was because added lines are added at the bottom of the list which is a bit inconvenient for obvious reasons. However I decided to modify the expr.c (or was it cc?) directly in the installation directory (or maybe some subdirectory). That's quite easy since the form is already set with many examples to try out. :cool: The downside is that I have to "repair" that file manually everytime I upgrade PCC2 to a current version, which is still far better than for every start of PCC though. :wink:

[Posting] Re: More suggestions for PCC2
vlk
Thread opener
Posted Thu, 2016-06-16 07:17 GMT

Writing scripts or plugins is still a bit above my level, but I started using my own expressions for labeling and searching. To not type these over and over again I manipulated the lru.ini file to show my own expressions as last used expressions. Because lru.ini is rewritten after every PCC2 run, I replace the file by my own version before each run. It'd be nice to make it somehow easier to use own expressions. A section 'own labels' and 'own search expressions' in lru.ini would be sufficient or another file own_expressions.ini.

This feature exists, although heavily under-documented: place a text file expr.usr in your game directory. The content is the similar as lru.ini:

[Find]
my planets          [p] owner$=my.race$

These expressions will appear at the end of the search function's drop-down list. The "p" in brackets means you want to search only planets, it could also be "s" or "b".

I had the same issue but for some reason (which I can't remember anymore :lol:) I decided against adding another expr.usr file in the game directory. Maybe that was because added lines are added at the bottom of the list which is a bit inconvenient for obvious reasons. However I decided to modify the expr.c (or was it cc?) directly in the installation directory (or maybe some subdirectory). That's quite easy since the form is already set with many examples to try out. :cool: The downside is that I have to "repair" that file manually everytime I upgrade PCC2 to a current version, which is still far better than for every start of PCC though. :wink:

Cool, it is already implemented. Also, interesting workaround from ComCitCat :wink:. (Of course, I do not manually repair the file before each run.)

Maybe the expressions from expr.usr could be moved to the beginning of the drop-down list?

[Posting] Re: More suggestions for PCC2
vlk
Thread opener
Posted Thu, 2016-06-16 07:34 GMT

If a team member looses a planet, the planet will still be shown as a yellow planet later, which might be a bit confusing. Also, sometimes old information is associated with a new owner of a planet. For example, planet level ally looses a planet, later I get to know the new owner by Dark Sense. Now, the number of clans is associated with the new owner. There is no information displayed that the 'number of clans' information is much older than the 'planet owner' information. A possibility to delete (some of the) planet information would solve these cases.

Noted.

(Number of clans should probably be deleted when the owner changes.)

Yep, and if easily realizable do not show planets as team planets if planet level alliance is set and owner information is outdated.

Old minefields could be automatically deleted, if they should have been scanned again in the last turn.

PCC2 cannot tell whether they should have been scanned again. There could be an ion storm hiding the minefield.

You can delete minefields manually. To find old minefields, use the search function, which has an appropriate expression predefined. Use PCC 2.0, earlier ones crash when you do that :smile:

Yea, that would need additional logic to check if the minefield is hidden by an ion storm. Deleting them manually is convenient, too.

[Posting] Re: More suggestions for PCC2
Posted Thu, 2016-06-16 16:23 GMT

I had the same issue but for some reason (which I can't remember anymore :lol:) I decided against adding another expr.usr file in the game directory. Maybe that was because added lines are added at the bottom of the list which is a bit inconvenient for obvious reasons. However I decided to modify the expr.c (or was it cc?) directly in the installation directory (or maybe some subdirectory). That's quite easy since the form is already set with many examples to try out. :cool: The downside is that I have to "repair" that file manually everytime I upgrade PCC2 to a current version, which is still far better than for every start of PCC though. :wink:

Cool, it is already implemented. Also, interesting workaround from ComCitCat :wink:. (Of course, I do not manually repair the file before each run.)

Maybe the expressions from expr.usr could be moved to the beginning of the drop-down list?

The "expr.cc"/"expr.usr" file combo is actually implemented this way for compatibility with PCC 1.x.

Adding another file, with a more convenient name (expr.ini) in a more convenient place (your user profile, C:\Users\User\AppData\Roaming\PCC2 resp. /home/user/.pcc2) is easy, so I'll do that.

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Sun, 2016-07-03 10:41 GMT

Adding another file, with a more convenient name (expr.ini) in a more convenient place (your user profile, C:\Users\User\AppData\Roaming\PCC2 resp. /home/user/.pcc2) is easy, so I'll do that.

PCC2 now does that.

It is documented in the help file (online version).

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Mon, 2017-01-30 14:41 GMT

Stephan could you change the PCC2 that webmines painted on the map another color than mines?

sorry for my English.

[Posting] Re: More suggestions for PCC2
Posted Mon, 2017-01-30 17:09 GMT

Stephan could you change the PCC2 that webmines painted on the map another color than mines?

One solution I have to offer is drawing them as filled circles (press Alt-M one or two times). This will draw web mines with a denser pattern than regular mines.

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Sun, 2018-08-19 16:09 GMT, edited Sun, 2018-08-19 16:13 GMT

What I really liked to have right now with PCC2...
.
.
.





















is some 'exit-without-saving' button.

For example when leaving the game you give the menue Do you want to leave this game? Yes/No and this could simply be Yes/No/Leave without saving (may be F10)

SCNR the style. :embarassed:

[Posting] Re: More suggestions for PCC2
Posted Sun, 2018-08-19 17:02 GMT

What I really liked to have right now with PCC2...
is some 'exit-without-saving' button.

I use Task Manager for that, just kill the pcc-v2.exe process :smile:

(or, on Linux, Ctrl+\ aka SIGABRT typed into the console PCC2 was started from.)

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Sun, 2018-08-19 17:52 GMT

:lol:

[Posting] Re: More suggestions for PCC2
Posted Sun, 2018-12-16 18:38 GMT

Hi Stefan!
Could you implement in PCC2 a support of video resolution of FullHD (1920x1080)?
Am I right understand the program now support only 4:3 aspect ratio?

[Posting] Re: More suggestions for PCC2
Posted Mon, 2018-12-17 13:41 GMT

Hi,

Could you implement in PCC2 a support of video resolution of FullHD (1920x1080)?
Am I right understand the program now support only 4:3 aspect ratio?

You actually can already run PCC2 in FullHD resolution, just pass the command-line options "-fullscreen -size 1920x1080". But you probably don't want that. This does not enlarge fonts, and does not enlarge the starchart; a planet is still a single pixel.

What you actually want is upscaling. The graphics library used by PCC2 - SDL - does not support upscaling, because until a few years ago, graphics drivers would do that.

The SDL2 graphics library supports upscaling. PCC2 next generation can use SDL2. I am not yet sure where exactly the PCC2 and PCC2ng lines will meet, but that will be the way to go. Right now, PCC2ng is experimental code, not usable for playing. But it can support proper upscaled fullscreen play on current hardware (Disclaimer: the PCC2ng Windows binaries currently are built against SDL, not SDL2.).

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Tue, 2019-01-08 17:28 GMT

Another small request for the program change.
Could you make a change to the search dialog box? When I have got a result of search in the listbox I can open the object in control screen (if I owner) or on starchart (if I am not). Could you make so that I can view all found objects in the starchart?

And could you increase zoom in starchart that a warpwell was more detailed drew?

[Posting] Re: More suggestions for PCC2
Posted Tue, 2019-01-08 20:25 GMT

Could you make a change to the search dialog box? When I have got a result of search in the listbox I can open the object in control screen (if I owner) or on starchart (if I am not). Could you make so that I can view all found objects in the starchart?

Shouldn't be too hard.

If you wish to visualize something, you can use the "Mark" feature: (optionally, use Alt-Left/Right to switch to a different layer of marks to get it out of the way, then) use Mark > Mark only found objects. You will see these marks in the starchart.

And could you increase zoom in starchart that a warpwell was more detailed drew?

You can use + for up to 10x zoom which shows the warpwell pretty detailed. Is that not enough?

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Tue, 2019-01-08 20:50 GMT

You can use + for up to 10x zoom which shows the warpwell pretty detailed. Is that not enough?

--Stefan

No, it is not enough. As for me. Look at my game by maximum zoom.

[Posting] Re: More suggestions for PCC2
Posted Wed, 2019-01-09 18:43 GMT

You can use + for up to 10x zoom which shows the warpwell pretty detailed. Is that not enough?

No, it is not enough. As for me. Look at my game by maximum zoom.

Looks perfectly fine to me :smile:

Anyway, I guess increasing maximum zoom would be possible.

The original reason why I limit zoom is to avoid integer overflows. PCC 1.x would do stupid things (and PCC2 could get really slow) if you have a large object (think: a map line from 1000,1000 to 3000,3000) at more then 10x zoom, but that shouldn't be a problem anymore today.

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Wed, 2019-01-09 21:27 GMT

[...]

The original reason why I limit zoom is to avoid integer overflows. PCC 1.x would do stupid things (and PCC2 could get really slow) if you have a large object (think: a map line from 1000,1000 to 3000,3000) at more then 10x zoom, but that shouldn't be a problem anymore today.

--Stefan

Tough challenge. I'ld rather advise against taking that on. If I zoom in to max my PCC2 is getting noticeably slower. It's annoying. Though that's nothing compared to what happened at planets.nu if I remember correctly.

SCNR :tongue:

[Posting] Re: More suggestions for PCC2
Posted Sat, 2019-01-12 19:15 GMT

Could you make a change to the search dialog box? When I have got a result of search in the listbox I can open the object in control screen (if I owner) or on starchart (if I am not). Could you make so that I can view all found objects in the starchart?

PCC 2.0.6 will have new keys:

  • F4 (or Shift-Enter) will open the object on the starchart
  • F1 on a ship will open its control screen, F6 opens the history
  • F2 on a planet will open its control screen, F3 opens its starbase

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Sat, 2019-01-12 19:21 GMT

If I zoom in to max my PCC2 is getting noticeably slower. It's annoying.

I saw the smiley, but I still have to ask: what kind of computer do you have? I am spoilt now by 3 GHz quadcore. But PCC2's mission normally would be to run efficient on low-spec / older hardware.

Honestly, even if you have an older computer, don't feel embarrassed to tell me if it runs slow. I even still have some mothballed old hardware around.

Now if you are talking about PCC2ng... That starts by procedurally generating a new starfield wallpaper every time. This sometimes takes a few seconds. But it looks so incredibly cool :smile:

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Sun, 2019-01-13 15:52 GMT

PCC 2.0.6 will have new keys:

  • F4 (or Shift-Enter) will open the object on the starchart
  • F1 on a ship will open its control screen, F6 opens the history
  • F2 on a planet will open its control screen, F3 opens its starbase

--Stefan

Can I ask you to make a few more minor changes to the new version of the program?
First, please correct the fuel usage line in shiplock window on the starchart. It does not display the amount of fuel needed by the ship to complete the Cloak mission.
Second, make that in baselock windows on the starchart display a base picture instead of a planet picture. This is a purely aesthetic change. Just sometimes I forget what kind of windows I am (bases or planets.)

[Posting] Re: More suggestions for PCC2
Posted Sun, 2019-01-13 20:17 GMT, edited Sun, 2019-01-13 20:21 GMT

PCC 2.0.6 will have new keys:

  • F4 (or Shift-Enter) will open the object on the starchart
  • F1 on a ship will open its control screen, F6 opens the history
  • F2 on a planet will open its control screen, F3 opens its starbase

--Stefan

Huh, how is this different from the keys right now? I think I am using these already in that very manner. Besides Shift+Enter which I don't use because F4 always does the trick.

If I zoom in to max my PCC2 is getting noticeably slower. It's annoying.

I saw the smiley, but I still have to ask: what kind of computer do you have? I am spoilt now by 3 GHz quadcore. But PCC2's mission normally would be to run efficient on low-spec / older hardware.

I've checked now and the 'noticeably slower' should be a 'it tends to lag a bit'. Which is annoying allright, but not really slower. May be that's got something to do with opening a bunch (100+) mozilla windows... :embarassed:

Anyway my hardware is some about 5 years old mid to low price computer. So 3GHz quadcore is right on the money. :lol:

Can I ask you to make a few more minor changes to the new version of the program?
First, please correct the fuel usage line in shiplock window on the starchart. It does not display the amount of fuel needed by the ship to complete the Cloak mission.
Second, make that in baselock windows on the starchart display a base picture instead of a planet picture. This is a purely aesthetic change. Just sometimes I forget what kind of windows I am (bases or planets.)

I second the first request. Right now, what happens if you fall for it is that the ship will consume the fuel for cloaking and then it will run dry while moving and thus uncloak. Which defeats the purpose. :smile:

The second request I can't confirm. If I opened a starbase then the starbase is shown, not the planet and vice versa just as intendet.

[Posting] Re: More suggestions for PCC2
Posted Thu, 2019-01-17 18:53 GMT

PCC 2.0.6 will have new keys:

  • F4 (or Shift-Enter) will open the object on the starchart
  • F1 on a ship will open its control screen, F6 opens the history
  • F2 on a planet will open its control screen, F3 opens its starbase

Huh, how is this different from the keys right now? I think I am using these already in that very manner. Besides Shift+Enter which I don't use because F4 always does the trick.

The above applies to the search (F7) window.

The second request I can't confirm. If I opened a starbase then the starbase is shown, not the planet and vice versa just as intendet.

kite was referring to the starchart overlay on the starchart (called BASELOCK, reachable by pressing B), not the starchart screen (F3). That one indeed just shows a planet.

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Mon, 2019-05-27 18:46 GMT

Stefan could you implement in PCC a possibility set a multi-turn waypoint for a ship in Distance mode at the starchart?

At this moment I can do it only in a autotask screen manually.

[Posting] Re: More suggestions for PCC2
Posted Tue, 2019-05-28 15:22 GMT

Stefan could you implement in PCC a possibility set a multi-turn waypoint for a ship in Distance mode at the starchart?

At this moment I can do it only in a autotask screen manually.

This is technically not easy.

Are you aware of the 'a' function on the ship task screen? This will open a small starchart you can use to set long waypoints. It will be centered around the ship's predicted position, and you can recenter it using Tab.

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Tue, 2019-05-28 18:35 GMT

yes, at auto task screen it is easy to do.

But I want to be able at the star chart to indicate to the ship the path of multi-turn movement that differs from a straight line and in result an autotask skript for the ship was created.

At this moment for a complex movement I must create an autotask skript manually.

Or
could I change autotask of a ship in a program?

[Posting] Re: More suggestions for PCC2
Posted Tue, 2019-05-28 19:37 GMT

yes, at auto task screen it is easy to do.

But I want to be able at the star chart to indicate to the ship the path of multi-turn movement that differs from a straight line and in result an autotask skript for the ship was created.

At this moment for a complex movement I must create an autotask skript manually.

Or
could I change autotask of a ship in a program?

I am not sure I understand you correctly: of course you can enter a non-straight auto-task on the auto task screen? Choose first waypoint, double-click (or Ctrl-W), second waypoint, double-click, etc. Optionally, using the 'a' window for each leg.

Auto-tasks don't really exist (as program objects) outside the auto-task editor, so most things you can do with auto-tasks need to be done on the auto-task screen. I'm changing that for c2ng, but that's still a long way down the road.

But since I'm currently trying to implement missing PCC1 features on PCC2, this remembers me that PCC1 can actually show (but not edit) auto waypoints on the starchart. Dang, another one to do...

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Sat, 2019-06-08 16:36 GMT

Hi Stefan!

Could you to realize the possibility of using a fixed (typewriter) font in the list that is created using the Listbox function? I need this to create multi-column entries in the list.

[Posting] Re: More suggestions for PCC2
Posted Sun, 2019-06-09 10:33 GMT

Could you to realize the possibility of using a fixed (typewriter) font in the list that is created using the Listbox function? I need this to create multi-column entries in the list.

How many columns do you need? :smile:

The listbox widget right now supports two columns, as can be seen for example on the weapon selector in the battle simulator. I will enable that feature for the Listbox command in the next release. You use it by embedding a Tab character (Chr(9)) in the string, i.e.

    % PCC 2.0.7 or later!
    With Listbox("hi there") Do
      AddItem 1, "one" & Chr(9) & "details...."
      % Let's also add \t as alternative for Chr(9):
      AddItem 2, "two\tmore details...."
      Run
    EndWith

Allowing more styling will need a little more thought if we don't want a solution that I have to revert a few days later.

--Stefan

[Posting] Re: More suggestions for PCC2
Posted Sun, 2019-06-09 19:12 GMT

when will you release the 2.0.7 version?

[Posting] Re: More suggestions for PCC2
Posted Tue, 2019-06-11 16:27 GMT, edited Tue, 2019-06-11 16:27 GMT

when will you release the 2.0.7 version?

When I stop getting/finding things to add, plus one week for testing :smile:

Let's try to get it out this month. Why not.

--Stefan

[Edit: oh, post #3000]