Results 1 to 4 of 4
  1. #1
    Sergeant
    Reputation
    40
    Join Date
    Nov 2008
    Posts
    48
    CoreCoins
    8

    Trade Feedbacks

    Status
    n/a
    Positive
    0 (0%)
    Negative
    0 (0%)

    Need halp w/ objmanager and some localplayer stuff



    Donate to Remove Ads, Get ShoutBawx - Elite Forum Access
    So I've got some C++ code running that lets me access the object manager. I grab the localplayer GUID real quick then scan through the object manager until the current object that I'm looking at has the same GUID. Hence, I arrive at the localplayer base address.

    (Credits: Apoc) From the 3.2.2 Info Dump thread, it indicated:
    Code:
    /* offsets:[d:0x03E5]:[b:0x0F94] */    unsigned long PLAYER_TRACK_RESOURCES;
    So I read the value at [[localplayerbase] + PLAYER_TRACK_RESOURCES] and I get "55485c43" which does not really resemble anything close to (credits: Robske):
    PLAYER_TRACK_RESOURCES

    TRACK_OBJECT_HERBS = 0x02,
    TRACK_OBJECT_MINERALS = 0x04,
    TRACK_OBJECT_TREASURE = 0x20,

    -1 if you whish to track everything.
    My guy in game is currently tracking minerals so I would sort of expect the value that I read to come out as 0x04...

    Anything that I'm obviously doing wrong here? I realize that the offset for PLAYER_TRACK_RESOURCES was only in the 3.2.2 dump and that it may not be the same as in the current version (3.2.2a). Though, I wouldn't really be able to find the new offset myself as there is nothing for me to work off of. I tried running through 0x4 increments from the localplayer base address to see what I could find that matches the TRACK_OBJECT_MINERALS value but I really didn't get too far. There were like 3 offsets or something that matched but when I set my in-game tracking to nothing, their values didn't change to something like 0 which to me seems like the logical value for nothing being tracked.

    Any advice/help is appreciated. This is currently my 3rd step in writing anything related to WoW memory editing so be gentle =X...first two steps were mostly just a few lines here and there in AutoIt.

  2. #2
    Sergeant
    Reputation
    40
    Join Date
    Nov 2008
    Posts
    48
    CoreCoins
    8

    Trade Feedbacks

    Status
    n/a
    Positive
    0 (0%)
    Negative
    0 (0%)
    Nvm, I got it. The offset was different. I refined my method for scanning through different offsets from the localplayer base a bit and used it. Eventually found the correct offset that was working exactly the way that Robske described in his post.

    /thread

  3. #3
    Contributor Robske's Avatar
    Reputation
    298
    Join Date
    May 2007
    Location
    Dragon Shores
    Posts
    1,063
    CoreCoins
    142

    Trade Feedbacks

    Status
    n/a
    Positive
    0 (0%)
    Negative
    0 (0%)
    Quote Originally Posted by Xcron View Post
    So I read the value at [[localplayerbase] + PLAYER_TRACK_RESOURCES] and I get "55485c43" which does not really resemble anything close to (credits: Robske):

    Never said that >.>

    [[object+0x8]+PLAYER_TRACK_RESOURCES*4]

    Descriptor access derp
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  4. #4
    Sergeant
    Reputation
    40
    Join Date
    Nov 2008
    Posts
    48
    CoreCoins
    8

    Trade Feedbacks

    Status
    n/a
    Positive
    0 (0%)
    Negative
    0 (0%)
    Quote Originally Posted by Robske View Post

    Never said that >.>

    [[object+0x8]+PLAYER_TRACK_RESOURCES*4]

    Descriptor access derp
    No you tard, I meant credits to you for your post in that other thread...the thing I put in the quote block. The one where you indicate values for PLAYER_TRACK_RESOURCES.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -4. The time now is 12:33 PM. Powered by vBulletin® Version 4.2.0
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Content Relevant URLs by vBSEO Resources saved on this page: MySQL 21.43%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288