-
Posts
1215 -
Joined
Reputation Activity
-
-
TheSmokie reacted to Droidz in Quest Order Editor + Quest Editor - Arrows to move quests up/down in list
yes in all versions but you need to wait next update.
-
TheSmokie reacted to Ordush in ObjectManager.Me.PlayerRace returns 35
ObjectManager.Me.PlayerRaceString returns "Unknown"
I obviously did a fresh wrobot install before coming here. ?
Edit: This is very odd, on another server it returns the race.
But on my own CMangos Server it returns those numbers. ?
Edit: If I do Logging.Write(Lua.LuaDoString<string>("return UnitRace('player')"));
It writes: Tauren#||#Tauren
in the log.
If I write Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage(UnitRace('player'))");
it does write Tauren in the chat.
If I do:
if (Lua.LuaDoString<string>("return UnitRace('player')") == "Tauren#||#Tauren")
Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage('Yes')");
else
Lua.LuaDoString("DEFAULT_CHAT_FRAME:AddMessage('No')");
It does write Yes in the chat. lol this is too weird.
Edit: I did try using the same wow folder that is connecting to another private tbc server where this is not the case.
-
TheSmokie reacted to Droidz in Quest Order Editor + Quest Editor - Arrows to move quests up/down in list
Hey,
In next update you will be hable to use shortcut ctrl+ and ctrl- (to up/down step).
To wait when you mouse click on bouton you can after use key "enter" to avoid to spam mouse click
-
TheSmokie got a reaction from Varan in Vehicle options
@Droidz
idk if this will help you dev the vehicle api but here is what honorbuddy used.
https://github.com/BosslandGmbH/Honorbuddy-Quest-Behaviors/blob/master/Quest Behaviors/Vehicles/VehicleMover.cs
-
TheSmokie reacted to Droidz in Code doesnt stop fighting complete.
Thread Water = new Thread(() => { Logging.Write("[Water]: Water Search Initialized"); while (Conditions.ProductIsStarted) { try { if (!Conditions.ProductInPause && ObjectManager.Me.BreathTimerLeft <= 2000) { var unit = ObjectManager.GetWoWUnitAttackables().Where(x => x.Position.DistanceTo(ObjectManager.Me.Position) <= 30); foreach (var u in unit) { if (!ObjectManager.BlackListGetUnitAttackPlayerGuidTime.ContainsKey(u.Guid)) ObjectManager.BlackListGetUnitAttackPlayerGuidTime.Add(u.Guid, DateTime.Now + TimeSpan.FromMinutes(5)); } wManager.Wow.Helpers.Keybindings.PressKeybindings(wManager.Wow.Enums.Keybindings.JUMP, 5000); } } catch (Exception e) { Logging.WriteError("[Water] ERROR: " + e); } Thread.Sleep(12000); } Logging.Write("[Water]: Water Search Disposed"); }); Water.Start();
-
TheSmokie reacted to Matenia in Make CustomClass Thread public
Also if you know a better way to pause fightclass thread than this, let me know:
private Thread SleepFightClassThread(List<Thread> threadsToSleep) { Thread fightClassSleepThread = new Thread(() => { try { foreach (var thread in threadsToSleep) { thread.Suspend(); } while (Conditions.InGameAndConnectedAndAliveAndProductStarted && !Common.IsAttackedByNpc) { Thread.Sleep(500); } } finally { foreach (var thread in threadsToSleep) { thread.Resume(); } } }); fightClassSleepThread.Start(); return fightClassSleepThread; }
-
TheSmokie reacted to Droidz in Make CustomClass Thread public
Hey, wait next update I added "CustomClassThread" in CusomClass
-
TheSmokie reacted to Bambo in ObjectManager.Me.Race
here is the logfile @Droidz
i was level 3 and undead male
the if statements returned false
9 Mai 2019 18H42.log.html
-
TheSmokie reacted to Droidz in Deeprun Tram broken pathfinding
ok thank I'll generate new meshes wait few hours
-
-
-
TheSmokie reacted to Droidz in Code doesnt stop fighting complete.
Hello, this stop fight, but bot probably try to attack again target, to skip all combat you need to use code like:
wManager.Events.FightEvents.OnFightStart += delegate(WoWUnit unit, CancelEventArgs cancelable) { cancelable.Cancel = true; if (unit.IsValid) ObjectManager.BlackListGetUnitAttackPlayerGuidTime.Add(unit.Guid, DateTime.Now + TimeSpan.FromMinutes(10)); };