directly in items.xml i guess? floorchange attribute then u have lib or globals or in actions that define stairs / ladders in tableWhere in the sources is floorchange handled? It seems in my 1.4 version after the player moves up or down stairs their direction is opposite from what it should be.
Direction getDirectionTo(const Position& from, const Position& to)
int32_t x_offset = to.getOffsetX(from);
int32_t y_offset = to.getOffsetY(from);
int32_t x_offset = from.getOffsetX(to);
int32_t y_offset = from.getOffsetY(to);
Just want to note I did apply these and two of those fixes are opposite and need to be reversed. I believe it is: updateLookDirection and getDirectionTo.yep, for future readers:
![]()
Fix inverted positions introduced in #4648 (#4674) · otland/forgottenserver@a8afbd4
A free and open-source MMORPG server emulator written in C++ - Fix inverted positions introduced in #4648 (#4674) · otland/forgottenserver@a8afbd4github.com
its not first time any "feature" is put on the forum with 20 different commits all scattered around so that people eventually give up and pay someone else to input "few missing" things. e.g aura wings shaders and stuff like that.Just want to note I did apply these and two of those fixes are opposite and need to be reversed. I believe it is: updateLookDirection and getDirectionTo.