This commit is contained in:
2023-05-12 16:08:39 +08:00
parent c1943df644
commit 26aea31550
8 changed files with 272 additions and 214 deletions

View File

@@ -11,6 +11,7 @@ void sock::Pack_Control(int idx, int code, void* p3, void* p4)
Net_Get_Buffer(Buffer, Size);
Buffer[Size] = '\0';
//std::cout << Buffer << std::endl;
/*
std::fstream OutputFile;
OutputFile.open("Yosin_Log.txt", std::ios::app);
@@ -71,6 +72,20 @@ void sock::Pack_Control(int idx, int code, void* p3, void* p4)
SQ_Call(v, 2, 0, 1);
SQPop(v, 2);
}
#endif
//签到
#if defined SIGNIN
if (Op > 20051000 && Op <= 20051999)
{
uint32_t v = GetSqVm();
SQPushRootTable(v);
SQPushString(v, L"Sq_Pack_Control", -1);
SQ_Get(v, -2);
SQPushRootTable(v);
SQPushString(v, DNFTOOL::charTowchar_t(Buffer), -1);
SQ_Call(v, 2, 0, 1);
SQPop(v, 2);
}
#endif
//世界Boss
#if defined WORLDBOSS_SWITCH