[resolved] combine map

Content and general development discussion, including maps, quests, and server code from the development team.
veka
Peon
Peon
Posts: 23
Joined: Wed Feb 25, 2009 12:44 pm
Location: France / Normandie
Contact:

[resolved] combine map

Post by veka » Thu Feb 26, 2009 6:00 pm

Hi all,

I am looking how to combine the map between them.
but I can not find the solution anywhere.

can you help me?
Last edited by veka on Sat Feb 28, 2009 5:06 pm, edited 1 time in total.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: combine map

Post by Jaxad0127 » Thu Feb 26, 2009 6:16 pm

Can you be more descriptive?
Image
veka
Peon
Peon
Posts: 23
Joined: Wed Feb 25, 2009 12:44 pm
Location: France / Normandie
Contact:

Re: combine map

Post by veka » Thu Feb 26, 2009 6:28 pm

so sorry for the way I talk

I created 2 maps.
I would like to know how to make that my character can go from map 1 to map 2.

Image
veka
Peon
Peon
Posts: 23
Joined: Wed Feb 25, 2009 12:44 pm
Location: France / Normandie
Contact:

Re: combine map

Post by veka » Fri Feb 27, 2009 2:30 pm

up
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: combine map

Post by Jaxad0127 » Fri Feb 27, 2009 2:47 pm

You need to define warps for them. Notice in our server data files, there are _warps.txt files that contain warp statements. You need to have those. We've documented the format for those statements here: http://wiki.themanaworld.org/index.php/ ... ap_Objects.
Image
veka
Peon
Peon
Posts: 23
Joined: Wed Feb 25, 2009 12:44 pm
Location: France / Normandie
Contact:

Re: combine map

Post by veka » Fri Feb 27, 2009 5:34 pm

Thank you,

I can modify an existing line.

But I can not create a line.

Do you have an explanation?

OK Line :
021-1.gat,50,43 warp toBazaar -1,3,001-1.gat,44,20

don't OK Line :
021-1.gat,40,43 warp toBazaar -1,3,001-1.gat,51,22
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: combine map

Post by Jaxad0127 » Fri Feb 27, 2009 6:19 pm

Note that you need tabs (actual tabs, not just spaces):
021-1.gat,40,43 <tab> warp <tab> toBazaar <tab> -1,3,001-1.gat,51,22
Image
veka
Peon
Peon
Posts: 23
Joined: Wed Feb 25, 2009 12:44 pm
Location: France / Normandie
Contact:

Re: combine map

Post by veka » Fri Feb 27, 2009 6:34 pm

User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: combine map

Post by Jaxad0127 » Fri Feb 27, 2009 7:01 pm

Is that file being loaded? In out setup, the map configuration file loads npc/_import.txt, which loads npc/(map)/_import.txt, which has the npc: npc/(map)/_warps.txt entry (which is the most important, as it tell the server to parse that file).
Image
veka
Peon
Peon
Posts: 23
Joined: Wed Feb 25, 2009 12:44 pm
Location: France / Normandie
Contact:

Re: combine map

Post by veka » Fri Feb 27, 2009 7:11 pm

Yes loading works well.

I can change the first line and it works.

But not the second line that I add
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: combine map

Post by Jaxad0127 » Fri Feb 27, 2009 7:16 pm

You have 2 tabs after toVeka. You need one tab.
Image
veka
Peon
Peon
Posts: 23
Joined: Wed Feb 25, 2009 12:44 pm
Location: France / Normandie
Contact:

Re: combine map

Post by veka » Fri Feb 27, 2009 7:22 pm

User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: combine map

Post by Jaxad0127 » Fri Feb 27, 2009 7:25 pm

You seem to have two tabs after 021-1.gat,40,43, though it seems to work fine for the first line....
Image
veka
Peon
Peon
Posts: 23
Joined: Wed Feb 25, 2009 12:44 pm
Location: France / Normandie
Contact:

Re: combine map

Post by veka » Fri Feb 27, 2009 7:29 pm

exact

I corrected all these small problem but does not work better

http://veka-server.dyndns.org/test/images/_warps.txt
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: combine map

Post by Jaxad0127 » Fri Feb 27, 2009 7:36 pm

Is the destination tile walkable?
Image
Post Reply