|
You last visited: Today at 15:49
Advertisement
Defeat DMA For PLayer Stamina
Discussion on Defeat DMA For PLayer Stamina within the CO2 Guides & Templates forum part of the Conquer Online 2 category.
06/23/2005, 01:08
|
#1
|
elite*gold: 0
Join Date: Mar 2005
Posts: 1,430
Received Thanks: 1,586
|
Ok same as before except this is the delphi code for it all, can be used at the same time as the hp dma,
all you need to do is Call the Function GetPlayerStamina Wich Returns The Player Stamina
Procedure Patchmem(WindowTitle:Pchar;Address:integer;NumberO fBytes:integer;PokeValue:Int64);
var
WindowName: Integer;
ProcessId: Integer;
ThreadId: Integer;
buf: PChar;
HandleWindow: Integer;
Write: Cardinal;
begin
WindowName := FindWindow(nil, WindowTitle);
ThreadId := GetWindowThreadProcessId(WindowName, @ProcessId);
HandleWindow := OpenProcess(PROCESS_ALL_ACCESS, False, ProcessId);
GetMem(buf, NumberOfBytes);
buf^ := Chr(PokeValue);
WriteProcessMemory(HandleWindow, ptr(Address), buf, NumberOfBytes, Write);
FreeMem(buf);
CloseHandle(HandleWindow);
end;
Function Readmem(Address:integer):int64;
const
HowMany = 2 ;
var
WindowName : integer;
ProcessId : integer;
buf : Int64;
HandleWindow : Integer;
Read : cardinal;
begin
Buf:=0;
WindowName := FindWindow(nil,'[Conquer]');
If WindowName <> 0 then
begin
GetWindowThreadProcessId(WindowName,@ProcessId);
HandleWindow := OpenProcess(PROCESS_ALL_ACCESS,False,ProcessId);
ReadProcessMemory(HandleWindow,ptr(Address),@buf,H owMany,Read);
closehandle(HandleWindow);
result := buf;
end;
end;
Procedure InjectDMA;
begin
patchmem('[Conquer]',$10B55,5,$A3620B0100);
patchmem('[Conquer]',$10B5A,6,$E8A1524A00E9);
patchmem('[Conquer]',$10B60,6,$A5484600);
patchmem('[Conquer]',$475404,5,$E94CB7B9FF);
end;
Function GetPlayerStamina:Integer;
begin
InjectDMA;
result := readmem($10B62);
end;
Enjoy
|
|
|
06/23/2005, 03:33
|
#2
|
elite*gold: 0
Join Date: May 2005
Posts: 15
Received Thanks: 0
|
can u explain wut this does?
|
|
|
06/23/2005, 04:31
|
#3
|
elite*gold: 0
Join Date: May 2005
Posts: 49
Received Thanks: 0
|
It reads your stamina directly from memory. Useful for making bots/macros/etc..
btw ultimatehaker, could you please make one to read char name? you can search the address using gameguard, it lets you search for ascii.. it worked for me when I printed the address on C, but I can't beat DMA :P
That would be useful for my coming program, wanna make a char chooser in there, so I need to read charname xD
and thanks for the stamina dma, altho I'm not going to use it yet, it's good to know already ^^
|
|
|
06/23/2005, 04:55
|
#4
|
elite*gold: 0
Join Date: Jun 2005
Posts: 260
Received Thanks: 43
|
ok that makes no sence
but from wat i understan it would help greatly
|
|
|
06/23/2005, 05:12
|
#5
|
elite*gold: 0
Join Date: Jan 2005
Posts: 2,248
Received Thanks: 8
|
it reads the player's stamina and from the other thread the hp so if u wana make bot.. to make the bot heal it reads from the player hp for eg u want it to heal at 500 and wen the mem read 500 it heals ( use pots/cure or sh)
|
|
|
06/23/2005, 11:02
|
#6
|
elite*gold: 0
Join Date: Mar 2005
Posts: 1,430
Received Thanks: 1,586
|
sure i will make 1 for the player name
|
|
|
06/23/2005, 11:14
|
#7
|
elite*gold: 0
Join Date: Jul 2004
Posts: 980
Received Thanks: 46
|
Playername is not DA
|
|
|
06/23/2005, 13:17
|
#8
|
elite*gold: 0
Join Date: Mar 2005
Posts: 1,430
Received Thanks: 1,586
|
you just need to read from this address 53A940
|
|
|
06/23/2005, 17:15
|
#9
|
elite*gold: 0
Join Date: May 2005
Posts: 377
Received Thanks: 48
|
you think its possible to have infinate stamina? cuz i know stamina is client sided
|
|
|
06/23/2005, 17:44
|
#10
|
elite*gold: 0
Join Date: Aug 2004
Posts: 1,325
Received Thanks: 109
|
if something counted up local dont mean the server do no check
|
|
|
06/23/2005, 19:18
|
#11
|
elite*gold: 0
Join Date: May 2005
Posts: 49
Received Thanks: 0
|
It is server-side.. you can test that using it, finding it on TSearch and editing it.. you can freeze it at 100, but it won't work. :P
edit1: oh, I was reading the wrong address for the name, that's why I thought it was dynamic.. thanks for the info, gotta play with my new toys now >D
|
|
|
06/23/2005, 20:06
|
#12
|
elite*gold: 0
Join Date: Jun 2005
Posts: 12
Received Thanks: 0
|
please someone can translate in Visual Basic
|
|
|
06/25/2005, 06:37
|
#13
|
elite*gold: 0
Join Date: May 2005
Posts: 26
Received Thanks: 0
|
Quote:
Originally posted by ultimatehaker@Jun 23 2005, 01:08
..
|
ulitmatehacker it doesn't work, when I inject the codes my conquer crashes.
Ow and this also doesn't work
patchmem('[Conquer]',$10B55,5,$A3620B0100); //5 bytes
patchmem('[Conquer]',$10B5A,6,$E8A1524A00E9); // 6 bytes
patchmem('[Conquer]',$10B60, 6,$A548 4600); // 4 bytes 2 bytes different!!
patchmem('[Conquer]',$475404,5,$E94CB7B9FF);
result := readmem($10B62); //10B60 + 4 = 10B64 and not 10B62 at this position you find 46 (hex)
btw which program do you use to find the memory locations, ollydbg and tsearch? And I can't find the location for mana  Reading the health and name works like charm.
|
|
|
06/26/2005, 04:19
|
#14
|
elite*gold: 0
Join Date: Aug 2004
Posts: 1,325
Received Thanks: 109
|
you can just read stamina from $0053AFC4 it dont seems to be dma
|
|
|
06/26/2005, 11:16
|
#15
|
elite*gold: 0
Join Date: May 2005
Posts: 26
Received Thanks: 0
|
ah good work :P
level: 0x53AFCC
spouse: 0x53AC84
|
|
|
 |
