[resolved] combine map

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


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.

veka
Peon
Peon
Posts: 23
Joined: 25 Feb 2009, 11:44
Location: France / Normandie
Contact:

[resolved] combine map

Post by veka »

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 28 Feb 2009, 16:06, edited 1 time in total.
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: combine map

Post by Jaxad0127 »

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

Re: combine map

Post by veka »

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: 25 Feb 2009, 11:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka »

up
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: combine map

Post by Jaxad0127 »

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: 25 Feb 2009, 11:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka »

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
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: combine map

Post by Jaxad0127 »

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: 25 Feb 2009, 11:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka »

User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: combine map

Post by Jaxad0127 »

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: 25 Feb 2009, 11:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka »

Yes loading works well.

I can change the first line and it works.

But not the second line that I add
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: combine map

Post by Jaxad0127 »

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

Re: combine map

Post by veka »

User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: combine map

Post by Jaxad0127 »

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: 25 Feb 2009, 11:44
Location: France / Normandie
Contact:

Re: combine map

Post by veka »

exact

I corrected all these small problem but does not work better

http://veka-server.dyndns.org/test/images/_warps.txt
User avatar
Jaxad0127
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: combine map

Post by Jaxad0127 »

Is the destination tile walkable?
Image
Post Reply