News and Announcements about PlanetsCentral

[Posting] PCC 2.0.3
Thread opener
Posted Tue, 2017-11-28 18:22 GMT

I have released PCC2 2.0.3. This release adds one new feature: a ship's/planet's messages can be retrieved from the ship/planets object, and a marker on the starchart (Alt-N) can show presence of messages.

In addition, this release fixes a few bugs. More work in this release has been put into the code that drives PlanetsCentral, not all of it is already "live", though.

Get it: http://phost.de/~stefan/pcc2.html

[Posting] Re: PCC 2.0.3
Posted Sun, 2017-12-03 08:06 GMT

I have released PCC2 2.0.3.

Nice work, Stefan! Thanks!
But I found a little error in documentation. The Combination (Alt-N) draw markers on the star chart. The Combination (Shift-M) open a message in the point of the flag.

[Posting] Re: PCC 2.0.3
Posted Tue, 2018-01-16 12:36 GMT

After installing last version of PCC I can't view previous turns my game from c2ng-2.40.1.
Can you fix this bug?

[Posting] Re: PCC 2.0.3
Thread opener
Posted Tue, 2018-01-16 17:55 GMT

After installing last version of PCC I can't view previous turns my game from c2ng-2.40.1.
Can you fix this bug?

That's a pretty short problem description.

c2ng (I didn't know anyone was using that in production already :smile:) 2.40.2 shows my PCC 2.0.3 game directory just fine. c2ng is totally passive right now and does not modify any data.

How does "can't view previous turns" look like?

Did you perhaps switch game directories, and the new one doesn't have backups enabled? (PCC2 race screen, Ctrl+O, Options, Backups).

--Stefan

[Posting] Re: PCC 2.0.3
Posted Tue, 2018-01-16 19:49 GMT

Did you perhaps switch game directories, and the new one doesn't have backups enabled? (PCC2 race screen, Ctrl+O, Options, Backups).

--Stefan

Yes, I did. All backups options is enables.

In c2ng when I open Turn History window I can see only current turn marked "Loaded". All Previous turns marked as "not available", but in game folder I have subfolder "backups" and all result files inside. When I select old turn I get message "Enable the backup functionality in Option to make PCC save copies of old result files" .

Early all worked when I use PCC 2.0.2.

[Posting] Re: PCC 2.0.3
Thread opener
Posted Tue, 2018-01-16 20:56 GMT

Did you perhaps switch game directories, and the new one doesn't have backups enabled? (PCC2 race screen, Ctrl+O, Options, Backups).

Yes, I did. All backups options is enables.

In c2ng when I open Turn History window I can see only current turn marked "Loaded". All Previous turns marked as "not available", but in game folder I have subfolder "backups" and all result files inside. When I select old turn I get message "Enable the backup functionality in Option to make PCC save copies of old result files" .

Early all worked when I use PCC 2.0.2.

This is strange. I am using both versions as well.

Can you check the pcc2.ini files? There should be one in your user profile (C:\Users\USER\AppData\Roaming\PCC2\pcc2.ini resp. /home/USER/.pcc2/pcc2.ini), and maybe one in your game directory. The one in your user profile should contain the backup settings:

    Backup.Result = %d/backups/result%p.%t

The one in your game directory should be very short and not normally contain the backup settings.

For testing, you can also open a console in PCC2ng (Alt-C) and enter the command

    pref("backup.result")

This should report the current setting.

That aside, both versions should behave identical here, that is, PCC2ng interprets ini files in the same way as PCC2.

--Stefan

[Posting] Re: PCC 2.0.3
Posted Wed, 2018-01-17 18:55 GMT

all right.
In my file pcc.ini the parameter Backup.Result has value "%d/backups/result%p.%t". What is the value of %d? As I understand %d is game directory.
When I am in PCC2 and print command system.gamedirectory inside console I get value equal "C:\Games\PCC\UserGameDir". But in PCC2ng this parameter is a empty string.
Maybe is it a problem?

[Posting] Re: PCC 2.0.3
Thread opener
Posted Wed, 2018-01-17 20:32 GMT

all right.
In my file pcc.ini the parameter Backup.Result has value "%d/backups/result%p.%t". What is the value of %d? As I understand %d is game directory.

Right, %d is game directory.

When I am in PCC2 and print command system.gamedirectory inside console I get value equal "C:\Games\PCC\UserGameDir". But in PCC2ng this parameter is a empty string.
Maybe is it a problem?

This parameter is not yet implemented in PCC2ng, mainly because I haven't yet made up my mind what it should be in case your game directory is directly on a server. If you're on a local directory, the result loader knows internally where to find the files.

You are using Windows; I do most development in Linux. I'll try Windows tomorrow.


--Stefan

[Posting] Re: PCC 2.0.3
Thread opener
Posted Thu, 2018-01-18 18:54 GMT

all right.
In my file pcc.ini the parameter Backup.Result has value "%d/backups/result%p.%t". What is the value of %d? As I understand %d is game directory.

OK, tried Windows, works as expected for me.

However, here's one difference I found between PCC2 and PCC2ng. If you installed PCC2 long time ago (before 1.99.13), you will have a pcc2.ini file in your profile, e.g. C:\Users\User\AppData\Roaming\pcc2.ini. I have moved that to conform more to software standards, so that the file is installed in C:\Users\User\AppData\Roaming\PCC2\pcc2.ini. PCC2 will find the file at either location, but never move it. PCC2ng will only find it at the new location.

Thus, please check your profile directory. If you have pcc2.ini directly in your profile, move it into the PCC2 directory, and both versions will find it. I could reproduce that having the ini file at the old location will cause PCC2ng not to find the backups.

I guess I'll finally add the "move" functionality, hoping that nobody downgrades by seven years :smile:

This still doesn't explain why you're seeing a problem after the update, though.


--Stefan

[Posting] Re: PCC 2.0.3
Posted Thu, 2018-01-18 20:11 GMT

excuse me. I was wrong. I forgot how PCCng working and had tried get access to my games from my account at PlanetCentral server. With my local files all working good.

p.s. Can I ask you when you add in PCCng a viewer of messages and vcr-viewer?

[Posting] Re: PCC 2.0.3
Thread opener
Posted Thu, 2018-01-18 21:01 GMT

excuse me. I was wrong. I forgot how PCCng working and had tried get access to my games from my account at PlanetCentral server. With my local files all working good.

OK, no problem.

p.s. Can I ask you when you add in PCCng a viewer of messages and vcr-viewer?

I am currently finishing milestone 3, which mostly improves on the interior and on the server side (i.e. no new user features, but the server side will be needed to let you view history from a server game). VCR will most likely be milestone 4; I have some ideas for it.


--Stefan

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.