Configuring LAN server

Configuring LAN server

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Starcraftman
Posts: 24
Joined: 18 Feb 2008, 19:57

Configuring LAN server

Post by Starcraftman »

I was wondering how you configure the spring lan server to have accounts to log into , keep track of playtime and just other random things. Does anyone know how to do this?
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Re: Configuring LAN server

Post by Relative »

I'm interested in this too. I took at look at the readme for TASServer in the SVN, but I saw no option to set up a full server with account support. It seems the default is lan mode, but doesn't provides the command to change this.
Last edited by Relative on 19 Feb 2008, 00:35, edited 1 time in total.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Configuring LAN server

Post by Peet »

don't run with -lan, and include an accounts.txt
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Re: Configuring LAN server

Post by Relative »

Ok thanks peet, but what about setting up admin privileges etc...
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Configuring LAN server

Post by Peet »

the long string of 1s and 0s in the user's entry in accounts.txt...either check Account.java or set it to all 1s :-)
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Re: Configuring LAN server

Post by Relative »

Great thanks, you might want to update the readme to include this.
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Configuring LAN server

Post by Peet »

Nevar, the cryptic path of configuring tasserver serves as a test to determine who is worthy to run one :P

The next task: get ChanServ running. You get to trace the calls to the xml parser!
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Re: Configuring LAN server

Post by Relative »

Peet wrote:Nevar, the cryptic path of configuring tasserver serves as a test to determine who is worthy to run one :P
*The next day Peet gets run over by a bus*

Everyone else: o crap....
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Configuring LAN server

Post by Tobi »

Relative wrote:Ok thanks peet, but what about setting up admin privileges etc...
You can set it in the lobby. But beware, you still need to do number system conversions and bitwise ands!

(getaccountaccess and changeaccountaccess commands, IIRC)
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Configuring LAN server

Post by Peet »

Tobi wrote:
Relative wrote:Ok thanks peet, but what about setting up admin privileges etc...
You can set it in the lobby. But beware, you still need to do number system conversions and bitwise ands!

(getaccountaccess and changeaccountaccess commands, IIRC)
Hard to do that without an admin account initially though :P
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Configuring LAN server

Post by Tobi »

Ah true, typical bootstrap problem :P
User avatar
Relative
Posts: 1371
Joined: 15 Oct 2006, 13:17

Re: Configuring LAN server

Post by Relative »

Well I couldn't get the accounts working and then after running it a couple of times it started crashing:

Code: Select all

rutter@stumpy:~$ java -jar /home/rutter/Desktop/TASServer.jar 
TASServer 0.35 started on 2008.02.18 at 11:59:59 GMT
JDBC driver not found!
Server stopped.
rutter@stumpy:~$ 
Starcraftman
Posts: 24
Joined: 18 Feb 2008, 19:57

Re: Configuring LAN server

Post by Starcraftman »

I have another question now, when I host a game on a lan server, the computer trying to join the game is always desynced.
Starcraftman
Posts: 24
Joined: 18 Feb 2008, 19:57

Re: Configuring LAN server

Post by Starcraftman »

Why is nobody helping? Its been like 2 days since I asked about the desync problem
User avatar
LordMatt
Posts: 3393
Joined: 15 May 2005, 04:26

Re: Configuring LAN server

Post by LordMatt »

Make sure the contents of the mods folder and the base folder are the same.
Starcraftman
Posts: 24
Joined: 18 Feb 2008, 19:57

Re: Configuring LAN server

Post by Starcraftman »

Ah thanks, that worked.
jonlt
Posts: 1
Joined: 26 Feb 2008, 22:20

Re: Configuring LAN server

Post by jonlt »

could you post a sample accounts.txt file?
Also how did you get around the JDBC problem?
Thanks!
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Configuring LAN server

Post by Peet »

Code: Select all

Peet passwordgoeshere 1100000100000000100000111 0 1196214560921 192.168.0.100 1186229938421 ZZ AC5325C 0 3 D4DFD64 0 2 E9FAA70 0 28
Can't remember what any of the stuff after ZZ is, doesn't really matter afaik; just copypasta and change the username and password (which is a base64 encoded md5 hash of the password entered in tasclient).
Starcraftman
Posts: 24
Joined: 18 Feb 2008, 19:57

Re: Configuring LAN server

Post by Starcraftman »

Uh that code is what goes in the accounts file?
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Configuring LAN server

Post by Peet »

Starcraftman wrote:Uh that code is what goes in the accounts file?
Yes. Though of course you replace Peet with the desired admin username, and passwordgoeshere with the desired password.
Post Reply

Return to “Help & Bugs”