Asterix 2 Posted February 15, 2019 Share Posted February 15, 2019 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 Share on other sites More sharing options...
Asterix 2 Posted February 15, 2019 Author Share Posted February 15, 2019 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 Link to comment Share on other sites More sharing options...
Developer Ikarus_ 2448 Posted February 15, 2019 Developer Share Posted February 15, 2019 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 Link to comment Share on other sites More sharing options...
Asterix 2 Posted February 15, 2019 Author Share Posted February 15, 2019 Yes of course, i used space between x and y in town.txt Link to comment Share on other sites More sharing options...
Developer Ikarus_ 2448 Posted February 15, 2019 Developer Share Posted February 15, 2019 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 Link to comment Share on other sites More sharing options...
Asterix 2 Posted February 15, 2019 Author Share Posted February 15, 2019 Other test: I used the coordinates of an already existing map of the same dimensions, obviously removing it from the cores. No results, always 0,0. Syslog empty Link to comment Share on other sites More sharing options...
Asterix 2 Posted February 15, 2019 Author Share Posted February 15, 2019 Uh, many thanks to Ikarus! In a hurry, I did not block the attribute at point 0.0. So remember to block the 0,0 point! Thanks again. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now