Commit Graph

2325 Commits

Author SHA1 Message Date
Nazrin
c925c878fd
Packet Pack: Misc first half (#152)
* Packet Pack: Misc first half

* Add what new multi protos I can

* Finish up multi protos for this pack.
It compiles!
2024-09-09 22:41:55 +02:00
Nazrin
788945509c
[Refactoring] Custom Team is actually Backup Avatar Team (#151) 2024-09-09 20:52:46 +02:00
hartie95
d9f0414972 [Refactoring] Updates for multi proto 0.2 game time changes 2024-09-02 01:00:01 +02:00
Nazrin
398fa1b743
Packet Pack: Widget (#150) 2024-08-27 00:03:42 +02:00
Nazrin
98639d515d
Packet Pack: Firework (#149)
* Packet Pack: Firework
2024-08-27 00:03:19 +02:00
hartie95
dcee95240a [Refactoring] Use TypedPacket instead of string in HandlerSceneInitFinishReq and HandlerSetPlayerBornDataReq 2024-08-26 02:01:49 +02:00
Nazrin
6158ff0fcc
Packet Pack: Tower (#148)
* Packet Pack: Tower/spiral abyss
2024-08-25 23:03:48 +02:00
hartie95
60eaad14fa [Refactoring] Updates for multi proto 0.2 spiral abyss changes 2024-08-21 15:10:06 +02:00
Nazrin
f1592ac069
Packet Pack: Investigation (#145) 2024-08-20 01:24:42 +02:00
Nazrin
c820d7084b
Packet Packet: Gacha (#144) 2024-08-20 00:12:00 +02:00
Nazrin
99ef6de6fc
Packet Packet: Blossoms (#143) 2024-08-20 00:11:40 +02:00
hartie95
b635615041 [Refactoring] Updated for multiproto mail refactoring 2024-08-19 19:38:27 +02:00
hartie95
36f584a81c [refactoring] Updated for multiproto 0.2 gadget refactoring 2024-08-19 18:38:09 +02:00
Nazrin
76c45ba3a7
Packet Pack: Cooking (#142)
* Packet Pack: Cooking
2024-08-19 18:24:52 +02:00
hartie95
88f0c4d6e1 [Refactoring/Proto] Updated PacketIds namespace for mp 0.2 updates 2024-08-18 15:55:30 +02:00
Nazrin
94e50f8481
Refactored BaseDungeonResult + GameItem.toItemParam is amazing (#141) 2024-08-14 22:34:45 +02:00
Nazrin
92bee938dc
Clean up OuterClass: Everything else (#140)
Notes:
PacketPlayerApplyEnterMpResultNotify had unused import PlayerApplyEnterMpReasonOuterClass which was not being used by anything else either. Also cleaned up a PlayerApplyEnterMpResultNotifyOuterClass import on that packet.
HandlerWorldPlayerReviveReq: had unused import WorldPlayerDieNotifyOuterClass which wasn't being used by anything else either.
2024-08-14 22:19:06 +02:00
Nazrin
18b04f76e8
Packet Pack: Everything Else in Multiprotos (#139)
* Packet Pack: First half of Alphabet

Notes:
PacketMonsterForceAlertNotify does not set isAlert
PacketDestroyMaterialRsp might have a simpler way of turning a Int2IntMap into two lists while preserving order.
PacketCodexDataFullNotify had a big rework and needs review.

* Clean up OuterClass: First half of Alphabet

* Packet Pack: Second half of Alphabet\nNotes:\n PacketWeaponAwakenRsp might have a better way of making those two maps.\nPacketQueryCodexMonsterBeKilledNumRsp might have a better way to set three lists at once.

* Clean up OuterClass: Second half of Alphabet
2024-08-14 15:39:36 +02:00
Nazrin
5e85100d1a
Cutting the Grass one OuterClass at a time (#138)
* Delete OuterClass files for #133

* Delete OuterClass files for #136
2024-08-13 01:29:34 +02:00
Nazrin
8d7a88cc2a
Packet Pack: Act 1, Dungeons, Expeditions, Fetters (#136)
* Packet Pack: Act 1, Dungeons, Expeditions, Fetters
Notable things:
PacketDungeonSettleNotify is converting from an old style DungeonSettleNotify to a new one. BaseDungeonResult will need a major rewrite soon.
PacketWorldPlayerDieNotify assumes the killerId is a monster. I've left it as-is
PacketAvatarExpeditionAllDataRsp is hardcoding values from ExpeditionDataExcelConfigData

* Making the Maps and Lists fit on one line.

* Make Sonar happier

* Decimate OuterClass files (reduce 580 by 10%)
2024-08-12 21:20:50 +02:00
Nazrin
ae40996f69
Packet Pack: Maps and Dungeons (#134) 2024-08-09 16:01:36 +02:00
Nazrin
13effe42b4
Moved a lot of protos over to multiprotos (#133)
* Moved a lot of protos over to multiprotos
Notable other changes:
Scene now uses multiproto VisionType
PlayerCodex uses CodexTypes instead of ints
Completely rewrote Friendship
ToProto changed in GameItem, GameMainQuest, and GameQuest
PacketServerCondMeetQuestListUpdateNotify is unused. Set it up a little better for future use with (add,del).
PacketGroupSuiteNotify is only saving one SuiteId?
HandlerQuestCreateEntityReq had a rewrite, but was not checked.
2024-08-06 19:16:44 +02:00
hartie95
b31721b8b3 [Refactoring/Proto] Fixes after dungeon refactoring of multiproto 0.2 2024-08-05 17:09:06 +02:00
hartie95
e90480d8ab [Refactoring/Proto] Update to multiproto 0.2 2024-08-03 16:53:41 +02:00
Nazrin
46c3ef8e6b Replace PacketOpcodes references with strings (#130)
Replace
session.send(new BasePacket(PacketOpcodes.Packet));
with
session.send(new BasePacket(session.getPackageIdProvider().getPacketId("Packet")));
2024-08-03 16:03:17 +02:00
hartie95
67599e89af [Proto] replaced some hardcoded PacketOpcodesopcode comparisons with string comparisons using multiproto for now 2024-08-03 16:03:17 +02:00
Alexander Hartmann
b075ad5a81
[Fix] Fixed hang on fresh server install ( thx @jie65535 ) (#128) 2024-07-13 18:46:29 +02:00
Nazrin
906f15c5a3
Books update Codex (#127)
* Books update Codex
* Add codex saving
2024-06-21 11:35:00 +02:00
Nazrin
cedda3167f
Implement bare-bones Gadget Interact (#126)
* Implement bare-bones Gadget Interact
2024-06-21 11:27:38 +02:00
Sharan
ceb9612802
[FEAT] Implemented Viewpoints (#125)
* [FEAT] Implemented Viewpoints

* [FIX] Made code less smelly

* [FIX] Fixed issues in CodexViewpointData

* [FIX] Added unlocked viewpoints to player codex

* [Refactor] Move ViewPointCodex id handling to a central point

---------

Co-authored-by: nurako <nurakoyoman.ny@gmail.com>
Co-authored-by: hartie95 <mail@hartie95.de>
2024-06-17 02:49:45 +02:00
hartie95
97e0254cb2 [Refactoring/Proto] Cleanedup of unused compiled protos and moved the ability system to multiproto 2024-05-01 20:45:15 +02:00
hartie95
07df4a1315 [Fix/Refactoring] Fixed SCRIPTS_OVERWRITES_PATH and remove some old code from Player and PlayerCodex 2024-04-30 22:30:27 +02:00
hartie95
2fa8867db5 [Proto] Move Battlepass protos to MultiProto 2024-04-30 22:28:05 +02:00
Alexander Hartmann
bffaf4f956
Merge pull request #117 from scooterboo/patch-9
Now with 50% more seelies
2024-04-30 22:18:11 +02:00
hartie95
260451c205 Merge branch 'quests' of github.com:Anime-Game-Servers/Grasscutter-Quests into patch-9 2024-04-30 22:11:41 +02:00
Nazrin
ea6b15d2e0
Rewind Changes (#112)
Rewind Changes
* Use highest rewind target as goal and always reset it
* rerun begin exec for unfinshed quests before the rewind target
2024-04-18 09:50:28 +02:00
Alexander Hartmann
2b51af458a
Merge pull request #123 from scooterboo/patch-14
Update ActionLoseHP.java to ignore Infinite CUR_HP
2024-04-07 05:07:23 +02:00
Nazrin
0a8b030f79
Update ActionLoseHP.java to ignore Infinite CUR_HP 2024-04-06 19:51:06 -07:00
Nazrin
72b854204a
Scene Tag Support! (#119)
* Scene Tag Support!
* added ExecAddSceneTag and ExecDelSceneTag. Cleaned up PacketPlayerWorldSceneInfoListNotify
* Send Scenetags with PlayerEnterSceneNotify
* Send SceneDataNotify packet too on change
* Filter PlayerWorldSceneInfoListNotify to only send big world info
* Actually read SceneTagConfigData and get default states on first enter/unlock of a scene from there (isDefaultValid field)
2024-04-06 01:37:23 +02:00
Alexander Hartmann
0cdd78ca8c
Merge pull request #122 from scooterboo/patch-12
Have timers trigger by events with source = ""
2024-04-05 06:01:26 +02:00
hartie95
1119b3761a [Libs] Updated for latest AnimeGameLua changes 2024-04-04 07:39:29 +02:00
Nazrin
d74a7c0228
Have timers trigger by events with source = "". Remove redundant checking code. 2024-03-30 04:14:48 -07:00
Alexander Hartmann
7d763ba0ba
Merge pull request #121 from StartForKiller/quests
Fix Weather when teleporting
2024-03-28 20:51:07 +01:00
Jesús Sanz del Rey
a42d9c6609
Merge branch 'Anime-Game-Servers:quests' into quests 2024-03-28 20:46:42 +01:00
StartForKiller
8f515e0fd7
Fix weather when teleporting 2024-03-28 20:46:15 +01:00
Alexander Hartmann
5139f6e472
Merge pull request #120 from StartForKiller/quests
Added Weather System
2024-03-28 20:07:48 +01:00
StartForKiller
784215ee97
Oopsie 2024-03-28 19:00:42 +01:00
StartForKiller
3a6c76ac00
Merge branch 'quests' of github.com:StartForKiller/Grasscutter-Quests into quests 2024-03-28 19:00:22 +01:00
StartForKiller
1e4b629594
use val instead of gamedata types 2024-03-28 18:59:56 +01:00
StartForKiller
a63abae1d0
use val instead of gamedata types 2024-03-28 18:57:56 +01:00