Log in

View Full Version : <----noob trying to make a server =D


megaddar
03-02-2009, 04:57 PM
i get this error when running start.bat

[Debug] [WORLD_INIT} Loading server configuration..
Unable to load 'eqemu_config.xml' : Error reading end tag.
[Debug] [WORLD_INIT_ERR] Loading server configuration failed.

I edited the eqemu_config.xml file as discribed in the server setup guide, and it saved successfully as an .xml file. And i noticed there is another file in the build directory named eqemu_config.xml.FULL and i renamed it after i got this error in case world.exe was trying to read that instead but still recieved the same error.

So, like the title says, im a total noob at this and have no idea really what i am doing hehe.

I just followed the server setup guide and got the correct perl working.

I also could not find DBD-MySQL, i saw DBD-MySQLpp but didnt install that one. Should i be using that one instead?

Any help would be much appreciated =)

trevius
03-02-2009, 05:06 PM
Post your config file please and remember to remove your passwords first! It may be that you messed up the format when you edited the file. Or another possibility is that you opened the file with notepad and saved it as a .txt file by mistake. If you have Windows set to hide known file types (which is default for Windows), the file could be named eqemu_config.xml.txt and with the known extension being hid, you would see it as eqemu_config.xml.

megaddar
03-02-2009, 05:12 PM
this is the contents of my xml file.
in the folder under the file type it says XML file
i did have problems using copy and paste from the server setup guide so i typed it all by hand in wordpad and saved it under all files type, as eqemu_config.xml


<?xml version="1.0">
<server>
<world>
<shortname>Zakktest</shortname>
<longname>Zakks Test</longname>

<address>192.168.0.10</address>
<localaddress>127.0.0.1</localaddress>

<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>

<key>some long random string</key>

<http port="9080" enabled="true" mimefile="mime.types" />
</world>

<database>
<host>localhost</host>
<post>3306</port>
<username>root</username>
<password></password>
<db>peq</db>
</database>
</server>

Derision
03-02-2009, 05:28 PM
this is the contents of my xml file.
in the folder under the file type it says XML file
i did have problems using copy and paste from the server setup guide so i typed it all by hand in wordpad and saved it under all files type, as eqemu_config.xml


<?xml version="1.0">
<server>
<world>
<shortname>Zakktest</shortname>
<longname>Zakks Test</longname>

<address>192.168.0.10</address>
<localaddress>127.0.0.1</localaddress>

<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>

<key>some long random string</key>

<http port="9080" enabled="true" mimefile="mime.types" />
</world>

<database>
<host>localhost</host>
<post>3306</port>
<username>root</username>
<password></password>
<db>peq</db>
</database>
</server>

You have a typo. <post> should be <port>

megaddar
03-02-2009, 05:30 PM
nice, /grumbles :D

trevius
03-02-2009, 05:33 PM
First, it looks like you are trying to setup a public server, not a mini-login server, so you do not need to set the following settings:

<address>192.168.0.10</address>
<localaddress>127.0.0.1</localaddress>

You can delete those from your file completely. Setting those for a public server is almost always going to cause problems.

I didn't really see anything else that stands out, but if you typed it all by hand, there is almost certainly a typo somewhere! The config file you had to begin with should have already came with the required fields in it, so you shouldn't need to copy anything from the guide, just fill in those fields. Since you already changed that file, the best way may be to rename your current config file to something else and then rename the eqemu_config.xml.FULL file to eqemu_config.xml and edit the fields in it to the settings you want to set. It has more settings, but most of them can just be ignored. The only reason for 2 config files is because one is a simplified version and the other has more options for setting up stuff like a chat and mail server and more. They both do basically the same thing. The server will only load the file named eqemu_config.xml, so you didn't have to worry about the one having .FULL after the name.

EDIT: Derision beat me to the fix! But, you still do want to remove the address and localaddress section. Those should either be removed completely or commented out like they normally are.

megaddar
03-02-2009, 05:52 PM
yea that typo was the prob, it ran successfully that time.
i havent even tried the minilogin stuff yet. just wanted to see if i could actually get the thing working heh.

so world.exe ran, there was a bunch of errors of course, i need to fix the items db and eqtime.cfg, i noticed some posts about those somewhere.
there was a bunch of other random errors i saw.

so after that i ran eqgame.exe and successfully logged on my server publicly, character creation ran with no errors, but i could not get past that, in eqgame after character creation it tried putting me into mines of gloomingdeep and it told me that zone was unavailable. im sure i fudged up some more stuff elsewhere heh.

well time to go to work, ill mess around with it more later tonite.

thx for the help guys =)

megaddar
03-03-2009, 01:17 AM
ok so, after launching world.exe i find errors about not being able to load leaders, group, and raid tables. and a huge list of items database errors.

below the items list it says if there is a huge list of errors to source: "utils/items-0.60-DR2-0.6.1-DR1-convert.sql"

ive got no clue how to correct this..or how to 'source' said file..

is source short for sorcery? "I must source(ery) utils!" as i sprinkle diamond dust in a circle around me... :D

also im having a problem with eqlaunch.exe... it does not start after pressing enter, and when i try to run it manually it tells me "The application has failed to start because its side-by-side configuration is incorrect."

EnigmaEclipse
03-11-2009, 12:15 PM
what guide are you using?