How to build your own WoW Bot menu

User Tag List

Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 49
  1. #16
    sandmonster90's Avatar Member
    Reputation
    2
    Join Date
    Jan 2020
    Posts
    2
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This post was very helpful. I got everything working at a basic level. I haven't been able to dig deeper into the algorithms to see what's happening, but it's very workable right now. The code is pretty clean and nicely written as well.

    Thanks for this post. Would love to see updates in the future.

    How to build your own WoW Bot
  2. #17
    someorother's Avatar Member
    Reputation
    3
    Join Date
    Oct 2019
    Posts
    12
    Thanks G/R
    0/1
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm struggling with my addon that converts the position of the player into the pixels. It works fine most of the time but occasionally it messes up x or y coordinate and this really messes up my pathing. It appears that x and y coordinates get somehow mixed and are shown in the wrong pixel although I'm not sure if this is the case. My code for the addon is below. Its a mess as I'm new to this. This has proven really difficult for me to debug and any help is appreciated!

    Code:
    message('Hello World2!')
    
    local CoordsEtc_UpdateInterval = 0.07
    local timeSinceLastUpdate = 0
    local CoordsEtc_position
    local CoordsEtc_mapID
    
    
    local CoordsEtc_eventFrame = CreateFrame("Frame")
    CoordsEtc_eventFrame:RegisterEvent("ADDON_LOADED")
    CoordsEtc_eventFrame:SetScript("OnEvent", function(self,event,...) 
    	self[event](self,event,...)
    end)
    
    local suunta_frame = CreateFrame("Frame", "suuntaframe", UIParent)
    suunta_frame:SetPoint("TOP"); suunta_frame:SetWidth(20); suunta_frame:SetHeight(20);
    local suunta_tex = suunta_frame:CreateTexture("ARTWORK");
    suunta_tex:SetAllPoints(true);
    suunta_tex:SetAlpha(1);
    
    local posx_frame = CreateFrame("Frame", "posxframe", UIParent)
    posx_frame:SetPoint("TOP", 20, 0); posx_frame:SetWidth(20); posx_frame:SetHeight(20);
    local posx_tex = posx_frame:CreateTexture("ARTWORK");
    posx_tex:SetAllPoints(true);
    posx_tex:SetAlpha(1);
    
    local posy_frame = CreateFrame("Frame", "posyframe", UIParent)
    posy_frame:SetPoint("TOP", 40, 0); posy_frame:SetWidth(20); posy_frame:SetHeight(20);
    local posy_tex = posy_frame:CreateTexture("ARTWORK");
    posy_tex:SetAllPoints(true);
    posy_tex:SetAlpha(1);
    
    function CoordsEtc_UpdateCoordinates()
    	-- CoordsEtc_mapID = C_Map.GetBestMapForUnit("player")
    	CoordsEtc_position = C_Map.GetPlayerMapPosition(mapID,"player")
    	contId, worldpos = C_Map.GetWorldPosFromMapPos(mapID,CoordsEtc_position)
    	suunta = GetPlayerFacing()
    	local x1, xx = math.modf(abs(worldpos.x) / 10)
    	local x2, x3 = math.modf(xx * 255)
    	local y1, yy = math.modf(abs(worldpos.y) / 10)
    	local y2, y3 = math.modf(yy * 255)
    	local r1, rr = math.modf(suunta * 20)
    	local r2, r3 = math.modf(rr * 255)
    	suunta_tex:SetColorTexture(r1/255, r2/255, r3, 1);
    	posx_tex:SetColorTexture(x1/255, x2/255, x3, 1); 
    	posy_tex:SetColorTexture(y1/255, y2/255, y3, 1); 
    	
    end
    
    function CoordsEtc_OnUpdate(self, elapsed)
    	timeSinceLastUpdate = timeSinceLastUpdate + elapsed
    	if (timeSinceLastUpdate > CoordsEtc_UpdateInterval) then
    		-- Update the update time
    		timeSinceLastUpdate = 0
    		CoordsEtc_UpdateCoordinates()
    	end
    end
    
    
    function CoordsEtc_eventFrame:ADDON_LOADED()
    	if (not CoordinatesDB) then
    		CoordinatesDB = {}
    		CoordinatesDB["worldmap"] = true
    		CoordinatesDB["minimap"] = true
    	end
    	mapID = C_Map.GetBestMapForUnit("player")
    	CoordsEtc_eventFrame:RegisterEvent("ZONE_CHANGED_NEW_AREA")
    	CoordsEtc_eventFrame:RegisterEvent("ZONE_CHANGED_INDOORS")
    	CoordsEtc_eventFrame:RegisterEvent("ZONE_CHANGED")
    	CoordsEtc_eventFrame:SetScript("OnUpdate", function(self, elapsed) CoordsEtc_OnUpdate(self, elapsed) end)
    end
    
    function CoordsEtc_eventFrame:ZONE_CHANGED_NEW_AREA()
    	mapID = C_Map.GetBestMapForUnit("player")
    	--CoordsEtc_UpdateCoordinates()
    end
    
    function CoordsEtc_eventFrame:ZONE_CHANGED_INDOORS()
    	mapID = C_Map.GetBestMapForUnit("player")
    	--CoordsEtc_UpdateCoordinates()
    end
    
    function CoordsEtc_eventFrame:ZONE_CHANGED()
    	mapID = C_Map.GetBestMapForUnit("player")
    	--CoordsEtc_UpdateCoordinates()
    end
    
    
    SLASH_TEST1 = "/test1"
    SlashCmdList["TEST"] = function(msg)
       print(CoordsEtc_position.x)
       print(CoordsEtc_position.y)
       print(suunta)
       print(worldpos.x)
       print(worldpos.y)
    end
    Could someone for example provide a very simple code for converting the coordinates to a pixel?

  3. #18
    sandmonster90's Avatar Member
    Reputation
    2
    Join Date
    Jan 2020
    Posts
    2
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by fgabbert View Post
    This is a great post dude!

    I've forked your addon repo and added some features to it for my own use, and then I've been writing my own version of the Node bot in Python! So far I can have it record paths and then run around and follow them.

    Now I'm working on scripting the combat portion of the bot, and I had a quick question that I would love your input on:

    How do you get your character to face the mob that it is attacking?? The only thing I can think of is using some channeling spell first....
    You can turn on click to move and then keybind interact with target. Double tap interact with target and your character will run facing the target and attack if in range. Keybind previous target to loot your target after killing it (will run to target to loot if out of range).

  4. Thanks Mudi (1 members gave Thanks to sandmonster90 for this useful post)
  5. #19
    Mudi's Avatar Member
    Reputation
    1
    Join Date
    Apr 2020
    Posts
    6
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by abromide View Post
    Welcome to my long-running guide on how to make a WoW bot. This guide will be focused on teaching the community how to make a bot which runs on WoW Classic. This guide is completely open source and free.
    THANK YOU abromide for sharing this guide. Ingenious idea!

    Originally Posted by sandmonster90 View Post
    You can turn on click to move and then keybind interact with target. Double tap interact with target and your character will run facing the target and attack if in range. Keybind previous target to loot your target after killing it (will run to target to loot if out of range).
    And thank you sandmonster90 for this very useful tip. I've been playing WoW for a long time and I didn't know about this. Very useful.

  6. #20
    fonillius's Avatar Active Member WINNER OF THE BEST BOT DEVELOPER COMPETITION
    CoreCoins Purchaser
    Reputation
    55
    Join Date
    May 2007
    Posts
    248
    Thanks G/R
    5/33
    Trade Feedback
    4 (75%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    5/5

    This is the kind of stuff I love to see from other people on Ownedcore. Teaching people not how to bot, but actually code their own, is highly appreciated by me.

    This gives people more knowledge of how things work and chance for everyone to begin their bot-programming.

    I wrote about AHK and pixel color recognition for Path of Exile, and loved how first of all people told me that their life is easier with the script and secondly people helping eachother out to write better scripts.

    Side-note, guys, hide your programs. Even you manage to program good human-like pixel (or any other kind of) bot, the problem is that Warden is especially detective about unknown programs and gets you flagged and you will lose your account.

    Its not about technique you made bot with, its about hiding it afterwards. PID, window title, folder, file names etc.

    Ps. I am not being sarcastic, this kind of threads are the most giving to the community and I actually love it. This way youth can understand programming and start to create the future of botting/hacking etc.
    -fonillius

  7. Thanks SirGsus (1 members gave Thanks to fonillius for this useful post)
  8. #21
    mechanlon's Avatar Member
    Reputation
    1
    Join Date
    Apr 2020
    Posts
    1
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank for this tutorial, your code works nice and it's pretty clear to understand with your comments.
    I wanted to undestand how bot works, pixel analysis it's a good idea, I was surpised to find out how that work.

    I'm not a harcore gamer and I launch wow classic after several years to play with my friends, but I have more enjoy to retro engeniring your code rather than playing to the game.
    Last edited by mechanlon; 05-05-2020 at 07:28 AM.

  9. #22
    Plobbi's Avatar Member
    Reputation
    1
    Join Date
    Aug 2014
    Posts
    11
    Thanks G/R
    6/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks a lot for this great starting point. So far I decided to port the engine to C# but I struggle to find a similar function for this

    getIntAtCell(cell) {
    // Finding the hexidecimal color
    let color = this.getColorAtCell(cell)
    // Converting from base 16 (hexidecimal) to base 10 (decimal)
    return parseInt(color, 16)
    }

    I have my own Color function that gaves me a Color. But converting it to int is what I need. Anyone who can help me out? I am really do not know what happens in the native parseInt function that is in JavaScript. Seems to put in a color string, but I do not know in which format I have to convert my color to a valid string.

    A stupid toString() do not take the job

    Thanks in advance

  10. #23
    karadeli's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im planning to build a basic aura re******* for myself. How safe is this? Seems like no problems but im new to wow area. So not sure their security systems, like if they check program names or can work under a limited windows account

    Edit: I wanna ask the plugin safety first. U know.. Its a plugin they can see
    Last edited by karadeli; 06-01-2020 at 10:29 PM.

  11. #24
    andywest's Avatar Member
    Reputation
    1
    Join Date
    Feb 2019
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Plobbi View Post
    thanks a lot for this great starting point. So far I decided to port the engine to C# but I struggle to find a similar function for this

    getIntAtCell(cell) {
    // Finding the hexidecimal color
    let color = this.getColorAtCell(cell)
    // Converting from base 16 (hexidecimal) to base 10 (decimal)
    return parseInt(color, 16)
    }

    I have my own Color function that gaves me a Color. But converting it to int is what I need. Anyone who can help me out? I am really do not know what happens in the native parseInt function that is in JavaScript. Seems to put in a color string, but I do not know in which format I have to convert my color to a valid string.

    A stupid toString() do not take the job

    Thanks in advance
    In case you haven't solved this already...

    var color = System.Drawing.Color.Orange;
    var value = color.R * 65536 + color.G * 256 + color.B;

  12. #25
    Plobbi's Avatar Member
    Reputation
    1
    Join Date
    Aug 2014
    Posts
    11
    Thanks G/R
    6/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you I got an answer in a similar topic

  13. #26
    sunlru's Avatar Member
    Reputation
    1
    Join Date
    Dec 2020
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When the game is not in the active window, can I get the game image through Win32 api? I try to use some methods but i only get a black image
    Last edited by sunlru; 12-07-2020 at 07:58 AM. Reason: Optional

  14. #27
    abromide's Avatar Active Member
    Reputation
    58
    Join Date
    Nov 2017
    Posts
    36
    Thanks G/R
    1/38
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi everybody, I'm writing to let you know that I will not be updating this tutorial in the foreseeable future. I have passed the project onto another user who has agreed to host the repository in my stead. Glad so many of you enjoyed it.

  15. Thanks Fufavu (1 members gave Thanks to abromide for this useful post)
  16. #28
    kircher's Avatar Member
    Reputation
    1
    Join Date
    Jan 2021
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by abromide View Post
    Hi everybody, I'm writing to let you know that I will not be updating this tutorial in the foreseeable future. I have passed the project onto another user who has agreed to host the repository in my stead. Glad so many of you enjoyed it.
    Is the project being actively updated? I'm a developer in the security automation industry who is incredibly interested in getting started with wow automation processes, as well as anticheat evasion and mitigation. Have quite a bit of experience in those fields, but not with Blizzard.

    If you can, please PM me your discord/xmpp, would love to have a quick chat with you

  17. #29
    abromide's Avatar Active Member
    Reputation
    58
    Join Date
    Nov 2017
    Posts
    36
    Thanks G/R
    1/38
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Kircher,

    See above post. I'm not currently updating this project.

  18. #30
    sharpex1's Avatar Member
    Reputation
    1
    Join Date
    Jul 2018
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much for sharing, which is what I need

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [Misc] Suriously, how difficult is it to create your own WOW server?
    By acctingman in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 11-03-2020, 05:35 PM
  2. How to make your own bots!
    By Zeltraz500 in forum World of Warcraft Guides
    Replies: 10
    Last Post: 09-22-2008, 03:35 PM
  3. How-to Make Your Own Basic AntiAFK Bot With AutoIt
    By Toxik the Spammer in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 05-23-2008, 12:39 PM
  4. WoW Emu Section (How to Make Your Own WoW Server)
    By Errage in forum Suggestions
    Replies: 8
    Last Post: 08-21-2007, 11:53 PM
  5. [Easy] How to Make Your Own WoW Forum Avatar!
    By Roflcopterzzz in forum Art & Graphic Design
    Replies: 21
    Last Post: 05-28-2007, 10:09 AM
All times are GMT -5. The time now is 08:07 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search