Register for your free account! | Forgot your password?

You last visited: Today at 05:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Function MoveTo

Discussion on Function MoveTo within the PW Hacks, Bots, Cheats, Exploits forum part of the Perfect World category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2012
Posts: 13
Received Thanks: 3
Function MoveTo C#

hello,
I have a problem with the MoveTo function :

Code:
        public void MoveTo(float X, float Y, float Z, float height = -1.0F)
        {        
            int addr1 = MemFunctions.MemReadInt(0xB8FBCC);
            int addr2 = MemFunctions.MemReadInt(addr1 + 0x1C);
            int addr3 = MemFunctions.MemReadInt(addr2 + 0x34);
            int actionStruct = MemFunctions.MemReadInt(addr3 + 0x10C4);
            int actionList = MemFunctions.MemReadInt(actionStruct + 0x30);
            int moveAction = MemFunctions.MemReadInt(actionList + 0x4);

            MemFunctions.MemWriteInt(moveAction + 0x8, 0);  //action finished = 0
            MemFunctions.MemWriteInt(moveAction + 0x14, 1); //Action start = 1
            MemFunctions.MemWriteFloat(moveAction + 0x20, X); // Set X coord
            MemFunctions.MemWriteFloat(moveAction + 0x28, Y); // Set Y coord
            MemFunctions.MemWriteFloat(moveAction + 0x24, Z); // Set Z coord
            MemFunctions.MemWriteFloat(moveAction + 0x68, height); // Set height
            if (height >= 0.0)
            {
                MemFunctions.MemWriteInt(moveAction + 0x64, 26625); //Set 1st var for flying up
                MemFunctions.MemWriteInt(moveAction + 0x6C, 256); // Set 2nd var for flying up
            }
            else
            {
                MemFunctions.MemWriteInt(moveAction + 0x64, 26624); //Set 1st var for not flying up
                MemFunctions.MemWriteInt(moveAction + 0x6C, 65536); // Set 2nd var for not flying up
            }
            MemFunctions.MemWriteInt(moveAction + 0x2C, 0); // Set moveType
            MemFunctions.MemWriteInt(moveAction + 0x34, 0); // Set error
            MemFunctions.MemWriteInt(moveAction + 0x3C, 0); // Set error
            MemFunctions.MemWriteInt(actionStruct + 0xC, moveAction); // Set new actionType
            MemFunctions.MemWriteInt(actionStruct + 0x18, 1); // Set next action position to 1
            MemFunctions.MemWriteInt(actionStruct + 0x14, moveAction); // Set new actionType
        }
Obviously not move the character, i think i have bad offset.
Can you tell me what is the problem?

For Perfect World International
xortexx is offline  
Old 12/03/2012, 18:30   #2
 
elite*gold: 0
Join Date: Mar 2009
Posts: 112
Received Thanks: 123
Quote:
int actionStruct = MemFunctions.MemReadInt(addr3 + 0x10C4);
As far as offsets go, this should be 0x1128 I believe
Shareen is offline  
Old 12/03/2012, 18:54   #3
 
elite*gold: 0
Join Date: Apr 2012
Posts: 13
Received Thanks: 3
That's right, thank you very much
xortexx is offline  
Reply


Similar Threads Similar Threads
[VIP-function] ToxicSYS [VIP-function]
08/14/2010 - WarRock Hacks, Bots, Cheats & Exploits - 1 Replies
heeeey E-pvpers :pimp: this is a new hack by TSYS Status : UNDETECTED Functions (VIDEO) : YouTube - WarRock - Bikini event VIP hack
SUCHE: MoveTo
05/12/2010 - WoW Private Server - 3 Replies
hi, kenne mich mit der scripting materie von WOW nicht aus, doch mein bro hat angefragt für einen bot, der in Silithus (horde) die Sylithidenstaubdinger einsammelt und wieder zur basis läuft...ich habe mittlerweile einen plan wie es aussehen sollte, doch noch keinen peil wie man es schreibt...kann mir jmd helfen? hier meine idee: 1. Zum ersten Silithiden laufen, anklicken, zurücklaufen, abgeben 2. zum zweiten festen Silithidendingens laufen, anklicken, zurücklaufen, abgeben 3. Random...
Moveto
01/13/2010 - GW Bots - 3 Replies
Ich habe eine Frage, wie macht blauwiggle seine moveto das sie so menschlich aussieht ? weil meine wirken immer so abgehackt wenn ich das mit Moveto (x,y) mache, bzw. weiß jemand wie man es besser macht?
MoveTo() Problem
06/17/2009 - GW Bots - 11 Replies
I'm probably looking over something simple and stupid, but when I try useing moveto() in my own autoit script it just makes my character circle around randomly running sometimes. I've used waypoint finders and I have all the #includes I think:confused:. Anyone can shed me some light on this?



All times are GMT +2. The time now is 05:28.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.