home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Creating a master Server

by Der/Nalia on 10/23/2006 13:28, 11 messages, last message: 10/25/2006 15:31, 1816 views, last view: 05/01/2024 22:40

http://www.myzel.net/hungerburg/masterserver

Thats where i got the server.

Here is what i have done so far.

I've put the master server in at

http://faithnation.com/cgi-bin/cube/masterserver.pl

I currently get this error:
can't open srv.dat: No such file or directory at /cgi-bin/cube/masterserver.pl line 212

isn't it supposed to create that file?

   Board Index   

#1: ..

by Der/Nalia on 10/23/2006 13:30

I've done the permissions, i made masterserver.pl executable. Could the perl be broken?

reply to this message

#2: ..

by SanHolo on 10/24/2006 12:31

Perl tells you exactly what is wrong; you need to fix the missing srv.dat - file. ;)

reply to this message

#3: Re: ..

by Der/Nalia on 10/24/2006 13:52, refers to #2

When i create a blank srv.dat file i get this message:

Magic number checking on storable file failed at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line 328, at /cgi-bin/cube/masterserver.pl line 212


So, apparently, the server runs on Magic

reply to this message

#4: ..

by SanHolo on 10/24/2006 16:27

"The server runs on Magic"?? What`s that?

No; there is something wrong with an empty srv.dat because the script tries to do something with it. You should first check the file`s integrity before doing something with it (better) or make sure that you always provide the correct srv.dat file (worse).

reply to this message

#5: Re: ..

by MeatROme on 10/24/2006 18:24, refers to #4

the script writes it itself,
there is a description of how to setup everything in the source ... UTSL

reply to this message

#6: Re: ..

by Der/Nalia on 10/25/2006 00:11, refers to #5

Yeah, i think i might have gotten a bad source or something, because i followed all the directions. Do you happen to know of a place to get the source?

reply to this message

#7: Re: UTSL

by MeatROme on 10/25/2006 00:28, refers to #6

your URL is my source of source too
although - AFAIK - the official position is that the masterserver isn't open-source (although the file says otherwise) ...
... hence my reluctance to go into details.
But I managed to get it working with what's there. Did you chmod 777 the directory?

reply to this message

#8: Re: UTSL

by Der/Nalia on 10/25/2006 01:53, refers to #7

yeah. I tried it again, without changing any of the file this time. I followed all the directions until i got the error. I did 777 on the cube directory, 755 on masterserver.pl

when i run it, i get

can't open srv.dat: No such file or directory at /cgi-bin/cube/masterserver.pl line 212

reply to this message

#9: Re: UTSL

by SleepwalkR on 10/25/2006 11:46, refers to #7

The master server used on sauerbraten.org / cubeengine.com is not open source. It's a java implementation.

The script you guys have downloaded is "unofficial". It was developed by a third party (I don't know who).

reply to this message

#10: Re: UTSL

by Der/Nalia on 10/25/2006 13:31, refers to #9

Is there a chance of it becoming released to the public?

reply to this message

#11: Re: UTSL

by SleepwalkR on 10/25/2006 15:31, refers to #10

I don't think so.

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53867637 visitors requested 71642796 pages
page created in 0.020 seconds using 10 queries
hosted by Boost Digital