Ponawiam prośbę o packiet dll pod tibie 8.22 ...
Exp = 0x62ACE4;
GoTo_X = Exp + 80;
GoTo_Y = Exp + 76;
GoTo_Z = Exp + 72;
Id = Exp + 12;
HP = Exp + 8;
HP_Max = Exp + 4;
Level = Exp - 4;
MagicLevel = Exp - 8;
Level_Percent = Exp - 12;
MagicLevel_Percent = Exp - 16;
Mana = Exp - 20;
Mana_Max = Exp - 24;
Soul = Exp - 28;
Stamina = Exp - 32;
Cap = Exp - 36;
Fishing = Exp - 52;
Shielding = Exp - 56;
Distance = Exp - 60;
Axe = Exp - 64;
Sword = Exp - 68;
Club = Exp - 72;
Fist = Exp - 76;
Fishing_Percent = Exp - 80;
Shielding_Percent = Exp - 84;
Distance_Percent = Exp - 88;
Axe_Percent = Exp - 92;
Sword_Percent = Exp - 96;
Club_Percent = Exp - 100;
Fist_Percent = Exp - 104;
Flags = Exp - 108;
Max_Slots = 11;
Slot_Head = 0x633228; // 8.31
Slot_Neck = Slot_Head + 12;
Slot_Backpack = Slot_Head + 24;
Slot_Armor = Slot_Head + 36;
Slot_Right = Slot_Head + 48;
Slot_Left = Slot_Head + 60;
Slot_Legs = Slot_Head + 72;
Feet = Slot_Head + 84;
Slot_Ring = Slot_Head + 96;
Slot_Ammo = Slot_Head + 108;
Ostatnio zmieniony przez Tinekp : 08-10-2008, 19:48
Ostatnio zmieniony przez BartekWxD : 09-10-2008, 15:37
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
const
Exp = 0x62ACE4;
GoTo_X = Exp + 80;
GoTo_Y = Exp + 76;
GoTo_Z = Exp + 72;
Id = Exp + 12;
HP = Exp + 8;
HP_Max = Exp + 4;
Level = Exp - 4;
MagicLevel = Exp - 8;
Level_Percent = Exp - 12;
MagicLevel_Percent = Exp - 16;
Mana = Exp - 20;
Mana_Max = Exp - 24;
Soul = Exp - 28;
Stamina = Exp - 32;
Cap = Exp - 36;
Fishing = Exp - 52;
Shielding = Exp - 56;
Distance = Exp - 60;
Axe = Exp - 64;
Sword = Exp - 68;
Club = Exp - 72;
Fist = Exp - 76;
Fishing_Percent = Exp - 80;
Shielding_Percent = Exp - 84;
Distance_Percent = Exp - 88;
Axe_Percent = Exp - 92;
Sword_Percent = Exp - 96;
Club_Percent = Exp - 100;
Fist_Percent = Exp - 104;
Flags = Exp - 108;
Max_Slots = 11;
Slot_Head = 0x633228; // 8.31
Slot_Neck = Slot_Head + 12;
Slot_Backpack = Slot_Head + 24;
Slot_Armor = Slot_Head + 36;
Slot_Right = Slot_Head + 48;
Slot_Left = Slot_Head + 60;
Slot_Legs = Slot_Head + 72;
Feet = Slot_Head + 84;
Slot_Ring = Slot_Head + 96;
Slot_Ammo = Slot_Head + 108;
implementation
{$R *.dfm}
end.
Exp = 0x62ACE4; // [Error] Unit1.pas(21): ':' expected but identifier 'x62ACE4' found
Slot_Head = 0x633228; // 8.31 // [Error] Unit1.pas(58): ';' expected but identifier 'x633228' found
GG:8680037
Ostatnio zmieniony przez Ar'buz : 26-10-2008, 15:49
hxxp://blade95.yoyo.pl/pliki/TMemOption.rar
zamist "xx" wpiszcie "tt"
1. Czytanie wartości
a) String
function MemoryReadString(Handle:hWND;Adres:Cardinal):String;
b) Integer
function MemoryReadInteger(Handle:hWND;Adres:Cardinal):Integer;
2. Wpisywanie wartości
a) String
procedure MemoryWriteString(Handle:hWND;Adres:Cardinal;Bufer:String);
b)Integer
procedure MemoryWriteInteger(Handle:hWND;Adres:Cardinal;Bufer:Integer);
procedure TForm1.Button1Click(Sender: TObject);
var
Hand:hWND; //tutaj przechowywany będzie uchwyt do procesu
TMP:Variant; //tutaj będą przechowywane dane tymczasowe
const
Addr=$0000000; //tutaj dowolny adres komórki z której chcemy "wyciągnąć" jakieś dane
Addr2=$0000000; //tutaj dowolny adres komórki której chcemy przypisać jakąś wartość
begin
Hand := FindWindow('TibiaClient',nil);
ShowMessage(MemOption1.MemoryReadString(Hand,Addr));
ShowMessage(IntToStr(MemOption1.MemoryReadInteger(Hand,Addr)));
TMP := InputBox('Tekst do wpisania','MemOption1','lol');
MemOption1.MemoryWriteString(Hand,Addr2,TMP);
TMP := InputBox('Liczba do wpisania','MemOption1','1010');
MemOption1.MemoryWriteInteger(Hand,Addr2,TMP);
end;
Ostatnio zmieniony przez Blade95 : 26-10-2008, 16:07
Aktualnie 1 użytkowników przegląda ten temat. (0 użytkowników i 1 gości)
Zakładki