ScriptUO

Scripting Resources & Utilities => Stealth Client => Topic started by: smitty on June 03, 2016, 02:37:04 PM

Title: context menu crash
Post by: smitty on June 03, 2016, 02:37:04 PM
I also too as well am having context menu problems. My code looks like dis:

Code: [Select]
static void exitEncounter(PlayerMobile P)
        {
            Console.WriteLine("Exiting encounter");
            ScriptSDK.Configuration.ContextOptions.Initialize();
            P.ContextMenu.Parse();
           
            //P.ContextMenu.Click("Exit Shadowguard");
            // or
            //P.ContextMenu.Click(1156287);//or some number like that...
        }

any ContextMenu.Click line gives me a weird error.
Error in IdServer: "Access Violation at address 0052AD65 in module 'Stealth.Exe'. Read of address 00000025"
Title: Re: context menu crash
Post by: Crome969 on June 04, 2016, 01:55:11 AM
Please report SDK bugs here : https://github.com/Crome696/ScriptSDK/issues
Title: Re: context menu crash
Post by: smitty on June 04, 2016, 06:59:47 AM
Submitted the issues on your github =] Thanks for gettin back so fast!