Regarding dirtsand

Announcements and discussion regarding any projects related to Cyan Worlds' Plasma Engine including (but not limited to) CyanWorlds.com Engine, Drizzle, OfflineKI, PyPRP, and libHSPlasma.

Regarding dirtsand

Postby Drake Collins » Mon May 30, 2011 1:55 pm

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?
Drake Collins
 
Posts: 10
Joined: Sun Nov 28, 2010 7:12 pm

Re: Regarding dirtsand

Postby Zrax » Mon May 30, 2011 2:06 pm

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.
User avatar
Zrax
 
Posts: 206
Joined: Fri Sep 28, 2007 5:19 pm
Location: Waist-deep in a conecano

Re: Regarding dirtsand

Postby phoenix » Sat Jul 16, 2011 4:11 pm

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
User avatar
phoenix
 
Posts: 88
Joined: Wed May 19, 2010 2:29 am

Re: Regarding dirtsand

Postby Zrax » Sun Jul 17, 2011 11:33 am

I'm guessing that since you just PMed me about a later step in the process, you got this part resolved... ;)
User avatar
Zrax
 
Posts: 206
Joined: Fri Sep 28, 2007 5:19 pm
Location: Waist-deep in a conecano

Re: Regarding dirtsand

Postby phoenix » Mon Jul 18, 2011 9:16 am

Yeah, Thanks Zrax.

Pluggin away!

Phoenix
User avatar
phoenix
 
Posts: 88
Joined: Wed May 19, 2010 2:29 am

Re: Regarding dirtsand

Postby phoenix » Wed Jul 20, 2011 10:55 am

File for Zrax
Attachments
README.zip
(5.32 KiB) Downloaded 475 times
User avatar
phoenix
 
Posts: 88
Joined: Wed May 19, 2010 2:29 am

Re: Regarding dirtsand

Postby Branan » Wed Jul 20, 2011 12:21 pm

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.
Image
Your friendly neighborhood shard admin
User avatar
Branan
Gehn Shard Admin
 
Posts: 694
Joined: Fri Nov 16, 2007 9:45 pm
Location: Portland, OR

Re: Regarding dirtsand

Postby Zrax » Wed Jul 20, 2011 5:46 pm

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
User avatar
Zrax
 
Posts: 206
Joined: Fri Sep 28, 2007 5:19 pm
Location: Waist-deep in a conecano

Re: Regarding dirtsand

Postby phoenix » Thu Jul 21, 2011 4:30 am

Ok will do... Thanks for the pointers.

btw, how do you use a dropbox?
User avatar
phoenix
 
Posts: 88
Joined: Wed May 19, 2010 2:29 am

Re: Regarding dirtsand

Postby Chacal » Thu Jul 21, 2011 7:14 am

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.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2508
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Next

Return to Plasma Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron