Problem getting custom map to run on my map server [was: hi]
Forum rules
This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.
Its current use is for the continued development of the server and game it has always served: TMW Classic.
-
- Novice
- Posts: 127
- Joined: 24 Jan 2009, 11:30
- Contact:
Problem getting custom map to run on my map server [was: hi]
hi im having trouble getting map-server to read my new map it just keeps saying map not found and removing map can u please help me thanks in advance
Emotional Warrior
Re: hi
Because you are not providing any info what you did to add the map to the map server, I can just guess into the blue which step you might have forgotten.
Did you generate a .wlk file for your map and place it in the directory where the other .wlk's can be found?
I also took the liberty to fix your subject. Next time please be a bit more descriptive than "hi".
Did you generate a .wlk file for your map and place it in the directory where the other .wlk's can be found?
I also took the liberty to fix your subject. Next time please be a bit more descriptive than "hi".
- 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.
-
- Novice
- Posts: 127
- Joined: 24 Jan 2009, 11:30
- Contact:
Re: Problem getting custom map to run on my map server [was:
sorry for the subject and this is what all i've done. I added the map into resnametable and also added a wlk format of the map into the data folder i went to npc added inport warp and mob txt files into a new folder that i named the map name and also went into conf/map_aethena.conf and typed,
//Maps
map: new_004-3.gat
the out look of the conf files shows this.
// eAthena Map-Server Configuration File
// Database autosave time, in seconds.
autosave_time: 60
// Message of the day file, when a character logs on, this message is displayed.
motd_txt: conf/motd.txt
// When @help or @h is typed when you are a gm, this is displayed for helping new gms understand gm commands.
help_txt: conf/help.txt
mapreg_txt: save/mapreg.txt
import: npc/scripts.conf
gm_log: gm.log
// local settings for this server in this file
import: conf/map_local.conf
//Maps
map: new_004-3.gat
and when i start map server i get this
"data/new_004-3.gat not found
removing map [ new_004-3.gat ] from map list"
//Maps
map: new_004-3.gat
the out look of the conf files shows this.
// eAthena Map-Server Configuration File
// Database autosave time, in seconds.
autosave_time: 60
// Message of the day file, when a character logs on, this message is displayed.
motd_txt: conf/motd.txt
// When @help or @h is typed when you are a gm, this is displayed for helping new gms understand gm commands.
help_txt: conf/help.txt
mapreg_txt: save/mapreg.txt
import: npc/scripts.conf
gm_log: gm.log
// local settings for this server in this file
import: conf/map_local.conf
//Maps
map: new_004-3.gat
and when i start map server i get this
"data/new_004-3.gat not found
removing map [ new_004-3.gat ] from map list"
Emotional Warrior
Re: Problem getting custom map to run on my map server [was:
Did you also add an entry in /data/resnametable.txt
this file is with all the other .wlk files. Not adding the appropriate entry will cause the map server error msg you got. Open up the file and you should easily be able to figure out what you need to add for the new map. Just copy the format used for all the other maps.
this file is with all the other .wlk files. Not adding the appropriate entry will cause the map server error msg you got. Open up the file and you should easily be able to figure out what you need to add for the new map. Just copy the format used for all the other maps.
-
- Novice
- Posts: 127
- Joined: 24 Jan 2009, 11:30
- Contact:
Re: Problem getting custom map to run on my map server [was:
001-1.gat#001-1.wlk#
001-2.gat#001-2.wlk#
001-3.gat#001-3.wlk#
001-4.gat#001-4.wlk#
002-1.gat#002-1.wlk#
002-2.gat#002-2.wlk#
002-3.gat#002-3.wlk#
002-4.gat#002-4.wlk#
003-1.gat#003-1.wlk#
003-2.gat#003-2.wlk#
004-1.gat#004-1.wlk#
004-2.gat#004-2.wlk#
004-3.gat#004-3.wlk#
005-1.gat#005-1.wlk#
005-3.gat#005-3.wlk#
006-1.gat#006-1.wlk#
006-3.gat#006-3.wlk#
007-1.gat#007-1.wlk#
008-1.gat#008-1.wlk#
009-1.gat#009-1.wlk#
009-2.gat#009-2.wlk#
009-3.gat#009-3.wlk#
010-1.gat#010-1.wlk#
010-2.gat#010-2.wlk#
011-1.gat#011-1.wlk#
011-3.gat#011-3.wlk#
011-4.gat#011-4.wlk#
011-5.gat#011-5.wlk#
012-1.gat#012-1.wlk#
012-3.gat#012-3.wlk#
012-4.gat#012-4.wlk#
013-1.gat#013-1.wlk#
013-2.gat#013-2.wlk#
013-3.gat#013-3.wlk#
014-1.gat#014-1.wlk#
014-3.gat#014-3.wlk#
015-1.gat#015-1.wlk#
015-3.gat#015-3.wlk#
016-1.gat#016-1.wlk#
017-1.gat#017-1.wlk#
017-2.gat#017-2.wlk#
017-9.gat#017-9.wlk#
018-1.gat#018-1.wlk#
018-2.gat#018-2.wlk#
018-3.gat#018-3.wlk#
019-1.gat#019-1.wlk#
020-1.gat#020-1.wlk#
020-2.gat#020-2.wlk#
020-3.gat#020-3.wlk#
020-4.gat#020-4.wlk#
021-1.gat#021-1.wlk#
021-2.gat#021-2.wlk#
021-8.gat#021-8.wlk#
022-1.gat#022-1.wlk#
023-1.gat#023-1.wlk#
024-1.gat#024-1.wlk#
024-2.gat#024-2.wlk#
025-1.gat#025-1.wlk#
026-1.gat#026-1.wlk#
027-1.gat#027-1.wlk#
027-2.gat#027-2.wlk#
028-1.gat#028-1.wlk#
028-3.gat#028-3.wlk#
029-1.gat#029-1.wlk#
029-3.gat#029-3.wlk#
botcheck.gat#botcheck.wlk#
004-3 part is the new file i added as said before i did add it there too
001-2.gat#001-2.wlk#
001-3.gat#001-3.wlk#
001-4.gat#001-4.wlk#
002-1.gat#002-1.wlk#
002-2.gat#002-2.wlk#
002-3.gat#002-3.wlk#
002-4.gat#002-4.wlk#
003-1.gat#003-1.wlk#
003-2.gat#003-2.wlk#
004-1.gat#004-1.wlk#
004-2.gat#004-2.wlk#
004-3.gat#004-3.wlk#
005-1.gat#005-1.wlk#
005-3.gat#005-3.wlk#
006-1.gat#006-1.wlk#
006-3.gat#006-3.wlk#
007-1.gat#007-1.wlk#
008-1.gat#008-1.wlk#
009-1.gat#009-1.wlk#
009-2.gat#009-2.wlk#
009-3.gat#009-3.wlk#
010-1.gat#010-1.wlk#
010-2.gat#010-2.wlk#
011-1.gat#011-1.wlk#
011-3.gat#011-3.wlk#
011-4.gat#011-4.wlk#
011-5.gat#011-5.wlk#
012-1.gat#012-1.wlk#
012-3.gat#012-3.wlk#
012-4.gat#012-4.wlk#
013-1.gat#013-1.wlk#
013-2.gat#013-2.wlk#
013-3.gat#013-3.wlk#
014-1.gat#014-1.wlk#
014-3.gat#014-3.wlk#
015-1.gat#015-1.wlk#
015-3.gat#015-3.wlk#
016-1.gat#016-1.wlk#
017-1.gat#017-1.wlk#
017-2.gat#017-2.wlk#
017-9.gat#017-9.wlk#
018-1.gat#018-1.wlk#
018-2.gat#018-2.wlk#
018-3.gat#018-3.wlk#
019-1.gat#019-1.wlk#
020-1.gat#020-1.wlk#
020-2.gat#020-2.wlk#
020-3.gat#020-3.wlk#
020-4.gat#020-4.wlk#
021-1.gat#021-1.wlk#
021-2.gat#021-2.wlk#
021-8.gat#021-8.wlk#
022-1.gat#022-1.wlk#
023-1.gat#023-1.wlk#
024-1.gat#024-1.wlk#
024-2.gat#024-2.wlk#
025-1.gat#025-1.wlk#
026-1.gat#026-1.wlk#
027-1.gat#027-1.wlk#
027-2.gat#027-2.wlk#
028-1.gat#028-1.wlk#
028-3.gat#028-3.wlk#
029-1.gat#029-1.wlk#
029-3.gat#029-3.wlk#
botcheck.gat#botcheck.wlk#
004-3 part is the new file i added as said before i did add it there too
Emotional Warrior
Re: Problem getting custom map to run on my map server [was:
You do not have to add anything to map_aethena.conf
The problem is that you named the map new_004-3.gat and your entry in the walk file is just 004-3.gat. So you should have put
new_004-3.gat#new_004-3.wlk#
that is why it is not registering the map and causing the error as I said. I went through the same thing when I added a map that didn't have the usual name format.
The problem is that you named the map new_004-3.gat and your entry in the walk file is just 004-3.gat. So you should have put
new_004-3.gat#new_004-3.wlk#
that is why it is not registering the map and causing the error as I said. I went through the same thing when I added a map that didn't have the usual name format.
-
- Novice
- Posts: 127
- Joined: 24 Jan 2009, 11:30
- Contact:
Re: Problem getting custom map to run on my map server [was:
the files name is 004-3 and so is the wlk file and i trying that now its not showing that map at all on map-server
Emotional Warrior
Re: Problem getting custom map to run on my map server [was:
Earlier, you wrote thatshannonbrimer wrote:the files name is 004-3 and so is the wlk file and i trying that now its not showing that map at all on map-server
It looks like you changed the filename at some point and just missed one line in map_eathena.conf.shannonbrimer wrote:...went into conf/map_aethena.conf and typed,
<snip>
gm_log: gm.log
<snip>
//Maps
map: new_004-3.gat
and when i start map server i get this
"data/new_004-3.gat not found
removing map [ new_004-3.gat ] from map list"
I've gotten tripped up in the same way plenty of times.
You earn respect by how you live, not by what you demand.
-unknown
-unknown
-
- Novice
- Posts: 127
- Joined: 24 Jan 2009, 11:30
- Contact:
Re: Problem getting custom map to run on my map server [was:
yes i know i said that i said it cus i read a post saying when u add new map u need to add the map in map aethena starting with the word new
Emotional Warrior
Re: Problem getting custom map to run on my map server [was:
I didn't know you could define a map in conf/map_aethena.conf. After reviewing the proceduce I guess it makes sense, HOWEVER, its standard procedure to define it inside /npc/mapname/_import.txt
So here is what I found out by doing some thorough testing. You probably didn't add an entry to /npc/_import.txt, or there is a pathname error inside npc/mapname/_import.txt. If the corresponding npc folder isn't being added, the map server skips adding the map (see 5 and 6 below). If you add the map reference in map_aethena.conf, it will be listed by the map server but not function properly. If the map name used in map_aethena.conf does not match the one you used in data/resnametable.txt then you will get the failed to load map error you got. I suggest removing the entry in map_aethena.conf, as this might cause errors later. I know I am not being too clear, so here is the process I use to add maps to the server
1. place the .wlk file in /data/
2. add entry in /data/resnametable.txt (links the walk file to the map reference mapname.gat)
3. in /npc/ create a new empty folder with a helpful name for the map I just made (ex: npc/mymap/)
4. inside the new folder, add empty files: _import.txt, _warps.txt, _mobs.txt
5. inside _import.txt
i) add map: name.gat
ii) add import statements for _warp and _mobs (adds the instructions inside them to the list, see 6)
6. add an entry in /npc/_import.txt (this file runs when the server starts and in turn causes all the instructions in /npc/mymap/_import.txt to be called - without it you get nothing)
now that the bare bones is done I make sure everything runs before I add additional script.txt files with corresponding entries in /mymap/_import.txt and fill in _mobs.txt and _warps.txt as needed.
So here is what I found out by doing some thorough testing. You probably didn't add an entry to /npc/_import.txt, or there is a pathname error inside npc/mapname/_import.txt. If the corresponding npc folder isn't being added, the map server skips adding the map (see 5 and 6 below). If you add the map reference in map_aethena.conf, it will be listed by the map server but not function properly. If the map name used in map_aethena.conf does not match the one you used in data/resnametable.txt then you will get the failed to load map error you got. I suggest removing the entry in map_aethena.conf, as this might cause errors later. I know I am not being too clear, so here is the process I use to add maps to the server
1. place the .wlk file in /data/
2. add entry in /data/resnametable.txt (links the walk file to the map reference mapname.gat)
3. in /npc/ create a new empty folder with a helpful name for the map I just made (ex: npc/mymap/)
4. inside the new folder, add empty files: _import.txt, _warps.txt, _mobs.txt
5. inside _import.txt
i) add map: name.gat
ii) add import statements for _warp and _mobs (adds the instructions inside them to the list, see 6)
6. add an entry in /npc/_import.txt (this file runs when the server starts and in turn causes all the instructions in /npc/mymap/_import.txt to be called - without it you get nothing)
now that the bare bones is done I make sure everything runs before I add additional script.txt files with corresponding entries in /mymap/_import.txt and fill in _mobs.txt and _warps.txt as needed.
-
- Novice
- Posts: 127
- Joined: 24 Jan 2009, 11:30
- Contact:
Re: Problem getting custom map to run on my map server [was:
i done all that i tryed somthing new be going to map aethena.conf and doing this
// eAthena Map-Server Configuration File
// Database autosave time, in seconds.
autosave_time: 60
// Message of the day file, when a character logs on, this message is displayed.
motd_txt: conf/motd.txt
// When @help or @h is typed when you are a gm, this is displayed for helping new gms understand gm commands.
help_txt: conf/help.txt
mapreg_txt: save/mapreg.txt
import: npc/scripts.conf
gm_log: gm.log
// local settings for this server in this file
import: conf/map_local.conf
//Maps
map: 004-3.gat
the last two lines are what i added and map-server was runing until it got threw loading all maps then shut off i used command prompt to see the error and i got
this as the error :map configuration file not found at: conf/map_athena.conf.
i have that file but its not reading right
// eAthena Map-Server Configuration File
// Database autosave time, in seconds.
autosave_time: 60
// Message of the day file, when a character logs on, this message is displayed.
motd_txt: conf/motd.txt
// When @help or @h is typed when you are a gm, this is displayed for helping new gms understand gm commands.
help_txt: conf/help.txt
mapreg_txt: save/mapreg.txt
import: npc/scripts.conf
gm_log: gm.log
// local settings for this server in this file
import: conf/map_local.conf
//Maps
map: 004-3.gat
the last two lines are what i added and map-server was runing until it got threw loading all maps then shut off i used command prompt to see the error and i got
this as the error :map configuration file not found at: conf/map_athena.conf.
i have that file but its not reading right
Emotional Warrior
Re: Problem getting custom map to run on my map server [was:
had you maked a update with the map ?
Its blue like the sea.
-
- Novice
- Posts: 127
- Joined: 24 Jan 2009, 11:30
- Contact:
Re: Problem getting custom map to run on my map server [was:
no i dont know how to make a update using windows and didnt know u needed to
Emotional Warrior
Re: Problem getting custom map to run on my map server [was:
Reading some of the other posts by natsuki3 should tell you that that person is pretty clueless and is thus better ignored.
Instead you should rather listen to nmaligec and remove the map declaration from conf/map_athena.conf. What the parser is trying to tell you with "map configuration file not found at: conf/map_athena.conf" is not that the file conf/map_athena.conf wasn't found, but that a map configuration file referenced by conf/map_athena.conf wasn't found. It very likely means the line "map: 004-3.gat" you've added.
Remove everything you've changed and follow the instructions by nmaligec.
Instead you should rather listen to nmaligec and remove the map declaration from conf/map_athena.conf. What the parser is trying to tell you with "map configuration file not found at: conf/map_athena.conf" is not that the file conf/map_athena.conf wasn't found, but that a map configuration file referenced by conf/map_athena.conf wasn't found. It very likely means the line "map: 004-3.gat" you've added.
Remove everything you've changed and follow the instructions by nmaligec.
- 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.
-
- Novice
- Posts: 127
- Joined: 24 Jan 2009, 11:30
- Contact:
Re: Problem getting custom map to run on my map server [was:
this is what i done so far to try adding the map to my server.
in data folder i added the 004-3.wlk
in resnametable i added 004-3.gat#004-3.wlk#
in npc folder i added a 004-3 folder and added
_import.txt
_mobs.txt
_warps.txt
in _import.txt i added
map: 004-3.gat
npc: npc/004-3/_mobs.txt
npc: npc/004-3/_warps.txt
in _mobs.txt i added
// 004-3 battlefield mobs
in _warps.txt i added
// 004-3 battlefield warps
thats everything i done so far and still nothing has happened and now the map-server isn't getting the 004-3 map its nothing even showing it when i start up the map-server.
in data folder i added the 004-3.wlk
in resnametable i added 004-3.gat#004-3.wlk#
in npc folder i added a 004-3 folder and added
_import.txt
_mobs.txt
_warps.txt
in _import.txt i added
map: 004-3.gat
npc: npc/004-3/_mobs.txt
npc: npc/004-3/_warps.txt
in _mobs.txt i added
// 004-3 battlefield mobs
in _warps.txt i added
// 004-3 battlefield warps
thats everything i done so far and still nothing has happened and now the map-server isn't getting the 004-3 map its nothing even showing it when i start up the map-server.
Emotional Warrior