Problem getting custom map to run on my map server [was: hi]

Content and general development discussion, including maps, quests, and server code from the development team.
shannonbrimer
Novice
Novice
Posts: 127
Joined: Sat Jan 24, 2009 12:30 pm
Contact:

Problem getting custom map to run on my map server [was: hi]

Post by shannonbrimer » Mon Dec 20, 2010 4:39 am

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
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: hi

Post by Crush » Mon Dec 20, 2010 7:21 am

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".
  • 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.
shannonbrimer
Novice
Novice
Posts: 127
Joined: Sat Jan 24, 2009 12:30 pm
Contact:

Re: Problem getting custom map to run on my map server [was:

Post by shannonbrimer » Mon Dec 20, 2010 9:10 am

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"
Emotional Warrior
nmaligec
Novice
Novice
Posts: 253
Joined: Thu Apr 08, 2010 2:55 am

Re: Problem getting custom map to run on my map server [was:

Post by nmaligec » Mon Dec 20, 2010 3:27 pm

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.
shannonbrimer
Novice
Novice
Posts: 127
Joined: Sat Jan 24, 2009 12:30 pm
Contact:

Re: Problem getting custom map to run on my map server [was:

Post by shannonbrimer » Mon Dec 20, 2010 10:16 pm

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
Emotional Warrior
nmaligec
Novice
Novice
Posts: 253
Joined: Thu Apr 08, 2010 2:55 am

Re: Problem getting custom map to run on my map server [was:

Post by nmaligec » Tue Dec 21, 2010 2:56 am

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.
shannonbrimer
Novice
Novice
Posts: 127
Joined: Sat Jan 24, 2009 12:30 pm
Contact:

Re: Problem getting custom map to run on my map server [was:

Post by shannonbrimer » Tue Dec 21, 2010 3:35 am

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
Frost
TMW Adviser
TMW Adviser
Posts: 851
Joined: Thu Sep 09, 2010 7:20 am
Location: California, USA

Re: Problem getting custom map to run on my map server [was:

Post by Frost » Tue Dec 21, 2010 4:35 am

shannonbrimer 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
Earlier, you wrote that
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"
It looks like you changed the filename at some point and just missed one line in map_eathena.conf.
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
shannonbrimer
Novice
Novice
Posts: 127
Joined: Sat Jan 24, 2009 12:30 pm
Contact:

Re: Problem getting custom map to run on my map server [was:

Post by shannonbrimer » Tue Dec 21, 2010 4:41 am

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
nmaligec
Novice
Novice
Posts: 253
Joined: Thu Apr 08, 2010 2:55 am

Re: Problem getting custom map to run on my map server [was:

Post by nmaligec » Tue Dec 21, 2010 5:35 am

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.
shannonbrimer
Novice
Novice
Posts: 127
Joined: Sat Jan 24, 2009 12:30 pm
Contact:

Re: Problem getting custom map to run on my map server [was:

Post by shannonbrimer » Tue Dec 21, 2010 7:11 am

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
Emotional Warrior
User avatar
natsuki3
Novice
Novice
Posts: 222
Joined: Sun Jul 04, 2010 6:32 pm
Location: /bin/manaplus

Re: Problem getting custom map to run on my map server [was:

Post by natsuki3 » Tue Dec 21, 2010 1:33 pm

had you maked a update with the map ?
Its blue like the sea.
shannonbrimer
Novice
Novice
Posts: 127
Joined: Sat Jan 24, 2009 12:30 pm
Contact:

Re: Problem getting custom map to run on my map server [was:

Post by shannonbrimer » Tue Dec 21, 2010 6:15 pm

no i dont know how to make a update using windows and didnt know u needed to
Emotional Warrior
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: Problem getting custom map to run on my map server [was:

Post by Crush » Tue Dec 21, 2010 6:38 pm

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.
  • 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.
shannonbrimer
Novice
Novice
Posts: 127
Joined: Sat Jan 24, 2009 12:30 pm
Contact:

Re: Problem getting custom map to run on my map server [was:

Post by shannonbrimer » Tue Dec 21, 2010 9:43 pm

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.
Emotional Warrior
Post Reply