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

330 commits

Author SHA1 Message Date
Mordred
0f982a46d1 Fixed battleTalk 2025-01-07 14:22:42 +01:00
Mordred
1eb202faa8 Always send AOE effects as AOE packet, regardless of targetcount. Also allow setting position of aoe effect 2025-01-06 15:35:17 +01:00
Alice Ogeda
f2805e951c myerge squashy; 2025-01-03 02:46:22 -03:00
Tahir
3727306613 add chara dirty flag, move bnpc position updates to tick
- add knockback
- use pos set in action rather than always using source actor
2024-06-25 17:41:14 +01:00
Tahir
e4024a677b wip: timeline shit
- add BattleTalk handling including packets
- add LogMessage handling
- add SetCondition handling (allow conditions to toggle others on/off)
- handle Director ops
- add basic CastAction (prolly doesnt work)
- add SpawnBNpc
2024-06-22 00:28:49 +01:00
Alice Ogeda
c8ab6debec more instancecontent work; 2024-06-22 00:28:43 +01:00
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
Pinapelz
66707a02c2 implement teleportation via aetheryte ticket 2024-05-17 16:44:44 -07: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
4f3f866531 Fill Bnpc link info in spawn packet if available 2023-03-20 22:59:34 +01:00
Mordred
658d2fa7aa minor cleanup of actionResultBuilder 2023-03-13 23:26:50 +01:00
Mordred
31557f52f8 Fixe for target and statuseffect issues, cleanup of gambits 2023-03-12 20:46:27 +01:00
Mordred
5cc7b0c87b Converted autoattacks to the action system 2023-03-11 20:52: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
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
5fdbc90487 Next big batch of packet cleanup 2023-03-06 13:27:56 +01:00
Mordred
f4ab4ab418 More cleanup of player packets. 2023-03-06 10:12:29 +01:00
Mordred
35f3ef8109 Moving player packet generation into a player util function 2023-03-05 23:27:43 +01:00
Mordred
ffdbed72ce More cleanup around actions 2023-02-28 22:30:54 +01:00
Mordred
0a9f5da1d3 Clarity through better naming of fields. 2023-02-28 10:31:59 +01:00
Mordred
cb61ce54e5 Improve readability of PacketCommand Handlers #2 2023-02-27 14:04:40 +01:00
Mordred
0f08bf8630 Improve readability of PacketCommand Handlers 2023-02-27 13:26:15 +01:00
Mordred
cd01ed7295 Cleanup of GameConnection 2023-02-27 09:57:12 +01:00
Mordred
0116272e69 Reducing direct calls to getSession 2023-02-27 08:58:08 +01:00
Lucy
71cedf27e8 Fix slot/container being swapped for action requests 2023-02-25 19:58:47 +01:00
Mordred
d8dd7dea4c Moved player management actually into playerMgr... 2023-02-25 15:58:11 +01:00
Mordred
e0ec74a6bc More cleanups. 2023-02-25 15:31:57 +01:00
Mordred
6ea6f8e190
Merge pull request #903 from Skyliegirl33/status-fix
[3.x] StatusEffect and HudParam fixes
2023-02-22 17:02:02 +01:00
Mordred
c647cc2511 Some minor refactorings I came across while working on events. 2023-02-22 14:55:59 +01:00
Lucy
7b8cf18851 Statuseffect and hudparam fixes 2023-02-21 01:32:35 +01:00
Mordred
065c1817bd Missed a few state flags functions during renaming. 2023-02-20 16:41:04 +01:00
Mordred
6bf3ac0be8 Refactoring ongoing. 2023-02-20 15:25:57 +01:00
Mordred
188d80d2ec Alot more cleanups in various areas. 2023-02-20 11:24:02 +01:00
Mordred
00cb4ade45 Login packet flow further adjusted to be closer to retail 2023-02-18 23:05:15 +01:00
Mordred
d34d93a7dd Fixed an issue with scripts no longer having a function to warp to a different territory type. 2023-02-18 17:59:24 +01:00
Mordred
3a71d90e71 Fixing some array sizes and defining them in common 2023-02-18 15:26:50 +01:00
Mordred
f91494fa7b sendToInRangeSet removed 2023-02-17 22:46:02 +01:00
Mordred
9b46b89c65 Changing various packet sending functions to clean up the project. 2023-02-17 15:34:51 +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
85501effed Implemented a basic actionintegrity implementation, subject to be changed.
Fixed replay packet sending.
2023-02-16 08:25:03 +01: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
Mordred
fdd7e0ee9b
Merge pull request #892 from Skyliegirl33/master
[3.x] wip: fixing gearset handler
2023-02-14 07:12:07 +01: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
Lucy
ae94aac979 wip: fixing gearset handler 2023-02-12 21:12:04 +01:00
Toofy
3ddffb5c0d Implementing ClsThm100 and adding events to some GMCommandHandlers 2023-02-12 12:28:48 +00:00
Lucy
7ec86b45b2 Log all params for packetcommands 2023-02-11 17:33:05 +01:00
Lucy
5f04ef60ef Set FirstClass properly 2023-02-11 17:31:48 +01:00
Lucy
595795d3b0 Implement glamouring 2023-02-11 17:31:48 +01:00