Bugs and Feature Requests for PlanetsCentral and other VGAP software

[Posting] Planets.nu to PCC2
Thread opener
Posted Fri, 2017-04-28 20:57 GMT, edited Fri, 2017-04-28 20:58 GMT

Hiho I've tried to play at planets.nu recently. And it's frustrating that i can't use the functionality which I am well used to from PCC2.

There are two workarounds I've found. First using scripts on planets.nu. Which seems to be worthwhile. But since I am still short on time I tried another way: nu2c.pl (https://github.com/stefanreuther/c2nu)

Well first there is a question concerning the readme. It states:

Quickstart

    Make a new directory and open a command prompt in it.
    Make a solo game on planets.nu.
    [..]

Why is that only for solo-games?

And second - I tried it out right away. But I got some fishy error:

C:\Users\Nutzer\Desktop\Planets\PlanetsNU>perl c2nu.pl login USER PASSWORD
Bareword found where operator expected at c2nu.pl line 23, near "<title>c2nu"
	(Missing operator before c2nu?)
syntax error at c2nu.pl line 10, near "<"
Unrecognized character \xC2; marked by <-- HERE after at master <-- HERE near co
lumn 33 at c2nu.pl line 23.

Of course I told the line my account and password. :wink: Is there something you can help with? And sorry if I was just too tired to read (and understand) the docs. :embarassed:

[Posting] Re: Planets.nu to PCC2
Posted Sat, 2017-04-29 08:56 GMT

Hiho I've tried to play at planets.nu recently.

Heresy! Betrayal!!!1

But since I am still short on time I tried another way: nu2c.pl (https://github.com/stefanreuther/c2nu)

Well first there is a question concerning the readme. It states:

Quickstart

    Make a new directory and open a command prompt in it.
    Make a solo game on planets.nu.
    [..]

Why is that only for solo-games?

It's not. However, (a) I only tested it in solo games recently. I think Quapla tested it in real games, but my last real game was in 2012 or so, before their last API changes. (b) It's a testing, proof-of-concept type program. It does not (and can not) support all features of Nu because they differ from VGAP rules and file formats a lot. The readme tells you how to try it, and you don't normally test and try on a real game first, do you?

The "real" solution to "I want a sensible client for planets.nu" will be PCC2ng. The current Milestone One can browse planets.nu and planetscentral.com, but cannot give orders and is lacking most of the graphical interface.

And second - I tried it out right away. But I got some fishy error:

C:\Users\Nutzer\Desktop\Planets\PlanetsNU>perl c2nu.pl login USER PASSWORD
Bareword found where operator expected at c2nu.pl line 23, near "<title>c2nu"
	(Missing operator before c2nu?)
syntax error at c2nu.pl line 10, near "<"
Unrecognized character \xC2; marked by <-- HERE after at master <-- HERE near co
lumn 33 at c2nu.pl line 23.

You probably didn't download the program, but the github website describing it. Use the "Raw" or "Clone or download" buttons.


--Stefan

[Posting] Re: Planets.nu to PCC2
Thread opener
Posted Sat, 2017-04-29 13:49 GMT

Really! If I ever learn how to use any commandline/shell to the full extend it will be entirely your fault! And yours alone!!! :sad:

So I have downloaded the code via raw and copied it into a textfile with the all text name c2nu.pl. *omg* I tried again to login and that worked quite well. But.

gzip isn't implemented in my system in a way you can use it from everywhere via command line. I had to install perl first too. But perl came in with an installer. gzip is selfextracting at best. I can't find a single word how to install gzip in that way on the homepage. Obviously that's a program for people never ever using anything else than the command line even for playing some WoW. Well. Anyway I am posting this just in case someone else bothers. :innocent:

http://stackoverflow.com/questions/36733176/how-do-i-add-a-gzip-command-to-windows-cmd/36733177

How to add gzip to CMD

Step 1: Download and install Cygwin

Step 2: Click 'Start' and type System Environment Variables

Step 3: In the 'Advanced' tab, click 'Environment Variables...'

Step 4: In the 'User variables for (user)' section, select the Path variable and click 'Edit...'

Step 5: In the 'Edit environment variable' window, click 'New'

Step 6:

For x86 type: C:\cygwin\bin For x64 type: C:\cygwin64\bin

Step 7: Restart CMD, type gzip, and shout, "Wooooo!"

I have yet to achieve the wooooo. As far as I understand it Cygwin is providing it's own shell where I technically would be able to use gzip.

So I've got either to implement cygwin utility into windows cmd. Or I've got to give cygwin a way to use my system. Seems I have no access to lets say my user data from the cygwin terminal so far. Maybe it's easier to buy another harddrive, copy paste my harddisk there and install linux to get things done.

O.o