Jump to content

Marsbar

Elite user
  • Posts

    411
  • Joined

  • Last visited

Everything posted by Marsbar

  1. Version 3.0.0

    304 downloads

    UPDATED: This needed updating as the way bots work has been updated by discord. Changes include: You cannot have the word "discord" in your bot name - this will make it just not work. Either rename it or create a new application/bot Slash commands! No longer use the . prefix. Now you would use /say instead of .say Bot scope - when inviting your bot to your server you need to have the bot.commands scope. Guild ID requirement - this is a bit of laziness from me but this is now a setting you need to set up before using the plugin. Included in the guide at the bottom. wDiscord is a 2 way discord and WRobot integration bot, you will receive alerts to your chosen discord server and channel when in game events such as whispers, deaths and trade requests, etc. happen. You can also then respond to these alerts and a variety of ways via commands in discord. This is the spiritual successor of wDiscordAlert, a free 1 way discord alerting plugin, if you don't need to send commands you can find it here: https://wrobot.eu/files/file/1510-wdiscordalert/ Feature list: Multi-char monitoring and commands on one (or multiple) discord server(s) Status update on timer Simple setup (just a bot for both ways, no webhooks like wDiscordAlert) Event alerts (bot will send a message to discord): Say Emote Whisper Party Guild Party invite Duel request Trade request Guild request Player death Player stuck Configurable alert prefixes (@everyone, etc.) Configurable alert screenshots Configurable alert area blacklists for say/emote (default contains some capital cities) Commands: status setup say party whisper reply (to lastest whisper) channelsay macro (TBC and above only!!!) reloadui screenshot gif hearth stop bot start bot pause bot resume bot accept request (such as party invite) decline request leave party logout exit game Do a to town run Product (like battlegrounder/quester) - list,set fightclass - list,set profile – list (set coming soon) bag - list General Config Commands: groundmount flyingmount foodname drinkname drinktoggle drinkpercent foodpercent selltoggle repairtoggle sellrarity donotsell - add,remove,list forcesell - add,remove,list mailtoggle mailrecipient donotmail - add,remove,list forcemail - add,remove,list Getting started: Changelog: 2018 27th June - Updated with command to list bag items (.bag list) and an issue with ppl unable to purchase from Rocketr 2nd July - Updated with command to show professions levels (.profs), stopped status spam if disconnected and added a setup tutorial video to the getting started 8th July - Updated with Quest objective tracking & automatic clearing of the screenshots folder on startup. 28th August - Updated with a .setup command, see new getting started, added a .gif command to send yourself a short gif of ingame! (also some small fixes and better logging) https://gyazo.com/ce1bdf5180e426fd8d26480c492ccffe 1st October - Found a bug I introduced which caused a few errors on status/screenshots. Also added 3 new commands, .reloadui, .channelsay (eg. .channelsay 1 Barrens chat 4evaaa!) and .macro (include the slash to use). Marco only works for TBC upwards, no vanilla im afraid. 2019 19th April - Substantial re-write, updated settings style, added auth, added auto updates, updated help command. More features to come. 29th May - More filters on what messages to alert on (requested by user) 2022 Made free
  2. ObjectManager.GetWoWUnitAttackables().Where(x => x.Target == ObjectManager.Me.GetBaseAddress || x.Target == ObjectManager.Pet.GetBaseAddress).Count() >= 2 You could add something like that into your condition ( || means or, if you only care about enemies targetting your pet take the other side out).
  3. This is because wRobot reloads the UI when your addon memory gets over its threshold, you have 2 options, increase the threshold or turn off your addons. The topic i linked below should explain things. https://wrobot.eu/forums/topic/4918-since-last-update-the-bot-spams-reloadui/?tab=comments#comment-22750
  4. You should be able to run it with any botbase (I've only tested it in vanilla but it should work on any wow version) I've not tested it since the 2.0 wrobot update, are you having issues?
  5. I may use the plugin settings and pulse them to let them know the instance is still alive - I'll update if that worked for me. Thanks @Enraged
  6. In a plugin I'm writing I create an instance of a class. I do not want to dispose it when the bot is stopped (which is fine and working) however I don't want to create another instance of it if it already exists as there would then be 2 of them (as I'm not disposing the original). I can't track it in a variable within my plugin because once the bot is restarted a new instance of the plugin is spawned and would not have those variables. Is there something I can set in a wrobot variable to track whether my plugin has launched and thus I don't need to track it in my plugin?
  7. Use this plugin as an example of creating lua ingame; (download the Main.cs)
  8. maybe something like this? private bool rangedPull; public float Range { get { if (!Fight.InFight && ObjectManager.GetWoWUnitHostile().Count(u => u.Position.DistanceTo(ObjectManager.Target.Position) <= 30 && u.IsAttackable) > 1) // if there is more than one mob within 30 yards of the your target's position { rangedPull = true; return 29f; } else { rangedPull = false; return 5f; } } } To note, that will only stay at range while out of fight because if the mob you're attacking is a caster, you'll want to run to it. You can of course edit that and add more logic
  9. So what's your problem with it? It starts facing the mob, the rangemanger initiates because your pet has aggro and your bot runs away from the mob until its far enough for it to be able to use ranged attacks again, then it turns and continues attacking. Are you saying after it's run away it does NOT turn around and is now facing away from the mob? Edit: You can also add further conditions to the rangemanager so that it doesn't run away if the mob is below a certain amount of HP.
  10. https://wrobot.eu/files/file/1486-paid-humanmasterplugin/ From the features: automatically equips better items, based on TBC "Pawn" stat weights
  11. The below method of the Spell class does not work in vanilla, luaUnitId is not used, it does not cast the spell at the luaUnitId given (eg. mouseover). public void Launch(bool stopMove, bool waitIsCast, bool ignoreIfCast, string luaUnitId);
  12. Because it's already been done? I still consider wrobot more of a framework than a bot anyway.
  13. This doesn't need to be built into the product as Plugins can quite easily solve this problem, here are a few links for you to check out (if any of them have 90% of the features and you're missing something, ask the author if they can add it): https://wrobot.eu/files/file/1510-wdiscordalert/ https://wrobot.eu/files/file/1181-auto-decline/ https://wrobot.eu/files/file/1332-paid-roboalert-game-alerts-discord-phone-notification-email-sound-on-whisper-rare-mob-teleport-logout-death-pause-etc/ https://wrobot.eu/files/file/1516-gamealerts-by-sound-or-mobile-alerts-on-saywhisperdeathlevelpause/
  14. Awesome, I created something very similar recently, might be worth adding the foods from https://github.com/Monteo/GFW_FeedOMatic/blob/master/FeedOMatic_Foods.lua Also you may want to get it to eat the foods in your inventory that are the smallest stack size first, to save on inventory space, if you're interested, i can send you my version?
  15. I don't think there is a problem here, the problem lies with the fightclass where this happens. I've only personally really seen it happen with iMage.
  16. Can you give a little more info? When you mean it wont rezz do you mean it walks to its corpse, the popup comes up where you can select resurrect and it simply doesn't do it and you want it to? (I have noticed a bug on some private servers where the popup comes up but the rezz button doesnt work unless you move like 3 yards closer) Or do you mean if for some reason it can't rezz you want it to spirit rezz?
  17. A possible enhancement would be to also make sure to not re-enable while "Resting" (Inn's & major cities) as well as maybe using Usefuls.SubMapZoneName to compare it to a list of all the towns and again not re-enable.
  18. Would the simple fix for this not just be after its finished its ToTown run that the feature is paused for X minutes giving the bot time to get out of town and the pausing feature is re-enabled after that X variable. I actually thought this was built into WRobot lol
  19. I recommend you just set it to higher than 40%. 40% is very low for a bot already and it will likely struggle. Up it to something like 65%-70% and see if the results are different. I am surprised that you say it goes in when it has less that 40%, it shouldn't be doing that.
  20. What are your settings? Min Food % | Max Food % ? Min Water % | Max Water % ?
  21. You could capture the error that pops up in the middle of your screen and act upon that. There's a few examples on an error message handler on the forums.
  22. @Lups is likely using a version of pfUI which causes this, this is unlikely to do with your fightclass at all.
×
×
  • Create New...