Update for 1.72
How do i use this?
How do i use this?
I have the same question
- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/luajit-build/src/buildvm
[ 16%] Building C object CMakeFiles/buildvm.dir/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/luajit-src/src/host/buildvm.c.o
[ 33%] Building C object CMakeFiles/buildvm.dir/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/luajit-src/src/host/buildvm_asm.c.o
[ 50%] Building C object CMakeFiles/buildvm.dir/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/luajit-src/src/host/buildvm_fold.c.o
[ 66%] Building C object CMakeFiles/buildvm.dir/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/luajit-src/src/host/buildvm_lib.c.o
[ 83%] Building C object CMakeFiles/buildvm.dir/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/luajit-src/src/host/buildvm_peobj.c.o
[100%] Linking C executable buildvm
[100%] Built target buildvm
[161/424] Building CXX object CMakeFil.../game/backend/PersonalVehicles.cpp.obj
FAILED: CMakeFiles/YimMenuV2.dir/src/game/backend/PersonalVehicles.cpp.obj
/usr/bin/clang++ --target=x86_64-w64-mingw32ucrt -DCXX_FORMAT_SUPPORT -DIMGUI_DEFINE_MATH_OPERATORS -DNOMINMAX -DWIN32_LEAN_AND_MEAN -DYimMenuV2_EXPORTS -D_CRT_SECURE_NO_WARNINGS -I/home/gaz/Desktop/YimMenuV2-enhanced/src -I/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/imgui-src -I/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/minhook-src/include -I/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/minhook-src/src/hde -I/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/luajit-src/src -I/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/luajit-build/src -I/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/asynclogger-src/src -I/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/asynclogger-src/include -I/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/json-src/single_include -O2 -g -DNDEBUG -std=gnu++23 -fms-extensions -femulated-tls -fuse-ld=lld -fno-rtti -Wno-date-time -Winvalid-pch -Xclang -include-pch -Xclang /home/gaz/Desktop/YimMenuV2-enhanced/build/CMakeFiles/YimMenuV2.dir/cmake_pch.hxx.pch -Xclang -include -Xclang /home/gaz/Desktop/YimMenuV2-enhanced/build/CMakeFiles/YimMenuV2.dir/cmake_pch.hxx -MD -MT CMakeFiles/YimMenuV2.dir/src/game/backend/PersonalVehicles.cpp.obj -MF CMakeFiles/YimMenuV2.dir/src/game/backend/PersonalVehicles.cpp.obj.d -o CMakeFiles/YimMenuV2.dir/src/game/backend/PersonalVehicles.cpp.obj -c /home/gaz/Desktop/YimMenuV2-enhanced/src/game/backend/PersonalVehicles.cpp
/home/gaz/Desktop/YimMenuV2-enhanced/src/game/backend/PersonalVehicles.cpp:443:60: error: invalid operands to binary expression ('const time_point' (aka 'const time_point<std::chrono::system_clock, duration<long long, ratio<1, 1000000000>>>') and 'std::chrono::time_pointstd::chrono::steady_clock')
443 | if (std::chrono::duration_caststd::chrono::seconds(now - m_LastUpdate) < 10s)
| ~~~ ^ ~~~~~~~~~~~~
/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/imgui-src/imgui.h:2833:16: note: candidate function not viable: no known conversion from 'const time_point' (aka 'const time_point<std::chrono::system_clock, duration<long long, ratio<1, 1000000000>>>') to 'const ImVec2' for 1st argument
2833 | inline ImVec2 operator-(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x - rhs.x, lhs.y - rhs.y); }
| ^ ~~~~~~~~~~~~~~~~~
/home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/imgui-src/imgui.h:2849:16: note: candidate function not viable: no known conversion from 'const time_point' (aka 'const time_point<std::chrono::system_clock, duration<long long, ratio<1, 1000000000>>>') to 'const ImVec4' for 1st argument
2849 | inline ImVec4 operator-(const ImVec4& lhs, const ImVec4& rhs) { return ImVec4(lhs.x - rhs.x, lhs.y - rhs.y, lhs.z - rhs.z, lhs.w - rhs.w); }
| ^ ~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/chrono.h:1141:7: note: candidate template ignored: deduced conflicting types for parameter '_Clock' ('std::chrono::system_clock' vs. 'std::chrono::steady_clock')
1141 | operator-(const time_point<_Clock, _Dur1>& __lhs,
| ^
/usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/stl_iterator.h:625:5: note: candidate template ignored: could not match 'reverse_iterator' against 'time_point'
625 | operator-(const reverse_iterator<_IteratorL>& __x,
| ^
/usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/stl_iterator.h:1800:5: note: candidate template ignored: could not match 'move_iterator' against 'time_point'
1800 | operator-(const move_iterator<_IteratorL>& __x,
| ^
/usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/chrono.h:710:7: note: candidate template ignored: could not match 'duration' against 'time_point'
710 | operator-(const duration<_Rep1, _Period1>& __lhs,
| ^
/usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/chrono.h:1129:7: note: candidate template ignored: could not match 'duration' against 'time_point'
1129 | operator-(const time_point<_Clock, _Dur1>& __lhs,
| ^
/usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/valarray_after.h:406:5: note: candidate template ignored: could not match '_Expr' against 'time_point'
406 | _DEFINE_EXPR_BINARY_OPERATOR(-, struct std::__minus)
| ^
/usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/valarray_after.h:344:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR'
344 | operator _Op(const _Expr<_Dom1, typename _Dom1::value_type>& __v,
| ^ /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/valarray_after.h:406:5: note: candidate template ignored: could not match '_Expr' against 'time_point' /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/valarray_after.h:357:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR' 357 | operator _Op(const _Expr<_Dom, typename _Dom::value_type>& __v,
| ^ /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/valarray_after.h:406:5: note: candidate template ignored: could not match '_Expr' against 'time_point' /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/valarray_after.h:370:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR' 370 | operator _Op(const typename _Dom::value_type& __t,
| ^ /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/valarray_after.h:406:5: note: candidate template ignored: could not match '_Expr' against 'time_point' /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/valarray_after.h:383:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR' 383 | operator _Op(const _Expr<_Dom,typename _Dom::value_type>& __e,
| ^ /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/valarray_after.h:406:5: note: candidate template ignored: could not match '_Expr' against 'time_point' /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/valarray_after.h:396:5: note: expanded from macro '_DEFINE_EXPR_BINARY_OPERATOR' 396 | operator _Op(const valarray<typename _Dom::value_type>& __v,
| ^ /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/valarray:1191:1: note: candidate template ignored: could not match 'valarray' against 'time_point' 1191 | _DEFINE_BINARY_OPERATOR(-, __minus) | ^ /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/valarray:1160:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR' 1160 | operator _Op(const valarray<_Tp>& __v, const valarray<_Tp>& __w)
| ^ /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/valarray:1191:1: note: candidate template ignored: could not match 'valarray' against 'time_point' /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/valarray:1171:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR' 1171 | operator _Op(const valarray<_Tp>& __v,
| ^ /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/valarray:1191:1: note: candidate template ignored: could not match 'valarray' against 'time_point' /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/valarray:1182:5: note: expanded from macro '_DEFINE_BINARY_OPERATOR' 1182 | operator _Op(const typename valarray<_Tp>::value_type& __t,
| ^ /home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/imgui-src/imgui.h:2836:16: note: candidate function not viable: requires single argument 'lhs', but 2 arguments were provided 2836 | inline ImVec2 operator-(const ImVec2& lhs) { return ImVec2(-lhs.x, -lhs.y); } | ^ ~~~~~~~~~~~~~~~~~ /home/gaz/Desktop/YimMenuV2-enhanced/build/_deps/imgui-src/imgui.h:2852:16: note: candidate function not viable: requires single argument 'lhs', but 2 arguments were provided 2852 | inline ImVec4 operator-(const ImVec4& lhs) { return ImVec4(-lhs.x, -lhs.y, -lhs.z, -lhs.w); } | ^ ~~~~~~~~~~~~~~~~~ /home/gaz/Desktop/YimMenuV2-enhanced/src/game/backend/PersonalVehicles.cpp:446:16: error: no viable overloaded '=' 446 | m_LastUpdate = std::chrono::high_resolution_clock::now(); | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/chrono.h:922:13: note: candidate function (the implicit copy assignment operator) not viable: no known conversion from 'time_point<system_clock, [...]>' to 'const time_point<std::chrono::steady_clock, [...]>' for 1st argument 922 | class time_point | ^~~~~~~~~~ /usr/lib/gcc/x86_64-w64-mingw32/13-win32/include/c++/bits/chrono.h:922:13: note: candidate function (the implicit move assignment operator) not viable: no known conversion from 'time_point<system_clock, [...]>' to 'time_point<std::chrono::steady_clock, [...]>' for 1st argument 922 | class time_point | ^~~~~~~~~~ 2 errors generated. [168/424] Building CXX object CMakeFil...src/game/backend/SavedVehicles.cpp.obj ninja: build stopped: subcommand failed.
πππNice update There seems to be a problem with JoinSession.cpp.
πππNice update There seems to be a problem with JoinSession.cpp.
What exactly is the problem?
πππNice update There seems to be a problem with JoinSession.cpp.
What exactly is the problem?
He will always join the public Session even if you choose soloSession.
πππNice update There seems to be a problem with JoinSession.cpp.
What exactly is the problem?
He will always join the public Session even if you choose soloSession.
src\game\gta\Network.cpp
static ScriptGlobal join_type_global(1575040);
->>
static ScriptGlobal join_type_global(1575044);
src\types\script\globals\FreemodeGeneral.hpp
struct FreemodeGeneral
{
uint64_t PAD_0000[301];
VEHICLE_INDEX PersonalVehicleIndex; // 301
uint64_t PAD_0302[653];
SCR_BOOL PersonalVehicleRequested; // 955
uint64_t PAD_0956[13];
SCR_BOOL NodeDistanceCheck; // 969
uint64_t PAD_0970[48];
SCR_INT RequestedPersonalVehicleId; // 1018
uint64_t PAD_1019[2];
SCR_BOOL Exec1Impound; // 1021
uint64_t PAD_1022[5833];
STREET_DEALERS StreetDealers; // 6855
uint64_t PAD_6879[71];
DAILY_RESET_DATA DailyReset; // 6950
FREEMODE_DELIVERY_DATA DeliveryData; // 6954
static FreemodeGeneral* Get();
};
->>
struct FreemodeGeneral
{
uint64_t PAD_0000[301];
VEHICLE_INDEX PersonalVehicleIndex; // 301
uint64_t PAD_0302[273];
SCR_BOOL PersonalVehicleRequested; // 575
uint64_t PAD_0956[14];
SCR_BOOL NodeDistanceCheck; // 590
uint64_t PAD_0970[48];
SCR_INT RequestedPersonalVehicleId; // 639
uint64_t PAD_1019[2];
SCR_BOOL Exec1Impound; // 642
uint64_t PAD_1022[4992];
STREET_DEALERS StreetDealers; // 5635
uint64_t PAD_6879[130];
DAILY_RESET_DATA DailyReset; // 5766
FREEMODE_DELIVERY_DATA DeliveryData; // 5770
static FreemodeGeneral* Get();
};
D:\Source\YimMenuV2\src\game\backend\PersonalVehicles.cpp
m_Garage = HUD::GET_FILENAME_FOR_AUDIO_CONVERSATION(ScriptGlobal(1312335).At(propertyStatState, 1951).At(16).As<const char*>());
->>
m_Garage = HUD::GET_FILENAME_FOR_AUDIO_CONVERSATION(ScriptGlobal(1312440).At(propertyStatState, 1951).At(16)
*ScriptLocal("freemode"_J, 19447).At(176).As<int*>() = 0;
->>
*ScriptLocal("freemode"_J, 19633).At(176).As<int*>() = 0;
D:\Source\YimMenuV2\src\game\features\recovery\DailyActivities.cpp
auto streetDealerData = ScriptLocal(m_Thread, 256).At(12);
->>
auto streetDealerData = ScriptLocal(m_Thread, 258).At(12);
int combination = *ScriptLocal(thread, 144).At(22).At(i, 2).At(1).As<int*>();
*ScriptLocal(thread, 144).At(22).At(i, 2).As<float*>() = combination;
->>
int combination = *ScriptLocal(thread, 146).At(22).At(i, 2).At(1).As<int*>();
*ScriptLocal(thread, 146).At(22).At(i, 2).As<float*>() = combination;
D:\Source\YimMenuV2\src\game\features\vehicle\CallMechanic.cpp
*ScriptLocal(thread, 521).As<int*>() = 1;
ScriptGlobal(2685690).At(4347).At(254).At(7, 2).As<TIMER*>()->Destroy();
->>
*ScriptLocal(thread, 528).As<int*>() = 1;
ScriptGlobal(2686095).At(4357).At(260).At(7, 2).As<TIMER*>()->Destroy();
This can fix most vehicle-related issues. The current problem is that the hangar and bunker warehouse names in the vehicle warehouse now show as null. It is very likely that the GPBD_FM_Entry structure is also corrupted.