LightbulbAuto-script for provided codes.

Posts 1–2 of 2 · Page 1 of 1
Auto-script for provided codes.
Hello,
I'd like to request, if anyone can create 2 different "auto-scripts" for me...

The 1st should include the following codes: (Titled "BOOST")

Zombies Don't Attack-
Search:
22 ?? ?? ?? ?? 0C 72 ?? ?? ?? ?? 06 8C ?? ?? ?? ?? 28
Replace:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

No Explosions-
Search:
72 0C 48 00 70
Replace:
72 0C 48 01 70

No Vomit-
Search:
72 B0 49 00 70
Replace:
72 B0 49 01 70

900% DAMAGE BOOST [One Shot Kill]-
Search:
00 ?? ?? ?? 22 CD CC AC 3F 28 E5 16 00 06
Replace:
00 ?? ?? 00 22 00 00 C8 42 28 E5 16 00 06

EXP Boost-
Search:
72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 32 ?? 22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 13 ?? 17 80 ?? ?? ?? ?? 06 6B 11 ?? 28 ?? ?? ?? ?? 5A 28 ?? ?? ?? ?? 25 26
Replace:
72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 32 00

Speed Boost-
Search:
72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 32 ?? 22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 13 ?? 02 7B ?? ?? ?? ?? 2D ?? 17 80 ?? ?? ?? ?? 22 ?? ?? ?? ?? 22 ?? ?? ?? ?? 22
Replace:
72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 32 00

Infinite Energy-
Search:
22 ?? ?? ?? ?? 5A 58 7D ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 32 ?? 02 02 7B ?? ?? ?? ?? 7D ?? ?? ?? ?? 02 6F
Replace:
22 ?? ?? 70 41 5A 58 7D ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 32 ?? 02 02 7B ?? ?? ?? ?? 7D ?? ?? ?? ?? 02 6F
And the 2nd script should use these codes: (Titled "NORMAL")

Zombies Don't Attack-
Search:
22 ?? ?? ?? ?? 0C 72 ?? ?? ?? ?? 06 8C ?? ?? ?? ?? 28
Replace:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

No Explosions-
Search:
72 0C 48 00 70
Replace:
72 0C 48 01 70

No Vomit-
Search:
72 B0 49 00 70
Replace:
72 B0 49 01 70

Damage Boost-
Search:
72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 32 ?? 22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 0A 02 7B ?? ?? ?? ?? 2D ?? 17 80 ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 72 ?? ?? ?? ?? 28
Replace:
72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 32 00

EXP Boost-
Search:
72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 32 ?? 22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 13 ?? 17 80 ?? ?? ?? ?? 06 6B 11 ?? 28 ?? ?? ?? ?? 5A 28 ?? ?? ?? ?? 25 26
Replace:
72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 32 00

Speed Boost-
Search:
72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 32 ?? 22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 13 ?? 02 7B ?? ?? ?? ?? 2D ?? 17 80 ?? ?? ?? ?? 22 ?? ?? ?? ?? 22 ?? ?? ?? ?? 22
Replace:
72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 32 00

Infinite Energy-
Search:
22 ?? ?? ?? ?? 5A 58 7D ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 32 ?? 02 02 7B ?? ?? ?? ?? 7D ?? ?? ?? ?? 02 6F
Replace:
22 ?? ?? 70 41 5A 58 7D ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 32 ?? 02 02 7B ?? ?? ?? ?? 7D ?? ?? ?? ?? 02 6F
Also, I have no experience in those scripts at all, so if you can tell me what script it is, and I'll look up for a tutorial on how to execute it.
Thank you!
 
Boost
AoB = AOBScan("72 0c 48 00 70")
if (AoB and AoB.getCount()==6) then
print("No Explosion OK")
for i=0,5 do
writeBytes(tonumber(AoB[i],16)+3, 0x01)
end
AoB.Destroy()
AoB = nil
else
print("No Explosion ERROR")
end

