1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 22:37:45 +00:00
Commit graph

6861 commits

Author SHA1 Message Date
Mordred
e7cfe87fef
Merge pull request #930 from T00fy/master
Some bug fixes and very minor refactoring
2023-04-25 15:12:44 +02:00
Toofy
b3e86d3877 Formatting 2023-04-23 16:42:24 +01:00
Toofy
f0e1990cbd Some bug fixes 2023-04-18 17:33:29 +01:00
Toofy
d4d8c3c155 Moving around level up logic to make gm level up command behave 'normally' 2023-04-18 16:42:25 +01:00
Mordred
a65b23778b
Merge pull request #927 from hkAlice/faster-but-not-enough
[3.x] overall optimizations; add getRows to exd data;
2023-03-25 08:24:57 +01:00
Mordred
928729326c Gambit packs added. Basic timelines for bnpc actions can be defined. 2023-03-24 22:52:38 +01:00
Alice Ogeda
631abf48aa remove extra call; 2023-03-24 18:09:12 -03:00
Alice Ogeda
dedf66f28d add getRows to exd; optimize iterative exd calls further; split namespace for slim header structs; 2023-03-24 17:38:58 -03:00
Alice Ogeda
f6ce8207b2 switchy; 2023-03-24 14:11:07 -03:00
Alice Ogeda
09d0469c96 emplace_back for in-place move const for shared ptr; 2023-03-24 13:32:36 -03:00
Alice Ogeda
d5c4739a77 use cache in getterritorydetail; remove unused bgpath; avoid throwing exceptions when possible; 2023-03-24 13:31:50 -03:00
Mordred
4f3f866531 Fill Bnpc link info in spawn packet if available 2023-03-20 22:59:34 +01:00
Mordred
c97a67ffe6 Implementation of the state machine for bnpcs, missing hp recovering after lost hate. 2023-03-20 10:29:56 +01:00
Mordred
c7b50ca1e9 Keep cells active for 20 seconds even after all players left.
Also reset target and autoattack state on player on change zone.
2023-03-17 22:01:06 +01:00
Mordred
e72fe535f6 Added the framework for a fsm for future use on bnpcs. 2023-03-17 15:43:44 +01:00
Mordred
fe9a2ef974 Cleanup cleanup cleanup 2023-03-16 21:56:57 +01:00
Mordred
33463f45a9 More cleanup of actions 2023-03-15 15:21:03 +01:00
Mordred
aafb77ecbb Use attack type for action hit effect, further simply action code. 2023-03-14 22:32:55 +01:00
Mordred
9ba263da00
Merge pull request #923 from collett8192/3.0_master
3.x crit, fix random generator and remove direct hit
2023-03-14 10:54:04 +01:00
collett
123dad2e23 update rng to RandGenerator 2023-03-14 18:22:41 +09:00
collett
5fb62b75ec support 3.x crit damage and remove direct hit 2023-03-14 18:06:02 +09:00
Mordred
658d2fa7aa minor cleanup of actionResultBuilder 2023-03-13 23:26:50 +01:00
Mordred
f1cd218e85 Include Common::ActionResultFlag::EffectOnSource on source status effects 2023-03-13 11:44:09 +01:00
Mordred
09db0ee7d2 There is now an applyStatusEffectSelf for status effects which same source and target. 2023-03-13 11:21:42 +01:00
Mordred
b98f63eb75 Statuseffect fix #3 2023-03-12 21:19:44 +01:00
Mordred
0edff5ab85 Statuseffect fix #2 2023-03-12 21:06:37 +01:00
Mordred
31557f52f8 Fixe for target and statuseffect issues, cleanup of gambits 2023-03-12 20:46:27 +01:00
Mordred
d6918a88e0 Basic gambit work, still needs cleanup and improvements 2023-03-12 16:33:33 +01:00
Mordred
5cc7b0c87b Converted autoattacks to the action system 2023-03-11 20:52:52 +01:00
Mordred
7c4a053bea further simplified the action builder. 2023-03-10 22:59:53 +01:00
Mordred
54ba2b529f Fixed another bug with self target actions. 2023-03-10 22:50:38 +01:00
Mordred
72f06fb072 Status effect rework for actionintegrity. 2023-03-10 22:34:12 +01:00
Mordred
5d353de158 Action logic rework #1
statuseffects and autoattack still on the todo list
2023-03-10 17:32:52 +01:00
Mordred
0def7896ec Refactoring of action logic, ongoing.
Fixing source of actorcontrols being always player for single target packets.
2023-03-09 21:54:30 +01:00
Mordred
859f2329bb Another big batch of refactoring for readability. 2023-03-08 09:20:08 +01:00
Mordred
4bee448f4b Syntax error which snuck in fixed. 2023-03-07 15:09:56 +01:00
Mordred
fb7be5053a Some more packet cleanup. 2023-03-07 15:08:28 +01:00
Mordred
ca002dadd1 Renamed the Util::Player namespace to Util::Packet. More cleanups and refactorings. 2023-03-07 10:25:55 +01:00
Mordred
819f2842b0
Merge pull request #910 from pinapelz/fix_linux_build
[3.x] Fix Linux build (remove extra qualification)
2023-03-06 22:34:30 +01:00
Pinapelz
8591cb857a Remove extra qualification 2023-03-06 11:11:25 -08:00
Mordred
5fdbc90487 Next big batch of packet cleanup 2023-03-06 13:27:56 +01:00
Mordred
aead026960
Merge pull request #909 from hkAlice/achievos
[3.x] save achievement to sql db;
2023-03-06 10:12:53 +01:00
Mordred
f4ab4ab418 More cleanup of player packets. 2023-03-06 10:12:29 +01:00
Alice Ogeda
78766f9700 myerge; 2023-03-05 20:46:58 -03:00
Alice Ogeda
7538d2b4e3 achievement sql; 2023-03-05 20:44:42 -03:00
Mordred
35f3ef8109 Moving player packet generation into a player util function 2023-03-05 23:27:43 +01:00
Mordred
700989c68d
Merge pull request #908 from hkAlice/achievos
[3.x] add achv history support;
2023-03-05 21:32:53 +01:00
Alice Ogeda
9528b8177e add achv history support; 2023-03-05 16:05:25 -03:00
Mordred
86f0432293 Added a simple version check to worldServer. 2023-03-03 21:47:05 +01:00
Mordred
fe471fb4f1 Fix for online status and minor cleanup 2023-03-02 07:38:14 +01:00