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 


Plugin update (august 4)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source -> Plugin development
View previous topic :: View next topic  
Author Message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25276
Location: The netherlands

PostPosted: Thu Aug 03, 2006 8:09 pm    Post subject: Plugin update (august 4) Reply with quote

Here's the most current data on the plugin system.
See if you can understand it and use it.

(of course, you can't really use it right now, but you can start planning)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
durza
How do I cheat?
Reputation: 0

Joined: 01 May 2006
Posts: 4

PostPosted: Tue Aug 15, 2006 9:59 pm    Post subject: Reply with quote

im getting a 404 :O
Back to top
View user's profile Send private message
bahblah
Grandmaster Cheater
Reputation: 0

Joined: 27 Sep 2005
Posts: 633

PostPosted: Sun Aug 20, 2006 12:17 pm    Post subject: Reply with quote

Me too DarkByte. I really want to make plugins. Fix the upload!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25276
Location: The netherlands

PostPosted: Sun Aug 20, 2006 1:01 pm    Post subject: Reply with quote

it is fixed for some people.
but I'll upload it here as well.
Also this is the most recent (from 20 august)
with delphi and c example



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


_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
bahblah
Grandmaster Cheater
Reputation: 0

Joined: 27 Sep 2005
Posts: 633

PostPosted: Sun Aug 20, 2006 7:35 pm    Post subject: Reply with quote

I will get coding Smile Dark Byte, seriously you are awesome.
Back to top
View user's profile Send private message
idster
Expert Cheater
Reputation: 0

Joined: 22 Aug 2006
Posts: 100
Location: RIGHT BEHIND YOU!!!!

PostPosted: Fri Nov 17, 2006 8:47 am    Post subject: Reply with quote

i'm trying to open it in C++, and i'm not getting code, i'm getting possible string layouts and i can't do anything to it
_________________
hackpacks broken/corrupted/overloaded = 44

latest hackpack broken= my own
SA HP (not posted on CE)

Halo 2 MLG rank: 14473



dont belive me? www.ipchicken.com
Back to top
View user's profile Send private message
kkid28
Expert Cheater
Reputation: 0

Joined: 30 Sep 2006
Posts: 110
Location: The only flat part of the planet.

PostPosted: Sun Dec 24, 2006 1:35 am    Post subject: Reply with quote

*cough*

Code:
// example-c.cpp : Defines the entry point for the DLL application.
//

//#define WIN32_LEAN_AND_MEAN      // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <windows.h>
#include "example-c.h"

int selfid;
int memorybrowserpluginid=-1; //initialize it to -1 to indicate failure (used by the DisablePlugin routine)

BOOL memorybrowserplugin(ULONG *disassembleraddress, ULONG *selected_disassembler_address, ULONG *hexviewaddress)
{
   Exported.ShowMessage("A Plugin function got executed");
   *disassembleraddress=*hexviewaddress; //make the disassembleraddress and hexviewaddress the same
   return TRUE;
}


BOOL APIENTRY DllMain( HANDLE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
                )
{
   switch (ul_reason_for_call)
   {
   case DLL_PROCESS_ATTACH:
      MessageBox(0,"This plugin dll got loaded","C Plugin Example",MB_OK);
      break;

   case DLL_THREAD_ATTACH:
   case DLL_THREAD_DETACH:
   case DLL_PROCESS_DETACH:
      break;
   }
   
    return TRUE;
}

BOOL __stdcall GetVersion(struct PluginVersion *pv , int sizeofpluginversion)
{
   pv->version=1;
   pv->pluginname="C Example"; //exact strings like this are pointers to the string in the dll, so workable
   return TRUE;
}

BOOL __stdcall InitializePlugin(struct ExportedFunctions *ef , int pluginid)
{
   struct PLUGINTYPE1_INIT init;

   selfid=pluginid;
   Exported=*ef; //Exported is defined in the .h
   if (Exported.sizeofExportedFunctions!=sizeof(Exported))
      return FALSE;

   init.name="Sample plugin";
   init.callbackroutine=memorybrowserplugin;

   memorybrowserpluginid=Exported.RegisterFunction(pluginid,1,&init);
   if ( memorybrowserpluginid == -1 )
   {
      Exported.ShowMessage("Failure to register a plugin function");
      return FALSE;
   }
   
   
   Exported.ShowMessage("The \"Example C\" plugin got enabled");
   return TRUE;
}


BOOL __stdcall DisablePlugin(void)
{
   if (memorybrowserpluginid!=-1)
   {
      if ( Exported.UnregisterFunction(selfid,memorybrowserpluginid) == FALSE )
         Exported.ShowMessage("Failure to unregister a plugin function"); //nothing to be done about this. the plugin is being set on stand by...
   }

   return TRUE;
}


*cough*

_________________
Favourites

Click
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source -> Plugin development All times are GMT - 6 Hours
Page 1 of 1

 
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