aboutsummaryrefslogtreecommitdiff
path: root/src/server/player_sao.cpp
AgeCommit message (Collapse)Author
2023-03-07Dual wieldingLizzy Fleckenstein
2022-08-12Physics overrides: Move values to a common struct (#12591)SmallJoker
Co-authored-by: sfan5 <sfan5@live.de>
2022-07-14Move f1000 sanitizing to the places that still use this typesfan5
2022-06-11No damage effects on hp_max change (#11846)Lars Müller
2022-06-07Sanitize player position and speed server-side (#12396)sfan5
2022-01-15Don't call on_dieplayer callback two times (#11874)savilli
2021-10-31Fix number of tool uses being off by 1..32767 (#11110)Wuzzy
2021-10-12Fix player HP desync between client and serversavilli
2021-08-28Remove redundant on_dieplayer callssavilli
2021-02-15Server-side authority for attached players (#10952)SmallJoker
The server must have authority about attachments. This commit ignores any player movement packets as long they're attached.
2021-01-21Removed some obsolete code (#10562)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2021-01-11Implement on_rightclickplayer callback (#10775)JDiaz
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-01-02Add on_deactivate callback for luaentities (#10723)hecks
2020-11-12PlayerSAO: Run on_player_hpchange raw change values (#10478)SmallJoker
The callback is only run when a change in HP is to be expected. Following cases will not trigger the callback: * Dead player damaged further * Healing full-health player * Change of 0 HP
2020-10-19Decouple entity minimap markers from nametags replacing with show_on_minimap ↵sfan5
property (#10443)
2020-10-04Add First Person Attachments (#10360)Jordan Snelling
Fixes some other third person camera specific attachments. Implements a single new flag for entities to be forced visible in first person mode. Old mods do not need to be updated to use the new flag and are fully backwards compatible.
2020-10-01(se)SerializeString: Include max length in the nameSmallJoker
This commit clarifies the maximal length of the serialized strings. It will avoid accidental use of serializeString() when a larger string can be expected. Removes unused Wide String serialization functions
2020-09-26Patch fast/teleport vulnerability when attached to an entity (#10340)Elias Fleckenstein
2020-06-04Move shared parameters sending to UnitSAO (#9968)SmallJoker
Better header sorting by topic Make UnitSAO-specific parameters private Skip redundant recursive entity sending code (since ~5.2.0)
2020-05-29Clean up CAO nametag handling and remove deprecated AO_CMDsfan5
AO_CMD_UPDATE_NAMETAG_ATTRIBUTES was deprecated in 9eee3c3f465c071bb9908749cf48be3c131a1bdf (0.4.14)
2020-05-27Value copy / allocation optimizations mostly in server, SAO and serialize codesfan5
2020-05-05Server: Improve some log messages (#9820)sfan5
2020-04-11Move PlayerSAO to dedicated filesLoic Blot