Jump to content

Not working town.txt coordinates


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
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • 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

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.