aboutsummaryrefslogtreecommitdiff
path: root/src/server/luaentity_sao.cpp
AgeCommit message (Collapse)Author
2022-10-30Allow rotating entity selectionboxes (#12379)Lars Müller
2022-09-20Fix formula used for acceleration (#12353)Lars Müller
2022-07-14Move f1000 sanitizing to the places that still use this typesfan5
2022-06-11on_deactivate: distinguish removal and unloading (#11931)Lars Müller
Sometimes you need to be able to do removal-related cleanup, such as removing files from disk, or entries from a database. staticdata obviously isn't suitable for large data. The data shouldn't be removed if the entity is unloaded, only if it is removed.
2022-05-29Handle lua entity HP changes correctly (like punches)sfan5
fixes #11975
2021-10-31Fix number of tool uses being off by 1..32767 (#11110)Wuzzy
2021-10-20Add no_texture.png as fallback for unspecified texturesWuzzy
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-02-12Send attachments instantly before set_pos (#10235)SmallJoker
2021-01-02Add on_deactivate callback for luaentities (#10723)hecks
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-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-27Value copy / allocation optimizations mostly in server, SAO and serialize codesfan5
2020-04-27Expose collision information to LuaEntity on_stepsfan5
2020-04-11Drop content_sao.{cpp,h}Loic Blot
Move LuaEntitySAO to a new dedicated file Drop TestSAO (useless object) Drop the old static startup initialized SAO factory, which was pretty useless. This factory was using a std::map for 2 elements, now just use a simple condition owned by ServerEnvironment, which will be lightweight, that will also drop a one time useful test on each LuaEntitySAO creation. This should reduce server load on massive SAO creation