Commit Graph

41 Commits

Author SHA1 Message Date
Akka
5d0610b6f2 Fixed excessive memory usage of Spatial Index 2022-05-25 00:42:52 -07:00
Akka
e1770b5a68 Support spawn NPC 2022-05-24 21:43:51 -07:00
Akka
57260415b0 refactor the challenge 2022-05-23 15:46:17 -07:00
Akka
233b46b2f9 Support Boss Chest 2022-05-19 23:36:13 -07:00
Melledy
29941aa8d0 Add area_id to SceneObject 2022-05-19 02:28:46 -07:00
Melledy
5f8cc47e87 Fix bad casting exceptions with scene garbages objects 2022-05-19 02:28:25 -07:00
Melledy
4ef3080c62 Move gadget/monster creation events to after they are spawned in scene 2022-05-19 00:36:38 -07:00
Akka
8faf8decec optimized the Lua func binding so that the script will not eval again 2022-05-18 20:51:39 -07:00
Melledy
2e24d77bc2 Cleanup and remove business_type filter 2022-05-18 05:33:00 -07:00
Melledy
f53dda0335 Fix errors caused by merge + Refactor chests into GadgetChest 2022-05-18 02:36:50 -07:00
Melledy
73a88b2da2 Merge branch 'dev-world-scripts' of https://github.com/Grasscutters/Grasscutter into dev-world-scripts 2022-05-18 02:24:00 -07:00
Melledy
17a273387e Implement local specialty spawning 2022-05-18 02:21:34 -07:00
Akka
7c02e6c912 Support Open Chest 2022-05-18 01:07:06 -07:00
Melledy
e43946e44c Fixed issue with scene groups after merge 2022-05-16 22:09:10 -07:00
Akka
c103841a03 optimized the lua serializer 2022-05-16 21:30:04 -07:00
Akka
8a7077dc04 Enable script in big world (#884)
* add docs for tower

* fix: LEAK: ByteBuf.release() was not called

* enableScriptInBigWorld

* not print log when loaded scripts from cache

* revert the change of server tick

* revert the change of server tick

* fix

* optimize the performance: lazy load & cache

* fix the refresh group

* fix NPE

Co-authored-by: Melledy <52122272+Melledy@users.noreply.github.com>
2022-05-15 04:19:24 -07:00
KingRainbow44
87bfc25ab8 Refactor dispatch (now called HTTP) server (pt. 2) 2022-05-13 23:22:30 -04:00
KingRainbow44
6894ab8aae Convert to the far superior config system 2022-05-11 00:30:07 -04:00
Akka
0764b6c2fa little fix 2022-05-10 00:14:50 +08:00
Akka
3e65ce63f5 Merge remote-tracking branch 'origin/development' into tower 2022-05-10 00:07:10 +08:00
Akka
5a62a69c73 fix the Monster spawn between stage challenges 2022-05-10 00:05:01 +08:00
Akka
ec7a66861a Fix #719 2022-05-09 02:28:41 -07:00
Akka
bf8f4fba52 Fix #719 2022-05-09 17:01:08 +08:00
Akka
d00465125d Support Team Toggle in Tower & Refactor MonsterTide 2022-05-09 15:39:49 +08:00
Akka
8a52a041bd Persist Tower Data && Set The Tower Schedule 2022-05-08 17:11:02 +08:00
Akka
d20cffb905 Monsters tide turn by turn && Ban User Skill && Lua functions 2022-05-07 21:47:13 +08:00
wulf
71095786b8 fix scence block loading bug 2022-05-06 13:43:42 -07:00
Akka
81ca86092c Add some lua functions 2022-05-07 00:15:23 +08:00
Melledy
e7276a75d3 Fixed dungeon challenge scoreboard and implement dungeon drops
Also fixed a few dungeon script handlers
2022-05-03 23:24:43 -07:00
Melledy
b140c7f5bf Implement script region check 2022-04-30 01:20:44 -07:00
Melledy
202361f2bf Move script constants to globals 2022-04-30 01:20:44 -07:00
Melledy
a61e1916a0 Temporary fix for scripts that call require 2022-04-30 01:20:44 -07:00
Melledy
c22c7ecb44 Implement spawning monsters by suite 2022-04-29 03:06:33 -07:00
Melledy
d77fbadab7 Add a few more functions for the script engine to call 2022-04-29 02:38:25 -07:00
Melledy
d0b1f445fd Implement lazy loading of scripts when they enter a new block 2022-04-29 02:07:25 -07:00
Melledy
3d0970746e Prevent weird crashing if there was an error loading scripts 2022-04-29 01:15:40 -07:00
Melledy
95d979626d Fix monster levels in dungeons 2022-04-29 01:03:16 -07:00
Melledy
f605ef51b6 Implement AddExtraGroupSuite 2022-04-29 00:52:40 -07:00
Melledy
c3c170def9 Allow the player to finish dungeons 2022-04-29 00:49:05 -07:00
Melledy
069ae5fbb8 Clean script events 2022-04-29 00:00:23 -07:00
Melledy
c1e69ce343 Implement script support needed for dungeons
Only a few are supported right now
You will need certain script files in ./resources/Scripts
2022-04-28 22:19:14 -07:00