-
Posts
397 -
Joined
-
Last visited
Content Type
Forums
Articles
Bug Tracker
Downloads
Store
Everything posted by Avvi
-
If you're interested, you can also take a look at my Plugin as well. It will alert you (send emails/play noise) etc, on death/whispers received/say message/character logged out. If you are able to react, you can potentially avoid getting banned. I will be adding features to alert on 'stuck' and or when players are around you.
-
Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)
Avvi replied to ScripterQQ's topic in Lua programming
That's exactly my thoughts. doing the override just makes more sense here. -
Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)
Avvi replied to ScripterQQ's topic in Lua programming
It may be possible. I may even be wrong about something i said above. Hopefully someone else can chime in on this. -
Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)
Avvi replied to ScripterQQ's topic in Lua programming
In my C# example, it would be Cast.. because the event triggers based upon the spell beginning to cast. So, once the bot sees that it's a spell that has a cast time, it will stop the cast. If your goal is to stop casting based on some sort of 'event'/'trigger', then I agree that checking to see if it's an instant cast/not one is irrelevant. I re-read your message, and I see that i completely glossed over your actual question. My mistake. I think it is too late to block the spell. I think the best thing to do is to check your condition before casting anything. -
Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)
Avvi replied to ScripterQQ's topic in Lua programming
check the casttime of all spells before they are casted. If the cast time is greater than 0, then stop casting. If it's 0, then cast. And I'm the opposite :D. I can read LUA, but it's definitely not my forte. -
Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)
Avvi replied to ScripterQQ's topic in Lua programming
edited code above. Posting again so that you get a notification. -
Preventing an istant spell to be casted (UNIT_SPELLCAST_SENT)
Avvi replied to ScripterQQ's topic in Lua programming
Modify your event listener to check to see if the spell that is being casted has a cast time less than or equal 0. I have no idea what SpellStopCasting() does, but the below should work. private void watchForCast() { EventsLuaWithArgs.OnEventsLuaWithArgs += (LuaEventsId id, List<string> args) => { if (id == wManager.Wow.Enums.LuaEventsId.UNIT_SPELLCAST_SENT) { if (instantCast(new Spell(args[1])) == false) { SpellStopCasting(); } } }; } private bool instantCast(Spell spell) { return (spell.CastTime <= 0); } -
- 13 comments
-
- shadow priest
- shadow
- (and 5 more)
-
Quest about CPu Usage to developer
Avvi replied to kpeno's topic in WRobot for Wow The Burning Crusade - Help and support
To be honest, 3% increase does not seem like that much percentage. Also , depending on your system specs 3% may actually only be 1% on a different system. -
mail problem bot
Avvi replied to gramdeck's topic in WRobot for Wow The Burning Crusade - Help and support
http://www.wowhead.com/item=2901/mining-pick Make sure the P in Pick is also capitalized. Mining Pick -
Get started
Avvi replied to nocturor51's topic in WRobot for Wow Wrath of the Lich King - Help and support
Try turning Teamviewer off. Also, if skype is running, try turning that off, too. -
mail problem bot
Avvi replied to gramdeck's topic in WRobot for Wow The Burning Crusade - Help and support
The picture you have is the Vendor (Selling or Buying) tab. That said, you need to make sure that items are spelled correctly (including capitalization). -
I was not able to replicate this on my machine - Running Windows 10 tried both BC / Vanilla / Retail versions of the game.
-
Getting mana requirement for spells?
Avvi replied to Hzqvkr8aTLw4rv's topic in Developers assistance
Getting mana spell costs is difficult to do even in the normal wow LUA scripting. You must extract it from the tooltips. I'm not surprised that this hasn't been implemented by Droidz. You can try implementing the following lua from this post: https://us.battle.net/forums/en/wow/topic/14881058187 and getting the return from that... Even then, this method will be different for each version of the game. a dictionary is probably the easiest solution. -
Party.IsInGroup() seems to always return true in the 2.4.3 version of the game (even when not in a group).
-
Getting mana requirement for spells?
Avvi replied to Hzqvkr8aTLw4rv's topic in Developers assistance
Is your goal to determine whether you have enough mana to cast the spell? If so, then you can use wManager.Wow.Helpers.SpellManager.SpellUsableLUA("Spellname") . Spellusable uses the http://wowwiki.wikia.com/wiki/API_IsUsableSpell so, it's not purely based on mana percentage, but it might accomplish what you want. Currently I don't know if there is a way to find the mana cost of a spell. You may be able to write a dictionary SpellByCost and do that yourself, though. -
I wrote a plugin that can help prevent against user reports. Please look here:
-
[hunter] Range code ?
Avvi replied to Furinkazan's topic in WRobot for Wow Vanilla - Help and support
I can't tell exactly what you're asking for, but assuming the range that you have to start meleeing at is 5, the below should work. using wManager.Wow.ObjectManager; if (ObjectManager.Target.GetDistance <= 5){ // do melee stuff } else { // do ranged stuff } -
gathering ---> auction house (automated)? sorry for bad english :X
Avvi replied to dafuqlol's topic in Auction bot assistance
Why not just send everything to an alt character and then later post items on the auction house? -
- 13 comments
-
- shadow priest
- shadow
- (and 5 more)
-
Bot skip spells
Avvi replied to Photogenic's topic in WRobot for Wow The Burning Crusade - Help and support
I believe you can add a check to see if the other spell is on a cooldown at that point. -
- 13 comments
-
- shadow priest
- shadow
- (and 5 more)