Commit Graph

2341 Commits

Author SHA1 Message Date
Nazrin
6bfc4aef58
Handle concurrent saving error 2024-02-15 17:24:24 -08:00
hartie95
4e8f709ec2 [Fix] Fixed second parameter for EVENT_QUEST_FINISH lua event calls (#89) (thx @scooterboo ) 2024-02-12 01:23:50 +01:00
Alexander Hartmann
fdf019232f
Merge pull request #96 from scooterboo/patch-2
Fix bug with region leave not resetting properly
2024-02-11 19:19:07 +01:00
Alexander Hartmann
4b3c703b68
Merge pull request #95 from scooterboo/patch-1
Fix typo in ChapterData.java
2024-02-11 18:56:29 +01:00
Nazrin
f6971f435c
Fix bug with region leave not resetting properly 2024-02-11 00:35:07 -08:00
Nazrin
2e55936ab7
Fix typo in ChapterData.java 2024-02-10 22:58:58 -08:00
hartie95
f1cdbc0239 [Feature/Dugneon] Implement jumping to followup dungeons, might need extra testing 2024-02-10 22:04:17 +01:00
hartie95
24f55cbd4e [Fix] Lock gametime when starting the questing and set gametime to 540, to represent the experience from official 2024-02-10 21:59:47 +01:00
Alexander Hartmann
fb23a768c1
Merge pull request #90 from scooterboo/patch-5
Fix Quaternions
2024-02-10 20:00:55 +01:00
Nazrin
b8dc43d1a4
Fix Quaternions
Quaternions should NOT be treated like Euler angles
2024-02-10 01:08:16 -08:00
hartie95
59e2d2b4ce [CI] Make sure gradle checks if the artifact cache is up to date 2024-02-07 22:41:11 +01:00
hartie95
46048fd434 [Lib/Multiproto] Updated for current multiproto version 2024-02-07 22:27:22 +01:00
hartie95
a42841ab26 [Fix] Quest dungeons now get added and removed when the coresponding quests start/end instead of only on login 2024-02-07 22:26:07 +01:00
hartie95
a66fa7d5ed [Refactoring] shortened getCachedGadgetState 2024-02-07 22:24:27 +01:00
hartie95
70eb3f9d48 [Activity/WIP] Start adding code for aster/unreconsiled stars support
* Currently allows to view the acticity info and do some of the story, but a lot is still hardcoded
2024-02-06 21:44:55 +01:00
hartie95
efd162db77 [Feature/WIP] Added wip support for communication with an external sdk server reimplementations
* Permission handling is still broken when using it
2024-02-06 21:40:20 +01:00
hartie95
35279bfabe [BuildTools] Update gradle version 2024-02-06 21:22:26 +01:00
hartie95
e0448e0ca9 [Lua] Update for newest AnimeGameLua Changes
* Use the enums directly in some clases
* Use RewindData and QuestData from AnimeGameLua instead of our own RewindData and TeleportData
2024-02-06 21:01:06 +01:00
hartie95
5996c0052f [Fix] Fix KillGroupEntityByCfgIds bounce checks and use current group for *ExtraGroupSuite method if the groupId is 0
Also added helper method for getting the group by id in case 0 can be used for the current scripting group
2024-02-06 20:28:18 +01:00
hartie95
13dfdeccc0 [Fix] Fixed trying to convert LuaTables into LuaTables via LuaEngine in some cases in ScriptLibHandler and GadgetControllerHandler 2024-02-06 20:19:43 +01:00
hartie95
2cfb63ea28 [Fix] Fixed dungeon spawn position using BeginPos instead of BornPos 2024-02-06 20:13:07 +01:00
hartie95
ec326ff562 [Fix] Prevent the quest "mine craft" from just appearing by not returning true for the open state conditon check for city level reputation
* Also add some comment about the params for city reputation and offering level open state checks
2024-02-05 23:45:04 +01:00
hartie95
5ad2bc0036 [Fix] allow usage of multiple scriptengines by using shadow for the fat jar and merge service files 2024-02-02 16:16:20 +01:00
hartie95
9455d4dbdb [Feature] Update for the new AnimeGameLuaChanges
* Added some more scriplib defintions
* Pass the RequireMode enum to the Scriptconfig
2024-02-02 14:14:03 +01:00
hartie95
7a7c2ad8d7 [Building] Fixed removed class still being imported creating a jar 2024-02-02 13:43:28 +01:00
hartie95
740e12b05c [Refactoring] Use AnimeGameLua for lua parsing and lua script handling
* Also added support to read overwrite script files from an overwrite location
2024-01-22 01:15:14 +01:00
hartie95
a48b55ec1d [Fix] Fixes for small multi proto refactoring and building 2024-01-08 01:08:13 +01:00
hartie95
cf2ab47e88 [MultiProto] Use multiproto for most gameserver login packets and some more
* This should allow at least beach simulator and basic entity spawning for all versions via Multiproto
2024-01-03 16:33:37 +01:00
hartie95
9bdcfda43f [WIP] Use multiproto for typesafe version independend proto handling 2023-10-21 07:20:01 +02:00
hartie95
56c8a0acc4 [Fix] Fixed entering tower/spiral abyss with elementless traveler 2023-10-04 22:41:40 +02:00
hartie95
4551763a32 [Fix] Fixes for trial avatar handling in some cases and catch more exceptions in WorldDataSystem 2023-10-04 20:25:11 +02:00
Alexander Hartmann
12a8e46eb7
Merge pull request #80 from Anime-Game-Servers/luaj-improvements
[LUA] Improve performance for loading big data storage lua files with jnlua
2023-10-04 17:26:26 +02:00
hartie95
7c86e79d16 [LUA] Improve performance for loading big data storage lua files with jnlua (thx @eternalcomet ) 2023-10-04 17:17:53 +02:00
hartie95
e310b7db9c [dependencies] Use the AGS mvn repo instead of local jar files for luaj and jnlua 2023-10-04 05:00:29 +02:00
Alexander Hartmann
fe6b40f0bf
Merge pull request #78 from Anime-Game-Servers/small_fixes
Small fixes
2023-10-04 01:33:14 +02:00
hartie95
e2be06cdcf [Fix] Catch null positions in WorldDataSystems getInvestigationMonster 2023-10-04 01:20:21 +02:00
hartie95
1643f05059 [Fix] Use city data to generate the city list in GetSCeneAreaRsp, instead of a hardcoded list 2023-10-04 01:17:30 +02:00
hartie95
82fba2b31e [Fix] Actually send the unlocked areas from the player instead of a bruteforced list 2023-10-04 01:16:38 +02:00
hartie95
ac8c6848c9 [Fix] Add the actuall cfg id to client send EVENT_AVATAR_NEAR_PLATFORM events (thx @scooterboo ) 2023-10-04 01:00:35 +02:00
hartie95
78bb2510a7 [Fix] Fixed quest content/cond checks checking for unstarted quests (thx @scooterboo ) 2023-10-04 00:59:13 +02:00
Alexander Hartmann
58ef5a7f62
Merge pull request #76 from Anime-Game-Servers/refactor_lua_serializer
[Refactor] Refactor lua serializer and make Lua data classes private/read only
2023-09-14 14:23:04 +02:00
hartie95
6df5df73b2 [Fix] Handle null record in towermanager 2023-09-14 14:14:35 +02:00
hartie95
dbf8890d5a [Refactor] Decrease the number of reflector instances (thx @KingRainbow44 )
* Also cleanup some imports
2023-09-14 14:14:02 +02:00
hartie95
97c16db874 [Fix] Fix inherited private fields in the lua serializer 2023-09-14 14:08:34 +02:00
hartie95
03f4141975 [Refactor] Moved more Script data classes to private fields without setters
* Also added some missing fields to SceneObject, SceneRegion and SceneMonster
2023-09-01 19:23:02 +02:00
hartie95
08cc307c1d [Refactor/Lua] Allow Lua serializers to set private fields without setters in objects
* This is done by using reflection apis to use setAccessible to true for the fields
* This allows removing setters from read only lua based objects
2023-08-31 19:55:46 +02:00
Alexander Hartmann
b28e4c65eb
Merge pull request #74 from Anime-Game-Servers/refactor_quest_cont
QuestContent refactor+some more quest fixes and changes
2023-08-31 19:40:20 +02:00
hartie95
939783b913 [Refactor] QuestContent refactoring
* Use finish/failprogresslist to store the actuall progress
  * TODO verify if official sends progress like this too
* Only update progress if the event got fired
  * This prevents breaking similar conditons in the same quest by rechecking them agains the different events content
* Move initial progress checks to the Handler code
  * This removes hardcoding inital check conditions in the QuestManager
* Use the Quest system logger to make logging more granular
* Added some previously missing content implementations or triggers for them:
  * QUEST_CONTENT_OBTAIN_VARIOUS_ITEM (new)
  * QUEST_EXEC_RANDOM_QUEST_VAR (new, thx @scooterboo )
  * QUEST_COND_STATE_NOT_EQUAL (triggers)
  * QUEST_CONTENT_QUEST_STATE_NOT_EQUAL (triggers)
  * QUEST_CONTENT_LEAVE_SCENE (triggers, thx @scooterboo )
  * QUEST_*_QUEST_VAR_* (triggers)
* Don't trigger some events anymore manually
  * QUEST_CONTENT_FINISH_PLOT (gets send by the client)
* Always throw the talk events, in case a talk is not mapped to a quest (thx @scooterboo and @mjolsic )
* Added loading of dummy points from lua (not yet used)
2023-08-31 19:35:21 +02:00
Alexander Hartmann
8fc7e62523
Merge pull request #75 from mjolsic/challenge-fix
Mostly challenge fix, including tower and blossom, also partial of dungeons
2023-08-31 18:36:20 +02:00
hartie95
a50c82e377 [Refactor] Apply some code comments before merge 2023-08-31 18:30:32 +02:00