PostHelpThe Code What went wrong Dont Work= = pls help me

Posts 13 of 3 · Page 1 of 1
The Code What went wrong Dont Work= = pls help me
Code:
long entityOffset = this.GameMemory.ReadInt64(CGameOffset);
                long playerOffset = this.GameMemory.ReadInt64(entityOffset + 0x11D8);
                player_X = this.GameMemory.ReadFloat(playerOffset + 0x100); // old 0x210
                player_Y = this.GameMemory.ReadFloat(playerOffset + 0x104); // old 0x214
                player_Z = this.GameMemory.ReadFloat(playerOffset + 0x108); // old 0x218
                player_D = this.GameMemory.ReadFloat(playerOffset + 0x240);

                long posOffset = this.GameMemory.ReadInt64(playerOffset + 0x198);
                player_X = this.GameMemory.ReadFloat(posOffset + 0x100);
                player_Y = this.GameMemory.ReadFloat(posOffset + 0x104);
                player_Z = this.GameMemory.ReadFloat(posOffset + 0x108);
Code:
 int entityCount = this.GameMemory.ReadInt32(entityOffset + 0x688);
                long entityEntry = this.GameMemory.ReadInt64(playerOffset + 0x410);
Code:
 int EntityType = this.GameMemory.ReadInt32(entityEntry + 0x5C8);
                    if (EntityType == 0) continue;

                    int EntityId = this.GameMemory.ReadInt32(entityEntry + 0x620);

                    long _nameEntry = this.GameMemory.ReadInt64(entityEntry + 0x4E0);
                    String EntityName = this.GameMemory.ReadString(_nameEntry, this.GameMemory.ReadInt32(entityEntry + 0x4E8));
Code:
// Get Player Pos //
                    if (EntityType == 0x04 || EntityType == 0x05)
                    {
                        EntityX = this.GameMemory.ReadFloat(entityEntry + 0x100); // old 0x210
                        EntityY = this.GameMemory.ReadFloat(entityEntry + 0x104); // old 0214
                        EntityZ = this.GameMemory.ReadFloat(entityEntry + 0x108); // old 0218
                        EntitySpeed = this.GameMemory.ReadFloat(entityEntry + 0x2C8); // old 0x1D8;
                        EntityYaw = this.GameMemory.ReadFloat(entityEntry + 0x2E0); // old 0x1F0
                    }
                    // Vechicle Position //
                    else if (EntityType == 0x11 || EntityType == 0x72 || EntityType == 0x76)
                    {
                        EntityX = this.GameMemory.ReadFloat(entityEntry + 0x13F0);
                        EntityY = this.GameMemory.ReadFloat(entityEntry + 0x13F4);
                        EntityZ = this.GameMemory.ReadFloat(entityEntry + 0x13F8);
                        EntitySpeed = this.GameMemory.ReadFloat(entityEntry + 0x2C8);
                    }
                    else
                    {
                        // Try Get NPC Position //
                        EntityX = this.GameMemory.ReadFloat(entityEntry + 0x3C0);
                        if (EntityX == 0)
                        {
                            // Get Item Pos //
                            EntityX = this.GameMemory.ReadFloat(entityEntry + 0x13F0);
                            EntityY = this.GameMemory.ReadFloat(entityEntry + 0x13F4);
                            EntityZ = this.GameMemory.ReadFloat(entityEntry + 0x13F8);
                        }
                        else
                        {
                            // NPC Position //
                            EntityY = this.GameMemory.ReadFloat(entityEntry + 0x3C4);
                            EntityZ = this.GameMemory.ReadFloat(entityEntry + 0x3C8);

                            EntitySpeed = this.GameMemory.ReadFloat(entityEntry + 0x1D8);
                            EntityYaw = this.GameMemory.ReadFloat(entityEntry + 0x1F0);
                        }
                    }

                    // found this H1Z1 Reversal to solve car/player issues
                    long entityPositionOffset = this.GameMemory.ReadInt64(entityEntry + 0x198);
                    EntityX = this.GameMemory.ReadFloat(entityPositionOffset + 0x110);
                    EntityY = this.GameMemory.ReadFloat(entityPositionOffset + 0x114);
                    EntityZ = this.GameMemory.ReadFloat(entityPositionOffset + 0x118);
The Code What went wrong Dont Work= = pls help me
I LOVE how you give ZERO information of how it is not working... troubleshoot much? is anything happening? is NOTHING happening? is the esp loading wrong? Is position loading and showing all 0's? here is a case of "I need this fixed but no information on what is happening"... also that last piece of code you posted is the broken part. Why would you change the entityoffsets from 110 114 and 118 in other sections and NOT that one?

Code:
  // found this H1Z1 Reversal to solve car/player issues
                    long entityPositionOffset = this.GameMemory.ReadInt64(entityEntry + 0x198);
                    EntityX = this.GameMemory.ReadFloat(entityPositionOffset + 0x110); <--- should be 100
                    EntityY = this.GameMemory.ReadFloat(entityPositionOffset + 0x114); <--- should be 104
                    EntityZ = this.GameMemory.ReadFloat(entityPositionOffset + 0x118); <--- should be 108
that is one of your issues, may be more but there is a place to start. next time please give more information.
Quote Originally Posted by DatHacks View Post
I LOVE how you give ZERO information of how it is not working... troubleshoot much? is anything happening? is NOTHING happening? is the esp loading wrong? Is position loading and showing all 0's? here is a case of "I need this fixed but no information on what is happening"... also that last piece of code you posted is the broken part. Why would you change the entityoffsets from 110 114 and 118 in other sections and NOT that one?

Code:
  // found this H1Z1 Reversal to solve car/player issues
                    long entityPositionOffset = this.GameMemory.ReadInt64(entityEntry + 0x198);
                    EntityX = this.GameMemory.ReadFloat(entityPositionOffset + 0x110); <--- should be 100
                    EntityY = this.GameMemory.ReadFloat(entityPositionOffset + 0x114); <--- should be 104
                    EntityZ = this.GameMemory.ReadFloat(entityPositionOffset + 0x118); <--- should be 108
that is one of your issues, may be more but there is a place to start. next time please give more information.
Thank You But there is a problem How this string of code Plus go??
Code:
if (EntityType == 0x04 || EntityType == 0x05)
                                    {
                                        switch (EntityState)
                                        {
                                            case 0: EntityName += " 	standing"; break; // Standing
                                            case 1: EntityName += " 	crouched"; break; // Crouched
                                            case 2: EntityName += " 	walking"; break; // Walking
                                            case 3: EntityName += " 	running"; break; // Running
                                            case 4: EntityName += " 	jumping"; break; // Jumping
                                            case 5: EntityName += " 	crouching"; break; // Crouching
                                            case 6: EntityName += " 	prone"; break; // Prone
                                            case 7: EntityName += " 	crawling"; break; // Crawling
                                        }
                                    }
Posts 13 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?