alchemy 0 Posted September 4, 2017 Share Posted September 4, 2017 Hello! I have 2 targets, me need force select a first target and started attack. After few second me need select a second target and start attack him. I will try this code but don't work. It's questing profile, don't plugin. Int128 target1 = 00663400002CA717202FD477E0376C80 ; Int128 target2 = 00663400002CA717202FD477E0377C80 ; ObjectManager.Me.Target = target1; Thread.Sleep(5000); ObjectManager.Me.Target = target2; i receive error https://docs.microsoft.com/en-gb/dotnet/csharp/language-reference/compiler-messages/cs1685 Please help me. Link to comment https://wrobot.eu/forums/topic/6984-change-target-c/ Share on other sites More sharing options...
BetterSister 367 Posted September 4, 2017 Share Posted September 4, 2017 Int can be only numbers? Link to comment https://wrobot.eu/forums/topic/6984-change-target-c/#findComment-31574 Share on other sites More sharing options...
alchemy 0 Posted September 4, 2017 Author Share Posted September 4, 2017 i will try MemoryRobot.Int128 = 00663400002CA717202FD477E0376C80 ; But compiller don't accept this. Need easy code to select mob by EntryID or GUID. Link to comment https://wrobot.eu/forums/topic/6984-change-target-c/#findComment-31575 Share on other sites More sharing options...
Droidz 2738 Posted September 4, 2017 Share Posted September 4, 2017 Hello, var o = wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(new Int128("00663400002CA717202FD477E0376C80")); if (o.IsValid) wManager.Wow.Helpers.Interact.InteractGameObject(o.GetBaseAddress); Link to comment https://wrobot.eu/forums/topic/6984-change-target-c/#findComment-31576 Share on other sites More sharing options...
alchemy 0 Posted September 4, 2017 Author Share Posted September 4, 2017 5 hours ago, Droidz said: Hello, var o = wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(new Int128("00663400002CA717202FD477E0376C80")); if (o.IsValid) wManager.Wow.Helpers.Interact.InteractGameObject(o.GetBaseAddress); Thx mate! Working var o = wManager.Wow.ObjectManager.ObjectManager.GetObjectByGuid(new MemoryRobot.Int128("0002E600002D7A4F203AF40020255880")); Link to comment https://wrobot.eu/forums/topic/6984-change-target-c/#findComment-31577 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now