[Help] Teleport to other continent with AutoIt menu

Shout-Out

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 28 of 28
  1. #16
    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 everdox View Post
    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 ^.^
    Thanks I will investigate.


    Originally Posted by LogicWin View Post
    Just paste you're current work and we will judge.
    Paste my "program" code?


    Originally Posted by _Mike View Post
    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.
    ¿? 90% of the whole code (I mean the program, not what I'm asking for). I didn't say I'm sure that it's 4 lines of code, I suppose it...
    Please, read before posting, thanks

    [Help] Teleport to other continent with AutoIt
  2. #17
    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)
    Because I'm an awsome guy ;D

    That are the 4 lines of code u are looking for :P
    Code:
    Vec3D playerPosPtr = GetActivePlayerObj()->Pos();
    
    typedef void( __cdecl *LoadMap_t )( UINT, Vec3D );
    LoadMap_t pLoadMap = (LoadMap_t)( CGlobal::dwWoWBase + COffsets::LoadMap );
    pLoadMap( mapid, playerPosPtr ); // should add return value checking
    It's without camera ptr update and LoadingScreenWorldCallback
    Last edited by Master674; 12-28-2011 at 04:27 PM.

  3. #18
    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)
    Originally Posted by Master674 View Post
    To see water and your player object after a mapload you need to get a new Camera Pointer. Also check out LoadingScreenWorldCallback.
    i didn't know this. i looked for a solution for that for a long time back a few months ago lol. thanks for the tip ;p

    never had an issue with water though.

  4. #19
    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 everdox View Post
    i didn't know this. i looked for a solution for that for a long time back a few months ago lol. thanks for the tip ;p

    never had an issue with water though.
    There a 2 functions out there that can initialize a mapload.

    ClientInitializeGame and WoW+3940

    WoW+3940 is the standard function that gets called everytime u change ur map. And that one calls our LoadMap function. As you can see there is more stuff going on in there. Barber Chair reset, SpellCast stuff and finally LoadMap and Camera Stuff.

  5. #20
    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
    Because I'm an awsome guy ;D

    That are the 4 lines of code u are looking for :P
    Code:
    Vec3D playerPosPtr = GetActivePlayerObj()->Pos();
    
    typedef void( __cdecl *LoadMap_t )( UINT, Vec3D );
    LoadMap_t pLoadMap = (LoadMap_t)( CGlobal::dwWoWBase + COffsets::LoadMap );
    pLoadMap( mapid, playerPosPtr ); // should add return value checking
    It's without camera ptr update and LoadingScreenWorldCallback
    Thank you :P It's C and I don't know it how to translate it to AutoIt. Don't know what GetActivePlayerObj()->Pos() references to.

    Anyways, thank you so much.

  6. #21
    wraithZX's Avatar Active Member
    Reputation
    43
    Join Date
    May 2007
    Posts
    122
    Thanks G/R
    0/1
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've seen code in this forum in C#, AutoIt, Python - I don't know any of them.
    I can, however, grasp the concepts of what the code is trying to achieve, and work out what I need to do.

    If you're incapable of converting from another language to one you're comfortable with, perhaps you shouldn't be here.

  7. #22
    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
    Thank you :P It's C and I don't know it how to translate it to AutoIt. Don't know what GetActivePlayerObj()->Pos() references to.

    Anyways, thank you so much.

    As we said above, you WILL NEED to hook end-scene and then write a code that is capable to call the function using ASM ( BIG FCKING HIT).

    You can't except that you can solve this with some memorywrite or what ever.

  8. #23
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by LogicWin View Post
    As we said above, you WILL NEED to hook end-scene and then write a code that is capable to call the function using ASM ( BIG FCKING HIT).

    You can't except that you can solve this with some memorywrite or what ever.
    Why would he need to use ASM?
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  9. #24
    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 MaiN View Post
    Why would he need to use ASM?
    Yep, typedef calling does all the work for you <3

  10. #25
    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)
    he uses autoit. i'm not that familiar with it but i think it doesn't allow typedef calling etc

  11. #26
    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 wraithZX View Post
    I've seen code in this forum in C#, AutoIt, Python - I don't know any of them.
    I can, however, grasp the concepts of what the code is trying to achieve, and work out what I need to do.

    If you're incapable of converting from another language to one you're comfortable with, perhaps you shouldn't be here.
    I'm capable to convert from C in other language such as LUA or AutoIT in most of cases. The main problem is that I don't know what GetActivePlayerObj()->Pos() references to.


    @Others:
    So if I try to do the program in C, I will be more capable to solve this problelm?

    Thanks.

  12. #27
    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'm capable to convert from C in other language such as LUA or AutoIT in most of cases. The main problem is that I don't know what GetActivePlayerObj()->Pos() references to.


    @Others:
    So if I try to do the program in C, I will be more capable to solve this problelm?

    Thanks.
    The code will get the players current position.
    And to the other question: C++ and C# got allot more examples out there, but AutoIt uses the C complier so it's capable to do anything that c# and c++ does.
    Now i got a question for you, do you even know ASM or anything similar (hooking functions/calling functions in-process)

    Originally Posted by streppel View Post
    he uses autoit. i'm not that familiar with it but i think it doesn't allow typedef calling etc
    In autoit if you want to be in-process (hook endscen etc) you will need to use ASM.


    Example of hooking endscene and calling functions:
    http://www.ownedcore.com/forums/worl...alism-bot.html ([3.1.3] AUTOIT - Teleport Mining/Herbalism BOT)

  13. #28
    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 LogicWin View Post
    [COLOR="#FFFFFF"]

    The code will get the players current position.
    And to the other question: C++ and C# got allot more examples out there, but AutoIt uses the C complier so it's capable to do anything that c# and c++ does.
    Now i got a question for you, do you even know ASM or anything similar (hooking functions/calling functions in-process)
    Yes, it will get the players' current position, but in which format? I mean, X position, Y or Z? Or what? Because I don't know.
    And not, I don't event know nor ASM neither anything similar. I will check out your link.

    Thanks!

Page 2 of 2 FirstFirst 12

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:23 AM. 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