Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 13:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Calling APP from PutToolTip_Item

Discussion on Calling APP from PutToolTip_Item within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Calling APP from PutToolTip_Item

Hi Elitepvpers,

I am trying to show an applet when I hover my mouse over an equipped item.
So instead of showing the normal stuff I want that its going to show an applet instead.

But atm I am an bit lost on how to do it.

What I tried is this

Inside WndManager.cpp
void CWndMgr::PutToolTip_Item( CItemBase* pItemBase, CPoint point, CRect* pRect, int flag )
Code:
CWndItemViewer * pWndItemViewer = (CWndItemViewer *)g_WndMng.GetWndBase(APP_ITEM_VIEWER);
But when I hover my mouse over it. Its not showing the applet.
Do I need to check it somewhere else?

Any tips will be helpful

With kind regards
raventh1984 is offline  
Old 08/07/2015, 21:08   #2
 
Mognakor's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
You are just retrieving a pointer to the object, there is no sign that you actually tell the applet to show itself.
Mognakor is offline  
Old 08/07/2015, 21:34   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
Thnx yeah I noticed that it only was retrieving a pointer to the object.

so my next question is how to initialize the applet so its showing itself.

EDIT:

Found it Wndfield.cpp
void CWndInventory::OnMouseWndSurface( CPoint point )

Changed this
Code:
g_WndMng.PutToolTip_Item( pItemBase, point2, &DrawRect, APP_INVENTORY );
to this
Code:
g_WndMng.ObjectExecutor(SHORTCUT_APPLET, APP_SELECT_CHAR);
Its now showing the Select char applet when I hover over the item.
However if I change it to APP_ITEM_VIEWER then its not showing the Applet.

I am still learning on how to create an Applet I have taken an look at the tutorial on here.
But I think I need to add some code to the OnDraw function correct? atm its empty would that be the reason its not showing?

Update.

I have it so that its now showing the applet when you hover over an Item in your inventory. However when I move the mouse out of the inventory the applet is still showing. I have taken an look at the PutToolTip_Item function and the MakeToolTipText function if there is something about the OnMouseMove or something like that. But there isn't.

So that brings me to the following where does it say that when the mouse is not inside APP_INVENTORY that it should not show the APP
raventh1984 is offline  
Reply


Similar Threads Similar Threads
CALLING ALL CODERS !!!!!!!
07/22/2012 - Facebook - 12 Replies
Some time has gone by and I think we all need to put our heads together to find a hack for War Commander. HISTORY The previous .swf hacks worked fine but greedy people over used them, prompting kixeye to be even more clever. Finally they made a patch which is encrypted and protected by MD5 hash. This made it difficult to make any changes that their autoban software would pick up. Just when we thought there was no way forward hooligan666666 released a cheat engine solution which...
Calling all SEA player
03/24/2012 - SRO PServer Advertising - 0 Replies
Silkroad Online Battle of The Thrones - Free to play! only for SEA player.. new pserver, set up in malaysia is waiting u guys !! give it a try :)
calling all hackers
01/25/2009 - Archlord - 25 Replies
if been messing about with a few programs, and ive managed to change my HP(visiual effect only), im curios if anyone has any idea if i can go any further with this. I gave my lv50 farming ele 100,000 HP but its just visual, any ideas welcome.
[NA] Calling Coders!
03/04/2008 - Cabal Online - 32 Replies
anyone looking to hack / bot cabal usa? want something a bit more complex than basic pixelsearching? if so reply here with qualifications if you want to team up. if you dont have any qualifications - drop an idea or request a feature you'd like in a hack/bot and i'll see if i can work my magic for you!



All times are GMT +2. The time now is 13:27.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.