Commit Graph

1839 Commits

Author SHA1 Message Date
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
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
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
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
StartForKiller
8f515e0fd7
Fix weather when teleporting 2024-03-28 20:46:15 +01:00
StartForKiller
784215ee97
Oopsie 2024-03-28 19:00:42 +01:00
StartForKiller
1e4b629594
use val instead of gamedata types 2024-03-28 18:59:56 +01:00
StartForKiller
d2c1afb0e8
Removed old packets(CityInfo) 2024-03-28 18:07:21 +01:00
Jesús Sanz del Rey
36b1be145c
Update Grasscutter.java 2024-03-28 17:31:54 +01:00
StartForKiller
93cc5356f6
Remove QUEST_EXEC_MODIFY_WEATHER_AREA missing 2024-03-28 17:30:59 +01:00
StartForKiller
af9e51f91a
Added QUEST_EXEC_MODIFY_WEATHER_AREA 2024-03-28 17:27:45 +01:00
StartForKiller
f0579a57e7
Add weather forcast handler 2024-03-28 17:09:42 +01:00
StartForKiller
5462bb54bf
Merge branch 'quests' of github.com:StartForKiller/Grasscutter-Quests into quests 2024-03-28 16:49:31 +01:00
StartForKiller
fee21f151c
Weather locks 2024-03-28 16:49:17 +01:00
hartie95
f910841cfb [proto] update for latest multi-proto 2024-03-28 15:28:46 +01:00
StartForKiller
a2425ec7a0
Adding works, refresh needs work Still need more testing 2024-03-28 03:43:28 +01:00
StartForKiller
15974549ef
Add Weather System(Not tested) and seven statue 2024-03-27 18:28:47 +01:00
Nazrin
55b62eca39
We don't need to getRouteConfig, routeConfig is right here! 2024-03-15 17:11:59 -07:00
scooterboo
2dd9f8d3ee Move sendStartPlatformPacket to EntityGadget 2024-03-14 22:55:00 -07:00
scooterboo
7b058a3deb found while checking diffs 2024-03-14 21:53:33 -07:00
scooterboo
be1016141d make SetPlatformRouteId not send a start platform packet 2024-03-14 21:42:31 -07:00