Jump to content

t00z

Members
  • Posts

    27
  • Joined

  • Last visited

Reputation Activity

  1. Like
    t00z got a reaction from Droidz in Warmane Icecrown Bot Detection   
    I'd like to report that in my humble opinion after hours of testing, WRobot is undetected by Warmane's Sentinel Anti-cheat. I can't speak for expanded function/scripting outside what is offered by WRobot, but the bot itself is not detected.
    You are being reported, and/or manually checked by a GM. 
  2. Like
    t00z 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 :)
  3. Like
    t00z reacted to Mykoplazma in how to cast AOE spell like "Death and Decay"   
    SpellManager.CastSpellByIDAndPosition(49936, ObjectManager.Target.Position)
    Spell Id my vary you can get spell id from web or from wrobot methods ( it should be somewhere idk). Use some c# reflector to see methods by yourself or configure notepad++ with c# plugin.
  4. Thanks
    t00z got a reaction from Macro 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.
  5. Like
    t00z got a reaction from Marsbar 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.
  6. Like
    t00z reacted to Marsbar 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
  7. Like
    t00z reacted to Matenia in Does it work on Northdale?   
    Because nobody uses Automaton. And there's already an official wRobot discord. 
    Plus you don't actually own a wRobot key...
  8. Like
    t00z reacted to modarth in Downloaded update now wont run   
    i know but Matenia is my person for my plugins and fight classes and he always responds super quick GREAT SELLER
  9. Like
    t00z reacted to Matenia in Downloaded update now wont run   
    It says right there why that error was produced. Contact the seller.
×
×
  • Create New...