1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-09 12:17:45 +00:00
Commit graph

1666 commits

Author SHA1 Message Date
Mimi
7bfd9538c9
[3.x] WIP: Initial Action and StatusEffect implementation (#958)
* Check statuses to determine valid lut entry

* Add duration field to statuses

* Rename buildEffects to make more sense

* Add basic generic handler for applying statuseffects

* Add more modifiers

* Add basic modifier impl for Chara

* Apply/remove modifiers for statuseffects

* Add some example statuses to lut

* Fix windows build error

* Don't clear tick effect

* Add status entry for Maim

* Apply status effects properly for self when having a target

* Fix hasStatusEffect to prevent duplicates

* Basic dot/hot ticks implemented

* Update HP on tick effects

* Apply effect to correct target

* Add method to simplify applying statuses to self

* Add job actions for warrior

* Add some actions and statuses for war

* Add even more modifiers

* Add statuseffect cost type

* Add option to not send statusremove order

* Change delModifier assert to return early instead

* Add option for scripts to enable the generic/lut handler

* Add enums for common action values

* fix indentation

* Fix modifier name for Defiance

* Remove status tick logging

* Move modifiers to statuseffect

* Add ParryPercent modifier

* Remove wrath when Defiance ends

* Apply modifiers in applyStatus

* Remove unused method

* Persistence for cross-class skills

* Add flags to StatusEffects

* Some exd struct fixes

* Some aoe work

* Add flags to lut

* Add missing changeclass

* Add SET_STATUS_ME to ActionIntegrity

* Improve offensive action check

* Add flag to overloaded applyStatusEffectSelf

* indentation fix

* Some calculation work

* Null-check ActionResultBuilder

---------

Co-authored-by: Lucy <44952533+Skyliegirl33@users.noreply.github.com>
Co-authored-by: Mordred <30826167+SapphireMordred@users.noreply.github.com>
2024-06-21 12:27:01 +10:00
Adam
5189042247
Merge pull request #955 from pinapelz/tp_tix
Implement Aetheryte Tickets
2024-06-20 18:41:48 +10:00
Rushi
43da39dee8 Fix building on clang 2024-06-19 18:28:32 +02:00
Pinapelz
66707a02c2 implement teleportation via aetheryte ticket 2024-05-17 16:44:44 -07:00
Pinapelz
90354e82f4 implement unlocking orchestrion roll 2024-01-10 20:35:02 -08:00
collett
78b860d9f8 fix some PlayerCondition flags 2023-04-30 19:36:24 +09: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
Mordred
33463f45a9 More cleanup of actions 2023-03-15 15:21:03 +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
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
7538d2b4e3 achievement sql; 2023-03-05 20:44:42 -03:00
Mordred
86f0432293 Added a simple version check to worldServer. 2023-03-03 21:47:05 +01:00
Mordred
ffdbed72ce More cleanup around actions 2023-02-28 22:30:54 +01:00
Mordred
cd01ed7295 Cleanup of GameConnection 2023-02-27 09:57:12 +01:00
Mordred
6bf3ac0be8 Refactoring ongoing. 2023-02-20 15:25:57 +01:00
Mordred
00cb4ade45 Login packet flow further adjusted to be closer to retail 2023-02-18 23:05:15 +01:00
Mordred
3a71d90e71 Fixing some array sizes and defining them in common 2023-02-18 15:26:50 +01:00
Mordred
fbbd599969
Merge pull request #899 from Skyliegirl33/master
[3.x] Support other currencies than gil
2023-02-17 08:01:54 +01:00
Rushi
a17c891c2c
[3.x] Basic map icon support (MapMgr backport) (#896)
* Fix several structs

* Preliminary map icon support (only quests work)
Backport of #721 to 3.x

* MapMgr cleanup

* Add missing null check for ENpcBase

* Use CLASSJOB_SLOTS in PlayerSetup instead

* Use util function for getting bit fields
2023-02-16 22:16:01 +01:00
Mordred
87295a0ff6 Fixed a few fields in playerstatus and changed script events to display script name instad of quest text. 2023-02-16 12:45:01 +01:00
Mordred
85501effed Implemented a basic actionintegrity implementation, subject to be changed.
Fixed replay packet sending.
2023-02-16 08:25:03 +01:00
Lucy
9f048502f7 Support other currencies than gil 2023-02-14 21:29:24 +01:00
Mordred
947af534f6
Merge pull request #897 from hkAlice/align-packet-boundary
[3.x] 8-byte packet data alignment;
2023-02-14 14:33:21 +01:00
Alice Ogeda
f761572b25 small fixes/removing useless code; 2023-02-14 10:28:13 -03:00
Alice Ogeda
ae605d5b0d optimize resizing and allocating packet send buffer; 2023-02-14 10:24:35 -03:00
Mordred
9f100bc671 Fixed a couple minor struct issues and overall changed login packetflow to be more retail-like.
Added a few unknown actorcontrol packets for testing.
2023-02-14 13:50:08 +01:00
Alice Ogeda
f6acb8540d align packets in containers to 8 byte boundary; 2023-02-13 22:32:43 -03:00
Alice Ogeda
d99eeac6b8 naming; 2023-02-13 16:29:45 -03:00
Alice Ogeda
d5022516f5 fix actionresult, hudparam, resting packet; comment action filter for sprint false selftarget; warp vfx on exit range; fix status duration; 2023-02-13 16:27:36 -03:00
Alice Ogeda
1ba6ea02d5 temporarily move integritystatus to zonedef; 2023-02-13 12:20:48 -03:00
Lucy
595795d3b0 Implement glamouring 2023-02-11 17:31:48 +01:00
Alice Ogeda
83a08ea149 Merge branch 'master' of https://github.com/SapphireServer/Sapphire into teletubbies-vacuum-cleaner 2023-02-10 17:14:24 -03:00
Alice Ogeda
88f8c7c19a move teleport to warpmgr; more player to playermgr; cleanup; 2023-02-10 13:05:53 -03:00
Lucy
dac6c63414 Fix dyeing and implement removeItem method 2023-02-10 04:54:50 +01:00
Lucy
1e3fe5e9c2 Fix UpdateInventorySlot to use right opcode 2023-02-10 04:37:40 +01:00
Mordred
38b92fafa9 Create and load member lists of fcs. 2023-02-08 15:22:33 +01:00
Mordred
0df9fca281 Beginnings of FC. FC can be created in petition mode. 2023-02-05 22:46:46 +01:00
Lucy
dbbc45d924 Fix FindContent struct 2023-02-03 23:40:24 +01:00
Tahir
c7b1a2f29b db: remove extraneous comma from fc prepared statement
- log the failing query
2023-02-03 13:40:25 +00:00
Mordred
4bb35c8bb8 Basic db statements for main fc table 2023-02-02 22:46:51 +01:00
Mordred
68a5040fb9 Class and db table for basic FC representation 2023-02-02 22:46:51 +01:00
Alice Ogeda
0f995cd934 chatchannel fetch by player id; general cleanup; 2023-02-02 02:30:31 -03:00
Mordred
00d62fbc6c Major rework of yield events. 2023-02-01 13:34:21 +01:00
Mordred
ee942b36b7 Added FC related packet structs 2023-01-29 21:57:57 +01:00
Mordred
a1b3c3acf6 Removal/Replacement of old packet opcodes and structs 2023-01-29 21:31:55 +01:00
Lucy
5b225de6f7 Map out modifiers for lut and handle deserializing 2023-01-28 20:02:34 +01:00
Lucy
fe82d50288 Merge branch 'ThreePointThree' of https://github.com/SapphireServer/Sapphire into ThreePointThree 2023-01-27 21:32:22 +01:00
Lucy
f3627a9566 Convert action lut to JSON 2023-01-27 21:25:26 +01:00
Mordred
6cde08d073 Cleanup inside the player class. 2023-01-27 11:13:57 +01:00