Files
AttackVector_AVNetwork/variables/strings/games/iidx.py
T
2026-01-26 18:48:28 -05:00

169 lines
5.2 KiB
Python

goodsList = b'''<p2d>
<status __type="s32">0</status>
<result>
<goods_list>
<goods_num __type="s32">7</goods_num>
<goods>
<use_priority __type="s32">1</use_priority>
<price __type="s32">1</price>
<item_id __type="str">I1000000</item_id>
<goods_id __type="str">G1000000</goods_id>
</goods>
<goods>
<use_priority __type="s32">1</use_priority>
<price __type="s32">1</price>
<item_id __type="str">I1000000</item_id>
<goods_id __type="str">G2000000</goods_id>
</goods>
<goods>
<use_priority __type="s32">1</use_priority>
<price __type="s32">1</price>
<item_id __type="str">I1000000</item_id>
<goods_id __type="str">G2000001</goods_id>
</goods>
<goods>
<use_priority __type="s32">1</use_priority>
<price __type="s32">1</price>
<item_id __type="str">I1000000</item_id>
<goods_id __type="str">G2000002</goods_id>
</goods>
<goods>
<use_priority __type="s32">1</use_priority>
<price __type="s32">1</price>
<item_id __type="str">I1000000</item_id>
<goods_id __type="str">G1000001</goods_id>
</goods>
<goods>
<use_priority __type="s32">1</use_priority>
<price __type="s32">1</price>
<item_id __type="str">I1000000</item_id>
<goods_id __type="str">G3000000</goods_id>
</goods>
<goods>
<use_priority __type="s32">1</use_priority>
<price __type="s32">1</price>
<item_id __type="str">I1000001</item_id>
<goods_id __type="str">G3000001</goods_id>
</goods>
</goods_list>
</result>
<error __type="s32">0</error>
</p2d>'''
clearList = '''<p2d>
<status __type="s32">0</status>
<result />
<play_style __type="s32">0</play_style>
<error __type="s32">0</error>
</p2d>'''
clearListRegex = r'<play_style __type="s32">(.+)<\/play_style>'
clearListTemplate = '''<music><score __type="s32" __count="{count}">{score}</score><play_num __type="s32" __count="{count}">{playCount}</play_num><music_id __type="s32">{musicID}</music_id><miss_count __type="s32" __count="{count}">{missCnt}</miss_count><clear_num __type="s32" __count="{count}">{clearAmt}</clear_num><clear_flag __type="s32" __count="{count}">{clearflg}</clear_flag></music>'''
rivalClearListTemplate = '''<music><score __type="s32" __count="{count}">{score}</score><music_id __type="s32">{musicID}</music_id><clear_flag __type="s32" __count="{count}">{clearflg}</clear_flag></music>'''
champInfo = b'''<p2d>
<status __type="s32">0</status>
<error __type="s32">0</error>
<result>
<championship_id __type="s32">-1</championship_id>
<championship_state __type="s32">0</championship_state>
<championship_name __type="str"></championship_name>
<entry_begin_clock __type="u64">0</entry_begin_clock>
<championship_begin_clock __type="u64">0</championship_begin_clock>
<championship_end_clock __type="u64">0</championship_end_clock>
<is_possible_play __type="bool">0</is_possible_play>
<repertoire_list>
<repertoire_num __type="s32">0</repertoire_num>
</repertoire_list>
</result>
</p2d>'
champInfo2 = b'<p2d>
<status __type="s32">0</status>
<error __type="s32">0</error>
<result>
<valid __type="bool">1</valid>
</result>
</p2d>'''
tokenRegex = r'<token __type="str">(.+)<\/token>'
MusicGhost = '''<p2d>
<status __type="s32">0</status>
<error __type="s32">0</error>
<result>
<music_id __type="s32"></music_id>
<note_id __type="s32"></note_id>
</result>
</p2d>'''
MusicGhostTemplate = '''<ghost>
<kind __type="s32">{kind}</kind>
<ghost_data __type="bin" __size="{ghostDataSize}">{ghostData}</ghost_data>
<exist __type="bool">1</exist>
<ex_score __type="s32">{exScore}</ex_score>
<dj_name __type="str">{dj_name}</dj_name>
<best_option>
<valid __type="bool">1</valid>
<flip __type="s32">{flip}</flip>
<assist __type="s32">{assist}</assist>
<arrange_1 __type="s32">{arrange1}</arrange_1>
<arrange_0 __type="s32">{arrange0}</arrange_0>
</best_option>
</ghost>'''
playdata = '''<p2d>
<status __type="s32">0</status>
<error __type="s32">0</error>
<result>
<infinitas_id __type="str">{infinitasID}</infinitas_id>
<valid __type="bool">0</valid>
<is_exist __type="bool">{isExist}</is_exist>
</result>
</p2d>'''
playerSave = '''<p2d>
<status __type="s32">0</status>
<result>
<size __type="s32">{saveDataSize}</size>
<pdata __type="bin" __size="{saveDataSize}">{saveData}</pdata>
<check_sum __type="str">{saveDataChecksum}</check_sum>
<rest_size __type="s32">0</rest_size>
</result>
<error __type="s32">0</error>
</p2d>'''
itemList = '''<p2d>
<status __type="s32">0</status>
<error __type="s32">0</error>
<result>
<item_list>
<item_num __type="s32">{itemCount}</item_num>
{defaultItems}
{itemLists}
</item_list>
</result>
</p2d>'''
PointList = '''<p2d>
<status __type="s32">0</status>
<result>
<point_count __type="s32">1</point_count>
<point>
<point_num __type="u32">15000</point_num>
<point_id __type="str">P0100000</point_id>
</point>
</result>
<error __type="s32">0</error>
</p2d>'''
PointsAdd = '''<p2d>
<status __type="s32">0</status>
<result>
<point_count __type="s32">1</point_count>
<point>
<point_num __type="u32">{bits}</point_num>
<point_id __type="str">P0100000</point_id>
</point>
</result>
<error __type="s32">0</error>
</p2d>'''