ScriptSDK is an advanced extension written in .NET. The framework is based on a local tcp socket protocol library written by maxwell and extend the provided architecture by additional methods and handlers.
If i have done everything correctly, I believe the contextMenu.click() is not working? heres a my code:
static void exitEncounter(PlayerMobile P)
{
Console.WriteLine("Exiting encounter");
ScriptSDK.Configuration.ContextOptions.Initialize();
P.ContextMenu.Parse();
int contextCount = P.ContextMenu.Entries.Count();
Console.WriteLine("context menu buttons: " + contextCount);
foreach(var e in P.ContextMenu.Entries)
{
Console.WriteLine("button: " + e.Text + "cliloc: " + e.ClilocID);
}
//1156287 = exit shadowguard
P.ContextMenu.Click(1156287);
}
I have attempted contextmenu.click with 1156287 (the cliloc id) and just a string "exit shadowguard" neither work. The error msg i get is this:
Error in IdServer: "Access Violation at address 0052AD65 in module 'Stealth.Exe'. Read of address 00000025"
If i have done everything correctly, I believe the contextMenu.click() is not working? heres a my code:
I have attempted contextmenu.click with 1156287 (the cliloc id) and just a string "exit shadowguard" neither work. The error msg i get is this: Error in IdServer: "Access Violation at address 0052AD65 in module 'Stealth.Exe'. Read of address 00000025"