 |
|

19.06.2022, 03:30
|
|
Постоянный
Регистрация: 28.06.2018
Сообщений: 676
С нами:
4145990
Репутация:
118
|
|
Сообщение от !Sam#0235
my game crash when i use this, if I change it manually with Cheat Engine it works fine, but if I do it from the .asi plugin the game crashes, can somebody help me?
Change memory protection of these two addresses with VirtualProtect() (for example to PAGE_ EXECUTE_ READWRITE), change the values and then restore the protection. Cheat Engine do it automatically
|
|
|

19.06.2022, 03:31
|
|
Участник форума
Регистрация: 27.05.2021
Сообщений: 140
С нами:
2614229
Репутация:
33
|
|
Сообщение от bottom_text
Change memory protection of these two addresses with VirtualProtect(), change the values and then restore the protection. Cheat Engine do it automatically
I did, but it still doesn't work for me
|
|
|

19.06.2022, 03:47
|
|
Участник форума
Регистрация: 16.08.2017
Сообщений: 110
С нами:
4600979
Репутация:
83
|
|
как вычислить квантерион другого игрока (x, y, z, w) или как вычислить квантерион игрока по градусам поворота?
А может есть возможность скопировать весь ID_PLAYER_SYNC другого игрока?
|
|
|

19.06.2022, 13:05
|
|
Постоянный
Регистрация: 28.06.2018
Сообщений: 676
С нами:
4145990
Репутация:
118
|
|
Сообщение от !Sam#0235
I did, but it still doesn't work for me
Works fine for me. Are you sure that samp.dll is loaded before doing this?

|
|
|

20.06.2022, 19:39
|
|
Постоянный
Регистрация: 20.03.2021
Сообщений: 666
С нами:
2711257
Репутация:
83
|
|
Есть ли в c++ аналог memory.tostring из луа ( тоесть чтение строки памяти)
|
|
|

20.06.2022, 22:13
|
|
Участник форума
Регистрация: 14.01.2018
Сообщений: 192
С нами:
4384333
Репутация:
113
|
|
Сообщение от Savchik Blazer
Есть ли в c++ аналог memory.tostring из луа ( тоесть чтение строки памяти)
ReadProcessMemory function (memoryapi.h) - Win32 apps
Reads data from an area of memory in a specified process. The entire area to be read must be accessible or the operation fails.
docs.microsoft.com
|
|
|

20.06.2022, 22:41
|
|
Флудер
Регистрация: 06.11.2017
Сообщений: 2,759
С нами:
4483143
Репутация:
183
|
|
Сообщение от Savchik Blazer
Есть ли в c++ аналог memory.tostring из луа ( тоесть чтение строки памяти)
C-Style string view:
C++:
Код:
const
char
*
str
=
reinterpret_cast
(
address
)
;
string-view:
C++:
Код:
std
::
string_view str
{
reinterpret_cast
(
address
)
/*, [optional] size*/
}
;
string copy:
C++:
Код:
std
::
string str
{
reinterpret_cast
(
address
)
/*, [optional] size*/
}
;
|
|
|

20.06.2022, 23:06
|
|
Участник форума
Регистрация: 27.05.2021
Сообщений: 140
С нами:
2614229
Репутация:
33
|
|
How can I get the color in hexadecimal format of this ImGui::ColorPicker ?

|
|
|

20.06.2022, 23:07
|
|
Флудер
Регистрация: 06.11.2017
Сообщений: 2,759
С нами:
4483143
Репутация:
183
|
|
Сообщение от !Sam#0235
How can I get the color in hexadecimal format of this ImGui::ColorPicker ?
What exactly you need?
ImVec4 -> int color?
ImVec4 -> string hex color?
|
|
|

20.06.2022, 23:09
|
|
Участник форума
Регистрация: 27.05.2021
Сообщений: 140
С нами:
2614229
Репутация:
33
|
|
Сообщение от kin4stat
What exactly you need?
ImVec4 -> int color?
ImVec4 -> string hex color?
If I can get both values that would be great, if not enough with string hex color
|
|
|
|
 |
|
|
Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
|
|
|
|