Another noob needing help with TLS... menu

User Tag List

Results 1 to 8 of 8
  1. #1
    KOS0937's Avatar Member
    Reputation
    18
    Join Date
    May 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Another noob needing help with TLS...

    Ok, i realized, that i'm never going to write a proper bot without TLS, so I started working with it. Unfortunately i can't really get it to work.

    First of all: the new TLS-index pointer is $00E8AA84, isn't it? Just to make sure i at least have this one right oO

    I followed the PoC at WoW.DeV • View topic - Proof of concept code - WoW memory reading . It says, that at [TLS_Offset + (TLS_Slot * 4)] + 16 there should be the players GUID. But it's only a 0-value for me 8[

    btw.: this is the information i can extract so far:
    Code:
    TLS_Slot: 0
    TLS_Offset: 0928B140
    TargetTLS_Slot: 001E4468
    BaseObjPtr: 00000000
    Player GUID: 0000000000000000
    data at [TLS_Offset + (TLS_Slot * 4):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0B 00 04 00 1D 01 0C 00 A9 25 00 00 74 11 40 09 04 00 00 00 44 58 54 33 03 00 00 00 F3 4D 00 40 00 B0 00 00 00 B0 00 00 00 00 00 00 D0 58 16 00 00 00 00 00 14 00 00 00 80 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 B8 6D E0 0A A8 4C 1E 00 00 00 00 00 17 01 0C 00 09 00 0B 00 16 01 14 00 00 00 00 00 00 00 00 00 00 00 [...]
    Thanks for any help in advance =)

    Another noob needing help with TLS...
  2. #2
    Flos's Avatar Member
    Reputation
    49
    Join Date
    Feb 2008
    Posts
    146
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    tls-index is correct.

    and:

    tls_whatever = tls_offset + tlsSlotNumber * 4
    playerGUID = tls_whatever + 8
    firstObjectPointer = (tls_whatever + 16) + 0xC

  3. #3
    KOS0937's Avatar Member
    Reputation
    18
    Join Date
    May 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    - sry, double post
    Last edited by KOS0937; 05-22-2008 at 01:21 PM.

  4. #4
    KOS0937's Avatar Member
    Reputation
    18
    Join Date
    May 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    data at [TLS_Offset + (TLS_Slot * 4)]:
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    so the data at [TLS_Offset + (TLS_Slot * 4)]+8 is: 0x00 00 00 00 ....... i doubt that this is correct oO

    P.S.: why should i even use TLS btw? XD i just realized, that 0x00E8AA38 points to the players struct as i would have found it with TLS...... there is absolutely no difference (i can even read out the following objects - and at the moment thats the way i do it!). so why bother with TLS?

  5. #5
    Zombie911's Avatar Member
    Reputation
    11
    Join Date
    Mar 2008
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Show you code!

  6. #6
    arynock's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    42
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay so this is really confusing.. i'm going off the TLS tutorial and trying to figure this all out in c++ seeing as all of that was either written in C# or delphi... i'm not the best at this stuff, but i'm trying my best to learn... I'm guessing the first step is to read the TLS Slot pointer.. which would be the same as your TLS index your talking about... the tutorial says 0xCE0BA4... but i'm guess thats from an earlier patch of WOW... so the new number is 0x00E8AA48??? when i try to read either of those, all i get is a 0.... so i'm pretty much stuck at the first step.. heh..

  7. #7
    KOS0937's Avatar Member
    Reputation
    18
    Join Date
    May 2008
    Posts
    129
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    E8AA84 only points to the slot number. It should be 0, telling you, that WoW stores it's informations in the first available TLS slot. The pointer to the TLS can be obtained from the TBI ( fs:[0x0000002c] ).

    i on the other hand have fixed my problem. Thanks for the help anyways =)
    still: i don't understand what this is all about...
    method one: i use the static pointer to the players base (E8AA3 and have to update this pointer with each update
    method two: i use the TLS method and have to update the pointer to the TLS slot (E8AA84) for every patch

    In both cases i only have to update 1 pointer....

  8. #8
    kynox's Avatar Account not activated by Email
    Reputation
    830
    Join Date
    Dec 2006
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You don't need to update shit in the TLS method, the slot hasn't changed since they implemented it, and i doubt it ever will.

    I believe the only reason they started to use the TLS was to make it harder to call their functions/read from the s_curMgr pointer (although, its still super easy to do so).

Similar Threads

  1. [ArcEmu] Complete Noob needs help with server set up
    By Dragonspirit12 in forum WoW EMU Questions & Requests
    Replies: 12
    Last Post: 08-03-2010, 02:24 AM
  2. Replies: 12
    Last Post: 03-28-2008, 09:31 PM
  3. i need help with script, im a noob
    By orangegold in forum WoW UI, Macros and Talent Specs
    Replies: 2
    Last Post: 10-27-2007, 05:47 PM
  4. need help with shammy talents
    By jason in forum World of Warcraft General
    Replies: 5
    Last Post: 07-19-2006, 02:02 AM
  5. Need Help with WoW Glider
    By paypal in forum World of Warcraft General
    Replies: 2
    Last Post: 07-07-2006, 02:08 AM
All times are GMT -5. The time now is 09:47 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