Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Help]Coding the X,Y,Z into trainer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
GanduyanBucks
Newbie cheater
Reputation: 0

Joined: 30 Jan 2023
Posts: 10
Location: Locating...

PostPosted: Mon Jan 30, 2023 9:06 pm    Post subject: [Help]Coding the X,Y,Z into trainer Reply with quote

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
View user's profile Send private message
GanduyanBucks
Newbie cheater
Reputation: 0

Joined: 30 Jan 2023
Posts: 10
Location: Locating...

PostPosted: Thu Feb 02, 2023 8:48 am    Post subject: Reply with quote

any one from here wants to help?
_________________
I'm just a NoBody trying to learn Lua
Back to top
View user's profile Send private message
Frouk
Master Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 489
Location: mov dword ptr [Ukraine]

PostPosted: Fri Feb 03, 2023 6:01 am    Post subject: Re: [Help]Coding the X,Y,Z into trainer Reply with quote

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
View user's profile Send private message
GanduyanBucks
Newbie cheater
Reputation: 0

Joined: 30 Jan 2023
Posts: 10
Location: Locating...

PostPosted: Sat Feb 04, 2023 6:30 pm    Post subject: Re: [Help]Coding the X,Y,Z into trainer Reply with quote

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
View user's profile Send private message
Frouk
Master Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 489
Location: mov dword ptr [Ukraine]

PostPosted: Sun Feb 05, 2023 4:28 am    Post subject: Re: [Help]Coding the X,Y,Z into trainer Reply with quote

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
View user's profile Send private message
GanduyanBucks
Newbie cheater
Reputation: 0

Joined: 30 Jan 2023
Posts: 10
Location: Locating...

PostPosted: Sun Feb 05, 2023 10:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Frouk
Master Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 489
Location: mov dword ptr [Ukraine]

PostPosted: Mon Feb 06, 2023 2:45 am    Post subject: Reply with quote

Code:
writeVector3("[[[[[Game.exe+0069EF04]+3AC]+54]+74]+B0", {389.1099548, 383.1404724, 19.29130363})

_________________
void(__cdecl *Haxing)(HWND hGameWindow)
Back to top
View user's profile Send private message
GanduyanBucks
Newbie cheater
Reputation: 0

Joined: 30 Jan 2023
Posts: 10
Location: Locating...

PostPosted: Mon Feb 06, 2023 3:35 am    Post subject: Reply with quote

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



111111.png
 Description:
 Filesize:  6.57 KB
 Viewed:  2553 Time(s)

111111.png



_________________
I'm just a NoBody trying to learn Lua
Back to top
View user's profile Send private message
Frouk
Master Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 489
Location: mov dword ptr [Ukraine]

PostPosted: Tue Feb 07, 2023 2:22 am    Post subject: Reply with quote

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
View user's profile Send private message
GanduyanBucks
Newbie cheater
Reputation: 0

Joined: 30 Jan 2023
Posts: 10
Location: Locating...

PostPosted: Tue Feb 07, 2023 7:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Frouk
Master Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 489
Location: mov dword ptr [Ukraine]

PostPosted: Thu Feb 09, 2023 2:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Chuck1982
How do I cheat?
Reputation: 0

Joined: 23 Jan 2023
Posts: 8

PostPosted: Thu Feb 09, 2023 2:59 pm    Post subject: Reply with quote

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).



GanduyanBucks.png
 Description:
 Filesize:  5.81 KB
 Viewed:  2174 Time(s)

GanduyanBucks.png


Back to top
View user's profile Send private message
GanduyanBucks
Newbie cheater
Reputation: 0

Joined: 30 Jan 2023
Posts: 10
Location: Locating...

PostPosted: Fri Feb 10, 2023 4:19 am    Post subject: Reply with quote

[/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
View user's profile Send private message
Chuck1982
How do I cheat?
Reputation: 0

Joined: 23 Jan 2023
Posts: 8

PostPosted: Fri Feb 10, 2023 4:46 am    Post subject: Reply with quote

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
View user's profile Send private message
GanduyanBucks
Newbie cheater
Reputation: 0

Joined: 30 Jan 2023
Posts: 10
Location: Locating...

PostPosted: Sun Feb 12, 2023 7:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites