c++ dll help

08/30/2012 02:02 mi5pogi#16
Quote:
Originally Posted by syndrah View Post
thanks mike, i tried the code and recommendations you set forth, unfortunately with addicted injector and perx did not work and i got nothing. i will make a quick video on what im doing and ill up it within an hour.

ok apparently my recording software isnt working atm, but rest assured its not working.

the dll isnt showing any messages at all so it seems like its not even injected at all.

i have to leave for about 10 hours hopefully i can have some more information from your generous help to get me to fix this issue.
the problem is in your injector.it didnt inject thats why you didnt receive any message.if your running under win7 64bit,run it as admin.
08/30/2012 02:20 syndrah#17
thanks.

ill be sure to try it when i get home.

tried it with running as admin, no go.
09/01/2012 03:41 syndrah#18
*bump*
09/02/2012 09:49 кev#19
Quote:
Originally Posted by syndrah View Post
*bump*
First off; try out several injectors, and remember to run them as admin. Having no admin privileges means the injector won't be able to acquire debug privilege which is required for a process to access OpenProcess/WriteProcessMemory/CreateRemoteThread on another process on Vista/W7 - especially as cabalmain is running on elevated privileges.

Also mind that the injection has to happen at the very moment the cabalmain process starts. It doesn't take long for cabalmain to boot up gameguard which in turn hooks all the API calls that are required for a dll injection. After gameguard is up, all remote process functions fail if process == gameguard protected process and that you basically can't detour from UM.

GL. :)
09/11/2012 23:14 syndrah#20
thanks, kev. one last question.

DWORD WALKRUN = *(DWORD*)ADDR_BASE;*(DWORD*)(WALKRUN+A_WALKRUN) = 1161527296;

this is the equiv to float 3000.

how would i go about just simply be able to set this to 3000.
09/12/2012 01:12 bartbilf#21
@syndrah
Use float type when you declare it, then you can just put 3000 (you do know that 600 is the max value when walking without having DC?)
09/12/2012 01:28 syndrah#22
i walk 3000 all the time, never get d/c.

i know about the float walk declaration. i want something declared within the dword...like this.

//this is for 600 speed.
DWORD WALKRUN = *(DWORD*)ADDR_BASE;*(DWORD*)(WALKRUN+A_WALKRUN) = 1142292480;
09/12/2012 08:54 кev#23
Quote:
Originally Posted by syndrah View Post
thanks, kev. one last question.

DWORD WALKRUN = *(DWORD*)ADDR_BASE;*(DWORD*)(WALKRUN+A_WALKRUN) = 1161527296;

this is the equiv to float 3000.

how would i go about just simply be able to set this to 3000.
You mean as in writing a float instead of dword? The cast before dereference specifies the type.

*(float*)(*base + offset) = 3000;

Or did I misunderstand you? :p
09/12/2012 22:57 bartbilf#24
@kev
that's what he meant, he already fixed it ;p
09/13/2012 06:07 syndrah#25
yea sorry i fixed it

#request close this bish.
09/13/2012 13:39 Acid#26
#Closed (as requested)