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 


14-byte jmp check

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Game Hacking Dojo
Master Cheater
Reputation: 1

Joined: 17 Sep 2023
Posts: 250

PostPosted: Thu Sep 26, 2024 7:29 pm    Post subject: 14-byte jmp check Reply with quote

How do I check whether the 14-byte or 5-byte jmp is checked (In an AA script)?

The goal is to do the check and generate a template accordingly.

Found it thanks )

Code:
  if form.mi5ByteJMP.checked == true then
     print(form.mi5ByteJMP.Caption)
   else
      print(form.mi14ByteJMP.Caption)
   end


------------

When using generateAOBInjectionScript() and passing true for the farjmp it remains a 5-byte template. However, only when I use generateCodeInjectionScript() and pass farjmp true it generates a 14-byte jmp template

Code:
  local address = getNameFromAddress(getMemoryViewForm().DisassemblerView.SelectedAddress)
  local newScript_stringlist = createStringlist()
  local gaobisResult = generateAOBInjectionScript(newScript_stringlist, "new", address, 10, true)     --generateAOBInjectionScript(script: Tstrings, symbolname: string, address: string, commentradius(default 10), farjmp: boolean)
  local newScript = newScript_stringlist.Text
  newScript_stringlist.destroy()
  print(newScript)


Last edited by Game Hacking Dojo on Sat Sep 28, 2024 3:53 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Game Hacking Dojo
Master Cheater
Reputation: 1

Joined: 17 Sep 2023
Posts: 250

PostPosted: Sat Sep 28, 2024 11:11 am    Post subject: Reply with quote

So what's the problem, Dark Byte? You should know
Back to top
View user's profile Send private message Visit poster's website
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4706

PostPosted: Sat Sep 28, 2024 12:51 pm    Post subject: Reply with quote

Small bug - `lua_GenerateAOBInjectionScript` in "Cheat Engine/LuaHandler.pas" doesn't pass the farjmp parameter
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Game Hacking Dojo
Master Cheater
Reputation: 1

Joined: 17 Sep 2023
Posts: 250

PostPosted: Sat Sep 28, 2024 3:06 pm    Post subject: Reply with quote

well, I guess I found one please fix it. thx
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25807
Location: The netherlands

PostPosted: Sat Sep 28, 2024 3:41 pm    Post subject: Reply with quote

it's already fixed in the next version
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Game Hacking Dojo
Master Cheater
Reputation: 1

Joined: 17 Sep 2023
Posts: 250

PostPosted: Sat Sep 28, 2024 3:48 pm    Post subject: Reply with quote

The question is when is the next version coming? Or is it only on Patreon?
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25807
Location: The netherlands

PostPosted: Sat Sep 28, 2024 5:40 pm    Post subject: Reply with quote

depends on when I have time(having a 3 year old clone with the same quircks as me tends to take a lot of time) and the number of bugreports from beta testers, and last minute feature requests
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Game Hacking Dojo
Master Cheater
Reputation: 1

Joined: 17 Sep 2023
Posts: 250

PostPosted: Sun Sep 29, 2024 4:25 am    Post subject: Reply with quote

I really wish I could help with development but I would have if it was Rust. Like come on delphi is only alive because of your project. I'm thinking of making my own tool using Rust. Yeah it's tons of work too. Cheers man
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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