AoB = AOBScan("72 B0 49 00 70")
if (AoB and AoB.getCount()==6) then
print("No Vomit OK")
for i=0,5 do
writeBytes(tonumber(AoB[i],16)+3, 0x01)
end
AoB.Destroy()
AoB = nil
else
print("No Vomit ERROR")
end

AoB = AOBScan("25 26 32 ?? 22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 13 ?? 02 7B ?? ?? ?? ?? 2D ?? 17 80")
if (AoB and AoB.getCount()==3) then
print("Speed boost OK")
writeBytes(tonumber(AoB[0],16)+3, 0x00)
writeBytes(tonumber(AoB[1],16)+3, 0x00)
writeBytes(tonumber(AoB[2],16)+3, 0x00)
AoB.Destroy()
AoB = nil
else
print("Speed boost ERROR")
end

AoB = AOBScan("22 ?? ?? ?? ?? 5A 58 7D ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 02 7B")
if (AoB and AoB.getCount()==3) then
print("Infinite Energy OK")
writeBytes(tonumber(AoB[0],16)+3, 0x70, 0x41)
writeBytes(tonumber(AoB[1],16)+3, 0x70, 0x41)
writeBytes(tonumber(AoB[2],16)+3, 0x70, 0x41)
AoB.Destroy()
AoB = nil
else
print("Infinite Energy ERROR")
end

AoB = AOBScan("72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 32 ?? 22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 13 ?? 17 80 ?? ?? ?? ?? 06 6B 11 ?? 28 ?? ?? ?? ?? 5A 28 ?? ?? ?? ?? 25 26")
if (AoB and AoB.getCount()==3) then
print("EXP boost OK")
writeBytes(tonumber(AoB[0],16)+20, 0x00)
writeBytes(tonumber(AoB[1],16)+20, 0x00)
writeBytes(tonumber(AoB[2],16)+20, 0x00)
AoB.Destroy()
AoB = nil
else
print("EXP boost ERROR")
end

AoB = AOBScan("72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 32 ?? 22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 0A 02 7B ?? ?? ?? ?? 2D ?? 17 80 ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 72 ?? ?? ?? ?? 28")
if (AoB and AoB.getCount()==3) then
AoB2 = AOBScan("22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 7D ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 7B ?? ?? ?? ?? 3A ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 7B ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 7E ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 2C ?? 1B 45 ?? ?? ?? ?? ?? ?? ?? ?? 02 17")
if (AoB2 and AoB2.getCount()==3) then
print("900% Damage OK")
writeBytes(tonumber(AoB[0],16)+18, 0x00, 0x22, 0x00, 0x00, 0xc8, 0x42)
writeBytes(tonumber(AoB[1],16)+18, 0x00, 0x22, 0x00, 0x00, 0xc8, 0x42)
writeBytes(tonumber(AoB[2],16)+18, 0x00, 0x22, 0x00, 0x00, 0xc8, 0x42)
writeBytes(tonumber(AoB2[0],16)+0, 0x22, 0x00, 0x00, 0xc8, 0x42)
writeBytes(tonumber(AoB2[1],16)+0, 0x22, 0x00, 0x00, 0xc8, 0x42)
writeBytes(tonumber(AoB2[2],16)+0, 0x22, 0x00, 0x00, 0xc8, 0x42)
AoB2.Destroy()
AoB2 = nil
else
print("900% Damage ERROR")
end
AoB.Destroy()
AoB = nil
else
print("Dmghack ERROR")
end

function str_table(replace)
local replace_table = {}
for byte in string.gfind(replace, "[^%s]+") do
table.insert(replace_table, tonumber('0x'..byte))
end
return replace_table
end


aob = AOBScan("22 ?? ?? ?? ?? 0C 72 ?? ?? ?? ?? 06 8C ?? ?? ?? ?? 28")
if aob then
size = aob.getCount() - 1

