Page 1 of 7

Regarding dirtsand

PostPosted: Mon May 30, 2011 1:55 pm
by Drake Collins
Greetings all.

A couple questions and observations regarding dirtsand.

I am stuck at the point that is just "past the scope of this document". Assuming that I am complete idiot, how do you generate Python.pak and how do you NTD encode the SDL and Python.pak files? moul-scripts is not terribly useful in that regard.

I can't coax dirtsand to read the keys provided in dirtsand.ini the error is
Code: Select all
Warning: Unknown setting 'Server.Auth.N' ignored
Warning: Unknown setting 'Server.Auth.K' ignored
Warning: Unknown setting 'Server.Game.N' ignored
Warning: Unknown setting 'Server.Game.K' ignored
Warning: Unknown setting 'Server.Gate.N' ignored
Warning: Unknown setting 'Server.Gate.K' ignored

These are the keys in dirtsand.ini (I will change the keys later)
Code: Select all
Server.Auth.N = zasxvvOFaXMEKaw/tnYITp2L/MPVQc+DY9eewITtH1U95goGtiggFTO9PMZ3p9o/i6CYhqD4aFeLZmADyEBfQw==
Server.Auth.K = wunUHpCUPx7G/x/tYXvEzTvSSWoV9XN75X6eO7r6KYkSQiibdxo1pKywx8lAuxlSW1CcARJuXGt+GFfcokrJFw==
Server.Game.N = 2/ruIfJlf2K6ip/K4cmFBZ/lKkgLLWBZ9CC9yTqNHAq3P2cyprtofAtyr1MXLaYBiDQZIlhBXPiSN9WXcPGH3w==
Server.Game.K = 7vSOQCq5GdTRIKAF2Gljff+zjaLAVHK/9a5o36KRmyOrwtgOXFL1QOyGUmpZfmrhRFBdLl91uG3qNxTsllk4Cw==
Server.Gate.N = yQbV8+AVLgvHwx7WAlZuHD5bJrcv4iLgA+TKLIo7yrUJgCSA1PnODnOSnolDt4kYizBB/5PNk3JqGqahUu9Nlw==
Server.Gate.K = 5BPNBXqAnGUUWMrA7CD9Hxm4Sihl4DlUtwtWcCLQsfrB094JxdkbtMeRHo60oBfq3jb0cKIXuI5+Y7I80hVDMw==


Has anyone noticed that if you remove the keys from the clients server.ini, dirtsand will segfault?

Re: Regarding dirtsand

PostPosted: Mon May 30, 2011 2:06 pm
by Zrax
Whoops, this is actually my fault... The keygen command was outputting "Server.<Type>.<K,N>", but the ini expectes "Key.<Type>.<K,N>"... I've committed a fix for the keygen command, but you can just change Server. to Key. in your ini file without having to re-generate the keys.

Sorry about the confusion!


EDIT: And to answer your other questions, libHSPlasma contains some tools which should help with the pak generation and encryption (PyPack and PlasmaCrypt, respectively). Alternatively, you can also use the tools that come with the Plasma/CWE source distribution for this task.

Re: Regarding dirtsand

PostPosted: Sat Jul 16, 2011 4:11 pm
by phoenix
Shorah

I have a problem with the following command.

I have Ubuntu 10.10 setup and I am well on my way to settign up a dirtsand server. However the following line bombs out (taken exactly from zrax instructions)

sudo -u postgres psql -d template1

When I run it, it fails saying, "Unknown user postgres"

The prereqs are a little vague as to version numbers, and does not explain what version of apache to install. Is anyone able to help?

Later

Phoenix

Re: Regarding dirtsand

PostPosted: Sun Jul 17, 2011 11:33 am
by Zrax
I'm guessing that since you just PMed me about a later step in the process, you got this part resolved... ;)

Re: Regarding dirtsand

PostPosted: Mon Jul 18, 2011 9:16 am
by phoenix
Yeah, Thanks Zrax.

Pluggin away!

Phoenix

Re: Regarding dirtsand

PostPosted: Wed Jul 20, 2011 10:55 am
by phoenix
File for Zrax

Re: Regarding dirtsand

PostPosted: Wed Jul 20, 2011 12:21 pm
by Branan
I'd request (though it's not a forum rule) that you please not post encrypted zip files on public forum threads. If there's something that's for a specific person, put it on dropbox or something like that. Or if it's plain-text, just send it in a PM. Posts like yours with a single file are just sort of spammy to everyone else on the forum.

Re: Regarding dirtsand

PostPosted: Wed Jul 20, 2011 5:46 pm
by Zrax
Better yet, since this is a modification of a file tracked in github, you could create a github account and submit a pull request for the README changes. That way, the changes are tracked with your own username attached, in case anyone has questions about it. This was part of the reason we went with github instead of throwing more junk on my server ;)

- Michael

Re: Regarding dirtsand

PostPosted: Thu Jul 21, 2011 4:30 am
by phoenix
Ok will do... Thanks for the pointers.

btw, how do you use a dropbox?

Re: Regarding dirtsand

PostPosted: Thu Jul 21, 2011 7:14 am
by Chacal
See www.dropbox.com.

It is a well-known cloud storage service.
Very user-friendly.

They give you 2GB free storage, in the hope that eventually you will want more and pay for it.