Skip to content

Commit

Permalink
Update to v1.8
Browse files Browse the repository at this point in the history
close #4
close #7
  • Loading branch information
Lost-MSth committed Dec 3, 2020
1 parent dfcbb6f commit 5c02ecd
Show file tree
Hide file tree
Showing 15 changed files with 887 additions and 671 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This is a small local Arcaea server based on Python and Flask, which can simulat

没有以下 We don't have:
- 角色数值 Character characteristic value
- 数据同步的时间和设备记录 The record of time and device for data synchronization
- 数据同步的时间记录 The record of time for data synchronization
- 服务器安全性保证 Server security assurance

可能有问题 There may be problems:
Expand All @@ -54,15 +54,13 @@ It is just so interesting. What it can do is under exploration.
>
> Tips: When updating, please keep the original database in case of data loss.
### Version 1.7
- 仍然适用于Arcaea 3.2.3版本 Still for Arcaea 3.2.3
### Version 1.8
- 适用于Arcaea 3.3.0版本 For Arcaea 3.3.0
- 更新了歌曲数据库 Update the song database.
- 新增了购买系统,包括单曲购买和曲包购买 Add purchase system, including single purchase and pack purchase.
- 后台查询与修改项目增多 Increase background query and modification items.
- 新增用户下载量限制和下载校验 Add user download limit and download verification.
- 新增了****的语音 Add the voice of **Yume**.
- 新增了网站图标 Add a favicon.
- 尝试解锁了所有的场景 Try to unlock all the scenes.
- 新角色**Alice & Tenniel**已解锁 Unlock new character **Alice & Tenniel**.
- 数据同步机制修改 Modify data synchronization mechanism.
- Recent30增添简易的PTT保护机制 Add simple PTT protection mechanism to Recent30.
- 尝试解锁了一些东西 Try to unlock something.
- 修复了一些Bug Fix some bugs.

