Results 1 to 6 of 6
  1. #1
    DaniielSanchez's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Location
    Venezuela
    Posts
    71
    Reputation
    14
    Thanks
    11
    My Mood
    Bashful

    I have this but it is?

    a friend gave me this code, but I do not know what to do
    if someone helps me ..

    I was looking through my old source codes and I found one specifically relating to butterfly.
    ZPostShot is done through the ZPostCommand where the packet ID for ZPostShot is 0x2732 (If it hasn't been altered) . The MCommand requires a blob which is the ZPACKSHOTINFO structure.
    Code:
    struct ZPACKEDSHOTINFO
    {
    	float ShotTime;
    	short PosX;
    	short PoxY;
    	short PosZ;
    	short DirX;
    	short DirY;
    	short DirZ;
    	int Type;
    };
    When you call ZPostShot, you need your characters position pointer and direction pointer. This is done through ZMyCharacter() function, which is just an offset from ZGetGame(), I don't have these pointers or offsets anymore because I wrote these hacks in 2012 for Aeria Gunz.

    Essentially, all you're doing is this.
    Code:
    ZPostShot(float* Position,float* Direction);
    And ZPostShot is just a function that creates an MCommand.
    Code:
    MCommand *Command = ZNewCmd( 0x2732 );
    	ZPACKEDSHOTINFO ShotInfo = { ShotTime++,
    								 Position[0], Position[1], Position[2],
    								 Direction[0], Direction[1], Direction[2],
    								 SHOT_TYPE_MELEE }; //7
    	Command->AddParameter( new MCommandParameterBlob( &ShotInfo, sizeof(ShotInfo) ) );
    	ZPostCommand( Command );
    MCommand is a linked list structure which has a pointer to the next MCommand structure, and two MUID structure.
    Each MUID structure contains two unsigned long, one high and one low. This is to represent a 64 bit id.

    AddParameter and ZNewCmd and ZPostCommand are all just function pointers.
    Code:
    void AddParameter( MCommandParameter *CmdParam );
    MCommand *ZNewCmd( int Cmd );
    ZPostCommand( MCommand *Cmd );
    Figure the rest out on your own.[/QUOTE]
    Last edited by DaniielSanchez; 11-08-2016 at 06:48 PM.

  2. The Following User Says Thank You to DaniielSanchez For This Useful Post:

    Valentinaa (11-09-2016)

  3. #2
    __readgsqword's Avatar
    Join Date
    Mar 2016
    Gender
    female
    Posts
    39
    Reputation
    10
    Thanks
    13
    A full source code was posted by someone else in the post under mine. You can just compile that. I gave you a stepping stone. And someone else posted an entire source for you. So I suggest you compile whatever was provided and update the pointers and offsets.

  4. The Following User Says Thank You to __readgsqword For This Useful Post:

    DaniielSanchez (11-09-2016)

  5. #3
    DaniielSanchez's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Location
    Venezuela
    Posts
    71
    Reputation
    14
    Thanks
    11
    My Mood
    Bashful
    Quote Originally Posted by __readgsqword View Post
    A full source code was posted by someone else in the post under mine. You can just compile that. I gave you a stepping stone. And someone else posted an entire source for you. So I suggest you compile whatever was provided and update the pointers and offsets.

    I have only to compile?
    but how? : c

  6. #4
    Valentinaa's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Location
    colombia
    Posts
    28
    Reputation
    10
    Thanks
    3
    My Mood
    Aggressive
    Quote Originally Posted by DaniielSanchez View Post
    a friend gave me this code, but I do not know what to do
    if someone helps me ..

    I was looking through my old source codes and I found one specifically relating to butterfly.
    ZPostShot is done through the ZPostCommand where the packet ID for ZPostShot is 0x2732 (If it hasn't been altered) . The MCommand requires a blob which is the ZPACKSHOTINFO structure.
    Code:
    struct ZPACKEDSHOTINFO
    {
    	float ShotTime;
    	short PosX;
    	short PoxY;
    	short PosZ;
    	short DirX;
    	short DirY;
    	short DirZ;
    	int Type;
    };
    When you call ZPostShot, you need your characters position pointer and direction pointer. This is done through ZMyCharacter() function, which is just an offset from ZGetGame(), I don't have these pointers or offsets anymore because I wrote these hacks in 2012 for Aeria Gunz.

    Essentially, all you're doing is this.
    Code:
    ZPostShot(float* Position,float* Direction);
    And ZPostShot is just a function that creates an MCommand.
    Code:
    MCommand *Command = ZNewCmd( 0x2732 );
    	ZPACKEDSHOTINFO ShotInfo = { ShotTime++,
    								 Position[0], Position[1], Position[2],
    								 Direction[0], Direction[1], Direction[2],
    								 SHOT_TYPE_MELEE }; //7
    	Command->AddParameter( new MCommandParameterBlob( &ShotInfo, sizeof(ShotInfo) ) );
    	ZPostCommand( Command );
    MCommand is a linked list structure which has a pointer to the next MCommand structure, and two MUID structure.
    Each MUID structure contains two unsigned long, one high and one low. This is to represent a 64 bit id.

    AddParameter and ZNewCmd and ZPostCommand are all just function pointers.
    Code:
    void AddParameter( MCommandParameter *CmdParam );
    MCommand *ZNewCmd( int Cmd );
    ZPostCommand( MCommand *Cmd );
    Figure the rest out on your own.
    [/QUOTE]

    why do not you do the hack?this type of person really is a nuisance.. you gave codes but does not know how to leverage that.
    Last edited by Valentinaa; 11-09-2016 at 09:43 AM.

  7. #5
    DaniielSanchez's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Location
    Venezuela
    Posts
    71
    Reputation
    14
    Thanks
    11
    My Mood
    Bashful
    Apology for the inconvenience,I want the hack I know nothing about programming.
    Last edited by DaniielSanchez; 11-09-2016 at 09:50 AM.

  8. #6
    Valentinaa's Avatar
    Join Date
    Nov 2016
    Gender
    male
    Location
    colombia
    Posts
    28
    Reputation
    10
    Thanks
    3
    My Mood
    Aggressive
    Quote Originally Posted by DaniielSanchez View Post
    Apology for the inconvenience,I want the hack I know nothing about programming.
    So boring

Similar Threads

  1. [Request] I know...Lame...But I HAVE to have this...
    By thazachsta in forum Hack Requests
    Replies: 5
    Last Post: 08-13-2010, 12:19 AM
  2. i have bypass but.....
    By dieonkelz99 in forum WarRock - International Hacks
    Replies: 8
    Last Post: 05-14-2007, 08:52 AM
  3. thanks mpgh.net for leetng me have this awesome hak
    By alejandro211142 in forum WarRock - International Hacks
    Replies: 18
    Last Post: 05-13-2007, 05:25 AM
  4. Anyone have this
    By Mortifix in forum Gunz General
    Replies: 1
    Last Post: 02-21-2006, 10:23 PM