• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved Need little explain about TFS 1.x source

I suspect max A-star map path nodes.
But it can be anything, as I have no idea where you took that line from

i said map.h from tfs source file

and this code from line 177 to line 180

Code:
        static const int32_t maxViewportX = 11; //min value: maxClientViewportX + 1
        static const int32_t maxViewportY = 11; //min value: maxClientViewportY + 1
        static const int32_t maxClientViewportX = 8;
        static const int32_t maxClientViewportY = 6;

if i changed to these values
Code:
        static const int32_t maxViewportX = 15; //min value: maxClientViewportX + 1
        static const int32_t maxViewportY = 15; //min value: maxClientViewportY + 1
        static const int32_t maxClientViewportX = 12;
        static const int32_t maxClientViewportY = 10;
will this change the vision of client ?
 
If I'm correct, if you map click anywhere and the distance is greater than 512 nodes (pathing draws nodes pretty much), it will cancel the pathing and say the distance is too far or whatever it says
 
Back
Top