GunAttributes and KnifeAttributes classes

Posts 1–15 of 21 · Page 1 of 2
GunAttributes and KnifeAttributes classes
Hello guys,
Today I really wanted to create scope on non scope gun but I failed. Anyway I reversed GunAttributes and KnifeAttributes classes and decided to share them with you. Also i logged half of the variables.

Code:
class GunAttributes
{
public:
	DWORD LeftClickAttributes;
	/*
	Mouse Left Button Click Action
	------------------------------
	Value: 1 - The gun has a single fire.
	Value: 2 - The gun has a repeat fire.
	Value: 4 - The gun has a shrapnel fire.
	Value: 8 - The gun has a delay fire.
	Value: 10 - The gun has a alternate fire.
	*/

	DWORD RightClickAttributes;
	/*
	Mouse Right Button Click Action
	-------------------------------
	Value: 1 - Nothing happens.
	Value: 2 - Scope is shown.
	Value: 4 - Switch to 3 repeat fire mode.
	Value: 8 - Switch to 2 repeat fire mode.
	Value: 10 - Switch to 1 repeat fire mode.
	Value: 20 - Switch to double fire mode.
	Value: 40 - Knife bigshot.
	*/

	DWORD ZoomAttributes;
	/*
	Zoom Modes
	----------
	Value: 1 - No zoom.
	Value: 2 - Full zoom.
	Value: 4 - Half zoom.
	Value: 8 - Half zoom without image.
	Value: 10 - Repeat fire in zoom.
	*/

	DWORD ReloadAttributes;
	/*
	Reload Type
	-----------
	Value: 1 - The gun doesn't have repeat reload.
	Value: 2 - The gun has pre reload.
	Value: 4 - The gun has post reload.
	Value: 8 - The interrupt pre reload is enabled.
	Value: 10 - The interrupt post reload is enabled.
	Value: 20 - The interrupt reload is enabled.
	Value: 40 - The gun has repeat reload.
	Value: 80 - The gun has 2 way reload.
	*/
};

class KnifeAttributes
{
	DWORD LeftClickAttributes;
	/*
	Mouse Left Button Click Action
	------------------------------
	Value: 1 - Knife normal attack.
	Value: 2 - Knife combo attack is enabled.
	*/

	DWORD RightClickAttributes;
	/*
	Mouse Right Button Click Action
	-------------------------------
	Value: 1 - Nothing happens.
	Value: 2 - Knife special attack.
	Value: 4 - Knife critical mode is enabled.
	*/
};
@~FALLEN~ what thefuq did i leech this time
Good job nice thread boss
Quote Originally Posted by kmanev073 View Post
@~FALLEN~ what thefuq did i leech this time
i know im not falllen but i think you dont leech ur a nice coder
You should mention, that all of these values are hex.
Quote Originally Posted by Zacherl View Post
You should mention, that all of these values are hex.
ooooooooooooops yea didnt noticed that

---------- Post added at 09:49 PM ---------- Previous post was at 09:47 PM ----------

Quote Originally Posted by ~FALLEN~ View Post
^this and it's not anything new... Nor is it hard to accomplish. Any novice reverse code engineer could do this.
yea but i didnt leech
^this and it's not anything new... Nor is it hard to accomplish. Any novice reverse code engineer could do this.
why you make them seperate classes?? i thought they're all in the weapon struct so it'd be easier that way also
Quote Originally Posted by dakr54 View Post
why you make them seperate classes?? i thought they're all in the weapon struct so it'd be easier that way also
Yeah, you would think he would just make one data structure :\ But what can you expect anymore...
Thank you
Good Job
ty it helps me alot /Gewd
Quote Originally Posted by kmanev073 View Post
Hello guys,
Today I really wanted to create scope on non scope gun but I failed. Anyway I reversed GunAttributes and KnifeAttributes classes and decided to share them with you. Also i logged half of the variables.

Code:
class GunAttributes
{
public:
    DWORD LeftClickAttributes;
    /*
    Mouse Left Button Click Action
    ------------------------------
    Value: 1 - The gun has a single fire.
    Value: 2 - The gun has a repeat fire.
    Value: 4 - The gun has a shrapnel fire.
    Value: 8 - The gun has a delay fire.
    Value: 10 - The gun has a alternate fire.
    */

    DWORD RightClickAttributes;
    /*
    Mouse Right Button Click Action
    -------------------------------
    Value: 1 - Nothing happens.
    Value: 2 - Scope is shown.
    Value: 4 - Switch to 3 repeat fire mode.
    Value: 8 - Switch to 2 repeat fire mode.
    Value: 10 - Switch to 1 repeat fire mode.
    Value: 20 - Switch to double fire mode.
    Value: 40 - Knife bigshot.
    */

    DWORD ZoomAttributes;
    /*
    Zoom Modes
    ----------
    Value: 1 - No zoom.
    Value: 2 - Full zoom.
    Value: 4 - Half zoom.
    Value: 8 - Half zoom without image.
    Value: 10 - Repeat fire in zoom.
    */

    DWORD ReloadAttributes;
    /*
    Reload Type
    -----------
    Value: 1 - The gun doesn't have repeat reload.
    Value: 2 - The gun has pre reload.
    Value: 4 - The gun has post reload.
    Value: 8 - The interrupt pre reload is enabled.
    Value: 10 - The interrupt post reload is enabled.
    Value: 20 - The interrupt reload is enabled.
    Value: 40 - The gun has repeat reload.
    Value: 80 - The gun has 2 way reload.
    */
};

class KnifeAttributes
{
    DWORD LeftClickAttributes;
    /*
    Mouse Left Button Click Action
    ------------------------------
    Value: 1 - Knife normal attack.
    Value: 2 - Knife combo attack is enabled.
    */

    DWORD RightClickAttributes;
    /*
    Mouse Right Button Click Action
    -------------------------------
    Value: 1 - Nothing happens.
    Value: 2 - Knife special attack.
    Value: 4 - Knife critical mode is enabled.
    */
};
@~FALLEN~ what thefuq did i leech this time
Didnt worked right ?
I found theese too, and tried to make a P90-Scope, like Aug-A1, but didnt worked for me too
scope on non scope = direct client error

dont use the old codes

just make somthing like zoom hack
haha, these arguments go back god knows how far. LOL
Quote Originally Posted by GPmaster1 View Post
scope on non scope = direct client error
If it's 28_3 or 28_4 you can bypass it easily.
Posts 1–15 of 21 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us