Jump to content

Matenia

Elite user
  • Posts

    2222
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Matenia got a reaction from Zer0 in UnitDebuff/UnitBuff for TBC 2.4.3   
    unitCaster doesn't exist in TBC and owner doesn't work either
    In TBC, if there's a timer it's yours.
  2. Like
    Matenia got a reaction from zatvorgt in Totown state?   
    ToTown.ToTownInProgress (although I've noticed that sometimes that boolean is set despite not actually going to town, so try Logging.Status.ToLower().Contains("town")).
  3. Like
    Matenia got a reaction from Talamin in Just got banned instantly   
    I don't think you understand how detection works. Detection means the client tells the server the bot is injected.
    If you use patterns, grind for hours on end, don't do quests, use non-human behavior etc they can track that statistically. It doesn't mean the bot is detected.

    I've it for years on Warmane and it's been safe except when I got caught. It was only ever detected on an old version, but that was fixed. So if you are using the old cracked WRobot... go figure.
  4. Like
    Matenia got a reaction from crabe in Target is Elemental or Mechanical   
    local creatureType = UnitCreatureType("target") return creatureType == "Elemental" or creatureType == "Mechanical" Hopefully makes it more readable
  5. Like
    Matenia got a reaction from qus16249boofxcom in Cant run the Bot   
    You're likely trying to a quester profile as a grinder or the other way around. Start it as Quester
  6. Thanks
    Matenia got a reaction from Zer0 in "[Fight] Mob seem bugged" What does it do?   
    Then the best you can do is read log events and react to your current target when it happens. That should do the trick for now. 
    Don't use the regular blacklist either (wManager.wManagerSetting.AddBlackList - this isn't realiable), it has to be the property directly on the ObjectManager class as seen here.

    I realize log events won't help much with identifying the mob correctly, but hopefully this will do the trick as your bot is still targeting the mob, so that you can blacklist it and then stop the fight manually afterwards.
  7. Thanks
    Matenia got a reaction from Zer0 in "[Fight] Mob seem bugged" What does it do?   
    I think blacklist events exist, but I don't recall if this case is covered by them. There is a blacklist of GUIDs (which in "real" wow are truly random and NOT re-used like on most p-servers) attached directly to the objectmanager iirc. It's either a list or a map that you can manually add those GUIDs to and they will never be considered in the OM, so for WRobot it's as if those mobs don't even exist. I believe I used this in my free AV plugin for blacklisting AV mobs too.
  8. Like
    Matenia got a reaction from Dreamful in Warname Ban - For how long?   
    If you log back in, it will tell you if it's perma. If it doesn't mention being temporary, it's perma.
    99.99% chance it's perma, btw.
  9. Like
    Matenia got a reaction from Artek in Plugin that will prevent ranged to coming close to mob [Solved]   
    Just set fightclass range to 30+ yards
  10. Thanks
    Matenia got a reaction from Freeziepop in Won't attack while using trial.   
    You're using Wow Addons and a random Grinder profile. 
    If it fights back when you're attacked, the problem is that you need to make a proper grinder that actually chooses and fights enemies. Recording a route isn't enough.

    This is by no means a full (or working) profile, just something that I messed around with a few years back. In fact, it's dated 2019 in my folder. But you can load this in the Quester product and give it a try (try on a fresh character, preferably):
    HordeGrinder1-60.xml
    HordeGrinder1-60_TBC.xml
  11. Like
    Matenia got a reaction from slk in BG BOT - AutoLeave if joined SotA/IoC   
  12. Thanks
    Matenia got a reaction from Zer0 in Can WRobot catch UNIT_SPELLCAST_SUCCEEDED with arguments?   
    I use EventsLuaWithArgs.OnEventsLuaStringWithArgs for pretty much everything. It definitely logs all events. However, if you're using something based on my framework, where I copied this functionality, I specifically only registered it with COMBAT_LOG_EVENT_UNFILTERED, whereas Droidz' functionality uses RegisterAllEvents().

    Also, have you made sure you're actually getting the event for auto shot in the client? Afaik, at least in TBC, it was never fired.
  13. Like
    Matenia got a reaction from elitecasaj00 in PQR Undetected   
    No, he can't. He was basically reselling something he stole from someone else as his own. He does not have the knowledge to make modifications.
  14. Like
    Matenia got a reaction from reeze597 in Probleme mit den Settings   
    Du musst wahrscheinlich die Profile im Quester Editor verändern, da sie aktiv C# benutzen um eine "sensible" Voreinstellung von Settings für dich zu treffen. 
    Generell sind diese sehr alten, nicht mehr gepflegten, Profile nicht zu empfehlen. Mach lieber deine eigenen oder such dir welche aus, die etwas neuer sind und/oder kontaktier die Macher wenn du noch Probleme hast. 

    Da wir kein Logfile von dir haben könnte es auch sein, dass du wild irgendwelche Plugins benutzt, die du nicht verstehst und diese zum Verhalten führen, was dich stört.
  15. Like
    Matenia reacted to Droidz in Official WRobot API Documentation   
    WRobot API Documentation
    Website: https://wrobot.eu/byme/doc/
    Offline documentation: https://wrobot.eu/byme/doc/WRobot.chm
    (from Wotlk version, Updated the 01 February 2021)
     
     Unofficial documentation is available here   , it is still very useful because it contains examples and descriptions that are not available in the official.
     
     
  16. Like
    Matenia got a reaction from ScripterQQ in String concatenation + "any character"   
    UnitBuff doesn't allow for regex afaik. Just iterate all buffs and use string.match or w/e the Lua function is on each name to do a partial match. 
    In Lua ".." concatenates 2 strings. If you want to use a "." in regex without it representing any character, you can escape it using "\"
  17. Like
    Matenia got a reaction from TheSmokie in c# offmesh connection to use elevator   
    No offense to Droidz, but it's pretty much laziness. He'd have to add everything for every expansion and then maintain it manually if pathfinding for the expansion ever changes.

    I do pretty much the same thing for some connections in HMP. A few Droidz added after being given the info so I could remove them. Others I still struggle with due to large distances. It's really not as reliable as I'd like it to be.
  18. Like
    Matenia got a reaction from ScripterQQ in GetTime() problems   
    The API docs are outdated or incorrect and that sentence is a reference to TBC, where you couldn't see ANY durations (no timeLeft either) if it's not casted by you. I thought it was pretty common knowledge that in WotLK you can see all durations at all times. This is exactly what the default UI does - how do you think it draws cooldown frames or addons like OmniCC wrap timers over them?

    So to take my original post from weeks ago:

     
    local _, _, _, _, _, duration, expiration = UnitDebuff("player", "Polymorph") local timeLeft = expiration - GetTime() -- timeLeft in seconds local timeAlreadyPassed = duration - timeLeft -- time the debuff has been applied to the target in seconds if (timeAlreadyPassed > 2) then CastSpellByName('Simple Logic') end  
  19. Like
    Matenia got a reaction from ScripterQQ in GetTime() problems   
    Because duration is 5 if the poly is on DR, etc.
  20. Like
    Matenia got a reaction from ScripterQQ in GetTime() problems   
    I literally gave you the full solution. You have the time left, you have the full duration. From that you can do the math to get the the starting time in GetTime() value. 
  21. Like
    Matenia got a reaction from Pudge in ClickToMove.CGPlayer_C__ClickToMove(x, y, z, 0, (int)ClickToMoveType.Move, 0);   
    It's CTM, it's used for everything movement related, interaction, targeting etc. That's what the WoW client uses it for under the hood.
    Precision is how close you have to be to the target vector for movement to stop.
  22. Thanks
    Matenia got a reaction from ascensiongrind in Bot flying into lakes / water while navigating   
    If you use code, you can use polyarea_water and roads, which should help general navigation to avoid water and prefer roads
  23. Like
    Matenia got a reaction from Pudge in [Wotlk] FlightMaster   
  24. Like
    Matenia got a reaction from ScripterQQ in GetTime() problems   
    My solution still stands. GetTime() is a timestamp of sorts. It ALWAYS changes.
    That's why you need to calculate the time that has already passed since the spell was applied, which is its full duration MINUS the in which it's going to end. And THAT needs to be larger than 2.
  25. Like
    Matenia got a reaction from Apexx in Detect Target Immunities (ie: Immune to Diseases)   
    I hardcode lists and partially rely on user feedback.

    Now you could parse combat log events, store the results per mob entry and maybe even serialize them. That way, you're good to go. Unfortunate though, if mobs are immune for only a few seconds and you never use certain spells anymore because they temporarily immuned thanks to a buff.

    Although I guess you could write some smart detection for a "buff state" in combination with the school/spell. Spell school can be ready from spell info and combatlog iirc.
×
×
  • Create New...