Finding player debuffs menu

User Tag List

Results 1 to 6 of 6
  1. #1
    volition's Avatar Member
    Reputation
    6
    Join Date
    Jun 2007
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Finding player debuffs

    I have some limited experience with WoW memory reading, but its been a while (was toying around with a base for WoW-bot like prog back when the wowsharp forums were still around).

    Anyways, I'm looking to find the player's debuffs (as in your player, not those around you). I would like to cycle through them and look for specific ones (cough afk debuff).

    But yeah, if anyone could point me in the right direction that would be great. I'm not a retard so you don't have to dumb it down, I can google around. I'm just looking for some direction.

    Finding player debuffs
  2. #2
    warsheep's Avatar Contributor
    Reputation
    184
    Join Date
    Sep 2006
    Posts
    1,216
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I aint sure what you are looking for, but client side, the debugs are mostly just visual, its server side they do their effect, like throwing you out of Battlegrounds and decreasing HP.

    Though, thats all I can help you, and it most likely didn't at all.. but good luck at whatever you are trying to do!
    FOR A MOMENT, NOTHING HAPPENED. THEN, AFTER A SECOND OR SO, NOTHING CONTINUED TO HAPPEN.

  3. #3
    Cursed's Avatar Contributor
    Reputation
    270
    Join Date
    Jun 2007
    Posts
    1,380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    warsheep, I think he wants to make a BG Bot/ an Anti AFK Bot that auto-deletes the AFK-Debuff

    On Topic: Sorry I cant help you (I know this is a useless post!)

  4. #4
    korknob's Avatar Active Member
    Reputation
    29
    Join Date
    May 2008
    Posts
    67
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    #define PLAYER_DEBUFFS 0x160
    #define PLAYER_DEBUFF_SIZE 0x40
    #define PLAYER_MAX_DEBUFFS 16

    find the player struct then add. read((player_address+PLAYERDEBUFFS), PLAYER_BUFF_SIZE), then loop through and read until debuff = 0. they are stored as an array of int's and you can look up the ID numbers on thottbot.
    Code:
    if (!ReadProcessMemory(hProc, (LPCVOID)PlayerStruct, &Player, sizeof(player_struct), (SIZE_T*)&read))
    		return false;
    if (!ReadProcessMemory(hProc, (LPCVOID)(PlayerStruct+PLAYER_DEBUFFS), &Player.debuffs, PLAYER_DEBUFF_SIZE, (SIZE_T*)&read))
    		return false;
    ----------------------------
    
    bool CheckDebuff(int id)
    {
    	UpdatePlayer();
    	int x = 0;
    	for (x=0;x<PLAYER_MAX_DEBUFFS;x++)
    	{
    		if (Player.debuffs[x] == id)
    			return true;
    	}
    	return false;
    };
    
    #define INACTIVE 43681 // http://thottbot.com/s43681
    you cant remove a buff client side, just read if its there

  5. #5
    volition's Avatar Member
    Reputation
    6
    Join Date
    Jun 2007
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    korknob: thats exactly what I was looking for, thanks.

    Don't worry guys, I'm not ignorant enough to think that I can change buffs/debuffs client side. I'm just looking to find out when I have the buff, then have the program play some alert noise so I know to tab back in and get in pvp combat.

  6. #6
    warsheep's Avatar Contributor
    Reputation
    184
    Join Date
    Sep 2006
    Posts
    1,216
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, then its actually rather smart...
    I hope I see a fully working and released version of it then ^^
    FOR A MOMENT, NOTHING HAPPENED. THEN, AFTER A SECOND OR SO, NOTHING CONTINUED TO HAPPEN.

Similar Threads

  1. Got access to Heroes? Post your b-tag here to find players to play with!
    By Dante in forum Heroes of the Storm General
    Replies: 13
    Last Post: 11-03-2014, 08:39 AM
  2. Finding player health address 3.3.5
    By Boody in forum WoW Memory Editing
    Replies: 9
    Last Post: 04-09-2014, 03:37 PM
  3. [AutoIt] Finding Player's Name
    By kalixe in forum WoW Memory Editing
    Replies: 7
    Last Post: 10-13-2010, 03:19 PM
  4. [CODE] Find buffs / debuffs on a target
    By Therrm in forum WoW Memory Editing
    Replies: 6
    Last Post: 04-19-2009, 05:51 AM
  5. [Exploit] Find out if an opposite faction player is online
    By Matt in forum World of Warcraft Exploits
    Replies: 7
    Last Post: 11-04-2006, 09:22 AM
All times are GMT -5. The time now is 10:21 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