[root@localhost bin]# ./tmwserv-account
[12:19:08] [INF] The Mana World Account+Chat Server v0.0.1
[12:19:08] [INF] Using config file: /root/.tmwserv.xml
[12:19:08] [INF] Using log file: /root/.tmwserv-account.log
[12:19:08] [INF] Trying to connect with SQLite database file 'tmw.db'
[12:19:08] [INF] Connection to database successful.
I/O warning : failed to load external entity "data/items.xml"
[12:19:08] [ERR] Item Manager: Error while parsing item database (items.xml)!
[12:19:08] [INF] Account handler started:
[12:19:08] [INF] Listening on port 9601...
[12:19:08] [INF] Game server handler started:
[12:19:08] [INF] Listening on port 9602...
[12:19:08] [INF] Chat handler started:
[12:19:08] [INF] Listening on port 9603...
I just cloned
TMW server data git://gitorious.org/tmwserv-data/mainline.git
TMW server git://gitorious.org/tmwserv/mainline.git
TMW server data should have the items.xml file but ls just gives:
ls
COPYING items.xsd maps.xml runes.xml scripts
Where is items.xml for tmwserv-account?
Re: Where is items.xml for tmwserv-account?
The item db, monster db, maps, and a few other files, are in the client data repository.
Re: Where is items.xml for tmwserv-account?
I find it kind of cumbersome that you have to collect files from three different repositories to set up TMWServ (plus all the files you have to set up manually like the database and the tmwserv.xml). We should look for a more comfortable way to create a basic setup when we want to get TMWServ in an useable state. But this is like point 109845 of 112592 on the TMWServ ToDo list.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Re: Where is items.xml for tmwserv-account?
We tried making tmwserv-data a subproject, but it didn't work out too well.
Re: Where is items.xml for tmwserv-account?
Finally got it I think.
Seem to be pointing all around the place.
drwxr-xr-x 2 root root 4096 2009-03-31 16:44 .
drwxr-xr-x 13 root root 4096 2009-03-11 19:15 ..
-rwxr-xr-x 1 root root 5917987 2009-03-11 19:03 ccmake
-rwxr-xr-x 1 root root 5810265 2009-03-11 19:03 cmake
-rwxr-xr-x 1 root root 6260420 2009-03-11 19:03 cpack
-rwxr-xr-x 1 root root 6938618 2009-03-11 19:03 ctest
-rwxr-xr-x 1 root root 116517 2009-03-25 14:22 curl
-rwxr-xr-x 1 root root 4220 2009-03-25 14:22 curl-config
lrwxrwxrwx 1 root root 36 2009-03-31 13:21 data -> /home/niacctesting/tmw/tmwclientdata
lrwxrwxrwx 1 root root 46 2009-03-31 13:25 items.xml -> /home/niacctesting/tmw/tmwclientdata/items.xml
lrwxrwxrwx 1 root root 49 2009-03-31 13:24 monsters.xml -> /home/niacctesting/tmw/tmwclientdata/monsters.xml
-rwxr-xr-x 1 root root 1249 2009-03-25 15:27 sdl-config
-rwxr-xr-x 1 root root 33327 2009-03-25 14:10 test_physfs
-rwxr-xr-x 1 root root 11848700 2009-03-31 12:10 tmw
lrwxrwxrwx 1 root root 30 2009-03-31 13:30 tmwdata -> /home/niacctesting/tmw/tmwdata
-rw-r--r-- 1 root root 112640 2009-03-31 16:35 tmw.db
-rwxr-xr-x 1 root root 2820977 2009-03-27 14:03 tmwserv-account
-rwxr-xr-x 1 root root 4510979 2009-03-27 14:03 tmwserv-game
-rw-r--r-- 1 root root 2160 2009-03-27 14:13 tmwserv.xml
-rwxr-xr-x 1 root root 1629 2009-03-25 14:05 xml2-config
-rwxr-xr-x 1 root root 24303 2009-03-25 14:05 xmlcatalog
-rwxr-xr-x 1 root root 114867 2009-03-25 14:05 xmllint
Seem to be pointing all around the place.
drwxr-xr-x 2 root root 4096 2009-03-31 16:44 .
drwxr-xr-x 13 root root 4096 2009-03-11 19:15 ..
-rwxr-xr-x 1 root root 5917987 2009-03-11 19:03 ccmake
-rwxr-xr-x 1 root root 5810265 2009-03-11 19:03 cmake
-rwxr-xr-x 1 root root 6260420 2009-03-11 19:03 cpack
-rwxr-xr-x 1 root root 6938618 2009-03-11 19:03 ctest
-rwxr-xr-x 1 root root 116517 2009-03-25 14:22 curl
-rwxr-xr-x 1 root root 4220 2009-03-25 14:22 curl-config
lrwxrwxrwx 1 root root 36 2009-03-31 13:21 data -> /home/niacctesting/tmw/tmwclientdata
lrwxrwxrwx 1 root root 46 2009-03-31 13:25 items.xml -> /home/niacctesting/tmw/tmwclientdata/items.xml
lrwxrwxrwx 1 root root 49 2009-03-31 13:24 monsters.xml -> /home/niacctesting/tmw/tmwclientdata/monsters.xml
-rwxr-xr-x 1 root root 1249 2009-03-25 15:27 sdl-config
-rwxr-xr-x 1 root root 33327 2009-03-25 14:10 test_physfs
-rwxr-xr-x 1 root root 11848700 2009-03-31 12:10 tmw
lrwxrwxrwx 1 root root 30 2009-03-31 13:30 tmwdata -> /home/niacctesting/tmw/tmwdata
-rw-r--r-- 1 root root 112640 2009-03-31 16:35 tmw.db
-rwxr-xr-x 1 root root 2820977 2009-03-27 14:03 tmwserv-account
-rwxr-xr-x 1 root root 4510979 2009-03-27 14:03 tmwserv-game
-rw-r--r-- 1 root root 2160 2009-03-27 14:13 tmwserv.xml
-rwxr-xr-x 1 root root 1629 2009-03-25 14:05 xml2-config
-rwxr-xr-x 1 root root 24303 2009-03-25 14:05 xmlcatalog
-rwxr-xr-x 1 root root 114867 2009-03-25 14:05 xmllint
Re: Where is items.xml for tmwserv-account?
Not quite. items.xml and monsters.xml should be in data. data should have a sub folder that points to the client data's map folder.
Re: Where is items.xml for tmwserv-account?
Yeah, my bad I forgot to remove some sym links
Cleaned Up
Inside bin directory /usr/local/bin
Files Needed:
tmwserv-account
tmwserv-game
tmwserv.xml
tmw.db
Sym Links Needed: (data directory pointing to the client data)
data -> /home/niacctesting/tmw/tmwclientdata
Next the client data directory
Sym Links Needed:
# maps.xml pointing to Server Data Directory
maps.xml -> /home/niacctesting/tmw/tmwdata/maps.xml
# scripts pointing to Server Data directory
scripts -> /home/niacctesting/tmw/tmwdata/scripts
Am I missing anything?
Cleaned Up
Inside bin directory /usr/local/bin
Files Needed:
tmwserv-account
tmwserv-game
tmwserv.xml
tmw.db
Sym Links Needed: (data directory pointing to the client data)
data -> /home/niacctesting/tmw/tmwclientdata
Code: Select all
drwxr-xr-x 2 root root 4096 2009-03-31 17:41 .
drwxr-xr-x 13 root root 4096 2009-03-11 19:15 ..
-rwxr-xr-x 1 root root 5917987 2009-03-11 19:03 ccmake
-rwxr-xr-x 1 root root 5810265 2009-03-11 19:03 cmake
-rwxr-xr-x 1 root root 6260420 2009-03-11 19:03 cpack
-rwxr-xr-x 1 root root 6938618 2009-03-11 19:03 ctest
-rwxr-xr-x 1 root root 116517 2009-03-25 14:22 curl
-rwxr-xr-x 1 root root 4220 2009-03-25 14:22 curl-config
lrwxrwxrwx 1 root root 36 2009-03-31 13:21 data -> /home/niacctesting/tmw/tmwclientdata
-rwxr-xr-x 1 root root 1249 2009-03-25 15:27 sdl-config
-rwxr-xr-x 1 root root 33327 2009-03-25 14:10 test_physfs
-rwxr-xr-x 1 root root 11848700 2009-03-31 12:10 tmw
-rw-r--r-- 1 root root 112640 2009-03-31 17:41 tmw.db
-rwxr-xr-x 1 root root 2820977 2009-03-27 14:03 tmwserv-account
-rwxr-xr-x 1 root root 4510979 2009-03-27 14:03 tmwserv-game
-rw-r--r-- 1 root root 2160 2009-03-27 14:13 tmwserv.xml
-rwxr-xr-x 1 root root 1629 2009-03-25 14:05 xml2-config
-rwxr-xr-x 1 root root 24303 2009-03-25 14:05 xmlcatalog
-rwxr-xr-x 1 root root 114867 2009-03-25 14:05 xmllint
Sym Links Needed:
# maps.xml pointing to Server Data Directory
maps.xml -> /home/niacctesting/tmw/tmwdata/maps.xml
# scripts pointing to Server Data directory
scripts -> /home/niacctesting/tmw/tmwdata/scripts
Code: Select all
drwxr-xr-x 6 niacctesting niacctesting 4096 2009-03-31 13:45 .
drwxrwxr-x 6 niacctesting niacctesting 4096 2009-03-31 13:19 ..
-rw-rw-r-- 1 niacctesting niacctesting 18009 2009-03-31 13:20 COPYING
-rw-rw-r-- 1 niacctesting niacctesting 2390 2009-03-31 13:20 effects.xml
-rw-rw-r-- 1 niacctesting niacctesting 1092 2009-03-31 13:20 emotes.xml
drwxrwxr-x 8 niacctesting niacctesting 4096 2009-03-31 13:20 .git
drwxrwxr-x 8 niacctesting niacctesting 4096 2009-03-31 13:20 graphics
-rw-rw-r-- 1 niacctesting niacctesting 752 2009-03-31 13:20 hair.xml
-rw-rw-r-- 1 niacctesting niacctesting 133220 2009-03-31 13:20 items.xml
-rw-rw-r-- 1 niacctesting niacctesting 1419 2009-03-31 13:20 items.xsd
-rw-rw-r-- 1 niacctesting niacctesting 1591 2009-03-31 13:20 items.xsl
-rw-rw-r-- 1 niacctesting niacctesting 124 2009-03-31 13:20 .mailmap
drwxrwxr-x 2 niacctesting niacctesting 4096 2009-03-31 13:20 maps
lrwxrwxrwx 1 root root 39 2009-03-31 13:40 maps.xml -> /home/niacctesting/tmw/tmwdata/maps.xml
-rw-rw-r-- 1 niacctesting niacctesting 26221 2009-03-31 13:20 monsters.xml
-rw-rw-r-- 1 niacctesting niacctesting 7575 2009-03-31 13:20 npcs.xml
lrwxrwxrwx 1 root root 38 2009-03-31 13:44 scripts -> /home/niacctesting/tmw/tmwdata/scripts
drwxrwxr-x 2 niacctesting niacctesting 4096 2009-03-31 13:20 sfx
-rw-rw-r-- 1 niacctesting niacctesting 394 2009-03-31 13:20 skills.xml
-rw-rw-r-- 1 niacctesting niacctesting 1628 2009-03-31 13:20 status-effects.xml
-rw-rw-r-- 1 niacctesting niacctesting 212 2009-03-31 13:20 units.xml