Ran into a question about M2-object. menu

User Tag List

Results 1 to 6 of 6
  1. #1
    Syltex's Avatar Sergeant Major
    Reputation
    23
    Join Date
    Jul 2010
    Posts
    174
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ran into a question about M2-object.

    Hey im programing a bot and currently trying to make a good anti-stuck method.
    So im removing all the objects near me and well .. fixed!:P

    So im using Malu5a´s TerrainManagement to guide me.
    And im looking @ the m2 function and the "nextObject" offset seams kinda wrong.



    Warning it´s in AutoIt!




    $m2LISTCOUNT = 1;OFFS:OFFS:EMPT:OFFS:OFFS
    $ExtchoM2pre = "0x" & hex(_MemoryRead($OffsetM2Static, $DllInformation, 'int')) ;Find Base Pointer
    ;Stack Entry
    $M2count = -1
    $searchAdressM2 = $ExtchoM2pre
    $ExtchoM2 = _MemoryRead("0x" & hex($searchAdressM2), $DllInformation, 'int')
    ;M2 Gathere
    $i = -1
    while $ExtchoM2 > 0
    $i = $i + 1
    $KnownXm2 = ($ExtchoM2pre + 0x110)
    $m2data[$i][1] = _MemoryRead($KnownXm2, $DllInformation, 'float')
    $m2data[$i][2] = _MemoryRead($KnownXm2 + 0x4, $DllInformation, 'float')
    $m2data[$i][3] = _MemoryRead($KnownXm2 + 0x8, $DllInformation, 'float')
    $m2data[$i][5] = $ExtchoM2pre + 0xc
    $m2data[$i][7] = $KnownXm2
    $m2data[$i][8] = $i
    $searchAdressM2 = $searchAdressM2 + 0xAC
    $m2LISTCOUNT = $m2LISTCOUNT + 1
    $ExtchoM2pre = _MemoryRead("0x" & hex($searchAdressM2), $DllInformation, 'int')
    $ExtchoM2 = _MemoryRead("0x" & hex($ExtchoM2pre), $DllInformation, 'int')
    $searchAdressM2 = "0x" & hex($ExtchoM2pre)
    $M2count = $M2count + 1
    WEnd
    $ExtchoM2 = _MemoryRead("0x" & hex($searchAdressM2), $DllInformation, 'int')
    _report("M2 Files Loaded :" & $M2count)





    @ $searchAdressM2 = $searchAdressM2 + 0xAC
    The 0xAC is usally the fristObject in TLS. Isnt the both very simular? ( In this case maby the offset is wrong, after all it´s from 3,09)
    Last edited by Syltex; 07-25-2010 at 09:23 PM.

    Ran into a question about M2-object.
  2. #2
    Syltex's Avatar Sergeant Major
    Reputation
    23
    Join Date
    Jul 2010
    Posts
    174
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any anwser?

  3. #3
    mnbvc's Avatar Banned
    Reputation
    120
    Join Date
    Jul 2009
    Posts
    273
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    simply disable collision for all objects thats much easier, offsets are in the memory editing section

  4. #4
    Syltex's Avatar Sergeant Major
    Reputation
    23
    Join Date
    Jul 2010
    Posts
    174
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tryed to google the defenition of WMO, i know that M2 is trees etc but WMO? Is it buildings etc?

  5. #5
    mnbvc's Avatar Banned
    Reputation
    120
    Join Date
    Jul 2009
    Posts
    273
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes
    (fllr)

  6. #6
    Syltex's Avatar Sergeant Major
    Reputation
    23
    Join Date
    Jul 2010
    Posts
    174
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by mnbvc View Post
    yes
    (fllr)
    Goodie +rep

Similar Threads

  1. Question About Game Objects
    By MichaelWesten in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 08-13-2012, 09:57 AM
  2. Question About Game Objects
    By MichaelWesten in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 08-13-2012, 09:55 AM
  3. question about putting objects on land
    By xdarkghostx in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 10-19-2009, 03:16 PM
  4. [Question] About spawning objects
    By maldritgameworld in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 01-03-2009, 06:37 PM
  5. Question about Game Objects and NPCs
    By Bloodrazer1876 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 09-20-2008, 01:52 PM
All times are GMT -5. The time now is 01:43 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