-
Posts
332 -
Joined
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Posts posted by Apexx
-
-
Hi, recently I have been getting an error (I believe when I start and stop Automaton) that keeps popping up from time to time.
I will submit a log file if I am able to reproduce the error again. Thanks!
-
I don't know what the issue is with Warmane. I have been scripting multiple Fight Classes, Plugins, etc for the passed month on Warmane, and have not seen one infraction. Who knows?
-
What Fight Class are you using?
-
I don't think I am ready to jeopardize my account just yet, but thanks.
-
Just checked my account on Lordaeron and it's still active. I wrote an entire PvP Arms Warrior fight class with some Grinding included as well as Fishing.
-
Try this, put it inside your Plugins folder.
-
3 hours ago, jusxon said:
I am just wanting to run some LUA during regen phase, could this be done with a plugin?
What version of WoW are you interested in this for?
-
Nice job @cedced30! I am glad you were able to fix your problem! Glad to help! Great added feature as well.
-
Of course it was that easy. I should have known. Thanks a lot @Droidz! Much appreciated!
-
Is it possible to pause a plugin while the player is in combat? In my plugin, if I put a Thread.Sleep, it appears that it sleeps the entire bot thread.
-
I am not sure if this works, as I have not tested it, but try and play around with this:
private bool IsRangedPullBetter() { // Create a list var mobsAroundMe = new List<WoWUnit>(); // Check my target's surroundings for mobs that are valid, alive, attackable, and within // 7 yards of target and sort them in the list from closest to furthest from player's position if (ObjectManager.Me.HasTarget) { mobsAroundMe.AddRange(ObjectManager.GetObjectWoWUnit().Where(u => u != null && u.IsValid && u.IsAlive && u.IsAttackable && u.Position.DistanceTo(ObjectManager.Target.Position) <= 7.0f).OrderBy(n => ObjectManager.Me.Position.DistanceTo(n.Position))); } // Number of mobs within 7 yards of my target = mobsAroundMe.Count(); // I may want to use a pull spell if there are more than 2 mobs near my target if (mobsAroundMe.Count() > 2) { return true; } return false; }
-
Thank you for the comment. You can certainly try it out. I am not sure if Vanilla will allow:
SpellManager.CastSpellByNameLUA(_spell)
I can possibly look into it if it does not work for you. Please let me know.
-
I am in the process of creating a plugin for this. It is still being worked on, so please if you have any questions or comments, let me know!
-
I am in the process of creating a plugin for this. It is still being worked on, so please if you have any questions or comments, let me know!
-
I cannot seem to get it to work. I am attempting to check if my target is humanoid, in combat, range, and has a weapon in hand before using 'Disarm'.
-
Hi there, check the following images and it may help you with your problem. Good luck and have fun!
Click the cogwheel (gear) first
Follow the steps in the picture
-
Thanks @Ordush I wonder if GetInventoryItemID will work the same?
return _mainhandid = Lua.LuaDoString<Int32>("GetInventoryItemID(\"target\", 16);");
-
Hello, I was wondering if anyone had the offset value for MoP 5.4.8 (18414) Main hand item id for player as well as unit? Thanks in advance!
public static int MainHandId(WoWUnit unit) { // Using 3.3.5a(12340) offsets. if (unit.PlayerControlled) return wManager.Wow.Memory.WowMemory.Memory.ReadInt32(unit.GetDescriptorAddress(0x4E4)); return wManager.Wow.Memory.WowMemory.Memory.ReadInt32(unit.GetDescriptorAddress(0xE0)); }
-
It's funny to think if perhaps @Droidz runs the Tauri server, and doesn't want his own bot running on it? I have seen him comment on other topics, but he doesn't seem to be particularly taking interest in this thread topic. No offense Droidz. I have moved on to other servers since then. It's not really worth the time perhaps?
-
Hey there, just briefly looking at your code, I was wondering if declaring those boolean variables at the top of your class changes anything? Just a thought...
private bool burstMode; private bool aoeMode;
public class Main : ICustomClass { public float Range { get { return 30; } } private bool _isLaunched; private ulong _lastTarget; private bool burstMode; private bool aoeMode; public void Initialize() // When product started, initialize and launch Fightclass {
-
I will have to double check my class file. It's been a while since I last scripted it. I may have some lua code in there somewhere I am sure. The interesting thing for me, was it all happened after hitting level 10. I had been using the fight class without any problems up until that point. WRadar does not use lua.
-
I was using my custom Fight Class with WRotation, and my plugin, WRadar.
-
Indeed. If there's anything else I can do to help, let me know.
-
The first forced log off was within seconds after hitting level 10 while the bot was running. When I logged back in, I didn't have the bot started. I let the game load up, and started the bot, and within about 8-10 seconds, the second forced log off occurred. I tried to log back in a third time, with the message that my account was banned.
How to stop event?
in General discussion
Posted
You can Subscribe to the events inside the Initialize() Method like the following (be sure to Unsubscribe from the event on Dispose):
** Code is not tested **