Jump to content

Matenia

Elite user
  • Content Count

    1987
  • Joined

  • Last visited

Reputation Activity

  1. 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.
  2. Like
    Matenia got a reaction from KateLibby in How to read the data in angle brackets under npc name.   
    If you want to avoid targeting the unit, you can use mouseover (ObjectManager.Me.MouseOverGuid).
    I use these methods to convert GUIDs between wrobot (ulong, 64 bit) and Lua's hex string:
    public static WoWUnit GetWoWObjectByLuaUnitId(string luaUnitId) { ulong guid = GetGUIDForLuaGUID(Lua.LuaDoString<string>($"return UnitGUID('{luaUnitId}')")); if (!string.IsNullOrWhiteSpace(luaUnitId)) return ObjectManager.GetObjectWoWUnit().FirstOrDefault(o => o.Guid == guid); return null; } public static ulong GetGUIDForLuaGUID(string luaGuid) { ulong guid; ulong.TryParse(luaGuid.Replace("x", string.Empty), System.Globalization.NumberStyles.HexNumber, null, out guid); return guid; }  
  3. 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.
  4. 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.
     
     
  5. 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 "\"
  6. 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.
  7. 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  
  8. Like
    Matenia got a reaction from ScripterQQ in GetTime() problems   
    Because duration is 5 if the poly is on DR, etc.
  9. 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. 
  10. 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.
  11. 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
  12. Like
    Matenia got a reaction from Pudge in [Wotlk] FlightMaster   
  13. 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.
  14. 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.
  15. Like
    Matenia reacted to Apexx in Authenticate Your Intellectual Property   
    I stumbled across a website the other day, while looking for an alternative to Rocketr to process payments, and validate plugins, fight classes, etc.
    when I found, cryptlex (Powerful software licensing API).
    Quick Start
    Using LexActivator with C#
    After working with the code a bit, I wanted to share a demo project, along with a demo product online, as well as license keys if anyone would like to test it out for themselves.
    This project may have bugs and may not work 100%. I am hoping if other programmers check out the code they can offer ideas, comments, and even
    constructive criticism using this method.
    There is a "WRobot" directory in the attached zip file that stores the files required to run the LexActivator C# wrapper as well as the plugin and the product.dat file.
    Extract the files into their appropriate directory.
    VirusTotal
    CryptlexAuthenticator.zip
  16. Like
    Matenia got a reaction from Floood0 in Pathfinder does not work with buildings   
    It uses a pathfinding server, so there are no client side meshes.
    If you don't disable pathing and you're on the real trial, it will path find correctly.
  17. Like
    Matenia got a reaction from Pudge in Bot ignoring complete condition   
    GoToTask is blocking, it will not stop walking unless you also pass a breaking condition to the "whileCondition" parameter.
    Or use normal MovementManager.Go which is not blocking - but if you have a complete condition, it will just call MovementManager.Go over and over until the condition is fulfilled.

    This is tick-based vs blocking.
  18. Thanks
    Matenia got a reaction from Pudge in IsValid and != null   
    IsValid checks if it still exists in objectmanager. You never need it, unless you store a unit over a long period of time.
    Because when you move 100 yards from the point of unit acquire, it might have disappeared from the objectmanager and not been updated either.
  19. Like
    Matenia got a reaction from Strijder in Force sell item without force2town   
    Do not explicitly set ForceToTown back to false. It's not a blocking call and after the vendor run was successful, the ToTown state sets it back itself.
  20. Haha
    Matenia got a reaction from Bambo in Banned with no reason   
    Plus you don't even have a wrobot license, how on earth did you end up here?
  21. Like
    Matenia got a reaction from Stresse in Fightclass Framework for 2.4.3/3.3.5a and more   
    If you've seen my 1.12 fightclass framework, this is basically the much enhanced version.
    It should work for WoW 2.4.3 and 3.3.5a, possibly many more expansions. The only thing you would have to do is adjust the way combatlog events are parsed, if paramters have changed in your expansion. Everything else should be handled by wRobot. 

    Below you can find the GitHub repository. It also contains a very simple enhancement shaman fightclass as an example that you could change to fit your own needs.
    This is for developers only. If you're a regular user, I recommend just buying my fightclasses. They are, in my opinion, fairly priced.

    Features:
    - checks with server if a spell was successful
    - support for different types of spells 
    - no more double casts of any sort (heals, debuffs, damage)
    - possibility to ignore server responses
    - easy offtarget handling
    - performant caching and rotation handling
    - possibility to use as a healing framework
    - support for wanding
    - multilanguage support
    - dispel by debuff type
     

    https://github.com/Schaka/wRobotFightclassFrameworkEnhanced
     
    @Droidz would be nice if you could sticky/pin this thread
  22. Like
    Matenia got a reaction from Pudge in Conditions.IsAttackedAndCannotIgnore   
    Sometimes it returns true if you can ignore the mobs attacking you, for example if you're on mount with the correct options or you're supposed to ignore pulls while traveling or if Conditions.ForceIgnoreIsAttacked is activated. 

    I recommend you just decompile the binaries and see for yourself. Even with the code being obfuscated, you can usually see these simple things.
  23. Like
    Matenia got a reaction from 79135 in endless.gg ?   
    Then why did you bother commenting on a thread that's specifically in regards to anti-cheat on a very specific TBC server?
    Could it possibly be because most of your posts are to make yourself sound more important and knowledgable while contributing nothing to the topic at hand?

    I've said this many times, but often your answers are so incomplete or off-topic that they do more damage than they help anybody. This was just another case. So as long as you keep doing that, I'll happily correct you publically so people can actually find an answer to their question. I genuinely don't understand your need to push your post count into oblivion and make yourself seem soooo important at any chance you can get.
  24. Like
    Matenia got a reaction from Ordush in endless.gg ?   
    Smokie, your input is basically entirely incorrect. The warden module that let's you execute arbitrary Lua code on the client doesn't work in 2.4.3.
     
    So everything you said is true for wotlk (but by far not the only way they're detecting hacks and bots) and has been known for years. Still doesn't apply here at all and you're just making yourself look like a fool to anyone who actually has a little understanding on the matter. 
  25. Like
    Matenia got a reaction from Ordush in endless.gg ?   
    Then why did you bother commenting on a thread that's specifically in regards to anti-cheat on a very specific TBC server?
    Could it possibly be because most of your posts are to make yourself sound more important and knowledgable while contributing nothing to the topic at hand?

    I've said this many times, but often your answers are so incomplete or off-topic that they do more damage than they help anybody. This was just another case. So as long as you keep doing that, I'll happily correct you publically so people can actually find an answer to their question. I genuinely don't understand your need to push your post count into oblivion and make yourself seem soooo important at any chance you can get.
×
×
  • Create New...