Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[DELPHI] AC //need help with dynamic dll load
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Mon Jul 23, 2007 5:35 pm    Post subject: [DELPHI] AC //need help with dynamic dll load Reply with quote

hey guys,
Im trying to make a new AC and put it in my smuggle program.
I tried some functions but every function I tried is blocked by gameguard.
What way still works for MapleStory?


Last edited by Reak on Tue Jul 24, 2007 7:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Jul 23, 2007 5:44 pm    Post subject: Reply with quote

none

you have to get mzbot2 api and the driver (which is private)

dynamically load the dll (mzbot2.dll) on zaun's site

call InitMzBot(); and AltSendInput();

but the driver has to be loaded

_________________
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Mon Jul 23, 2007 5:44 pm    Post subject: Reply with quote

Idk how to do it, maplestory patched it. The only ac i know that works is MzBot (wait that does work right) and soem Ac released in the ms section like a week ago. Get Zuan's email (its in his blog) and email him to ask if he could help you.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Mon Jul 23, 2007 6:10 pm    Post subject: Reply with quote

blankrider wrote:
none

you have to get mzbot2 api and the driver (which is private)

dynamically load the dll (mzbot2.dll) on zaun's site

call InitMzBot(); and AltSendInput();

but the driver has to be loaded


if the driver is loaded, what to do then ?
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Jul 23, 2007 6:18 pm    Post subject: Reply with quote

rEakW0n wrote:
blankrider wrote:
none

you have to get mzbot2 api and the driver (which is private)

dynamically load the dll (mzbot2.dll) on zaun's site

call InitMzBot(); and AltSendInput();

but the driver has to be loaded


if the driver is loaded, what to do then ?


Read the bold line

and if you have no idea how to load the driver, do it like:

LoadLibrary('dLL.dll'); OnCreate, mkay ?
Back to top
View user's profile Send private message
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Mon Jul 23, 2007 6:30 pm    Post subject: Reply with quote

Kaspersky wrote:

and if you have no idea how to load the driver, do it like:
LoadLibrary('dLL.dll'); OnCreate, mkay ?


Good one. Thats for loading libraries. To load the driver you use OpenSCManager/CreateService/StartService. Anyways, there are other way then using Zuan's driver... Perhaps you can do it yourself, but that's probably beyond your programming skills right now.

I beleive you can still use SYSENTER to bypass userland hooks (It was done before, I don't know if it will work now), I will test this right now. You can do what MsPro is doing, directly invoking the MapleStory’s WndProc() (No need for drivers). Or perhaps you can code your own driver and mess with kernel hooks?

_________________
Back to top
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Mon Jul 23, 2007 6:37 pm    Post subject: Reply with quote

I have to say, Im delphi noob, I started "learning" it 2-3 weeks ago.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Mon Jul 23, 2007 6:45 pm    Post subject: Reply with quote

Screwing with kernel hooks sounds like fun but loading the driver sounds easier (except for first getting the driver which super private *cough* *cough*...)
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Mon Jul 23, 2007 6:58 pm    Post subject: Reply with quote

What driver are you guys talking about? The driver that MzBot uses?
_________________
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Mon Jul 23, 2007 7:12 pm    Post subject: Reply with quote

yes...
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Tue Jul 24, 2007 6:25 pm    Post subject: Reply with quote

SO I searched a tut how to load a dll dynamic.
Here's the Source
but I get this error if I try to compile:
Code:
[Fatal Error] Unit2.pas(5): File not found: 'System.Reflection.dcu'

could someone please check what I did wrong or post a better tut?



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.

Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue Jul 24, 2007 6:34 pm    Post subject: Reply with quote

It means your missing a file. I used to get this with d7 all the time. Idk how to fix it though. But when i went to D7SE it was fixed. Try upgrading or just start saving the file and running to see if it works (w8 u said run or compile?)
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Tue Jul 24, 2007 6:35 pm    Post subject: Reply with quote

System* is .NET, you're probably opening a project created in delphi 2006
Back to top
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Tue Jul 24, 2007 7:04 pm    Post subject: Reply with quote

so my smart delphi book said:
Code:
function LoadLibrary(filename: string): Integer; external 'Kernel32.dll';
function WindowsVersion: LongInt; far; external 'kernel32.dll' name 'GetVersion';
type TProc = function: DWord;

procedure TForm1.FormCreate(Sender: TObject);
var handle: THandle;
WindowsVersion: TProc;
begin
  handle := LoadLibrary('kernel32.dll');
  if handle = 0 then
  begin
    ShowMessage('Error on loading dll');
    Exit;
  end;
  WindowsVersion := GetProcAddress(handle, 'GetVersion');
  Label1.Caption := IntToStr(Lo(WindowsVersion)) + '.' +
                    IntToStr(Hi(WindowsVersion));
                    FreeLibrary(handle);
end;


but I get a fcking error.
What should I change at this code that it loads up MzBot2.dll ?
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Tue Jul 24, 2007 7:25 pm    Post subject: Reply with quote

handle := LoadLibrary('MzBot2.dll');
...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites