Object Class

Posts 1–15 of 30 · Page 1 of 2
Object Class
Code:
struct sObjectList
{
	char spacer00[1256];
	bool EdgeshotEnabled;
	char spacer01[3];
	bool WallshotEnabled;
	char spacer02[3];
	bool PerfectWallshotEnabled;
};
to make the life easier:
Code:
struct sObjectList
{
	char spacer00[1256];
	DWORD EdgeshotEnabled;
	DWORD WallshotEnabled;
	DWORD PerfectWallshotEnabled;
};
Code:
MOV DWORD PTR DS:[ESI+ECX+???],EAX
sorry for using DWORD, i know u don't like it
@~FALLEN~
Quote Originally Posted by giniyat101 View Post
sorry for using DWORD, i know u don't like it
@~FALLEN~
In asm there isn't unsigned long

There isnt even a difference between unsigned long and DWORD. Maybe DWORD needs less than a millisecond more for compiling, but in asm it is the same.
Quote Originally Posted by giniyat101 View Post
to make the life easier:
Code:
struct sObjectList
{
	char spacer00[1256];
	DWORD EdgeshotEnabled;
	DWORD WallshotEnabled;
	DWORD PerfectWallshotEnabled;
};
Code:
MOV DWORD PTR DS:[ESI+ECX+???],EAX
sorry for using DWORD, i know u don't like it
@~FALLEN~
Noob giniyat101.. Do you know what a struct is xD???? OMFG!
Why do you want to make a struct xD and then use it the old way xD

So useless... ow w8, giniyat101 you are useless.
Quote Originally Posted by derh.acker View Post
In asm there isn't unsigned long

There isnt even a difference between unsigned long and DWORD. Maybe DWORD needs less than a millisecond more for compiling, but in asm it is the same.
Jezus... Unsigned long variables is a extended size variables...
It kan store 4 bytes of numbers, becouse it is Unsigned it can store only positive numbers and 2x more positive numbers as a long.

A DWORD are 2 qwords, so its a double word.

Plz read a c++ book.
Quote Originally Posted by Brimir View Post
Jezus... Unsigned long variables is a extended size variables...
It kan store 4 bytes of numbers, becouse it is Unsigned it can store only positive numbers and 2x more positive numbers as a long.

A DWORD are 2 qwords, so its a double word.

Plz read a c++ book.
typedef unsigned long DWORD
This means that DWORD is an unsigned long

Edit : I just saw that QWORD is 8 bytes, so DWORD can't be 2 QWORDs.

Quote Originally Posted by Brimir View Post
I thought EdgeshotEnabled etc are float's? They are 4 bytes and work if you use floats.
You also can edit it using float, but it isn't a float. It is a normal int.
If you want to set a int to 1 by using float, you have to set it to 1.401298464E-45
Quote Originally Posted by derh.acker View Post
typedef unsigned long DWORD
This means that DWORD is an unsigned long

Edit : I just saw that QWORD is 8 bytes, so DWORD can't be 2 QWORDs.


You also can edit it using float, but it isn't a float. It is a normal int.
If you want to set a int to 1 by using float, you have to set it to 1.401298464E-45
I mean word oops, Q word = Quad. D word = Dual.

WORD = 2 bytes = 4 nybbles = 16 bits
DWORD = 2 WORDs = 4 bytes = 8 nybbles = 32 bits
QWORD = 2 DWORDs = 4 WORDS = 8 bytes = 64 bits

__

But how can it be a bool ? Its 4 bytes.
Quote Originally Posted by Brimir View Post
But how can it be a bool ? Its 4 bytes.
It works too, because their values only are 1 or 0.
If it is 1, it looks like this in hexadecimal : 01000000
01 can get edited using a bool too.
Quote Originally Posted by Brimir View Post
Noob giniyat101.. Do you know what a struct is xD???? OMFG!
Why do you want to make a struct xD and then use it the old way xD

So useless... ow w8, giniyat101 you are useless.
@~FALLEN~ should come here and explain what u are tring to say @Brimir
because i don't understand anything of C++ and iam very noob i dont even know how to rename a folder bla bla
and u are the best coder here and thats why your user title says "Leecher"
Quote Originally Posted by giniyat101 View Post
@~FALLEN~ should come here and explain what u are tring to say @Brimir
because i don't understand anything of C++ and iam very noob i dont even know how to rename a folder bla bla
and u are the best coder here and thats why your user title says "Leecher"
You remake the classes, then you can easy update the class if it get changed, if all offsets get +4 bytes becouse there is an extra float.. Then you add the float in your "reclass"... That is all.

If you do it your way, then you need to update all offsets. I just add the float to my class and i'm ready.

It is also cleaner and easyer to use. I can use my class this way:

BasicPlayerInfo->MovementHiddenRate = 300.0f;

Nothing more, nothing less. Now MovementHiddenRate is equal to 300.0f.

So you can change variabels on a very easy way. And it is easier to use. You just remake the class.. and don't use it xD


Edit: Or I did't understand what you mean :P
This is for Shot Through Walls (Hint)
Quote Originally Posted by CrossRaiders View Post
This is for Shot Through Walls (Hint)
With these you can make it posable to schoot through walls:
EdgeshotEnabled;
WallshotEnabled;
PerfectWallshotEnabled;

But the class is not made for that xD
hummmmmmmmmmmmmmmmmmmmmmmmmmmmm
Quote Originally Posted by ~FALLEN~ View Post
Code:
struct sObjectList
{
	char spacer00[1256];
	bool EdgeshotEnabled;
	char spacer01[3];
	bool WallshotEnabled;
	char spacer02[3];
	bool PerfectWallshotEnabled;
};
I thought EdgeshotEnabled etc are float's? They are 4 bytes and work if you use floats.
That is true, but how do you know what type it needs to be?
I think it needs to be 4 bytes, why should you skip 4 bytes?
Posts 1–15 of 30 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us