erm why

General discussion area
Post Reply
User avatar
BadKaiPanda
Registered User
Posts: 93
Joined: Fri Jun 14, 2013 8:49 pm

erm why

Post by BadKaiPanda » Sun Jul 01, 2018 1:29 pm

I know you don't like *** anymore but why removed the Plugin Maker forum section, I having a problem I know was posted here before, no matter what I do it keeps telling me the table PLUGINNAME is not there no matter what I do, I know this was a problem in the past and I came to read up on it and nope it's all gone.

I know you working on a new tool but it's NO where near ready yet now I can't move forward as I can't even find out why it's not finding my plugins main table.
BunnyHop CDD Obscurer Post | Home Page

User avatar
abood1987
Registered User
Posts: 69
Joined: Sat Jun 15, 2013 3:03 pm
Location: Egypt مصر أم الدنيا
Contact:

Post by abood1987 » Sun Jul 01, 2018 4:48 pm

Now I know a lot in a-m-s p-l-u-g-i-n m-a-k-e-r
But I need to know how can create and use a the structure such as LOGFONT structure and any structure I did not see an example to answer this question :P . I do not see Memory.size to get structure size ..... too much is still vague :oops:
Also, the OnLBtnDown event does not work and this is a bug.
The biggest problem is the cessation of support for the program and the closure of its forum ..... It was possible to continue the forum for discussion and display models among users of the program at least :roll:

User avatar
Serkan
Developer
Developer
Posts: 205
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Post by Serkan » Fri Jul 06, 2018 8:00 pm

The reason was because of the respect to other software

So while you roll your own concept ,you sould not enter other software's base

This sounds like selling Mac in Microsoft store

But i no longer respect the company of said software ,therefore i will open APM forum until the stable release of SDStudio

User avatar
abood1987
Registered User
Posts: 69
Joined: Sat Jun 15, 2013 3:03 pm
Location: Egypt مصر أم الدنيا
Contact:

Post by abood1987 » Sat Jul 07, 2018 10:14 pm

There is no doubt that the program a-m-s p-l-u-g-i-n m-a-k-e-r very good "It was only for someone who was very proficient in programming" but the appearance of the forum is not enough without discussing some things with you ... If you want to answer my question in the previous participation this will be complete for what is unclear in this program "used and create sturactures " Please just explain this.......Or I think there is no need for the emergence of the forum, many did not find a complete explanation for it since its manufacture so far ..... Do you donate too little time to explain this?I think you're going to give us that point
  You are a professional programmer, distinguished and ambitious ..... This is a fact and not a compliment to you.

User avatar
DriPro
Registered User
Posts: 15
Joined: Mon Sep 03, 2018 8:12 pm

Post by DriPro » Wed Apr 08, 2020 9:22 am

Serkan wrote:
Fri Jul 06, 2018 8:00 pm
The reason was because of the respect to other software

So while you roll your own concept ,you sould not enter other software's base

This sounds like selling Mac in Microsoft store

But i no longer respect the company of said software ,therefore i will open APM forum until the stable release of SDStudio

Hello I want to take my doubts about this OnLBtnDown event?
it doesn't work Do you have an example showing the functionality of OnLBtnDown?
I thank you for your work

User avatar
Serkan
Developer
Developer
Posts: 205
Joined: Thu Jul 04, 2013 8:44 pm
Location: Windows.h
Contact:

Post by Serkan » Sun Apr 19, 2020 7:57 pm

Can you write your messages as reply to thread , reporting is used to report an inappropriate post

According to my latest reponse to your question about that mouse event
the purpose of the proxy object (IRPluginObject class ) is used to pass events to your scripts
Therefore plugin framework does not generate that mouse events itself
It only forwards them , and if an event does not work this is due to host application

Here is the relative part of the source code , as you can see APM only forwards the events
That button event never gets triggered by host application

Code: Select all

BOOL PIRPluginObject::IsFunction(char *szFunction)
{
	if (m_pLuaEnv)
	{ 
		lua_getglobal(m_pLuaEnv,szFunction);
		if(lua_isfunction(m_pLuaEnv,-1))
	    {
			return TRUE;
		}	
		else
		{
			lua_remove(m_pLuaEnv,-1);
			return FALSE;
		}
	}
	return FALSE;
}

void PIRPluginObject::OnMouseEvent(HWND hWndParent,POINT ptMousePos,RECT rcObRect,char * szEvent)
{
	if(IsFunction(szEvent))
	{
		lua_pushnumber(m_pLuaEnv,(LPARAM)this);
		lua_pushnumber(m_pLuaEnv,(LPARAM)hWndParent);
		lua_pushnumber(m_pLuaEnv,(LPARAM)ptMousePos.x);
		lua_pushnumber(m_pLuaEnv,(LPARAM)ptMousePos.y);
		lua_pushnumber(m_pLuaEnv,(LPARAM)rcObRect.left);
		lua_pushnumber(m_pLuaEnv,(LPARAM)rcObRect.top);
		lua_pushnumber(m_pLuaEnv,(LPARAM)rcObRect.right-rcObRect.left);
		lua_pushnumber(m_pLuaEnv,(LPARAM)rcObRect.bottom-rcObRect.top);
		callfunc(m_pLuaEnv,8,0);
	}
}

void PIRPluginObject::OnMouseOver(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
	OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnMouseOver");
}
void PIRPluginObject::OnMouseLeave(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
	OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnMouseLeave");
}
void PIRPluginObject::OnLBtnDown(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
	OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnLBtnDown");
}
void PIRPluginObject::OnLBtnUp(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
	OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnLBtnUp");
}
void PIRPluginObject::OnLBtnDoubleClick(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
	OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnLBtnDoubleClick");
}
void PIRPluginObject::OnRBtnDown(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
	OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnRBtnDown");	
}
void PIRPluginObject::OnRBtnUp(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
	OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnRBtnUp");	
}
void PIRPluginObject::OnRBtnDoubleClick(HWND hWndParent,POINT ptMousePos,RECT rcObRect)
{
	OnMouseEvent(hWndParent,ptMousePos,rcObRect,"OnRBtnDoubleClick");	
}

Post Reply