[Help] Teleport to other continent with AutoIt menu

Shout-Out

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    Xampy's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] Teleport to other continent with AutoIt

    Hello!

    I've edited an existent code that can teleport to any zone from the same continent, eg. from Orgrimmar to Tanaris or from Stormwind City to Silvermoon City.

    If I try to teleport from Stormwind to Orgrimmar, I will fail. It will teleport to the same XYZ but from Eastern Kingdoms, not from Kalimdor.

    Code for teleport to Orgrimmar:
    Code:
    _MemoryWrite("0x" & Hex($ObjectMemLoc + $UnitPosXOffset), $WowProcess, -4355, "float") ; X ORGRIMMAR
    _MemoryWrite("0x" & Hex($ObjectMemLoc + $UnitPosYOffset), $WowProcess, 1675, "float") ; Y ORGRIMMAR
    _MemoryWrite("0x" & Hex($ObjectMemLoc + $UnitPosZOffset), $WowProcess, 31, "float") ; Z ORGRIMMAR
    I found this offset which is the MapID offset (0xAB63BC) for 3.3.5:
    Code:
    _MemoryRead("0xAB63BC", $WowProcess , "dword") ; 0 = Eastern Kingdoms - 1 = Kalimdor - 571 = Northrend - 530 = Outland
    If I try to teleport with and I'm not in Kalimdor, I will fail again:
    Code:
    _MemoryWrite("0xAB63BC", $WowProcess , 1, "dword") ; this is to change MapID, but did not work
    _MemoryWrite("0x" & Hex($ObjectMemLoc + $UnitPosXOffset), $WowProcess, -4355, "float") ; X ORGRIMMAR
    _MemoryWrite("0x" & Hex($ObjectMemLoc + $UnitPosYOffset), $WowProcess, 1675, "float") ; Y ORGRIMMAR
    _MemoryWrite("0x" & Hex($ObjectMemLoc + $UnitPosZOffset), $WowProcess, 31, "float") ; Z ORGRIMMAR

    Thanks in advance.
    Last edited by Xampy; 12-27-2011 at 11:56 AM.

    [Help] Teleport to other continent with AutoIt
  2. #2
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ... I just don't even know.


  3. #3
    streppel's Avatar Active Member
    Reputation
    78
    Join Date
    Mar 2007
    Posts
    196
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so you just write the new map where you want to teleport to to the adresse where you can read the current map and want the client to notice this change and all of the sudden load the other map and set you to this position. serverside ofc... that's not how it works

  4. #4
    Master674's Avatar Elite User
    Reputation
    487
    Join Date
    May 2008
    Posts
    578
    Thanks G/R
    2/23
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by streppel View Post
    so you just write the new map where you want to teleport to to the adresse where you can read the current map and want the client to notice this change and all of the sudden load the other map and set you to this position. serverside ofc... that's not how it works
    Call World__LoadMap. First parameter is the mapID, second one is a ptr to the player position (Vec3D). You should also unload the previous loaded map.

    To see water and your player object after a mapload you need to get a new Camera Pointer. Also check out LoadingScreenWorldCallback.

  5. #5
    Xampy's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Master674 View Post
    Call World__LoadMap. First parameter is the mapID, second one is a ptr to the player position (Vec3D). You should also unload the previous loaded map.

    To see water and your player object after a mapload you need to get a new Camera Pointer. Also check out LoadingScreenWorldCallback.
    Thanks for comment, but I'm a newbie in this hehehe. I don't know what to do, but I will try.

    Thanks

  6. #6
    LogicWin's Avatar Master Sergeant
    Reputation
    51
    Join Date
    Mar 2011
    Posts
    103
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Xampy View Post
    Thanks for comment, but I'm a newbie in this hehehe. I don't know what to do, but I will try.

    Thanks
    I'm even sure if that will work, but keep it to the simple level if your not interested in reverse engineering and ASM coding with injection.

  7. #7
    Xampy's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmmm, I think it will work if I know how to apply the memory editting for unloading/loading map, but the problem is that I don't know. I tried the Call function but it doesn't work, surely that I didn't applied it correctly.

  8. #8
    Xampy's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I will appreciate if any programmer, with enough knowledge about this, posts me the solution, I would say it's only 1~4 lines of code, as I don't know how to do it and I have almost the 90% of the program done.

    Thank you so much.

  9. #9
    streppel's Avatar Active Member
    Reputation
    78
    Join Date
    Mar 2007
    Posts
    196
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hook endscene.
    find the correct function to call in the info thread
    according to its signature call it using inline assembler or some class (no other way due to autoits "features")
    profit
    and it's more than 4 lines of code

  10. #10
    Xampy's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know how to do what you are meaning. I just began to programming about 2 days ago and I've read the guides for newbies.

  11. #11
    streppel's Avatar Active Member
    Reputation
    78
    Join Date
    Mar 2007
    Posts
    196
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  12. #12
    Xampy's Avatar Private
    Reputation
    1
    Join Date
    Dec 2011
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have read the whole rules thread. I know I can't request a code but I'm only asking for what's the correct function or the X lines of code necessary (I suppose it's about 4 lines of code). I'm not requesting a whole code to teleport, just to unload and load the map ID.

  13. #13
    sitnspinlock's Avatar Elite User CoreCoins Purchaser
    Reputation
    398
    Join Date
    Sep 2010
    Posts
    439
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    manually loading and unloading the map like this ->



    isn't the same as a teleport as you would define it, you need to send a movement update too. and even that is pretty old, i forgot to reload the camera ;p

    back in 1.12 it was easy as sending a simple movement update and the packet handler would do the grunt work for you and even load the map. but just physically doing that and nothing else you will still be receiving data as if you were still on your former map. i.e. displaced mobs and dynamic objects, whatever else.

    how it's done today is anyone's guess, i don't have an active subscription anymore to check it out ^.^

  14. #14
    LogicWin's Avatar Master Sergeant
    Reputation
    51
    Join Date
    Mar 2011
    Posts
    103
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Xampy View Post
    I have read the whole rules thread. I know I can't request a code but I'm only asking for what's the correct function or the X lines of code necessary (I suppose it's about 4 lines of code). I'm not requesting a whole code to teleport, just to unload and load the map ID.

    Just paste you're current work and we will judge.
    Last edited by LogicWin; 12-28-2011 at 02:02 PM.

  15. #15
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Xampy View Post
    I will appreciate if any programmer, with enough knowledge about this, posts me the solution, I would say it's only 1~4 lines of code, as I don't know how to do it and I have almost the 90% of the program done.

    Thank you so much.
    So you have no clue what to do.. But you are sure that it's only 1-4 lines of code.. And you already have 90% (3.6 lines?) done.
    I nominate this post for the darwin awards.

Page 1 of 2 12 LastLast

Similar Threads

  1. [Request] Complete idiot needs help with AutoIT
    By 3lmo00oo in forum Diablo 3 Bots Questions & Requests
    Replies: 1
    Last Post: 06-17-2012, 11:20 AM
  2. Help with AutoIT & memory locations
    By mechtn in forum SWTOR Bots and Programs
    Replies: 0
    Last Post: 01-16-2012, 06:43 PM
  3. Help Accessing a Pointer with AutoIt
    By oaj2011 in forum SWTOR Bots and Programs
    Replies: 0
    Last Post: 01-13-2012, 05:24 PM
  4. need help with autoit
    By dp138504 in forum Community Chat
    Replies: 1
    Last Post: 11-17-2007, 01:08 AM
  5. need a little help with autoit
    By Demonshade in forum Community Chat
    Replies: 2
    Last Post: 07-27-2007, 05:20 AM
All times are GMT -5. The time now is 12:33 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search