|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
GanduyanBucks Newbie cheater Reputation: 0
Joined: 30 Jan 2023 Posts: 10 Location: Locating...
|
Posted: Mon Jan 30, 2023 9:06 pm Post subject: [Help]Coding the X,Y,Z into trainer |
|
|
i know how to find addresses the only problem is i have no idea on how to code it into a trainer using CE of course. I have watched and read a lot of tutorials but it doesn't point out the thing.
for example i wanted to put the X,Y,Z coordinate on OnclickButton and it will teleport me to the coordinates i have stored on that code. Not like the guide written on the guide section that you have to enter the X and Y coordinate.
This is example of the code and its base on what i have read and watched
more likely a copy pasted one
Code:
form_show(CETrainer)
getAutoAttachList().add("Game.exe")
function CETrainer_CEButton1Click(sender)
writeFloat("[[[[[Game.exe+0069EF04]+3AC]+54]+74]+B0", 389.1099548)
writeFloat("[[[[[Game.exe+0069EF04]+3Ac]+54]+74]+B4", 383.1404724)
writeFloat("[[[[[Game.exe+0069EF04]+3Ac]+54]+74]+B8", 19.29130363)
end
function FormClick(sender)
end
_________________
I'm just a NoBody trying to learn Lua |
|
Back to top |
|
|
GanduyanBucks Newbie cheater Reputation: 0
Joined: 30 Jan 2023 Posts: 10 Location: Locating...
|
Posted: Thu Feb 02, 2023 8:48 am Post subject: |
|
|
any one from here wants to help?
_________________
I'm just a NoBody trying to learn Lua |
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Fri Feb 03, 2023 6:01 am Post subject: Re: [Help]Coding the X,Y,Z into trainer |
|
|
GanduyanBucks wrote: | i know how to find addresses the only problem is i have no idea on how to code it into a trainer using CE of course. I have watched and read a lot of tutorials but it doesn't point out the thing.
for example i wanted to put the X,Y,Z coordinate on OnclickButton and it will teleport me to the coordinates i have stored on that code. Not like the guide written on the guide section that you have to enter the X and Y coordinate.
This is example of the code and its base on what i have read and watched
more likely a copy pasted one
Code:
form_show(CETrainer)
getAutoAttachList().add("Game.exe")
function CETrainer_CEButton1Click(sender)
writeFloat("[[[[[Game.exe+0069EF04]+3AC]+54]+74]+B0", 389.1099548)
writeFloat("[[[[[Game.exe+0069EF04]+3Ac]+54]+74]+B4", 383.1404724)
writeFloat("[[[[[Game.exe+0069EF04]+3Ac]+54]+74]+B8", 19.29130363)
end
function FormClick(sender)
end |
does button in trainer has CETrainer_CEButton1Click click event?
also, for a quick vector writing
Code: | function writeVector3(address, vector, isDouble)
address = getAddress(address)
if isDouble then
writeDouble(address, vector[1])
writeDouble(address + 0x8, vector[2])
writeDouble(address + 0x10, vector[3])
return
end
writeFloat(address, vector[1])
writeFloat(address + 0x4, vector[2])
writeFloat(address + 0x8, vector[3])
end
-- time for writing example
writeVector3("[0xB6F5F0]", {1000, 500, 30}) |
also you can try to paste full vector struct, which haves all operators needed
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
GanduyanBucks Newbie cheater Reputation: 0
Joined: 30 Jan 2023 Posts: 10 Location: Locating...
|
Posted: Sat Feb 04, 2023 6:30 pm Post subject: Re: [Help]Coding the X,Y,Z into trainer |
|
|
Frouk wrote: | GanduyanBucks wrote: | i know how to find addresses the only problem is i have no idea on how to code it into a trainer using CE of course. I have watched and read a lot of tutorials but it doesn't point out the thing.
for example i wanted to put the X,Y,Z coordinate on OnclickButton and it will teleport me to the coordinates i have stored on that code. Not like the guide written on the guide section that you have to enter the X and Y coordinate.
This is example of the code and its base on what i have read and watched
more likely a copy pasted one
Code:
form_show(CETrainer)
getAutoAttachList().add("Game.exe")
function CETrainer_CEButton1Click(sender)
writeFloat("[[[[[Game.exe+0069EF04]+3AC]+54]+74]+B0", 389.1099548)
writeFloat("[[[[[Game.exe+0069EF04]+3Ac]+54]+74]+B4", 383.1404724)
writeFloat("[[[[[Game.exe+0069EF04]+3Ac]+54]+74]+B8", 19.29130363)
end
function FormClick(sender)
end |
does button in trainer has CETrainer_CEButton1Click click event?
also, for a quick vector writing
Code: | function writeVector3(address, vector, isDouble)
address = getAddress(address)
if isDouble then
writeDouble(address, vector[1])
writeDouble(address + 0x8, vector[2])
writeDouble(address + 0x10, vector[3])
return
end
writeFloat(address, vector[1])
writeFloat(address + 0x4, vector[2])
writeFloat(address + 0x8, vector[3])
end
-- time for writing example
writeVector3("[0xB6F5F0]", {1000, 500, 30}) |
also you can try to paste full vector struct, which haves all operators needed |
yes it does have CEButton1Click event,,i dont get this Vector what is it?? im trying to google it but i cant find any info...is this structures?
_________________
I'm just a NoBody trying to learn Lua |
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Sun Feb 05, 2023 4:28 am Post subject: Re: [Help]Coding the X,Y,Z into trainer |
|
|
GanduyanBucks wrote: | Frouk wrote: | GanduyanBucks wrote: | i know how to find addresses the only problem is i have no idea on how to code it into a trainer using CE of course. I have watched and read a lot of tutorials but it doesn't point out the thing.
for example i wanted to put the X,Y,Z coordinate on OnclickButton and it will teleport me to the coordinates i have stored on that code. Not like the guide written on the guide section that you have to enter the X and Y coordinate.
This is example of the code and its base on what i have read and watched
more likely a copy pasted one
Code:
form_show(CETrainer)
getAutoAttachList().add("Game.exe")
function CETrainer_CEButton1Click(sender)
writeFloat("[[[[[Game.exe+0069EF04]+3AC]+54]+74]+B0", 389.1099548)
writeFloat("[[[[[Game.exe+0069EF04]+3Ac]+54]+74]+B4", 383.1404724)
writeFloat("[[[[[Game.exe+0069EF04]+3Ac]+54]+74]+B8", 19.29130363)
end
function FormClick(sender)
end |
does button in trainer has CETrainer_CEButton1Click click event?
also, for a quick vector writing
Code: | function writeVector3(address, vector, isDouble)
address = getAddress(address)
if isDouble then
writeDouble(address, vector[1])
writeDouble(address + 0x8, vector[2])
writeDouble(address + 0x10, vector[3])
return
end
writeFloat(address, vector[1])
writeFloat(address + 0x4, vector[2])
writeFloat(address + 0x8, vector[3])
end
-- time for writing example
writeVector3("[0xB6F5F0]", {1000, 500, 30}) |
also you can try to paste full vector struct, which haves all operators needed |
yes it does have CEButton1Click event,,i dont get this Vector what is it?? im trying to google it but i cant find any info...is this structures? |
XYZ is a 3th dimensional Vector
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
GanduyanBucks Newbie cheater Reputation: 0
Joined: 30 Jan 2023 Posts: 10 Location: Locating...
|
Posted: Sun Feb 05, 2023 10:39 pm Post subject: |
|
|
so how should i write this, because the one i posted on this topic is the exact pointers and X Y Z coordinates
_________________
I'm just a NoBody trying to learn Lua |
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Mon Feb 06, 2023 2:45 am Post subject: |
|
|
Code: | writeVector3("[[[[[Game.exe+0069EF04]+3AC]+54]+74]+B0", {389.1099548, 383.1404724, 19.29130363}) |
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
GanduyanBucks Newbie cheater Reputation: 0
Joined: 30 Jan 2023 Posts: 10 Location: Locating...
|
Posted: Mon Feb 06, 2023 3:35 am Post subject: |
|
|
so i made it like this
Code: | form_show(CETrainer)
strings_add(getAutoAttachList(), "Game.exe")
function writeVector3(address, vector, isDouble)
address = getAddress(address)
if isDouble then
writeDouble(address, vector[1])
writeDouble(address + 0x8, vector[2])
writeDouble(address + 0x10, vector[3])
return
end
writeFloat(address, vector[1])
writeFloat(address + 0x4, vector[2])
writeFloat(address + 0x8, vector[3])
end
end
function CETrainer_CEButton1Click(sender)
writeVector3("[game.exe+0069EF04]", {752.1114502, 1121.359863, 34.16339874})
end |
Description: |
|
Filesize: |
6.57 KB |
Viewed: |
2617 Time(s) |
|
_________________
I'm just a NoBody trying to learn Lua |
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Tue Feb 07, 2023 2:22 am Post subject: |
|
|
GanduyanBucks wrote: | so i made it like this
Code: | form_show(CETrainer)
strings_add(getAutoAttachList(), "Game.exe")
function writeVector3(address, vector, isDouble)
address = getAddress(address)
if isDouble then
writeDouble(address, vector[1])
writeDouble(address + 0x8, vector[2])
writeDouble(address + 0x10, vector[3])
return
end
writeFloat(address, vector[1])
writeFloat(address + 0x4, vector[2])
writeFloat(address + 0x8, vector[3])
end
end
function CETrainer_CEButton1Click(sender)
writeVector3("[game.exe+0069EF04]", {752.1114502, 1121.359863, 34.16339874})
end |
|
there is non-leading end after function writeVector3 end
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
GanduyanBucks Newbie cheater Reputation: 0
Joined: 30 Jan 2023 Posts: 10 Location: Locating...
|
Posted: Tue Feb 07, 2023 7:31 am Post subject: |
|
|
Frouk wrote: | GanduyanBucks wrote: | so i made it like this
Code: | form_show(CETrainer)
strings_add(getAutoAttachList(), "Game.exe")
function writeVector3(address, vector, isDouble)
address = getAddress(address)
if isDouble then
writeDouble(address, vector[1])
writeDouble(address + 0x8, vector[2])
writeDouble(address + 0x10, vector[3])
return
end
writeFloat(address, vector[1])
writeFloat(address + 0x4, vector[2])
writeFloat(address + 0x8, vector[3])
end
end
function CETrainer_CEButton1Click(sender)
writeVector3("[game.exe+0069EF04]", {752.1114502, 1121.359863, 34.16339874})
end |
|
there is non-leading end after function writeVector3 end |
cant get it work it wont Teleport me and i have removed the end after the writeVector3....
what should i show you to help me out?
_________________
I'm just a NoBody trying to learn Lua |
|
Back to top |
|
|
Frouk Master Cheater Reputation: 5
Joined: 22 Jun 2021 Posts: 489 Location: mov dword ptr [Ukraine]
|
Posted: Thu Feb 09, 2023 2:01 am Post subject: |
|
|
GanduyanBucks wrote: | Frouk wrote: | GanduyanBucks wrote: | so i made it like this
Code: | form_show(CETrainer)
strings_add(getAutoAttachList(), "Game.exe")
function writeVector3(address, vector, isDouble)
address = getAddress(address)
if isDouble then
writeDouble(address, vector[1])
writeDouble(address + 0x8, vector[2])
writeDouble(address + 0x10, vector[3])
return
end
writeFloat(address, vector[1])
writeFloat(address + 0x4, vector[2])
writeFloat(address + 0x8, vector[3])
end
end
function CETrainer_CEButton1Click(sender)
writeVector3("[game.exe+0069EF04]", {752.1114502, 1121.359863, 34.16339874})
end |
|
there is non-leading end after function writeVector3 end |
cant get it work it wont Teleport me and i have removed the end after the writeVector3....
what should i show you to help me out? |
you writing the vector in the pointer value, and its not writing to the position
the address you wrote is "[[[[[Game.exe+0069EF04]+3AC]+54]+74]+B0"
_________________
void(__cdecl *Haxing)(HWND hGameWindow) |
|
Back to top |
|
|
Chuck1982 How do I cheat? Reputation: 0
Joined: 23 Jan 2023 Posts: 8
|
Posted: Thu Feb 09, 2023 2:59 pm Post subject: |
|
|
I have no idea about writing this stuff in Cheat Engine, but I wrote it in C# as a .NET windows forms app using memory.dll. Should work fine...
//Edit
I tried posting the source code but the board says I can't post URL's yet (even though there was no URL).
Description: |
|
Filesize: |
5.81 KB |
Viewed: |
2238 Time(s) |
|
|
|
Back to top |
|
|
GanduyanBucks Newbie cheater Reputation: 0
Joined: 30 Jan 2023 Posts: 10 Location: Locating...
|
Posted: Fri Feb 10, 2023 4:19 am Post subject: |
|
|
[/quote]
you writing the vector in the pointer value, and its not writing to the position
the address you wrote is "[[[[[Game.exe+0069EF04]+3AC]+54]+74]+B0"[/quote]
this is the pointer of X coordinate so when i do that i got DC on game
do you have discord? or any way i an contact you?
Chuck1982 do you have discord you can send me source code?
_________________
I'm just a NoBody trying to learn Lua |
|
Back to top |
|
|
Chuck1982 How do I cheat? Reputation: 0
Joined: 23 Jan 2023 Posts: 8
|
Posted: Fri Feb 10, 2023 4:46 am Post subject: |
|
|
GanduyanBucks wrote: |
Chuck1982 do you have discord you can send me source code? |
Yes I can send you. If you post your discord or send it to me I will add you.
|
|
Back to top |
|
|
GanduyanBucks Newbie cheater Reputation: 0
Joined: 30 Jan 2023 Posts: 10 Location: Locating...
|
Posted: Sun Feb 12, 2023 7:36 am Post subject: |
|
|
Chuck1982 wrote: | GanduyanBucks wrote: |
Chuck1982 do you have discord you can send me source code? |
Yes I can send you. If you post your discord or send it to me I will add you. |
Des#4726
_________________
I'm just a NoBody trying to learn Lua |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|