Commit Graph

44 Commits

Author SHA1 Message Date
Melledy
2eaf991bfb Change schedule id in banners 2022-05-30 20:06:25 -07:00
xmplay
9cef853fb9 add 2.7 banners (first half) 2022-05-30 20:06:25 -07:00
6a1c19ae13 Autogenerate document files 2022-05-18 23:19:13 -07:00
2bllw8
a2d5b934df Add web documentation
- '/documentation': home page with all links
- '/documentation/handbook': html version of the gm handbook
- '/documentation/gachamapping': json document with the gacha mappings
2022-05-18 15:41:19 -07:00
4Benj_
ead0df336e
"Autogenerate" data files with data fallbacks and moved keys folder into jar resources (#927)
* Autogenerate keys and data files

* Update gacha html files

Accidentally pushed with old html files

* Keys no longer copied. No more manually retrieving listing files. Recursive directory creation

Removed unused code from old GC as well.

* Moved somethings and better errors

* Fixed resources from loading twice

* Data files fallback
2022-05-17 03:00:52 -07:00
Hotaru
213d2883a9 Move gacha files to separate directory and refactor file serving 2022-05-14 20:07:08 -07:00
HotaruYS
0231f26be0
Properly handle static assets for announcements (#891) 2022-05-14 20:05:19 -07:00
ShiroSaki
57a9cae1a4 add support for announcement page 2022-05-13 16:48:37 -07:00
AnimeGitB
a89377d558 Updated cost logic and default weights 2022-05-13 05:34:14 -07:00
AnimeGitB
3f3ab11ef6 Gacha rework
Add fallback stripping and C6 stripping
Converting banner definitions from pity vars to lerp arrays
Properly implement rates and pool smoothing
Also move reusable functions to Utils
2022-05-13 05:34:14 -07:00
Hotaru
e0b84e2751 Fix broken time formatting on gacha records 2022-05-12 18:46:21 -07:00
Hotaru
32a899ded3 Fix UTF-8 encoding in announcements 2022-05-12 17:54:50 -07:00
Hotaru
430e3d6d8b Build region_list and cur_region dynamically 2022-05-12 14:54:33 -07:00
ImmuState
5ff8a4514e Insert language setting based on the player's account. 2022-05-11 12:02:45 -07:00
ImmuState
1d4e0e09d0 Add gacha details page. 2022-05-11 12:02:45 -07:00
Akka
5a62a69c73 fix the Monster spawn between stage challenges 2022-05-10 00:05:01 +08:00
Akka
8a52a041bd Persist Tower Data && Set The Tower Schedule 2022-05-08 17:11:02 +08:00
Melledy
5a33720e4f Fix missing comma in expedition reward's json 2022-05-06 20:04:25 -07:00
ShigemoriHakura
84f8023396
Add all expedition rewards (#607)
* fix achievement proto

TakeAchievementRewardReq tells client the achievements achieved or not and it's progress.

* add import

* Add all AvatarExpedition protos

Expedition system has almost done but still has some bug so it will be uploaded later

* Add all expedition rewards
2022-05-06 19:50:13 -07:00
Kinesis
19a2c9b7ea Implement Avatar Expedition System
Co-Authored-By: ShigemoriHakura <62388797+ShigemoriHakura@users.noreply.github.com>
Co-Authored-By: KanyeWestc <104547412+KanyeWestc@users.noreply.github.com>
Co-Authored-By: QAQ 天小络 <72185326+XTL676@users.noreply.github.com>
Co-Authored-By: nkxingxh <25559053+nkxingxh@users.noreply.github.com>
Co-Authored-By: Yazawazi <47273265+Yazawazi@users.noreply.github.com>
Co-Authored-By: wuwuwu223 <81224214+wuwuwu223@users.noreply.github.com>
Co-Authored-By: omg-xtao <100690902+omg-xtao@users.noreply.github.com>
Co-Authored-By: Sakura <104815797+Sakura@users.noreply.github.com>
Co-Authored-By: NewNeko-2022 <104819344+NewNeko-2022@users.noreply.github.com>
Co-Authored-By: JimWails <30657653+JimWails@users.noreply.github.com>
Co-Authored-By: buttercookies <19878609+ButterCookies@users.noreply.github.com>
2022-05-06 13:28:26 -07:00
Benjamin Elsdon
b313d8567a Removed GCStatic. Cleaned up GachaRecordHandler. 2022-05-05 09:02:10 -07:00
Melledy
199c97f241
Remove link to personal site 2022-05-05 00:16:39 -07:00
51a6152afc Support giftPackage BatchUse
Co-authored-by: pris <lilch1022@hotmail.com>
2022-05-03 02:29:04 -07:00
Melledy
98af9b2433 Update spawns, also removed the monster spawns that were too close to newly created players 2022-05-03 02:27:18 -07:00
蓝云Reyes
e83e985bbc Fix 2022-05-02 10:49:53 -07:00
蓝云Reyes
216c899ec2 Update gacha_records.html
Change the colour scheme to make it look more comfortable.
2022-05-02 10:49:53 -07:00
蓝云Reyes
dae442872c Update gacha_records.html
Fix a problem where the switch page button was difficult to reach
2022-05-02 10:49:53 -07:00
蓝云Reyes
ee0a246471 Update gacha_records.html 2022-05-02 10:49:53 -07:00
蓝云Reyes
db3af8e3ee Update gacha_records.html 2022-05-02 10:49:53 -07:00
mingjun97
d912b59d93 Utils for gacha history record subsystem
* Auto generate mapping files with command `java -jar grasscutter.jar -gachamap`

* Static file provider
  * For gacha record webpage
  * All static files should be stored at `GRASSCUTTER_RESOURCE/gcstatic/`
  * Can benefit other subsystem in future when webpages involved
2022-05-02 02:53:28 -07:00
BaiSugar
2661cc5ef3 Fix announcement display 2022-05-02 02:50:32 -07:00
mingjun97
8cf4ef59ec Implement gacha history record subsystem
* Frontend is not very beautiful yet
* Didn't include too much `some anime game` data in the page to avoid being DMCA'd
2022-05-01 13:47:17 -07:00
KanyeWestc
9f813026c8 Add monster drop 2022-04-28 00:13:45 -07:00
Kengxxiao
27ac32a42b
Merge branch 'development' into dev-feature-drop 2022-04-27 22:54:59 +08:00
Kengxxiao
60a36282c4 use better shop config structure 2022-04-27 07:35:31 -07:00
Kengxxiao
842acabe5a implement npc shop 2022-04-27 07:35:31 -07:00
memetrollsXD
653bbbd737
Update Drop.json
data/ will appear in everyones files, so better change it to something more sane
2022-04-27 14:44:36 +02:00
Kengxxiao
08062b6da9 implement simple drop system 2022-04-27 17:42:02 +08:00
Melledy
3b414cda38 Natural spawn test
(without luas)
2022-04-25 14:28:44 -07:00
labalityowo
39cad79279
Fix Ayaka and weapon banner titles not showing up 2022-04-21 14:01:51 +07:00
memetrollsXD
98a86f6946
Merge branch 'development' into restart-command 2022-04-20 09:03:18 +02:00
memetrollsXD
42260f68a8 WIP Restart command - For now disconnects session, preferrably just send PlayerLoginRsp so it does the login sequence all over again 2022-04-19 19:39:54 +02:00
xmplay
e0e7f2e722
Updated Banners.json with the latest banners (19 Apr) 2022-04-19 13:23:57 +01:00
Melledy
3b45ff7d46 Initial commit 2022-04-17 05:43:07 -07:00