Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

Marsbar

Elite user
  • Content Count

    268
  • Joined

  • Last visited


Reputation Activity

  1. Like
    Marsbar got a reaction from Droidz in Unofficial WRobot API Documentation   
    Hi!
    There are often questions regarding the wrobot api and what functions it has, generally you're told to either decompile the dlls or reference them in your visual studio project and use the object browser.
    Some people only want to know a certain function name and don't wish to go into the deeper realms of development. There isn't a resource they can use to obtain that info without some effort on their part, that's hopefully where this site I generated will come in handy:

    Unofficial WRobot API Docs
    It was created by decompiling the vanilla wmanager and robotmanager dlls and generating an api web template using docfx.
    Currently it doesn't give you anything more than you'd have by decompiling the dlls yourself but I'm hoping to update this with method, property, constructer etc. descriptions and potentially basic code snippets for a better understanding of the wrobot api.
    If you're interested in contributing let me know and I can add you to the gitlab project (sorry if you don't like gitlab but it was quick and easy with free private repos).
  2. Like
    Marsbar got a reaction from shaded in Turn off /say   
    You're probably using this:
    https://wrobot.eu/files/file/1709-simple-antidetection/
     
  3. Like
    Marsbar got a reaction from Droidz in Unofficial WRobot API Documentation   
    Hi!
    There are often questions regarding the wrobot api and what functions it has, generally you're told to either decompile the dlls or reference them in your visual studio project and use the object browser.
    Some people only want to know a certain function name and don't wish to go into the deeper realms of development. There isn't a resource they can use to obtain that info without some effort on their part, that's hopefully where this site I generated will come in handy:

    Unofficial WRobot API Docs
    It was created by decompiling the vanilla wmanager and robotmanager dlls and generating an api web template using docfx.
    Currently it doesn't give you anything more than you'd have by decompiling the dlls yourself but I'm hoping to update this with method, property, constructer etc. descriptions and potentially basic code snippets for a better understanding of the wrobot api.
    If you're interested in contributing let me know and I can add you to the gitlab project (sorry if you don't like gitlab but it was quick and easy with free private repos).
  4. Like
    Marsbar reacted to Droidz in Happy new year 2019!   
    View full article
  5. Like
    Marsbar got a reaction from Droidz in Unofficial WRobot API Documentation   
    Hi!
    There are often questions regarding the wrobot api and what functions it has, generally you're told to either decompile the dlls or reference them in your visual studio project and use the object browser.
    Some people only want to know a certain function name and don't wish to go into the deeper realms of development. There isn't a resource they can use to obtain that info without some effort on their part, that's hopefully where this site I generated will come in handy:

    Unofficial WRobot API Docs
    It was created by decompiling the vanilla wmanager and robotmanager dlls and generating an api web template using docfx.
    Currently it doesn't give you anything more than you'd have by decompiling the dlls yourself but I'm hoping to update this with method, property, constructer etc. descriptions and potentially basic code snippets for a better understanding of the wrobot api.
    If you're interested in contributing let me know and I can add you to the gitlab project (sorry if you don't like gitlab but it was quick and easy with free private repos).
  6. Like
    Marsbar got a reaction from Dreamful in Unofficial WRobot API Documentation   
    I'm going to slowly start adding small code snippets / tutorials to this eg. https://marsbars.gitlab.io/unoffical-wrobot-api-docs/articles/plugin.html
    Let me know if you spot anything wrong with it or have suggestions on what to add.
  7. Like
    Marsbar got a reaction from Droidz in Unofficial WRobot API Documentation   
    Hi!
    There are often questions regarding the wrobot api and what functions it has, generally you're told to either decompile the dlls or reference them in your visual studio project and use the object browser.
    Some people only want to know a certain function name and don't wish to go into the deeper realms of development. There isn't a resource they can use to obtain that info without some effort on their part, that's hopefully where this site I generated will come in handy:

    Unofficial WRobot API Docs
    It was created by decompiling the vanilla wmanager and robotmanager dlls and generating an api web template using docfx.
    Currently it doesn't give you anything more than you'd have by decompiling the dlls yourself but I'm hoping to update this with method, property, constructer etc. descriptions and potentially basic code snippets for a better understanding of the wrobot api.
    If you're interested in contributing let me know and I can add you to the gitlab project (sorry if you don't like gitlab but it was quick and easy with free private repos).
  8. Like
    Marsbar got a reaction from Dreamful in Unofficial WRobot API Documentation   
    I'm going to slowly start adding small code snippets / tutorials to this eg. https://marsbars.gitlab.io/unoffical-wrobot-api-docs/articles/plugin.html
    Let me know if you spot anything wrong with it or have suggestions on what to add.
  9. Like
    Marsbar reacted to Matenia in Can you make it, so wrobot does not count quiver/ammobag slots als normal bag slots?   
    @Marsbar you can do this completely automatically:
     
    Lua.LuaDoString(@" if GetItemInfoFromItemLink ~= nil then return end function GetItemInfoFromItemLink(link) local itemId = nil; if ( type(link) == 'string' ) then _,_, itemId = string.find(link, 'item:(%d+):'); if (itemId) then local version, build, date = GetBuildInfo(); if (tonumber(build) > 5875) then local itemName, itemLink, itemQuality, itemLevel, itemMinLevel, itemType, itemSubType, itemCount, itemEquipLoc, itemTexture = GetItemInfo(itemId); return itemName, itemLink, itemQuality, itemLevel, itemType, itemSubType, itemCount, itemTexture; else return GetItemInfo(itemId); end end end end "); uint quiverSlotCount = Lua.LuaDoString<uint>(@" for slot = 20,23 do local link = GetInventoryItemLink('player', slot); if link then then local itemName, itemLink, itemQuality, itemLevel, itemType, itemSubType, itemCount, itemTexture = GetItemInfoFromItemLink(link); if itemType == 'Quiver' then return GetContainerNumSlots(slot - 19); -- gets back slot end end end "); Works at least vanilla => WotLK. So you can turn that into a free plugina nd post it here :)
  10. Like
    Marsbar got a reaction from eniac86 in Can you make it, so wrobot does not count quiver/ammobag slots als normal bag slots?   
    Try this plugin, I made it ages ago for a friend, i think it does what you're after, you just have to give it the correct bag slot id, id 1 is the first bag next to your backpack, then its 2, 3, 4.
    AmmoV2.cs
    edit: if it works for you let me know and I'll post it for other people, i thought there was another plugin or something that covers this but can't find anything atm.
  11. Like
    Marsbar got a reaction from Dreamful in Unofficial WRobot API Documentation   
    I'm going to slowly start adding small code snippets / tutorials to this eg. https://marsbars.gitlab.io/unoffical-wrobot-api-docs/articles/plugin.html
    Let me know if you spot anything wrong with it or have suggestions on what to add.
  12. Like
    Marsbar got a reaction from Droidz in Unofficial WRobot API Documentation   
    Hi!
    There are often questions regarding the wrobot api and what functions it has, generally you're told to either decompile the dlls or reference them in your visual studio project and use the object browser.
    Some people only want to know a certain function name and don't wish to go into the deeper realms of development. There isn't a resource they can use to obtain that info without some effort on their part, that's hopefully where this site I generated will come in handy:

    Unofficial WRobot API Docs
    It was created by decompiling the vanilla wmanager and robotmanager dlls and generating an api web template using docfx.
    Currently it doesn't give you anything more than you'd have by decompiling the dlls yourself but I'm hoping to update this with method, property, constructer etc. descriptions and potentially basic code snippets for a better understanding of the wrobot api.
    If you're interested in contributing let me know and I can add you to the gitlab project (sorry if you don't like gitlab but it was quick and easy with free private repos).
  13. Like
    Marsbar got a reaction from t00z in How do you make and use variables?   
    var random = new Random().Next(1,4); You can test it in the dev tools, do this (with execution type set to C#):
     
    var random = new Random().Next(1,4); Logging.Write(random.ToString()); DevTools help:https://marsbars.gitlab.io/unoffical-wrobot-api-docs/articles/devtools.html
  14. Like
    Marsbar reacted to t00z in How do you make and use variables?   
    public class Example1 { private static var newVarible = "something"; public static string newVariable { get { return name; } set { name = value; } } } public class Example2 { if (Example1.newVariable == "something") { print(Example1.newVariable); //Output: something } } Keep in mind these are very loosely based examples just to depict what is going on
    Ugh...stupid edits removed my code examples...im kind of mad I had a quick lesson in variables for you =/. The above one that survived tries to explain how variables can cross "scopes" and be used across multiple classes. If you are just working with variables within a single class, you only need to declare the variable above the code you will use it in:
    public class Example3 { var newVariable = "something"; if (1 = 1) { print(newVariable); //output: something newVariable = "something else"; print(newVariable); //output: something else } else { print(newVariable); //output: something newVariable = "something new"; } print(newVariable); //output: something else as 1 = 1 }  
    Anyway, here's a snipplet that will work for your particular case:
    string[] spells = new [] {"frostbolt", "arcane missles", "fireball"}; string[] shuffled = spells.OrderBy(n => Guid.NewGuid()).ToArray(); if (wManager.Wow.Helpers.SpellManager.KnowSpell(shuffled[0]) && ObjectManager.Target.GetDistance < 30) {     wManager.Wow.Helpers.SpellManager.CastSpellByNameLUA(shuffled[0]); } Arrays are just groups of variables under one umbrella that are given index numbers (starting at 0) so they can be referenced in a plethora of ways. In this snipplet, your spell names populate a string array called "spells". another array "shuffled" takes the values in "spells" and assigns/reorders them with new Guids- which is basically a tricking the array into shuffling the index numbers of the spells. This means every time the code is called, the contents of shuffled[0] changes randomly.
    Tip: declaring a "var" simply tells the interpreter it's on it's own when it comes to parsing the value of the variable. var can be replaced with things like string,int,float etc to designate specifically what kind of value you are storing. In the case above, string[] designates the array will consist of strings, where int[] would designate the array consists of numbers/intergers.
  15. Like
    Marsbar got a reaction from t00z in How do you make and use variables?   
    var random = new Random().Next(1,4); You can test it in the dev tools, do this (with execution type set to C#):
     
    var random = new Random().Next(1,4); Logging.Write(random.ToString()); DevTools help:https://marsbars.gitlab.io/unoffical-wrobot-api-docs/articles/devtools.html
  16. Like
    Marsbar got a reaction from Droidz in Unofficial WRobot API Documentation   
    Hi!
    There are often questions regarding the wrobot api and what functions it has, generally you're told to either decompile the dlls or reference them in your visual studio project and use the object browser.
    Some people only want to know a certain function name and don't wish to go into the deeper realms of development. There isn't a resource they can use to obtain that info without some effort on their part, that's hopefully where this site I generated will come in handy:

    Unofficial WRobot API Docs
    It was created by decompiling the vanilla wmanager and robotmanager dlls and generating an api web template using docfx.
    Currently it doesn't give you anything more than you'd have by decompiling the dlls yourself but I'm hoping to update this with method, property, constructer etc. descriptions and potentially basic code snippets for a better understanding of the wrobot api.
    If you're interested in contributing let me know and I can add you to the gitlab project (sorry if you don't like gitlab but it was quick and easy with free private repos).
  17. Like
    Marsbar got a reaction from Droidz in Unofficial WRobot API Documentation   
    Hi!
    There are often questions regarding the wrobot api and what functions it has, generally you're told to either decompile the dlls or reference them in your visual studio project and use the object browser.
    Some people only want to know a certain function name and don't wish to go into the deeper realms of development. There isn't a resource they can use to obtain that info without some effort on their part, that's hopefully where this site I generated will come in handy:

    Unofficial WRobot API Docs
    It was created by decompiling the vanilla wmanager and robotmanager dlls and generating an api web template using docfx.
    Currently it doesn't give you anything more than you'd have by decompiling the dlls yourself but I'm hoping to update this with method, property, constructer etc. descriptions and potentially basic code snippets for a better understanding of the wrobot api.
    If you're interested in contributing let me know and I can add you to the gitlab project (sorry if you don't like gitlab but it was quick and easy with free private repos).
  18. Like
    Marsbar got a reaction from Droidz in Unofficial WRobot API Documentation   
    Hi!
    There are often questions regarding the wrobot api and what functions it has, generally you're told to either decompile the dlls or reference them in your visual studio project and use the object browser.
    Some people only want to know a certain function name and don't wish to go into the deeper realms of development. There isn't a resource they can use to obtain that info without some effort on their part, that's hopefully where this site I generated will come in handy:

    Unofficial WRobot API Docs
    It was created by decompiling the vanilla wmanager and robotmanager dlls and generating an api web template using docfx.
    Currently it doesn't give you anything more than you'd have by decompiling the dlls yourself but I'm hoping to update this with method, property, constructer etc. descriptions and potentially basic code snippets for a better understanding of the wrobot api.
    If you're interested in contributing let me know and I can add you to the gitlab project (sorry if you don't like gitlab but it was quick and easy with free private repos).
  19. Like
    Marsbar got a reaction from Droidz in How to create Plugin (developer only)   
    Quite simple at the moment but will potentially expand on this:
    https://marsbars.gitlab.io/unoffical-wrobot-api-docs/articles/plugin.html
  20. Like
    Marsbar got a reaction from Haven65 in Bot stopping every 5 Meter´s   
    Yes that's correct. You could however also edit the fightclass (using the fightclass editor) and add a condition on the revive pet spell to only be cast when you're above level 10. There are some tutorials on how to do this in the tutorial section eg. https://wrobot.eu/forums/topic/3560-fight-class-tutorial-video/
     
  21. Like
    Marsbar got a reaction from Droidz in Unofficial WRobot API Documentation   
    Hi!
    There are often questions regarding the wrobot api and what functions it has, generally you're told to either decompile the dlls or reference them in your visual studio project and use the object browser.
    Some people only want to know a certain function name and don't wish to go into the deeper realms of development. There isn't a resource they can use to obtain that info without some effort on their part, that's hopefully where this site I generated will come in handy:

    Unofficial WRobot API Docs
    It was created by decompiling the vanilla wmanager and robotmanager dlls and generating an api web template using docfx.
    Currently it doesn't give you anything more than you'd have by decompiling the dlls yourself but I'm hoping to update this with method, property, constructer etc. descriptions and potentially basic code snippets for a better understanding of the wrobot api.
    If you're interested in contributing let me know and I can add you to the gitlab project (sorry if you don't like gitlab but it was quick and easy with free private repos).
  22. Like
    Marsbar got a reaction from Droidz in Unofficial WRobot API Documentation   
    Hi!
    There are often questions regarding the wrobot api and what functions it has, generally you're told to either decompile the dlls or reference them in your visual studio project and use the object browser.
    Some people only want to know a certain function name and don't wish to go into the deeper realms of development. There isn't a resource they can use to obtain that info without some effort on their part, that's hopefully where this site I generated will come in handy:

    Unofficial WRobot API Docs
    It was created by decompiling the vanilla wmanager and robotmanager dlls and generating an api web template using docfx.
    Currently it doesn't give you anything more than you'd have by decompiling the dlls yourself but I'm hoping to update this with method, property, constructer etc. descriptions and potentially basic code snippets for a better understanding of the wrobot api.
    If you're interested in contributing let me know and I can add you to the gitlab project (sorry if you don't like gitlab but it was quick and easy with free private repos).
  23. Like
    Marsbar reacted to Matenia in buy item from ah-quester   
    https://marsbars.gitlab.io/unoffical-wrobot-api-docs/api/wManager.Wow.Helpers.AuctionHelpers.html
  24. Like
    Marsbar got a reaction from Droidz in Unofficial WRobot API Documentation   
    Hi!
    There are often questions regarding the wrobot api and what functions it has, generally you're told to either decompile the dlls or reference them in your visual studio project and use the object browser.
    Some people only want to know a certain function name and don't wish to go into the deeper realms of development. There isn't a resource they can use to obtain that info without some effort on their part, that's hopefully where this site I generated will come in handy:

    Unofficial WRobot API Docs
    It was created by decompiling the vanilla wmanager and robotmanager dlls and generating an api web template using docfx.
    Currently it doesn't give you anything more than you'd have by decompiling the dlls yourself but I'm hoping to update this with method, property, constructer etc. descriptions and potentially basic code snippets for a better understanding of the wrobot api.
    If you're interested in contributing let me know and I can add you to the gitlab project (sorry if you don't like gitlab but it was quick and easy with free private repos).
  25. Like
    Marsbar reacted to Andoido in Streaming Horde 1-60 Creation   
    Was recently asked to stream the creation of my new profiles and figured why not. Maybe people will learn a thing or two! At worst, its decent music and company.
    https://gaming.youtube.com/channel/UCm9AVFUq6a4yJTwjas20DYw/live
    C-ya there!
×