local str = string.format("%02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X", readBytes(aob[size], 18))
str = "00 " .. string.sub(str,4)
print("Disable Zombie Attack is ON")
writeBytes(aob[size],str_table(str))

aob.Destroy()
aob = nil
else
print("Disable Zombie Attack ERROR")
end


 
Normal
AoB = AOBScan("72 0c 48 00 70")
if (AoB and AoB.getCount()==6) then
print("No Explosion OK")
for i=0,5 do
writeBytes(tonumber(AoB[i],16)+3, 0x01)
end
AoB.Destroy()
AoB = nil
else
print("No Explosion ERROR")
end

AoB = AOBScan("72 B0 49 00 70")
if (AoB and AoB.getCount()==6) then
print("No Vomit OK")
for i=0,5 do
writeBytes(tonumber(AoB[i],16)+3, 0x01)
end
AoB.Destroy()
AoB = nil
else
print("No Vomit ERROR")
end

AoB = AOBScan("25 26 32 ?? 22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 13 ?? 02 7B ?? ?? ?? ?? 2D ?? 17 80")
if (AoB and AoB.getCount()==3) then
print("Speed boost OK")
writeBytes(tonumber(AoB[0],16)+3, 0x00)
writeBytes(tonumber(AoB[1],16)+3, 0x00)
writeBytes(tonumber(AoB[2],16)+3, 0x00)
AoB.Destroy()
AoB = nil
else
print("Speed boost ERROR")
end

AoB = AOBScan("22 ?? ?? ?? ?? 5A 58 7D ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 02 7B")
if (AoB and AoB.getCount()==3) then
print("Infinite Energy OK")
writeBytes(tonumber(AoB[0],16)+3, 0x70, 0x41)
writeBytes(tonumber(AoB[1],16)+3, 0x70, 0x41)
writeBytes(tonumber(AoB[2],16)+3, 0x70, 0x41)
AoB.Destroy()
AoB = nil
else
print("Infinite Energy ERROR")
end

AoB = AOBScan("72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 25 26 32 ?? 22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 13 ?? 17 80 ?? ?? ?? ?? 06 6B 11 ?? 28 ?? ?? ?? ?? 5A 28 ?? ?? ?? ?? 25 26")
if (AoB and AoB.getCount()==3) then
print("EXP boost OK")
writeBytes(tonumber(AoB[0],16)+20, 0x00)
writeBytes(tonumber(AoB[1],16)+20, 0x00)
writeBytes(tonumber(AoB[2],16)+20, 0x00)
AoB.Destroy()
AoB = nil
else
print("EXP boost ERROR")
end

AoB = AOBScan("72 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 28 ?? ?? ?? ?? 32 ?? 22 ?? ?? ?? ?? 28 ?? ?? ?? ?? 25 26 0A 02 7B ?? ?? ?? ?? 2D ?? 17 80 ?? ?? ?? ?? 02 7B ?? ?? ?? ?? 72 ?? ?? ?? ?? 28")
if (AoB and AoB.getCount()==3) then
print("Damage boost OK")
writeBytes(tonumber(AoB[0],16)+18, 0x00)
writeBytes(tonumber(AoB[1],16)+18, 0x00)
writeBytes(tonumber(AoB[2],16)+18, 0x00)
AoB.Destroy()
AoB = nil
else
print("Damage boost ERROR")
end

function str_table(replace)
local replace_table = {}
for byte in string.gfind(replace, "[^%s]+") do
table.insert(replace_table, tonumber('0x'..byte))
end
return replace_table
end


aob = AOBScan("22 ?? ?? ?? ?? 0C 72 ?? ?? ?? ?? 06 8C ?? ?? ?? ?? 28")
if aob then
size = aob.getCount() - 1

local str = string.format("%02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X", readBytes(aob[size], 18))
str = "00 " .. string.sub(str,4)
print("Disable Zombie Attack is ON")
writeBytes(aob[size],str_table(str))

aob.Destroy()
aob = nil
else
print("Disable Zombie Attack ERROR")
end


There you go.
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?