Game Hacking Dojo Master Cheater
Reputation: 1
Joined: 17 Sep 2023 Posts: 250
|
Posted: Sun Aug 04, 2024 7:19 am Post subject: |
|
|
So, I was working on making the Goto Address box show the module name next to the offset. It works only if I don't jump anywhere. However, once I jump the edit box will turn into a combo box and I don't know how to work with that.
The Delphi code:
| Quote: | | Code: | TInputboxTop = class(TForm)
Button1: TButton;
Button2: TButton;
Edit1: TEdit;
Label1: TLabel;
Panel1: TPanel;
Timer1: TTimer;
procedure FormShow(Sender: TObject);
procedure Label1Click(Sender: TObject);
procedure Timer1Timer(Sender: TObject);
private
{ Private declarations }
selecttext: boolean;
combobox: tcombobox;
public
{ Public declarations }
end; |
|
My code:
| Code: | local function go_to_address_modifications(form)
form.Edit1.Text = getNameFromAddress(form.Edit1.Text)
print("it's working !!!")
end
if go_to_address_modifications_id then
unregisterFormAddNotification(go_to_address_modifications_id)
go_to_address_modifications_id = nil
end
go_to_address_modifications_id = registerFormAddNotification(function(form)
if form.ClassName ~= "TInputboxTop" and form.Caption ~= "Goto Address" then return end
createTimer(1, go_to_address_modifications, form)
end) |
Could you help, please? |
|