Hello Guest it is March 28, 2024, 12:06:02 PM

Author Topic: unPlugin V1.0.0  (Read 4845 times)

0 Members and 1 Guest are viewing this topic.

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
unPlugin V1.0.0
« on: May 23, 2016, 10:31:39 AM »
Ever wondered if those plugins that are not enabled are really not enabled, well there are plugins out there that still load even when not enabled.
This plugin will unload these plugins from the core at startup for you without deleting them from the plugins directory incase there being used in a different profile.


Watch the video for installation and usage at https://youtu.be/vH0lLcDi9oI


DazTheGas
New For 2022 - Instagram: dazthegas

Offline Calum

*
  •  45 45
    • View Profile
Re: unPlugin V1.0.0
« Reply #1 on: April 07, 2018, 09:57:48 PM »
Hi DazTheGas, Iv'e just tried this plugin but don't seem to be able to get it to work as you show in the video! When I enter the code in the Screen load script I get an error when closing the screen editor. It could be something Iv'e missed or miss-typed although I have checked a few times now. The code Iv'e entered is-
hReg = mc.mcRegGethandle(inst, "unPlugin/GuiCommand")
mc.mcRegSendCommand(hReg, "PLUGIN_DELETE");

I would be grateful for any help you can give me, I'm new to LUA.

Cheers
Calum
Re: unPlugin V1.0.0
« Reply #2 on: April 09, 2018, 10:53:31 AM »
mc.mcRegGethandle(inst, "unPlugin/GuiCommand")

mc.mcRegGetHandle(inst, "unPlugin/GuiCommand")

Offline Calum

*
  •  45 45
    • View Profile
Re: unPlugin V1.0.0
« Reply #3 on: April 09, 2018, 09:52:07 PM »
Thanks I got that but still can't get this to work! When I reboot after adding these lines to the screen load script Mach4 hangs while booting and creates an error report.  I the error reports xml file I see an ACCESS_VIOLATION at address 0e500594 and a list of registers that includes <eip>0e500594<eip>, does anyone know what this could mean?

Calum

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: unPlugin V1.0.0
« Reply #4 on: April 10, 2018, 02:24:24 AM »
I have just tested this with latest version and seems fine here

DazTheGas
New For 2022 - Instagram: dazthegas

Offline Calum

*
  •  45 45
    • View Profile
Re: unPlugin V1.0.0
« Reply #5 on: April 10, 2018, 03:35:12 PM »
Thanks Daz, guess I need to look at my config and installation etc. My install is on XP and an old PC but its been running fine for years.

Calum

Offline Calum

*
  •  45 45
    • View Profile
Re: unPlugin V1.0.0
« Reply #6 on: April 11, 2018, 04:26:18 PM »
After a lot of experimenting I still con't get this working, Mach4 just closed when I tried to config unPlugin, so I upgraded the operating system from XP to Win10 and it now works as it should. Guess there is something in XP that interacts with the plug in. Now Iv'e got to fix a few other things that have broken with the upgrade.

Calum