| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Filipe_Br Master Cheater
 
 ![]() Reputation: 3 
 Joined: 07 Jan 2016
 Posts: 272
 Location: My house
 
 | 
			
				|  Posted: Sun May 06, 2018 3:27 pm    Post subject: Plugin type DisassemblerContext: Access Violation |   |  
				| 
 |  
				| I am creating this type of plugin, but when I click with the button right button Disassembly happens this error: Access Violation My code is the following:
 _________________
 
 ... |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Filipe_Br Master Cheater
 
 ![]() Reputation: 3 
 Joined: 07 Jan 2016
 Posts: 272
 Location: My house
 
 | 
			
				|  Posted: Sun May 06, 2018 4:08 pm    Post subject: |   |  
				| 
 |  
				| What a strange "callbackroutine" and "callbackroutineOnPopup", are in reverse order in this link. I am using CE 6.7 and the sdk is apparently wrong.
 
 Edit: Is there any form of plugin type that allows changing the opcode assembly description?
 _________________
 
 ... |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Sun May 06, 2018 4:27 pm    Post subject: |   |  
				| 
 |  
				| this lua code does that 
  	  | Code: |  	  | getDefaultDisassembler().OnPostDisassemble=function(disassembler,address, ldd, result, description)
 ldd.description='This does what '..ldd.opcode..' normally does'
 return result,ldd.description
 end
 
 | 
 
 (you can call lua code from your plugin as well. Check the github 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 |  | 
	
		|  | 
	
		|  |