Skip to content

Instantly share code, notes, and snippets.

esterTion

Block or report user

Report or block esterTion

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@esterTion
esterTion / arcaea-frag-award.c
Created Apr 30, 2019
pseudo code of fragment award algorithm in Arcaea
View arcaea-frag-award.c
void award_fragment() {
int play_award = 0;
int clear_award = 0;
int performance_award = 0;
int first_clear_award = 0;
int partner_award = 0;
int difficulty = Chart->difficulty;
int clear_type = GameResult::getCalculatedClearType(...);
@esterTion
esterTion / pac_add.c
Last active Apr 19, 2019
Set a pac url to com.apple.CommCenter (ip1), i.e. cellular data
View pac_add.c
//
// pac_add.m
// pac_add
//
// Created by esterTion on 2019/4/19.
// xcrun -sdk iphoneos clang -isysroot $THEOS/sdks/iPhoneOS11.2.sdk -arch arm64 -I$THEOS/include -framework Foundation -L$THEOS/lib -lactivator main.m -o pac_add
//
#import <Foundation/Foundation.h>
#import <stdio.h>
@esterTion
esterTion / 0_BiliComicWebReader
Last active Jun 12, 2019
BiliComicWebReader
View 0_BiliComicWebReader
shit title placeholder
View PRCN-restore-dll.php
<?php
/*
* Semi-auto restore Princess Connect ReDive (PC-DMM) C# dll
* Step I: Run game and use Live RAM Caputurer ( http://www.forensicswiki.org/wiki/Belkasoft_Live_RAM_Capturer )
* Step II: Use volatility to <pslist> and then <ramdump> ( https://github.com/volatilityfoundation/volatility )
* Step III: Use this script
*/
if (!file_exists('Assembly-CSharp.dll')) {
@esterTion
esterTion / arcaea-hp-algo.c
Created Jan 18, 2019
pseudo code of hp algorithm in Arcaea
View arcaea-hp-algo.c
ScoreState::init() {
if (skillType == 2) {
this->hp = 100.0;
} else if (this->characterAbility != NULL) {
this->hp = this->characterAbility->hpStart;
} else {
this->hp = 0.0;
}
if (noteCount < 1) {
View arc-probe-server.php
<?php
// https://gist.github.com/esterTion/c673a5e2547cd54c202f129babaf601d
chdir(__DIR__);
require_once __DIR__ . '/../webpthumb/Workerman-master/Autoloader.php';
use Workerman\Worker;
use Workerman\Protocols\Websocket;
use Workerman\Lib\Timer;
@esterTion
esterTion / arc-score.php
Last active Jun 6, 2019
Arcaea Api Proxy w/ data recording
View arc-score.php
<?php
// https://gist.github.com/esterTion/fe184d4e51c2421310bdeba26046f139
$uri = $_SERVER['REQUEST_URI'];
$req = file_get_contents("php://input");
if (empty($_SERVER['HTTP_AUTHORIZATION']) || trim($_SERVER['HTTP_AUTHORIZATION']) === 'Bearer') {
if (substr($uri, 0, 21) === '/5/compose/aggregate?' && $_SERVER['HTTP_APPVERSION'] === '2.0.2') {
header('Content-Type: application/json');
@esterTion
esterTion / 0_Arcaea_Api_Switcher
Last active Apr 25, 2019
Redirect game api call host
View 0_Arcaea_Api_Switcher
shit title place holder
@esterTion
esterTion / acfun记录.md
Last active Dec 17, 2018
有关视频接口
View acfun记录.md

AHP正在用的flash接口

'http://player.acfun.cn/flash_data?vid=' + pageInfo.sourceId + '&ct=85&ev=3&sign=' + pageInfo.sign + '&time=' + Date.now()
ct=85 ev=3
验referrer
rc4密钥 8bdc7e1a

iamscottxu/acfun-Html5player里面的接口

(怀疑这是猴山人的beta,你看看那个 http://aplay-vod.cn-beijing.aliyuncs.com/acfun/h5.js
http://player.acfun.cn/js_data?vid=5bcac14b0cf2c691dfceccc9&ct=86&ev=4&sign=2_1540645549_5e1c0ab48b9dbd1861463324023a9db8
ct=86 ev=4

You can’t perform that action at this time.