Jump to content
  • 0

help me please


Huang888
 Share

Question

13 answers to this question

Recommended Posts

  • 0
1 hour ago, GameCrasher said:

I dont know how to create lua files in function for so I did what I understood what you wanted in basic lua

help me.lua384 B · 0 downloads

I want to express in the script to modify the value of another address with the address offset of -55 as -500.

[added 1 minute later]
2 hours ago, Enyby said:

I have read the "Help" several times, and I have not found the tutorial I need. Maybe I don’t have enough understanding. . . .

[added 3 minutes later]
2 hours ago, Enyby said:

 

3 hours ago, Huang888 said:

Please help me modify the script to make it run correctly. I am a novice, groping myself, I do not know how to do scripts. Thank you, my friends. I hope someone will reply to me.

help me.lua 418 B · 2 downloads

Is there a friend who can write a script, help me modify it, thanks

Link to comment
Share on other sites

  • 0
1 hour ago, El_dorado said:

Here's the screenshot 

Screenshot_2020-06-05-11-27-22.png

This is not what I want. I mean, search by "feature code 33;21;55", and then I want to modify the value of another address whose address offset is -500 in "55".

For example, if the address of "55" is A9538E65, then the address of "A9538C71" is what I need to change

Link to comment
Share on other sites

  • 0

try this

function HS2()
	 gg.clearResults()
	 gg.setRanges(4)
	 gg.searchNumber("22;145", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
     gg.refineNumber("145")
     
r = gg.getResults(1)
local t = {}
t[1] = {}
t[1].address = r[1].address - 0x1F4
t[1].flags = 4
t[1].value = 6000
gg.setValues(t)
end

 

Edited by zam535582
Link to comment
Share on other sites

  • 0
48 minutes ago, zam535582 said:

try this


function HS2()
	 gg.clearResults()
	 gg.setRanges(4)
	 gg.searchNumber("22;145", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)
     gg.refineNumber("145")
     
r = gg.getResults(1)
local t = {}
t[1] = {}
t[1].address = r[1].address - 0x1F4
t[1].flags = 4
t[1].value = 6000
gg.setValues(t)
end

 

perfect! The best wishes to you, my friend. You are so good

∠(`ω´*) salute

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.