Error Trying to Build DIRTSAND Server

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.

Re: Error Trying to Build DIRTSAND Server

Postby PeterC » Fri Aug 31, 2012 4:47 pm

Found all the Libs except for the PostgreSQL development packages unless you mean the cross-distribution packages. If you want to see what I mean go to postgresql.org/download/linux/ubuntu/. The only other thing I found is the Ubuntu PPA (what ever that means) on the same page.
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler

Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
User avatar
PeterC
 
Posts: 56
Joined: Sun Jun 03, 2012 9:37 am

Re: Error Trying to Build DIRTSAND Server

Postby Lyrositor » Fri Aug 31, 2012 5:53 pm

Everything can be done through apt-get. If you read that page well, they give you the required packages: "libpq-dev"
Lyrositor
Explorer #16601888
User avatar
Lyrositor
Director of Wiki Operations
 
Posts: 208
Joined: Tue Feb 07, 2012 6:05 pm

Re: Error Trying to Build DIRTSAND Server

Postby PeterC » Fri Aug 31, 2012 7:03 pm

OK, installed all the items on that page. tried downloading and installing LibReadLine, ZLib, and OpenSLL, but apt-get can't find them.
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler

Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
User avatar
PeterC
 
Posts: 56
Joined: Sun Jun 03, 2012 9:37 am

Re: Error Trying to Build DIRTSAND Server

Postby Lyrositor » Fri Aug 31, 2012 7:48 pm

OpenSSL should be libssl-dev IIRC.
libreadline should be libreadline-dev
zlib is probably zlib1g-dev
Lyrositor
Explorer #16601888
User avatar
Lyrositor
Director of Wiki Operations
 
Posts: 208
Joined: Tue Feb 07, 2012 6:05 pm

Re: Error Trying to Build DIRTSAND Server

Postby PeterC » Fri Aug 31, 2012 8:34 pm

Currently stuck after getting so far tonight. Got up to

DIRTSAND is configured from a dirtsand.ini file placed in the execution directory for DIRTSAND. It needs to be adjusted to connect to your database, to have all the appropriate RC4 keys, which DIRTSAND can automatically generate for you:

bin/dirtsand
ds-902> keygen new
ds-902> quit

And since it said DIRTSAND can automatically generate this, I proceeded with:

sudo cp dirtsand.sample.ini /opt/dirtsand/dirtsand.ini
sudo chown dirtsand /opt/dirtsand/dirtsand.ini
su - dirtsand

first 2 statements worked, but the "su" command says:

su: Authentication failure

Tried my password 4 times, checked the password used in:

template1=# CREATE USER dirtsand WITH PASSWORD '<password>';

Caps Lock is off. No idea.
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler

Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
User avatar
PeterC
 
Posts: 56
Joined: Sun Jun 03, 2012 9:37 am

Re: Error Trying to Build DIRTSAND Server

Postby Luna » Fri Aug 31, 2012 11:04 pm

You're confused about two different types of users. The computer has users and the database has users. The "Create user" command you mention, happened in the psql prompt and thus on the database not on the computer.

I'm looking at the github readme ( not sure which one you are using) but the password you want is the one you entered when you did
1) Create a user and path for the DIRTSAND server to run from
(OPTIONAL, but recommended).

$ sudo useradd dirtsand -d /opt/dirtsand -m -p <password> -s /bin/bash

If you did that

What I usually do, is run the dirtsand "keygen new" file as described, and copy them over to the "dirtsand.ini" file with a text editor.Also I enter the password for the database in the file.
Code: Select all
long longestTimeWithoutPlayingMoula = (new Date()) - (new Date(2014, 9, 26));
User avatar
Luna
 
Posts: 204
Joined: Fri Oct 08, 2010 12:21 am
Location: Il y a encore des pommes.

Re: Error Trying to Build DIRTSAND Server

Postby PeterC » Sat Sep 01, 2012 10:14 am

I have been using http://www.guildofwriters.org/wiki/DIRT ... ng_Started from the GoW Wiki. Are you referring to the command:

sudo useradd dirtsand -d /opt/dirtsand -m -p <password> -s /bin/bash

If so, I used that same password when prompted on the command:

su - dirtsand


Edit: Better yet, forget it. Too much work to starting thinking about the impending aggravation of actually decyphering the python code, making changes and trying to build something new.
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler

Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
User avatar
PeterC
 
Posts: 56
Joined: Sun Jun 03, 2012 9:37 am

Re: Error Trying to Build DIRTSAND Server

Postby PeterC » Sun Sep 02, 2012 1:01 pm

After much thought and considering how close I am to finishing the server install, I decided to try again. I decided to wipe the hard drive to get a clean install. when I use the command:

bin/dirtsand

I get 2 errors:

[Game] Error reading age descriptors: no such file or directory

Error connecting to postgres: fe_sendauth: no password supplied

Any ideas?
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler

Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
User avatar
PeterC
 
Posts: 56
Joined: Sun Jun 03, 2012 9:37 am

Re: Error Trying to Build DIRTSAND Server

Postby Lyrositor » Sun Sep 02, 2012 7:15 pm

You need to provide the configuration file when you type bin/dirtsand (like bin/dirtsand dirtsand.ini).
Lyrositor
Explorer #16601888
User avatar
Lyrositor
Director of Wiki Operations
 
Posts: 208
Joined: Tue Feb 07, 2012 6:05 pm

Re: Error Trying to Build DIRTSAND Server

Postby PeterC » Mon Sep 03, 2012 10:30 am

OK, how do I use a file the instructions haven't created yet. The command:

bin/dirtsand

comes before the creation command:

sudo cp dirtsand.sample.ini /opt/dirtsand/dirtsand.ini
Those wonderfull Worlds are called " Ages" , because that is what it takes to build one. -Dendwaler

Have you even TRIED to set up a client and server? THAT takes ages. -PeterC
User avatar
PeterC
 
Posts: 56
Joined: Sun Jun 03, 2012 9:37 am

PreviousNext

Return to Plasma Development

Who is online

Users browsing this forum: No registered users and 0 guests

cron