ThanksI will investigate.
Paste my "program" code?
¿? 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![]()
ThanksI will investigate.
Paste my "program" code?
¿? 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![]()
Because I'm an awsome guy ;D
That are the 4 lines of code u are looking for :P
It's without camera ptr update and LoadingScreenWorldCallbackCode: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
Last edited by Master674; 12-28-2011 at 04:27 PM.
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.
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.
he uses autoit. i'm not that familiar with it but i think it doesn't allow typedef calling etc
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)
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)