Closed Vector000 closed 6 years ago
感谢,这个我暂时没想到好方法,所以只能每次手动更新了
Vector000 notifications@github.com 于 2017年12月6日周三 17:19写道:
今天上线的新活动,实测发现B站对dataJson.giftId的返回值进行了修改
我将listener.js:47中的if (dataJson.giftId === 103)修改为if (dataJson.giftId === 106)后可以正常抽火力票,大大可以更新一波
嘛,破站就知道瞎改ㄟ( ▔, ▔ )ㄏ
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lzghzr/bilive_client/issues/33, or mute the thread https://github.com/notifications/unsubscribe-auth/AMxV0sc6PV0GBirBEW1wMmo8T9zhqvQwks5s9lwZgaJpZM4Q3mFZ .
改个值还好,重新编译麻烦啊 源码的话是listener.ts:118,就一个值
改好了,这个值是活动的礼物ID,每次活动都会变(・.・;)
Vector000 notifications@github.com 于 2017年12月6日周三 17:23写道:
改个值还好,重新编译麻烦啊
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/lzghzr/bilive_client/issues/33#issuecomment-349581866, or mute the thread https://github.com/notifications/unsubscribe-auth/AMxV0mChV8IfMCQZBeryzlcCC42sR39sks5s9l0RgaJpZM4Q3mFZ .
我也是在js里加条tools.Log才知道改成了106( ̄▽ ̄)"
所以现在release的已经是改好的编译版本咯?
恩,已经改好了,因为改动太小就没加版本号
Vector000 notifications@github.com 于 2017年12月6日周三 22:02写道:
我也是在js里加条tools.Log才知道改成了106( ̄▽ ̄)"
所以现在release的已经是改好的编译版本咯?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lzghzr/bilive_client/issues/33#issuecomment-349648303, or mute the thread https://github.com/notifications/unsubscribe-auth/AMxV0p2J1pNqHsBPXwkox0mFT9TNC_4yks5s9p5lgaJpZM4Q3mFZ .
今天上线的新活动,实测发现B站对
dataJson.giftId
的返回值进行了修改我将listener.js:47中的
if (dataJson.giftId === 103)
修改为if (dataJson.giftId === 106)
后可以正常抽火力票,大大可以更新一波嘛,破站就知道瞎改ㄟ( ▔, ▔ )ㄏ