Need help for vacuum hack in ELW

06/27/2017 16:13 jobeth213#1
....
06/29/2017 20:09 Str8inyou#2
find player x /y/z
find mob x/y/z

set mob x/y/z = player x/y/z
loop
06/30/2017 09:07 jobeth213#3
Quote:
Originally Posted by Str8inyou View Post
find player x /y/z
find mob x/y/z

set mob x/y/z = player x/y/z
loop
Sir how would I do that in C++ program? Would it go like this also how can I find the x,y,z I find the animation and I think it leads to changing the x and y z but I don't know because I have to change 3 address to change x and y...

Code:
#include<iostream>
using namespace std;
int main()
{
   while(1)
   {
          double *mob_xPointer = 0x0912313;
	  double *mob_yPointer = 0x0i49214; 
	  double *mob_zPointer = 0x0913123;
          mob_xPointer = 0x23123213;//player addr;
          mob_yPointer = 0x21321312; // player y addr;
          mob_zPointer = 0x12312312;// player z addr;
    }

    return 0;
}

//and then Im using g++ compiler so g++ MyVaccuum.cpp -o Vac.exe
06/30/2017 11:32 lnwnuyhodd#4
Ex
Code:
		byte* charX = (byte*)0x01502F74;
		byte* charY = (byte*)0x01502F78;
		byte* charZ = (byte*)0x01502F7C;

		byte* monX = (byte*)0x015D4308;
		byte* monY = (byte*)0x015D430C;
		byte* monZ = (byte*)0x015D4310;

		float monXX;
		float moncYY;
		float moncZZ;

                memcpy(&monXX, &charX, sizeof(charX));
                memcpy(&monYY,  &charY, sizeof(charY));
                memcpy(&monZZ, &charZ, sizeof(charZ));

		for (int i = 0; i < 50; i ++)
		{
			memcpy(monX, &monXX, sizeof(monXX));
			memcpy(monY,  &monYY, sizeof(monXX));
			memcpy(monZ, &monZZ, sizeof(monZZ));

			monX += 276;
			monY += 276;
			monZ += 276;
		}
06/30/2017 12:01 jobeth213#5
Quote:
Originally Posted by lnwnuyhodd View Post
Ex
Code:
		byte* charX = (byte*)0x01502F74;
		byte* charY = (byte*)0x01502F78;
		byte* charZ = (byte*)0x01502F7C;

		byte* monX = (byte*)0x015D4308;
		byte* monY = (byte*)0x015D430C;
		byte* monZ = (byte*)0x015D4310;

		float monXX;
		float moncYY;
		float moncZZ;

                memcpy(&monXX, &charX, sizeof(charX));
                memcpy(&monYY,  &charY, sizeof(charY));
                memcpy(&monZZ, &charZ, sizeof(charZ));

		for (int i = 0; i < 50; i ++)
		{
			memcpy(monX, &monXX, sizeof(monXX));
			memcpy(monY,  &monYY, sizeof(monXX));
			memcpy(monZ, &monZZ, sizeof(monZZ));

			monX += 276;
			monY += 276;
			monZ += 276;
		}
why do you need the +276 every iteration?
06/30/2017 12:09 lnwnuyhodd#6
you need to find Monster Struct and you will know why
06/30/2017 17:47 Str8inyou#7
0x015D4308 - > first mob X
0x015D4308 + 276 -> second mob x