| View previous topic :: View next topic |
| Author |
Message |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sat Jun 23, 2007 9:54 pm Post subject: |
|
|
"ugly black"? you don't need .NET for that  |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Jun 23, 2007 10:30 pm Post subject: |
|
|
| Uzeil wrote: | | And yes you should be able to do that in .NET . All compilers should allow you to get the VA of a variable. |
Yeah, I figured it out shortly after.
On the topic of Delphi, I'm tempted to goof around with it a bit, but the EXE's it shits out are absolutely massive. I've seen small Delphi EXE's before, whats the trick to it? |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sat Jun 23, 2007 10:40 pm Post subject: |
|
|
| The trick is KOL |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Jun 24, 2007 1:01 am Post subject: |
|
|
I wish I could get that shit working. It always seems to complain about something when I try to compile with it.
edit: oh god figured it out. BUILD. hurr hurr. |
|
| Back to top |
|
 |
Uzeil Moderator
Reputation: 6
Joined: 21 Oct 2006 Posts: 2411
|
Posted: Sun Jun 24, 2007 3:49 am Post subject: |
|
|
| appalsap wrote: | "ugly black"? you don't need .NET for that  |
I can't seem to find the string "ugly black" anywhere :'(
Although I guess it's possible that the buttons they used may have been images that they made themselves, and the etitlebar buttons, main menu bars along with their gradients being based on images and/or seethrough buttons.... I'm just doubtins it :'( _________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sun Jun 24, 2007 4:34 am Post subject: |
|
|
| Uzeil, why do i get that error when using the first code you wrote to me ? |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sun Jun 24, 2007 7:58 am Post subject: |
|
|
OHH you thought that was standard? No silly, they made the titlebar buttons and everything themselves
The reason you saw some of those icons frequently is because they were icons part of a set donated to the public domain, you can find them in wikimedia if you search hard enough. |
|
| Back to top |
|
 |
Uzeil Moderator
Reputation: 6
Joined: 21 Oct 2006 Posts: 2411
|
Posted: Sun Jun 24, 2007 8:04 am Post subject: |
|
|
| Kevinnn wrote: | | Uzeil, why do i get that error when using the first code you wrote to me ? | You say "that" as if you posted it somewhere
Appal: Aye, I figured they were components that came with .NET as both ducspam and xentar code their GUIs in C# .NET if I've been in for med correctly Figured the GUI similarity and the .NET similarity were one in the same. _________________
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Jun 24, 2007 12:20 pm Post subject: |
|
|
| Delphi really does have the clunkiest feeling IDE ever, maybe because I'm new to it, but I like VS way better. |
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Sun Jun 24, 2007 1:57 pm Post subject: |
|
|
I did
Incompatible types: "Wide String" and "Integer" |
|
| Back to top |
|
 |
Uzeil Moderator
Reputation: 6
Joined: 21 Oct 2006 Posts: 2411
|
Posted: Mon Jun 25, 2007 12:01 am Post subject: |
|
|
In what instance are you needing an integer?
As I said, if you want a string '9999' to be converted to a decimal 9999, then use StrToInt(<string variable containing '9999'>); , if you want to use say WriteProcessMemory with a string, you'd use addr(<string var>[1]) to get it's pointer. _________________
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Mon Jun 25, 2007 9:42 am Post subject: |
|
|
im sorry, but i just dont get it  |
|
| Back to top |
|
 |
assaf84 Expert Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 238
|
Posted: Mon Jun 25, 2007 9:50 pm Post subject: |
|
|
| where do u need the integer? aka, in which function? |
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Tue Jun 26, 2007 4:04 am Post subject: |
|
|
You idiot,you think its easy ?
you need to learn API calls,attach your program to your browser.
its like making a mini memory editor,dont think its
Edit1
Button1
and you're done !
wtf ? hell no ! delphi isnt that sucker.
and first of all what game is it ?
learn how the game works and runs...
learns Advanced delphi programming,you're taking yourself into serious shit brother,its not like
1..2...3 and BAM! yay...i did it...no its not ! -_-"
Learn how to work with Read/Write Process Memory,also you can make a .dll and inject it to your browser...but first make a simple "Hellow World" program,then try this :S
try patching the process..
declare with var's
(**************SAMPLE CODE***************)
| Code: | var
WindowName: Integer;
ProcessId: Integer;
ThreadId: Integer;
buf: PChar;
HandleWindow: Integer;
Write: Cardinal;
const
WindowTitle = 'iexplorer.exe'; <--- The program/process name should be in there,iexplorer.exe is MS Internet Explorer,incase you're using FireFox,FireFox.exe.
Address = $A662D6;
PokeValue = $4A;
NumberOfBytes = 2;
procedure TForm1.Button1Click(Sender: TObject);
begin
WindowName := FindWindow(nil, WindowTitle); // Remember the window title we edited in the const ?,well here it uses it.
////////
//The following code is,if "iexplorer.exe" is not found (if WindowName = 0)
then a message (uses dialog) will come (Then ShowDlg(''Program not running.')
With the features "Ok" and with a symbol "Warning".
if WindowName = 0 then
begin
MessageDlg('Program not running.', mtWarning, [mbOK], 0);
end;
///////
//im not going to explaine you all this bunch of code since its not that simple as it looks,but im pretty sure you'll get it
ThreadId := GetWindowThreadProcessId(WindowName, @ProcessId);
HandleWindow := OpenProcess(PROCESS_ALL_ACCESS, False, ProcessId);
GetMem(buf, 1);
buf^ := Chr(PokeValue);
WriteProcessMemory(HandleWindow, ptr(Address), buf, NumberOfBytes, Write);
FreeMem(buf);
CloseHandle(HandleWindow);
end;
|
Dont forget to Edit const and modify the address you're looking for that holds the:
Gold
HP
or w/e it is |
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Tue Jun 26, 2007 4:25 am Post subject: |
|
|
swearing  |
|
| Back to top |
|
 |
|