Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/iano/public_html/tpforums-vb5/forum/includes/class_core.php on line 5842

PHP Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 165

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 588

PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in ..../includes/functions_navigation.php on line 612

PHP Warning: Use of undefined constant archive_postsperpage - assumed 'archive_postsperpage' (this will throw an Error in a future version of PHP) in ..../archive/index.php on line 456
How can I find the ContextMenu addresses [Archive] - Forums

PDA

View Full Version : How can I find the ContextMenu addresses



brunelli1989
12-17-2012, 10:51 PM
someone can help to find ?

public static uint AddContextMenuPtr;
public static uint OnClickContextMenuPtr;
public static uint OnClickContextMenuVf;
public static uint AddSetOutfitContextMenu;
public static uint AddPartyActionContextMenu;
public static uint AddCopyNameContextMenu;
public static uint AddTradeWithContextMenu;
public static uint AddLookContextMenu;

Tryller
09-03-2013, 02:56 PM
I neeed it too :)
Help please

DarkstaR
09-03-2013, 04:00 PM
public static uint AddContextMenuPtr; - the add context menu function that is called at the following 5 locations:
public static uint AddSetOutfitContextMenu; --the address of the CALL to add set outfit context menu
public static uint AddPartyActionContextMenu; --the address of the CALL to add party action context menu
public static uint AddCopyNameContextMenu; --the address of the CALL to add copy name context menu
public static uint AddTradeWithContextMenu; --the address of the CALL to add trade with context menu
public static uint AddLookContextMenu; --the address of the CALL to add look context menu

All of the hooks above can be found by searching for the text that is added to the menu.

public static uint OnClickContextMenuPtr; - the callback when a menu is clicked, look for a switch case with id's that resemble the ones pushed to the above functions. breakpoint to clarify
public static uint OnClickContextMenuVf; --search for the above address is memory. is an address which holds the callback address in a virtual function table



If you go view my past streams at http://www.twitch.tv/darkstar_xeno when I'm updating xenobot, I walk through similar address sometimes.

Tryller
09-03-2013, 05:43 PM
Thanks darkstar :)