mjolsic
89016706ae
1) Modify how blossom worktop entity is created
...
2) Allows blossom to cache to server, and do daily reset
3) Added more blossom refresh type enums
2023-08-19 22:22:26 +10:00
mjolsic
5167c973a6
1) Mainly resolved pr conversations.
...
- Removed GadgetCommand.java
- Changed challenge triggers in WorldChallenge to Map for easier manipulation
- Moved time zone to game container
- Fixed dungeon that doesn't have exits point, will send player back to where they were before entering dungeon
- Added loading script error logging
2023-08-18 01:05:25 +10:00
mjolsic
b22de478bf
1) Fixed Spiral abyss. About 90% of its functionality is working.
2023-08-13 21:40:28 +10:00
mjolsic
b1baa2f09c
1) Modified dungeon related codes.
...
2) Send PacketPlayerEnterSceneNotify with more details.
3) Fixed dungeon reward statue gadget.
4) Fixed dungeon entries and exits teleportation
5) Fixed showing dungeon entries in handbook and domain interface for normal dungeons and quest entries
6) Added weekly boss discount and refresh implementation
2023-08-10 23:11:16 +10:00
mjolsic
9d6ca5ee00
1) Refactored Scene.java
...
2) Fixed the problem where replaced groups keep respawn and de-spawn on tick
2023-08-10 18:15:31 +10:00
mjolsic
76b2dc9179
1) Updated implementation for blossom challenges
2023-08-10 15:44:22 +10:00
mjolsic
aacac76aff
1) Updated implementation for challenge related codes. All types of challenges are implemented except for CHALLENGE_TRIGGER2_AVOID_TRIGGER1.
...
2) Added command to change gadget state.
2023-08-09 23:18:07 +10:00
hartie95
20a5c935d4
[Fix/Scriptlib] add missing GetRegionConfigId function (thx @scooterboo )
2023-08-08 00:16:04 +02:00
hartie95
1e86edb85e
[Fix] Rework EntityId <-> EntityIdType -> EntityType conversion
...
* Also reverts the Id sync for EntityIdType and EntityType
2023-08-08 00:01:28 +02:00
hartie95
2be7475591
[Refactor/Fix] Region/trigger handling changes
...
* Allow all entities to trigger ENTER_/LEAVE_REAGION (thx @scooterboo )
* Allow other trigger types to be used in the TriggerExcelConfigData
* Refactored the region checking
2023-08-07 22:24:34 +02:00
hartie95
ccb95e6594
[Fix] Sync EntityIdType and EntityType for types used by scripts
2023-08-07 21:25:42 +02:00
hartie95
5bb393c480
[Fix] add roomSceneId altname to ItemData (thx @NotThorny )
2023-08-07 19:02:56 +02:00
hartie95
7a7bf9b972
[Fix] fix http server bind address (thx @dasha-yarkoff )
2023-08-07 19:00:14 +02:00
hartie95
2d6b623bc7
[Refactoring/Fix] unify the GroupVariableValue functions from ScriptLib (thx @scooterboo )
2023-08-07 18:47:39 +02:00
hartie95
410b5db37d
[Fix] Fix swimming stamina cost (thx @NotThorny)
2023-08-07 18:31:01 +02:00
hartie95
624f65e215
[Fix] handle dungeons with a 0 passCondition (thx @scooterboo )
2023-08-07 18:27:46 +02:00
hartie95
98deac6f55
[Refactoring] Some small code improvements in Scriptlib and ScriptArgs usage and added the structure for a missing Scriptlib method (thx @scooterboo )
2023-08-07 18:19:57 +02:00
hartie95
472a07862d
[Fix] Add missing getAsIntArray method to LuaJTable
2023-08-07 17:26:31 +02:00
hartie95
797a1e8b42
[Fix] Check for null in the AbilityManager in case an entity doesn't exist
2023-08-07 17:26:01 +02:00
hartie95
29a34a72b2
[Logging] Added added extra logger configs for more granulare loglevers
...
This mostly affects bigger GC modules like Scripting, abilities and resource loading, with questing following
2023-08-07 15:15:59 +02:00
Alexander Hartmann
4017b74c7a
Merge pull request #72 from Anime-Game-Servers/luasyste
...
Luasystem refactoring (adds optional jnlua, improves script compability and more)
2023-08-07 15:05:33 +02:00
hartie95
172bdd01d8
[Fix] Fix LuaError error because of LuaJ not supporting overloads
2023-08-06 19:32:29 +02:00
hartie95
51f9bd39e3
[Fix] Fixed LuaJ out of bounce access in call method
2023-08-06 18:34:11 +02:00
hartie95
0fee8cc054
Merge branch 'quests' of github.com:Anime-Game-Servers/Grasscutter-Quests into luasyste
2023-08-06 02:14:08 +02:00
Alexander Hartmann
6edc3bfa30
Merge pull request #73 from Anime-Game-Servers/updatedAbilities
...
Abilities from @StarForKiller
2023-08-06 01:51:19 +02:00
hartie95
041945b257
[Refactor] Added MetaGameEntity for entites without actuall location in the scene and made sure all fightproperties accesses are null safe
2023-08-05 19:42:00 +02:00
hartie95
59c47cb0a3
[Refactor] move the basic ability adding logic into an interface
2023-08-05 19:09:29 +02:00
hartie95
e98307e006
Merge branch 'activity_dev' of github.com:StartForKiller/Grasscutter-Quests into updatedAbilities
2023-08-05 17:37:22 +02:00
hartie95
a2a7112f8c
[Opcode] Add proper names to two opcodes called by the client regularly
2023-08-03 20:52:09 +02:00
hartie95
b152837cb6
[Refactor] Add InventoryTab.getItemCountById method
2023-08-03 20:50:32 +02:00
hartie95
0c6b72e033
[Revert] Revert shouldCancel check to properly trigger some events
2023-08-03 20:49:09 +02:00
hartie95
f1e947c7f3
[Lua] Fix sub list serialization in JNLua and some more cleanups
2023-08-02 13:14:01 +02:00
hartie95
46be52c770
[Fix] Small bugfixes from teh refactorign
...
* Allow controller scripts to also call KillEntityByConfigId
2023-07-30 23:00:02 +02:00
hartie95
bd8063b867
[Cleanup] Apply/handle SonarCloud warnings and some other cleanups
2023-07-29 21:03:19 +02:00
hartie95
9fec81914f
[Scripting] Added more enums and scriptlib function definitions used by scripts
...
* ScriptLib methods are placeholders for now
* Enums are for now placeholder in scripts/constants/temporary and will be moved when the matching functionality is implemented
2023-07-29 20:01:48 +02:00
hartie95
4f5fb9abbb
[Packages] Add handling for ClientSCriptEvenetNotify packages, this should allow triggering of lua events like EVENT_AVATAR_NEAR_PLATFORM
2023-07-29 19:43:36 +02:00
hartie95
a1953c68e8
Many Lua system changes
...
* Make Scriptlib methods static and use a context for parameters.
* For this a custom build of LuaJ got added, which might allow to use decompiled scripts with less modifications
* Abstract all usages of LuaJ specific classes and generall Scriptlib usage
* Load common scripts with luaj and jnlua instead of overwriting require (needs some more work)
* Add jnlua support, to enable it just set useJNLua to true in the gameserver config
2023-07-29 19:35:31 +02:00
StartForKiller
6f650b64a9
Small fixes to suites and dynamic groups
2023-07-17 00:21:38 +02:00
StartForKiller
aab926dbeb
Add a sample implementation for projectors
2023-07-16 16:33:22 +02:00
hartie95
a848227f05
Merge branch 'quests' of github.com:Anime-Game-Servers/Grasscutter-Quests into updatedAbilities
...
# Conflicts:
# src/main/java/emu/grasscutter/data/common/DynamicFloat.java
# src/main/java/emu/grasscutter/game/ability/AbilityManager.java
# src/main/java/emu/grasscutter/game/avatar/Avatar.java
# src/main/java/emu/grasscutter/game/entity/EntityAvatar.java
# src/main/java/emu/grasscutter/game/player/TeamManager.java
# src/main/java/emu/grasscutter/game/world/World.java
# src/main/java/emu/grasscutter/scripts/data/SceneMonster.java
2023-07-02 15:17:33 +02:00
Alexander Hartmann
f07f5006a1
Merge pull request #69 from Anime-Game-Servers/upstream-fixes
...
[Fixes] Upstream fixes and added some Scriptlib funtions
2023-06-25 00:48:29 +02:00
hartie95
4d0e1014a1
[Scriptlib] Add some more placeholder Scriptlib fucntions
2023-06-24 16:50:28 +02:00
hartie95
a9874cea74
[ScriptLib] Implement some missing ScriptLib functions
2023-06-24 16:50:28 +02:00
hartie95
e278733d90
[Fixes/Upstream] More upstream fixes
...
* Don't tick scenes without players (thx @scooterboo )
* Fix Scriptlib.IsPlayerAllAvatarDie return type (thx @scooterboo )
* Add eventSource for EVENT_VARIABLE_CHANGE calls (thx @scooterboo )
2023-06-24 16:50:28 +02:00
mjolsic
72874edddc
Refactored Trial Avatar relevant code ( #68 )
...
* Moved trial avatar to a separate class for easier management
* Mainly refactored team manager.
Moved the response packets to their handler so that the functions in team manager is more reusable.
* Refactored adding and removing TrialAvatar for dungeons/activity. Have the TrialAvatars added through their corresponding handler if not specifically called by enter dungeon request.
* Added interfaces for both original excels and custom data, so that it can perform polymorphic calls.
* Added implementation for Element trial dungeon. It is impossible to complete though. Since challenges are practically broken
* Moved around some stuff so that the addition and removal of the trial avatars for quest and dungeons work well.
2023-06-22 14:19:40 +02:00
StartForKiller
caec272829
Fix code issue
2023-06-17 02:17:23 +02:00
StartForKiller
acdc1a6cf0
Move rabdom to world
2023-06-17 02:15:54 +02:00
StartForKiller
685ed69d03
Fix bugs and issues
2023-06-17 02:14:04 +02:00
StartForKiller
70375a5d1a
Fix suiteid not saved when group isn't loaded
2023-06-17 00:46:48 +02:00
Alexander Hartmann
151a325506
Merge pull request #66 from Anime-Game-Servers/small-fixes
...
[Fixes/Features] More upstream backports+small fixes
2023-06-14 21:51:59 +02:00