diff --git a/build/.cmake/api/v1/reply/index-2024-06-16T12-14-21-0690.json b/build/.cmake/api/v1/reply/index-2024-06-17T02-41-43-0820.json similarity index 100% rename from build/.cmake/api/v1/reply/index-2024-06-16T12-14-21-0690.json rename to build/.cmake/api/v1/reply/index-2024-06-17T02-41-43-0820.json diff --git a/build/src/CMakeFiles/hook_aurora.dir/df_main.cpp.o b/build/src/CMakeFiles/hook_aurora.dir/df_main.cpp.o index a933c2f..c173e0b 100644 Binary files a/build/src/CMakeFiles/hook_aurora.dir/df_main.cpp.o and b/build/src/CMakeFiles/hook_aurora.dir/df_main.cpp.o differ diff --git a/build/src/CMakeFiles/hook_aurora.dir/l_squirrel.cpp.o b/build/src/CMakeFiles/hook_aurora.dir/l_squirrel.cpp.o index dcc53ee..8f6e82d 100644 Binary files a/build/src/CMakeFiles/hook_aurora.dir/l_squirrel.cpp.o and b/build/src/CMakeFiles/hook_aurora.dir/l_squirrel.cpp.o differ diff --git a/include/SqrReg_User.hpp b/include/SqrReg_User.hpp index 6103592..6d5c6a4 100644 --- a/include/SqrReg_User.hpp +++ b/include/SqrReg_User.hpp @@ -146,7 +146,12 @@ static SQInteger CUser_SetCharacLevel(HSQUIRRELVM v) sq_getuserpointer(v, 2, &P); SQInteger Value; sq_getinteger(v, 3, &Value); - ((__SetUserByInt)0x0867a95c)((void *)P, Value); + + void *ptr = reinterpret_cast(0x0); + + CallUser(0x822FC8E, P, 1); + CallUser(0x0858EFDE, ptr, P, Value); + CallUser(0x822FC8E, P, 0); return 0; } static SQInteger CUser_GetCharacGrowType(HSQUIRRELVM v)