allanet
Member
- Joined
- Jan 20, 2012
- Messages
- 19
- Reaction score
- 9
I'm been trying to remove the speed cap (at least with mouse clicking) without success.
I want that when someone click on minimap, he will be almost instantly there. On old SVN (XML) servers works that way, but in TFS there's a speed cap.
I'm using TFS 0.4
I tried to increase max_speed on player.h
But even if the player have 25000 speed there's a speed cap (there a slight delay between tiles).
Result: players level 100k have the same speed as level 500k.
I've tried to remove this delay in creature.cpp and player.h and player.cpp without success.
Sources: mattyx14/otxserver (https://github.com/mattyx14/otxserver/tree/otxserv2/path_8_6x)
I want that when someone click on minimap, he will be almost instantly there. On old SVN (XML) servers works that way, but in TFS there's a speed cap.
I'm using TFS 0.4
I tried to increase max_speed on player.h
C++:
#define PLAYER_MAX_SPEED 25000
But even if the player have 25000 speed there's a speed cap (there a slight delay between tiles).
Result: players level 100k have the same speed as level 500k.
I've tried to remove this delay in creature.cpp and player.h and player.cpp without success.
Sources: mattyx14/otxserver (https://github.com/mattyx14/otxserver/tree/otxserv2/path_8_6x)