News:

Huge spam cleanup. I hope, everything important is still in place. :-)

Main Menu

Linux server config

Started by wizard_of_gore, April 08, 2009, 12:07:31 AM

Previous topic - Next topic

wizard_of_gore

I'm trying to run the Linux version of the server. When using the --init command to generate a file, after answering the questions it crashes giving the message about the map not found... which is fine, when I usually generated it when I was using Centred with Windows with whatever crap then edited it with my real values in Notepad. The problem with this version though is even if I have my CedServer folder set to full permissions, the file never  generates.

Could you please perhaps post a sample config file for Linux or tell me how I should fix this?

T.I.A.  Excellent editor, I can't wait to start using it again :)

Peter

I am not using centred long time because I have no time for it .. but from beginning I had this problem on linux too .. It was because linux is case sensitive (I hope that this is the right word ... yeah my weak english :-)) .. so check if you haven't set for example in the config file Map0.mul and your file is map0.mul ... I hope you will understand what i mean ..

wizard_of_gore

Ah ok that's good to know. My problem though is that I do NOT HAVE a config file at all LOL. I can't seemed to make the cedserver generate one. That's why I'm asking if perhaps a sample one could be posted or someone could tell me how to generate one. Your English is OK, hehe thanks for your input on this.

Tare

Have you tried filename and settings like under windows?

wizard_of_gore

OK, everything seems to be running fine now.

Note that the files needed by cedserver should put where ever you are saying they are, or already there when it asks for them first time using the ./cedserver --init command. With Windows, I'd just sort of make a "dummy file" without the files in place before I set the paths. This wasn't possible with linux.Once you enter this information, an .xml file is created and you won't have to enter this information again :) Cedserver should create this file for you, so that you get your encrypted password binded to your account used to login to it with your Centred editor client.

A sample Linux config looks like this, and is named cedserver.xml :

 2597
 
    /home/me/cedserver/map0.mul
    /home/me/cedserver/staidx0.mul
    /home/me/cedserver/statics0.mul
    768
    512
 
  /home/me/cedserver/tiledata.mul
  /home/me/cedserver/radarcol.mul
 
   
      admin
      (pass hash stuff, this is generated by cedserver so you can not generate your own .xml  file like this)
      255
 

I am getting these in my terminal window running the server:

(CentrED:11193): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

(CentrED:11193): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed


But these bugs don't seem to affect anything yet. The only weirdness I see is some furniture sticking out of a couple of buildings.

The only other problem I had was when I ran the actual client. The pop-up window that comes up and asks you for a few client files you need in a folder. I could not read all of the files cedserver needed! So,here is a list to these files... I threw them in /home/me/centred/gamedata

art.mul
artidx.mul
hues.mul
tiledata.mul
texmaps.mul
texidx.mul

Have fun :)