更新HttpServer类以支持服务ID管理,添加MD5类的hex_encode函数和改进base64_encode函数,修改A.nut文件以增加注释和功能
This commit is contained in:
@@ -116,8 +116,40 @@ Gm_InputFunc_Handle["test"] <- function(SUser, CmdString) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Timer.SetTimeOut(function() {
|
||||
|
||||
|
||||
// // Sq_Rsa_GenerateKey();
|
||||
// local str = format("%08x010101010101010101010101010101010101010101010101010101010101010155914510010403030101", 1);
|
||||
// local Byte = Sq_Rsa_Private_Encrypt(str);
|
||||
// local EnStr = _base64_encode(Byte);
|
||||
// print(EnStr);
|
||||
|
||||
}, 1);
|
||||
local passwd = "1";
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}, 1);
|
||||
|
||||
|
||||
|
||||
// //玩家新增道具时
|
||||
// Cb_wdzsdfge_Enter_Func <- {};
|
||||
// Cb_wdzsdfge_Leave_Func <- {};
|
||||
// _Hook_Register_Currency_Func_("0x81E8C78", ["pointer", "pointer", "pointer", "int"], Cb_wdzsdfge_Enter_Func, Cb_wdzsdfge_Leave_Func);
|
||||
|
||||
|
||||
// Cb_wdzsdfge_Leave_Func["11"] <- function(args) {
|
||||
// local Ret = Sq_CallFunc(S_Ptr("0x816EE1E"), "pointer", ["pointer"], args[1]);
|
||||
// print("登录请求: ");
|
||||
// print("GarenaAuthData: " + Ret);
|
||||
// print("args[0]: " + args[0] + " args[1]: " + args[1]);
|
||||
// print("args[2]: ");
|
||||
// NativePointer(args[2]).Output(512);
|
||||
// }
|
||||
Reference in New Issue
Block a user