## 运行环境与依赖 Running environment and requirements
Expand Down
Binary file modified latest version/database/arcaea_database.db
Binary file not shown.
Binary file modified latest version/database/arcsong.db
Binary file not shown.
19 changes: 14 additions & 5 deletions latest version/database/database_initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,17 +199,26 @@
type text,
primary key(user_id, item_id, type)
);''')
c.execute('''create table if not exists user_save(user_id int primary key,
scores_data text,
clearlamps_data text,
clearedsongs_data text,
unlocklist_data text,
installid_data text,
devicemodelname_data text,
story_data text
);''')

char = ['Hikari', 'Tairitsu', 'Kou', 'Sapphire', 'Lethe', '', 'Tairitsu(Axium)', 'Tairitsu(Grievous Lady)', 'Stella', 'Hikari & Fisica', 'Ilith', 'Eto', 'Luna', 'Shirabe', 'Hikari(Zero)', 'Hikari(Fracture)', 'Hikari(Summer)', 'Tairitsu(Summer)', 'Tairitsu&Trin',
'Ayu', 'Eto&Luna', 'Yume', 'Seine & Hikari', 'Saya', 'Tairitsu & Chuni Penguin', 'Chuni Penguin', 'Haruna', 'Nono', 'MTA-XXX', 'MDA-21', 'Kanae', 'Hikari(Fantasia)', 'Tairitsu(Sonata)', 'Sia', 'DORO*C', 'Tairitsu(Tempest)', 'Brillante', 'Ilith(Summer)', 'Etude']
char = ['Hikari', 'Tairitsu', 'Kou', 'Sapphire', 'Lethe', '', 'Tairitsu(Axium)', 'Tairitsu(Grievous Lady)', 'Stella', 'Hikari & Fisica', 'Ilith', 'Eto', 'Luna', 'Shirabe', 'Hikari(Zero)', 'Hikari(Fracture)', 'Hikari(Summer)', 'Tairitsu(Summer)', 'Tairitsu & Trin',
'Ayu', 'Eto & Luna', 'Yume', 'Seine & Hikari', 'Saya', 'Tairitsu & Chuni Penguin', 'Chuni Penguin', 'Haruna', 'Nono', 'MTA-XXX', 'MDA-21', 'Kanae', 'Hikari(Fantasia)', 'Tairitsu(Sonata)', 'Sia', 'DORO*C', 'Tairitsu(Tempest)', 'Brillante', 'Ilith(Summer)', 'Etude', 'Alice & Tenniel']

skill_id = ['gauge_easy', '', '', '', 'note_mirror', '', '', 'gauge_hard', 'frag_plus_10_pack_stellights', 'gauge_easy|frag_plus_15_pst&prs', 'gauge_hard|fail_frag_minus_100', 'frag_plus_5_side_light', 'visual_hide_hp', 'frag_plus_5_side_conflict', 'challenge_fullcombo_0gauge', 'gauge_overflow', 'gauge_easy|note_mirror', 'note_mirror', 'visual_tomato_pack_tonesphere',
'frag_rng_ayu', 'gaugestart_30|gaugegain_70', 'combo_100-frag_1', 'audio_gcemptyhit_pack_groovecoaster', 'gauge_saya', 'gauge_chuni', 'kantandeshou', 'gauge_haruna', 'frags_nono', 'gauge_pandora', 'gauge_regulus', 'omatsuri_daynight', '', '', 'sometimes(note_mirror|frag_plus_5)', 'scoreclear_aa|visual_scoregauge', 'gauge_tempest', 'gauge_hard', 'gauge_ilith_summer', '']
'frag_rng_ayu', 'gaugestart_30|gaugegain_70', 'combo_100-frag_1', 'audio_gcemptyhit_pack_groovecoaster', 'gauge_saya', 'gauge_chuni', 'kantandeshou', 'gauge_haruna', 'frags_nono', 'gauge_pandora', 'gauge_regulus', 'omatsuri_daynight', '', '', 'sometimes(note_mirror|frag_plus_5)', 'scoreclear_aa|visual_scoregauge', 'gauge_tempest', 'gauge_hard', 'gauge_ilith_summer', '', 'note_mirror|visual_hide_far']

skill_id_uncap = ['', '', 'frags_kou', '', 'visual_ink', '', '', '', '', '', '', '', '', 'shirabe_entry_fee',
'', '', '', '', '', '', '', 'frags_yume', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '']
'', '', '', '', '', '', '', 'frags_yume', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '']

for i in range(0, 39):
for i in range(0, 40):
if i in [0, 1, 2, 4, 13, 26, 27, 28, 29, 36, 21]:
sql = 'insert into character values('+str(
i)+',"'+char[i]+'''",30,25000,25000,90,90,90,"'''+skill_id[i]+'''",0,0,"'''+skill_id_uncap[i]+'''",0,'',1,1)'''
Expand Down
48 changes: 29 additions & 19 deletions latest version/database/packs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"items": [{
"type": "pack",
"id": "core",
"_id": "5fb5b68a68273a03de60f205",
"_id": "5fc8306209787401bb857d1b",
"is_available": true
}],
"price": 500,
Expand All @@ -15,12 +15,12 @@
"items": [{
"type": "pack",
"id": "shiawase",
"_id": "5fb5b68a68273a03de60f234",
"_id": "5fc8306209787401bb857d3b",
"is_available": true
}, {
"type": "character",
"id": "kou",
"_id": "5fb5b68a68273a03de60f233",
"_id": "5fc8306209787401bb857d3a",
"is_available": true
}],
"price": 500,
Expand All @@ -32,12 +32,12 @@
"items": [{
"type": "pack",
"id": "dynamix",
"_id": "5fb5b68a68273a03de60f238",
"_id": "5fc8306209787401bb857d33",
"is_available": true
}, {
"type": "character",
"id": "sapphire",
"_id": "5fb5b68a68273a03de60f237",
"_id": "5fc8306209787401bb857d32",
"is_available": true
}],
"price": 500,
Expand All @@ -49,12 +49,12 @@
"items": [{
"type": "pack",
"id": "mirai",
"_id": "5fb5b68a68273a03de60f23e",
"_id": "5fc8306209787401bb857d37",
"is_available": true
}, {
"type": "character",
"id": "lethe",
"_id": "5fb5b68a68273a03de60f23d",
"_id": "5fc8306209787401bb857d36",
"is_available": true
}],
"price": 500,
Expand All @@ -66,7 +66,7 @@
"items": [{
"type": "pack",
"id": "yugamu",
"_id": "5fb5b68a68273a03de60f206",
"_id": "5fc8306209787401bb857d1c",
"is_available": true
}],
"price": 500,
Expand All @@ -78,7 +78,7 @@
"items": [{
"type": "pack",
"id": "lanota",
"_id": "5fb5b68a68273a03de60f211",
"_id": "5fc8306209787401bb857d26",
"is_available": true
}],
"price": 500,
Expand All @@ -90,7 +90,7 @@
"items": [{
"type": "pack",
"id": "nijuusei",
"_id": "5fb5b68a68273a03de60f207",
"_id": "5fc8306209787401bb857d1d",
"is_available": true
}],
"price": 500,
Expand All @@ -102,7 +102,7 @@
"items": [{
"type": "pack",
"id": "rei",
"_id": "5fb5b68a68273a03de60f1fd",
"_id": "5fc8306209787401bb857cfa",
"is_available": true
}],
"price": 500,
Expand All @@ -114,7 +114,7 @@
"items": [{
"type": "pack",
"id": "tonesphere",
"_id": "5fb5b68a68273a03de60f213",
"_id": "5fc8306209787401bb857d28",
"is_available": true
}],
"price": 500,
Expand All @@ -126,7 +126,7 @@
"items": [{
"type": "pack",
"id": "groovecoaster",
"_id": "5fb5b68a68273a03de60f22c",
"_id": "5fc8306209787401bb857d14",
"is_available": true
}],
"price": 500,
Expand All @@ -138,7 +138,7 @@
"items": [{
"type": "pack",
"id": "zettai",
"_id": "5fb5b68a68273a03de60f1ff",
"_id": "5fc8306209787401bb857cfc",
"is_available": true
}],
"price": 500,
Expand All @@ -150,7 +150,7 @@
"items": [{
"type": "pack",
"id": "chunithm",
"_id": "5fb5b68a68273a03de60f221",
"_id": "5fc8306209787401bb857d09",
"is_available": true
}],
"price": 300,
Expand All @@ -160,7 +160,7 @@
"items": [{
"type": "pack",
"id": "prelude",
"_id": "5fb5b68a68273a03de60f22d",
"_id": "5fc8306209787401bb857d15",
"is_available": true
}],
"price": 400,
Expand All @@ -170,7 +170,7 @@
"items": [{
"type": "pack",
"id": "omatsuri",
"_id": "5fb5b68a68273a03de60f200",
"_id": "5fc8306209787401bb857cfd",
"is_available": true
}],
"price": 500,
Expand All @@ -180,7 +180,7 @@
"items": [{
"type": "pack",
"id": "vs",
"_id": "5fb5b68a68273a03de60f224",
"_id": "5fc8306209787401bb857d0c",
"is_available": true
}],
"price": 500,
Expand All @@ -190,9 +190,19 @@
"items": [{
"type": "pack",
"id": "extend",
"_id": "5fb5b68a68273a03de60f230",
"_id": "5fc8306209787401bb857d18",
"is_available": true
}],
"price": 700,
"orig_price": 700
}, {
"name": "alice",
"items": [{
"type": "pack",
"id": "alice",
"_id": "5fc8306209787401bb857d02",
"is_available": true
}],
"orig_price": 500,
"price": 500
}]
Loading

0 comments on commit 5c02ecd

Please sign in to comment.