| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Thu Aug 03, 2006 8:09 pm    Post subject: Plugin update (august 4) |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| durza How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 01 May 2006
 Posts: 4
 
 
 | 
			
				|  Posted: Tue Aug 15, 2006 9:59 pm    Post subject: |   |  
				| 
 |  
				| im getting a 404 :O |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| bahblah Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 27 Sep 2005
 Posts: 633
 
 
 | 
			
				|  Posted: Sun Aug 20, 2006 12:17 pm    Post subject: |   |  
				| 
 |  
				| Me too DarkByte. I really want to make plugins. Fix the upload! |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Sun Aug 20, 2006 1:01 pm    Post subject: |   |  
				| 
 |  
				| 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
 
 
 
 
 _________________
 
 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 |  | 
	
		|  | 
	
		| bahblah Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 27 Sep 2005
 Posts: 633
 
 
 | 
			
				|  Posted: Sun Aug 20, 2006 7:35 pm    Post subject: |   |  
				| 
 |  
				| I will get coding  Dark Byte, seriously you are awesome. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| idster Expert Cheater
 
  Reputation: 0 
 Joined: 22 Aug 2006
 Posts: 100
 Location: RIGHT BEHIND YOU!!!!
 
 | 
			
				|  Posted: Fri Nov 17, 2006 8:47 am    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| kkid28 Expert Cheater
 
  Reputation: 0 
 Joined: 30 Sep 2006
 Posts: 110
 Location: The only flat part of the planet.
 
 | 
			
				|  Posted: Sun Dec 24, 2006 1:35 am    Post subject: |   |  
				| 
 |  
				| *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*
 _________________
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |