xShadow007 Posted November 3, 2019 Share Posted November 3, 2019 Hey could I ask for a little help .. I wanted to create a simple script .. If u could spare some time, it'd help Objective : popup box asking for value Add xor=444,444 to value { value + 444,444} Replace all results with 1 (with same xor value) = 444,445 Link to comment Share on other sites More sharing options...
ItsSC Posted November 6, 2019 Share Posted November 6, 2019 --Execute function Exe(val,type) gg.clearResults() local t = gg.prompt({"Your value"},nil,{"number"}) -- Ask for value gg.searchNumber(t[1],type) gg.getResults(100) gg.editAll(val~444444,type) end --Example Exe(40,4) -- Edit value to 40 with xor key 444444. Type of address = Dword. Link to comment Share on other sites More sharing options...
Administrators Enyby Posted November 6, 2019 Administrators Share Posted November 6, 2019 Xor two values a and b in lua: local c = a ~ b [added 1 minute later] So 27 minutes ago, ItsSC said: Xor(val,444444) will be just val ~ 444444 Without this huge function [added 2 minutes later] https://www.lua.org/manual/5.3/manual.html#3.4.2 Link to comment Share on other sites More sharing options...
ItsSC Posted November 6, 2019 Share Posted November 6, 2019 21 minutes ago, Enyby said: Xor two values a and b in lua: local c = a ~ b Damn, didn't realize this operator works as xor.... Link to comment Share on other sites More sharing options...
Administrators Enyby Posted November 3, 2019 Administrators Share Posted November 3, 2019 https://gameguardian.net/help/ Link to comment Share on other sites More sharing options...
Question
xShadow007
Hey could I ask for a little help ..
I wanted to create a simple script .. If u could spare some time, it'd help
Objective : popup box asking for value
Add xor=444,444 to value { value + 444,444}
Replace all results with 1 (with same xor value) = 444,445
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.