[TBC Classic] [2.5.2 40892] menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
  1. #16
    Wolfone7's Avatar Member
    Reputation
    1
    Join Date
    Oct 2021
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Need a hint:

    --[Cooldowns]--
    -> Base: 0x2E36A30 = type value? [ Int / UInt / Float ] & Default Value [ 0 or max time]?

    [TBC Classic] [2.5.2 40892]
  2. #17
    Razzue's Avatar Contributor Avid Ailurophile

    CoreCoins Purchaser Authenticator enabled
    Reputation
    379
    Join Date
    Jun 2017
    Posts
    588
    Thanks G/R
    185/268
    Trade Feedback
    2 (100%)
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Wolfone7 View Post
    Need a hint:

    --[Cooldowns]--
    -> Base: 0x2E36A30 = type value? [ Int / UInt / Float ] & Default Value [ 0 or max time]?
    IntPtr iirc

    var Current = Memory.Read<IntPtr>(Client.BaseAddress + Offsets.Cooldowns.Base + Offsets.Cooldowns.First);
    if (Current == IntPtr.Zero) return false;

    while (Current.ToInt64() != 0 && (Current.ToInt64() & 1) == 0)
    {
    var cdObj = Memory.Read<cdStruct>(Current);
    if (cdObj.SpellID != 0)
    {
    // Console.WriteLine(cdObj.SpellID);
    Cooldowns.Add(cdObj);
    }
    Current = cdObj.Next;
    }

    [StructLayout(LayoutKind.Explicit)]
    public struct cdStruct
    {
    [FieldOffset(0x08 )]
    public IntPtr Next;

    [FieldOffset(0x10)]
    public uint SpellID;

    [FieldOffset(0x14)]
    public uint ItemID;

    [FieldOffset(0x1C)]
    public uint RecoveryStart;

    [FieldOffset(0x20)]
    public uint Recovery1;

    [FieldOffset(0x28 )]
    public uint CatRecoveryStart;

    [FieldOffset(0x2C )]
    public uint Recovery2;

    [FieldOffset(0x34)]
    public uint GcdRecoveryStart;
    }
    Last edited by Razzue; 11-19-2021 at 07:52 AM.

  3. #18
    Wolfone7's Avatar Member
    Reputation
    1
    Join Date
    Oct 2021
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you!

  4. #19
    fofgogjoj's Avatar Member
    Reputation
    4
    Join Date
    Nov 2019
    Posts
    26
    Thanks G/R
    8/3
    Trade Feedback
    4 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    guys, i am using Namreebs dumper, but looks like i cant get some functions like UnitReaction.
    intended address is 0x19FA270.
    params are unitBaseAddress1 and unitBaseAddress2.
    am i doing something wrong or are some functions unavailable?

  5. #20
    yezack's Avatar Member
    Reputation
    13
    Join Date
    Oct 2021
    Posts
    38
    Thanks G/R
    1/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by fofgogjoj View Post
    guys, i am using Namreebs dumper, but looks like i cant get some functions like UnitReaction.
    intended address is 0x19FA270.
    params are unitBaseAddress1 and unitBaseAddress2.
    am i doing something wrong or are some functions unavailable?
    if you want reaction, you can compare FactionTemplate.
    get faction_template by id from WoW.tools | Database browser
    then comapre

    Code:
     
       def FactionReaction(id1,id2):
            if not(id1 in WOW_FACTION.faction_template and id2 in WOW_FACTION.faction_template):
                return "neutral"
            faction_src= WOW_FACTION.faction_template[id1]
            faction_dst= WOW_FACTION.faction_template[id2]
            if (faction_dst[2] & faction_src[4]) != 0:
                return "hostile"
            for faction_src_enemy in faction_src[5:9]:
                if faction_src_enemy==0:
                    break
                if faction_src_enemy==faction_dst[0]:
                    return "hostile"
            if (faction_dst[2] & faction_src[3]) != 0:
                return "Friendly"
            for faction_src_friend in faction_src[9:13]:
                if faction_src_friend==0:
                    break
                if faction_src_friend==faction_dst[0]:
                    return "Friendly"
            if faction_src[2] & faction_dst[3] != 0:
                return "Friendly"
            for faction_dst_friend in faction_dst[9:13]:
                if faction_dst_friend==0:
                    break
                if faction_dst_friend==faction_src[0]:
                    return "Friendly"
            return WOW_FACTION.reaction[(faction_src[1] & 0x2000) != 0 and 1 or 3]
    python code

  6. Thanks fofgogjoj, Razzue (2 members gave Thanks to yezack for this useful post)
  7. #21
    fofgogjoj's Avatar Member
    Reputation
    4
    Join Date
    Nov 2019
    Posts
    26
    Thanks G/R
    8/3
    Trade Feedback
    4 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by yezack View Post
    if you want reaction, you can compare FactionTemplate.
    get faction_template by id from WoW.tools | Database browser
    then comapre

    Code:
     
       def FactionReaction(id1,id2):
            if not(id1 in WOW_FACTION.faction_template and id2 in WOW_FACTION.faction_template):
                return "neutral"
            faction_src= WOW_FACTION.faction_template[id1]
            faction_dst= WOW_FACTION.faction_template[id2]
            if (faction_dst[2] & faction_src[4]) != 0:
                return "hostile"
            for faction_src_enemy in faction_src[5:9]:
                if faction_src_enemy==0:
                    break
                if faction_src_enemy==faction_dst[0]:
                    return "hostile"
            if (faction_dst[2] & faction_src[3]) != 0:
                return "Friendly"
            for faction_src_friend in faction_src[9:13]:
                if faction_src_friend==0:
                    break
                if faction_src_friend==faction_dst[0]:
                    return "Friendly"
            if faction_src[2] & faction_dst[3] != 0:
                return "Friendly"
            for faction_dst_friend in faction_dst[9:13]:
                if faction_dst_friend==0:
                    break
                if faction_dst_friend==faction_src[0]:
                    return "Friendly"
            return WOW_FACTION.reaction[(faction_src[1] & 0x2000) != 0 and 1 or 3]
    python code
    i think this is an interesting solution if you cannot get a reaction using a function. i thought about parsing the wowhead, but your solution for this would be better.

  8. #22
    Razzue's Avatar Contributor Avid Ailurophile

    CoreCoins Purchaser Authenticator enabled
    Reputation
    379
    Join Date
    Jun 2017
    Posts
    588
    Thanks G/R
    185/268
    Trade Feedback
    2 (100%)
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by yezack View Post
    if you want reaction, you can compare FactionTemplate.
    get faction_template by id from WoW.tools | Database browser
    then comapre

    Code:
     
       def FactionReaction(id1,id2):
            if not(id1 in WOW_FACTION.faction_template and id2 in WOW_FACTION.faction_template):
                return "neutral"
            faction_src= WOW_FACTION.faction_template[id1]
            faction_dst= WOW_FACTION.faction_template[id2]
            if (faction_dst[2] & faction_src[4]) != 0:
                return "hostile"
            for faction_src_enemy in faction_src[5:9]:
                if faction_src_enemy==0:
                    break
                if faction_src_enemy==faction_dst[0]:
                    return "hostile"
            if (faction_dst[2] & faction_src[3]) != 0:
                return "Friendly"
            for faction_src_friend in faction_src[9:13]:
                if faction_src_friend==0:
                    break
                if faction_src_friend==faction_dst[0]:
                    return "Friendly"
            if faction_src[2] & faction_dst[3] != 0:
                return "Friendly"
            for faction_dst_friend in faction_dst[9:13]:
                if faction_dst_friend==0:
                    break
                if faction_dst_friend==faction_src[0]:
                    return "Friendly"
            return WOW_FACTION.reaction[(faction_src[1] & 0x2000) != 0 and 1 or 3]
    python code
    Came up with similar solution in c# as I don't call functions directly and was absolutely bombing reading tables right from wow (parsed table to a JSON class list xD)

  9. #23
    fofgogjoj's Avatar Member
    Reputation
    4
    Join Date
    Nov 2019
    Posts
    26
    Thanks G/R
    8/3
    Trade Feedback
    4 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    anyone use BuyTrainerService? i think the address is 0x1878410 and the parameter is just the index. this does not work. maybe someone in your bot uses learning spells.

  10. #24
    oiramario's Avatar Established Member
    Reputation
    85
    Join Date
    Mar 2021
    Posts
    133
    Thanks G/R
    36/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    const uint64_t TrainerFilterServiceType = 0x3118408;
    const uint64_t TrainerFilterAvailable = 0x1;
    const uint64_t TrainerFilterUnavailable = 0x2;
    const uint64_t TrainerFilterUsed = 0x0;
    const uint64_t TrainerFilterNumServices = 0x3118400;
    const uint64_t TrainerBuyAllFilteredServices = 0x1879F50; // int64 ()
    const uint64_t TrainerBuyServices = 0x1879FD0; // int64 (uint32 index)

  11. Thanks fofgogjoj (1 members gave Thanks to oiramario for this useful post)
  12. #25
    fofgogjoj's Avatar Member
    Reputation
    4
    Join Date
    Nov 2019
    Posts
    26
    Thanks G/R
    8/3
    Trade Feedback
    4 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by oiramario View Post
    Code:
    const uint64_t TrainerFilterServiceType = 0x3118408;
    const uint64_t TrainerFilterAvailable = 0x1;
    const uint64_t TrainerFilterUnavailable = 0x2;
    const uint64_t TrainerFilterUsed = 0x0;
    const uint64_t TrainerFilterNumServices = 0x3118400;
    const uint64_t TrainerBuyAllFilteredServices = 0x1879F50; // int64 ()
    const uint64_t TrainerBuyServices = 0x1879FD0; // int64 (uint32 index)
    thank you very much, the address works! now i will see why my address is incorrect and how to get to yours.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Selling Gold] WoW Wotlk/SoD/SoM/Classic GOLD - All Regions - All Realms - CHEAP - FAST DELIVERY
    By NerdBooster in forum WoW Classic Buy Sell Trade
    Replies: 4
    Last Post: 09-17-2022, 04:22 PM
  2. [Selling] 🌟 WoW TBC Classic - GOLD - EU/NA🌟
    By TerryCole in forum WoW Classic Buy Sell Trade
    Replies: 2
    Last Post: 10-13-2021, 08:07 AM
  3. [Selling] Selling tbc classic leveling eu & na! Cheap , fast & secure!
    By Goldstash in forum WoW Classic Buy Sell Trade
    Replies: 1
    Last Post: 10-20-2019, 06:26 AM
  4. [Powerleveling] ★WotLK Poweleveling 70-80 from 35$ + PVP/PVE Boosting & Farming★
    By MMO-GS in forum WoW Classic Buy Sell Trade
    Replies: 4
    Last Post: 09-13-2019, 07:30 AM
  5. [Selling] ★WotLK + SoD + WoW Classic Gold Service - All EU/NA Realms - Pro Service★
    By MMO-GS in forum WoW Classic Buy Sell Trade
    Replies: 0
    Last Post: 08-28-2019, 08:47 AM
All times are GMT -5. The time now is 09:52 PM. 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