|
Similar Threads
|
[Tipp] Stamina Up + Stamina
10/15/2010 - WarRock Guides, Tutorials & Modifications - 7 Replies
Hallo Leute ,
ich möchte euch ein kleinen bisschen über die Vorteile der Stamina erklären.
Stamina
Stamina , heißt Ausdauer , und ist in Warrock wichtig , denn dadruch kann man meißt dem Gegner ausweichen , oder vor ihm flüchten.
Stamina ist auch wichtig um einen geplanten Überraschungsangriff zu erstellen.
Da dieser sehr hilfreich ist , und ihr beim 1. erfolgreichen Überraschungsangriff es auch merken werdet ;)
|
WTS Necklance of fortune (Stamina 3) + Flying Ring (Stamina 3) Cyprius
04/02/2009 - Archlord Trading - 0 Replies
Hi all,
WTS Necklance of fortune (Stamina 3) + Flying Ring (Stamina 3)
Each one 20€, i accept only paypal and €,
if someone interesetet pm me thanks!
The items are on Cyprius!
|
TQ will be defeat !!!
04/14/2007 - Conquer Online 2 - 4 Replies
DEFEAT TQ !!!
text2schild.php?smilienummer=1&text=pots ur comments' border='0' alt='pots ur comments' />
CO= :dead:
|
Defeat DMA for HP and MP
12/06/2005 - Silkroad Online - 4 Replies
SilkRoad Online Defeat DMA for HP and MP
created by BitVector
Files included in .zip:
1. SRO Defeat DMA.esy
2. readme.txt
- What does this do?
For those people who wanted to make bots and various tools for SilkRoad Online, it wasn't easy, because SilkRoad uses DMA (Dynamic Memory Addresses) in their most important values, such as HP and MP. Using this Defeat DMA file, you can now read your HP and MP from static memory addresses! Here are the addresses:
|
All times are GMT +1. The time now is 15:51.
|
|