Jump to content

Recommended Posts

Hello everyone,
I have a small problem.
I made a map with the WE, and then generated the server.attr from the tool. 
I set the x, y coordinates multiple of 256, as it should normally be.
And I already checked that the coordinates are not in collision.

But when I transfer, the server does not read the coordinates from the town.txt, 
in fact it continues to bring me in the 0,0 coordinates.

What should I do?
Link to comment
https://metin2.dev/topic/20648-not-working-towntxt-coordinates/
Share on other sites

Server Part

metin2_map_infinitymonkey.rar

Setting.txt

ScriptType	MapSetting

CellScale	200
HeightScale	0.500000

ViewRadius	128

MapSize	3	4
BasePosition	563200	870400
TextureSet	textureset\infinitymonkey.txt
Environment	infinity_monkey.msenv

 

 

640 104

Town.txt

  • Developer

from web page i can't know what kind of character you have used to separate the coords.

you should use "space", can you confirm me that is space the character used?

My youtube channel  on which you can see my works here

  • Developer

ok so the next step is to debug the code to know what happen during the town.txt reading.

search:
 

sys_log( 0, "LoadMapRegion no empire specific start point" );

 

change like this:

sys_log( 0, "LoadMapRegion no empire specific start point ,map index %d  town coordinates x %d  y %d",r_setting.iIndex,iX,iY );

 

now when you starting the channel services that having the map index in the allow map list (config file) , you can read what was the read coordinates from the town.txt in the syslog file.

My youtube channel  on which you can see my works here

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.