Jump to content

headcrab

Members
  • Posts

    93
  • Joined

Everything posted by headcrab

  1. I think you can call GetInstanceInfo. For example, if you use lua events listener (i never tried, but maybe it possible in grinding profile too), you can call it after PLAYER_ENTERING_WORLD event: private void MyLuaHandler(LuaEventsId id, List<string> args) { switch (id) { case LuaEventsId.LFG_PROPOSAL_SHOW: Lua.LuaDoString("AcceptProposal()"); break; case LuaEventsId.PLAYER_ENTERING_WORLD: StartInstance(); break; default: break; } } private void StartInstance() { string[] dungeonInfo = Lua.LuaDoString<string[]>("return GetInstanceInfo()"); // name=dungeonInfo[0] type=dungeonInfo[1] difficulty=dungeonInfo[2] ... if (dungeonInfo[1] == "party") { // here you can check dungeon name switch (dungeonInfo[0]) { case "Gruul's Lair": start_quest_1 break; case "another name": start_quest_2 break; ... default: break; } } }
  2. There are alot of LFG functions and LFG events (check started with "LFG"). Read documentation, try functions in developer tools, and write code like in pattern above. Much of functions and events undocummented, maybe you can find better source with google
  3. you can try to make auto accept dungeon plugin, like i did in Battleground helper. For this you have to listen Lua event LFG_PROPOSAL_SHOW, and when it fires, call AcceptProposal() function, or, if it disabled, click accept button programmatically. To discover name of button, type /fstack command, join dungeon queue, and when confirm dialog popup, put cursor above button and read it name. Plugin code should be like this: using wManager.Wow.Enums; using wManager.Wow.Helpers; using System.Collections.Generic; public class Main : wManager.Plugin.IPlugin { public void Initialize() { EventsLuaWithArgs.OnEventsLuaWithArgs += MyLuaHandler; } public void Dispose() { EventsLuaWithArgs.OnEventsLuaWithArgs -= MyLuaHandler; } private void MyLuaHandler(LuaEventsId id, List<string> args) { if (id == LuaEventsId.LFG_PROPOSAL_SHOW) { Lua.LuaDoString("AcceptProposal()"); // or Lua.LuaDoString("Button_name_you_found:Click()"); } } public void Settings() { // no settings } } Of course, you can handle other events too (like invite accept and role select)
  4. Работает это так: бот проверяет качество вещей в сумках, и продает те, на которых галочка. При этом, независимо от качества, не продаются те, которые в списке Do not Sell, и продаются те, которые в списке Force Sell. Названия в списках должны в точности соответствовать тому, как они пишутся в WoW Медная руда - для русского клиента Copper Ore - для английского
  5. Условия на самом деле разные, посмотри в самый конец. Ну а код - пипец. Вместо этих 4 строчек в скобочках используй метод с сигнатурой: public void Launch(bool stopMove, bool waitIsCast, bool ignoreIfCast, bool castOnSelf) Думаю, с аргументами тут всё должно быть понятно. Regen - это время поесть/попить, если задано. Поищи в настройках
  6. Сделал поиск вражеских хилов по таймеру
  7. Есть заготовка плагина для БГ. Делает примерно то же, что и аддон BattlegroundTargets, но в роботе: определяет состав и роли в группе противника. Все это складывает в таблицу, которой можно дальше пользоваться. Например, атаковать в первую очередь хилеров. Пока что просто спамит в инстанс чат количество противников и кто у них хилер (настраивается). Интересует кого такая штука или пофиг? Насчет атаки - нужна только идея, на какое событие посадить выбор противника
  8. Does it write "confirm" and other states to log and WoW console? If you think it clicks too fast simply add string System.Threading.Thread.Sleep(100); // or another value if 100 is not enough in the BattlefieldStatusHandler method, before string Lua.LuaDoString("PVPReadyDialogEnterBattleButton:Click()");
  9. I uploaded new version, try to use LUA callback. In settings set spam=True to make sure plugin works. Also, try use wrotation and join to battleground queue manually - does it auto accepts BG?
  10. Version 2.3.0

    382 downloads

    Its true. Never rejoins BG, even on transport. Accepts BG using UPDATE_BATTLEFIELD_STATUS event callback and alternative method (button click). Usefull for some private servers where AcceptBattlefieldPort function is disabled (some servers also will require modified wManager.dll - i think v.2.2.0 can work without patching, if you select "disable AcceptBattlefieldPort call" - this code unsafe and removed). Version 2.x: Plugin uses battlefield statistics for determinig and auto focus enemy healers, check plugin settings (do not set Search distance much more than your fight class range). Also you can mark enemies usung Radar3D (just for fun, wow addons can do it better). It can auto mark party healers when you party leader; After resurrection it can wait N milliseconds before using ground mount to let your fightclass make all buffs (Resurrect BG workaround) Dont forget to remove AutoBG plugin if you used version 1.x
  11. Version 1.3.8

    767 downloads

    Wrobot has special routines for smelting/milling, but not the same for other professions. This plugin helps to upgrade your profession skills and keep free space in your bags. Open settings and type profession name and list of items your want to craft. Select "Sort by numSkillUps" if you want to make SkillUps items first. Or just type list of crafted matherials (for example, bolt of cloth) to save place in your bags. Will be usefull for tailors, leatherworkers and alchemists. For Cooking bot will wait and cast Cooking Fire when it ready before craft recipe. You have to enter "Cooking Fire" or localized spell name as Required Spell. So, you can grind leather and cook meat at the same time (or catch and cook fish, etc); If you choose "DE green items" it will disenchant all green (uncommon) items in your bags; Plugin contains skinning bug workaround - now bot can skin beasts with the best latency settings (for me works 25-100); Open containers - useful for fisherbot, maybe useful for lockpicking too (not tested); Internationalization support - if you have localized WoW client, simply enter localized spell names for Disenchant and Skinning. Recipe crafting is binded to Looting state (so, bot will make recipes and disenchant after loot mobs). I tested it in MOP, but it should work in other wow versions (added support for new tradeskill API for wow 7)
×
×
  • Create New...