Commit Graph

70 Commits

Author SHA1 Message Date
KingRainbow44
1634a5c696 Clean-up (while attempting to fix) 2023-05-02 22:45:27 -04:00
KingRainbow44
760ea456ec Change level of quest trigger log 2023-05-02 22:45:06 -04:00
KingRainbow44
fdd6820a8f Merge pull request Grasscutter-Quests#53
'Updated with how talks are handle' by `mjolsic`
2023-05-02 20:16:55 -04:00
KingRainbow44
d2f9f6f05b Make logged quests easier to find 2023-05-01 22:53:32 -04:00
KingRainbow44
8b84360724 Invoke the 'not equal' events 2023-05-01 21:45:56 -04:00
KingRainbow44
b0605f6ac2 Add condition info to debug quest logging 2023-05-01 21:45:30 -04:00
KingRainbow44
581df066e7 Add questing debug; which is enabled by default 2023-05-01 19:43:13 -04:00
KingRainbow44
e350cd42f9 "implement" ContentEnterMyWorld, with debugging information attached 2023-05-01 19:42:35 -04:00
KingRainbow44
916db0f408 Implement dungeon completion 2023-05-01 01:10:15 -04:00
scooterboo
e524926ae0 Slight change on synchronization method. (#2135) 2023-04-30 22:05:15 -04:00
KingRainbow44
bb2255b9a0 Prevent game main quest from potentially firing twice 2023-04-30 20:56:38 -04:00
KingRainbow44
400a670856 Load talks from MainQuestData 2023-04-30 20:56:09 -04:00
KingRainbow44
cf56d032de Move constant debug spam to trace 2023-04-30 01:28:52 -04:00
KingRainbow44
9b507a6ec3 Add support for legacy and newer quest excels 2023-04-29 21:35:49 -04:00
KingRainbow44
ed3186a2b2 Fix trial avatar removal
it is still *sort of* broken when combined with early leaving a domain
2023-04-29 21:21:58 -04:00
KingRainbow44
b77c75a296 Check if a sub-quest's data exists before invoking it 2023-04-29 20:40:33 -04:00
KingRainbow44
5f4f220eab Fix NPEs when player leaves world 2023-04-29 14:04:26 -04:00
KingRainbow44
391903ac0e Fix some behavior of trial avatars
investigation is required on the exceptions thrown
2023-04-29 02:01:00 -04:00
KingRainbow44
7efa6d1b78 Fix potential NPE
this can occur if the player disconnects before logging in
2023-04-29 01:59:45 -04:00
KingRainbow44
0d680a6310 Fix quest domains not showing up 2023-04-24 00:09:59 -04:00
KingRainbow44
e85d269518 Run spotlessApply on previous commit 2023-04-23 23:12:01 -04:00
KingRainbow44
84c5a76e5d Fix quests always showing dungeon IDs 2023-04-20 00:26:35 -04:00
KingRainbow44
ee298235c2 Run spotlessApply 2023-04-18 17:17:55 -04:00
KingRainbow44
6989d49080 Remove the first area from being auto-unlocked when questing is enabled 2023-04-15 13:33:30 -04:00
KingRainbow44
2a5c7bf75c Temporarily fix issue with all quests being added at once 2023-04-14 00:35:16 -04:00
dragon
b9a2694ea7 Fix Lua exec call (#2115)
* Fix Lua exec call

## Description
fix 352 should not have any slime spawns, its 353 and 351 has a single slime spawn

Please carefully read the [Contributing note](https://github.com/Grasscutters/Grasscutter/blob/stable/CONTRIBUTING.md) and [Code of conduct](https://github.com/Grasscutters/Grasscutter/blob/development/CODE_OF_CONDUCT.md) before making any pull requests.

## Issues fixed by this PR

<!--- Put the links of issues that may be fixed by this PR here (if any). -->
## Type of changes

<!--- Put an `x` in all the boxes that apply your changes. -->

- [x] Bug fix
- [ ] New feature 
- [ ] Enhancement
- [ ] Documentation

## Checklist:

- [x] My code follows the style guidelines of this project
- [x] My pull request is unique and no other pull requests have been opened for these changes
- [x] I have read the [Contributing note](https://github.com/Grasscutters/Grasscutter/blob/stable/CONTRIBUTING.md) and [Code of conduct](https://github.com/Grasscutters/Grasscutter/blob/development/CODE_OF_CONDUCT.md)
- [x] I am responsible for any copyright issues with my code if it occurs in the future.

* Update ExecNotifyGroupLua.java

* Update ExecNotifyGroupLua.java

* Update ExecNotifyGroupLua.java

* new ScriptArgs(groupId, eventType, quest.getSubQuestId())          .setEventSource(String.valueOf(quest.getSubQuestId()));
2023-04-13 21:21:43 -04:00
KingRainbow44
c71386c69e Implement quest data field: gainItems 2023-04-13 20:33:31 -04:00
KingRainbow44
47cdfe5c14 Handle quest execute which sets the player's flying state 2023-04-13 18:00:25 -04:00
KingRainbow44
0de69cd1fa Show available story dungeons to the player 2023-04-12 02:01:22 -04:00
KingRainbow44
97f74d9d55 Move persistant logger calls to trace 2023-04-11 21:07:50 -04:00
KingRainbow44
06cbae31fa Fix player fields not being set
line seps r weird
2023-04-10 22:46:19 -04:00
KingRainbow44
e20c7c151b Lint code 2023-04-09 14:50:59 -04:00
KingRainbow44
644f1b3ab9 Continue merging quests (pt. 2) 2023-04-09 14:35:45 -04:00
KingRainbow44
a3970f8e43 Format code 2023-04-02 21:34:07 -04:00
KingRainbow44
9fbb7fb3be Continue updating/refactoring classes
Most code is matched from `Grasscutter-Quests`.
2023-04-01 22:17:10 -04:00
KingRainbow44
daa51e53b7 Copy some files from Grasscutter-Quests
NOT completely finished, nor is it completely done. Protocol issues remain! (including lack of packet IDs)
2023-04-01 18:06:30 -04:00
KingRainbow44
262ee38ded Create files from Grasscutter-Quests
these files are NOT directly compatible with Grasscutter, and require additional modifications to the codebase to work.
2023-03-31 23:58:12 -04:00
KingRainbow44
fc05602128 Run Spotless on src/main 2023-03-31 22:30:45 -04:00
KingRainbow44
15e2f3ca34 Run IntelliJ IDEA code formatter 2023-03-31 17:19:26 -04:00
ZanyRain
3b29ba032e Some fix about scene script and quest (#2029)
* [ScriptLib] Query player when not get entity from scene

* Fix NPE when doing quests

* Add QUEST_CONTENT_SKILL trigger

Q353 need it

* Add some missing fields that contain in scene scripts

* Add a lua table serializer implement with jackson

This do not replace the original one,it is useful when debug

* Fix point_array type error

* feat: fix space
2023-02-09 17:10:07 +01:00
Simplxs
92fbaa8670 Update gc to 3.3 (#1981)
* replace the deprecated api

* update proto

* delete music game

* fixed codes

* fix costume switch

* fix mail bug

* Bump version number.

* Re-add max boss chest number

Co-authored-by: GanyusLeftHorn <1244229+GanyusLeftHorn@users.noreply.github.com>
2022-12-23 22:12:02 +01:00
AnimeGitB
855d3182ab Remove deprecated constructor call 2022-10-30 00:40:00 +10:30
jacky14
ccf182d692 Medicine revival&Login white screen (#1883)
* Update InventorySystem.java

-:[fix] Medicine revival

* Update GameMainQuest.java

-:[fix] Login white screen
2022-10-22 16:51:33 +10:30
Luke H-W
dd6e1bb8a3 Move Data, Plugin, Script, Packet access from Strings to Paths (#1839)
* Move Data, Plugin, Script, Packet access from Strings to Paths
- No longer dump default Data files to folder on launch
- Allow Scripts to be loaded from Resources zip
- Lay groundwork for Plugins to be loaded from zip
2022-10-07 23:01:08 +10:30
github-actions
6e5d986687 Fix whitespace [skip actions] 2022-09-03 03:36:51 +00:00
Benj
c096d255fd Update classes to match protos 2022-08-24 11:34:26 +09:30
Melledy
1e649cd804 Delete quests from the player if there are errors loading them from the db 2022-08-21 22:19:34 -07:00
github-actions
c517b8a2c9 Fix whitespace [skip actions] 2022-08-21 11:33:54 +00:00
akatatsu27
77f2bcf5bf small quest fixes (#1677)
* small quest fixes

* uncomment hack
2022-08-21 00:08:37 -07:00
GanyusLeftHorn
04f0fae898 Handle Unlocking of Waypoints and Statues (#1608)
Original commits:

* Add necessary protos for scene point/area unlocking.

* Rename PlayerOpenStateManager to PlayerProgressManager and move data to Player.

* Handle unlocking of waypoints.

* Add primo rewards for waypoint unlock.

* Statue unlocking.

* Add statue quest on player login.

* I forgor to add an unlock command.

* Give EXP as reward, fire quest trigger, make EXP UI show up.
2022-08-10 19:33:47 +09:30