Custom Search
unknown
xml
2 years ago
17 kB
107
Indexable
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>24125</ID>
<Description>"Custom Search >"</Description>
<Options moHideChildren="1" moDeactivateChildrenAsWell="1"/>
<LastState/>
<Color>0080FF</Color>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
alloc(_customSearch,$1000)
registersymbol(_customSearch)
[DISABLE]
dealloc(_customSearch)
unregistersymbol(_customSearch)
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>24159</ID>
<Description>"Filters >"</Description>
<Options moHideChildren="1"/>
<LastState Value="" RealAddress="00000000"/>
<Color>FFFF80</Color>
<GroupHeader>1</GroupHeader>
<CheatEntries>
<CheatEntry>
<ID>24126</ID>
<Description>"Min CA"</Description>
<ShowAsSigned>0</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch</Address>
</CheatEntry>
<CheatEntry>
<ID>24127</ID>
<Description>"Max CA"</Description>
<ShowAsSigned>0</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x1</Address>
</CheatEntry>
<CheatEntry>
<ID>24129</ID>
<Description>"Min PA"</Description>
<ShowAsSigned>0</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x2</Address>
</CheatEntry>
<CheatEntry>
<ID>24128</ID>
<Description>"Max PA"</Description>
<ShowAsSigned>0</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x3</Address>
</CheatEntry>
<CheatEntry>
<ID>24150</ID>
<Description>"---------------------------------------------------------------------------------------------"</Description>
<LastState Value="" RealAddress="00000000"/>
<Color>555555</Color>
<GroupHeader>1</GroupHeader>
</CheatEntry>
<CheatEntry>
<ID>24130</ID>
<Description>"Min Transfer Value"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>4 Bytes</VariableType>
<Address>_customSearch+0x4</Address>
</CheatEntry>
<CheatEntry>
<ID>24131</ID>
<Description>"Max Transfer Value"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>4 Bytes</VariableType>
<Address>_customSearch+0x8</Address>
</CheatEntry>
<CheatEntry>
<ID>24151</ID>
<Description>"---------------------------------------------------------------------------------------------"</Description>
<LastState Value="" RealAddress="00000000"/>
<Color>555555</Color>
<GroupHeader>1</GroupHeader>
</CheatEntry>
<CheatEntry>
<ID>24152</ID>
<Description>"Is Regen?"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:False
1:True
</DropDownList>
<ShowAsSigned>0</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x1B</Address>
</CheatEntry>
<CheatEntry>
<ID>24153</ID>
<Description>"Is Free Transfer?"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:False
1:True
</DropDownList>
<ShowAsSigned>0</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x1C</Address>
</CheatEntry>
<CheatEntry>
<ID>24154</ID>
<Description>"---------------------------------------------------------------------------------------------"</Description>
<LastState Value="" RealAddress="00000000"/>
<Color>555555</Color>
<GroupHeader>1</GroupHeader>
</CheatEntry>
<CheatEntry>
<ID>24155</ID>
<Description>"Min Age"</Description>
<ShowAsSigned>0</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x1D</Address>
</CheatEntry>
<CheatEntry>
<ID>24156</ID>
<Description>"Max Age"</Description>
<ShowAsSigned>0</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x1E</Address>
</CheatEntry>
<CheatEntry>
<ID>24157</ID>
<Description>"---------------------------------------------------------------------------------------------"</Description>
<LastState Value="" RealAddress="00000000"/>
<Color>555555</Color>
<GroupHeader>1</GroupHeader>
</CheatEntry>
<CheatEntry>
<ID>24132</ID>
<Description>"Positions value (at least) >"</Description>
<Options moHideChildren="1"/>
<LastState Value="" RealAddress="00000000"/>
<Color>80FFFF</Color>
<GroupHeader>1</GroupHeader>
<CheatEntries>
<CheatEntry>
<ID>24134</ID>
<Description>"GK"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0xC</Address>
</CheatEntry>
<CheatEntry>
<ID>24135</ID>
<Description>"SW"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0xD</Address>
</CheatEntry>
<CheatEntry>
<ID>24136</ID>
<Description>"DL"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0xE</Address>
</CheatEntry>
<CheatEntry>
<ID>24137</ID>
<Description>"DC"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0xF</Address>
</CheatEntry>
<CheatEntry>
<ID>24138</ID>
<Description>"DR"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x10</Address>
</CheatEntry>
<CheatEntry>
<ID>24139</ID>
<Description>"WBL"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x11</Address>
</CheatEntry>
<CheatEntry>
<ID>24140</ID>
<Description>"WBR"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x12</Address>
</CheatEntry>
<CheatEntry>
<ID>24141</ID>
<Description>"DM"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x13</Address>
</CheatEntry>
<CheatEntry>
<ID>24142</ID>
<Description>"ML"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x14</Address>
</CheatEntry>
<CheatEntry>
<ID>24143</ID>
<Description>"MC"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x15</Address>
</CheatEntry>
<CheatEntry>
<ID>24144</ID>
<Description>"MR"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x16</Address>
</CheatEntry>
<CheatEntry>
<ID>24145</ID>
<Description>"AML"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x17</Address>
</CheatEntry>
<CheatEntry>
<ID>24146</ID>
<Description>"AMC"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x18</Address>
</CheatEntry>
<CheatEntry>
<ID>24147</ID>
<Description>"AMR"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x19</Address>
</CheatEntry>
<CheatEntry>
<ID>24148</ID>
<Description>"ST"</Description>
<ShowAsSigned>1</ShowAsSigned>
<Color>DCDCDC</Color>
<VariableType>Byte</VariableType>
<Address>_customSearch+0x1A</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>24158</ID>
<Description>"---------------------------------------------------------------------------------------------"</Description>
<LastState Value="" RealAddress="00000000"/>
<Color>555555</Color>
<GroupHeader>1</GroupHeader>
</CheatEntry>
<CheatEntry>
<ID>24124</ID>
<Description>"Search"</Description>
<LastState/>
<Color>DCDCDC</Color>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{$lua}
if syntaxcheck then return end
[ENABLE]
local _updateFunc = function()
local addr = getAddressSafe('_customSearch')
if addr == nil then return end
local minCA = readByte(addr)
local maxCA = readByte(addr+0x1)
local minPA = readByte(addr+0x2)
local maxPA = readByte(addr+0x3)
local minTV = readInteger(addr+0x4)
local maxTV = readInteger(addr+0x8)
local posGK = readByte(addr+0xC)
local posSW = readByte(addr+0xD)
local posDL = readByte(addr+0xE)
local posDC = readByte(addr+0xF)
local posDR = readByte(addr+0x10)
local posWBL = readByte(addr+0x11)
local posWBR = readByte(addr+0x12)
local posDM = readByte(addr+0x13)
local posML = readByte(addr+0x14)
local posMC = readByte(addr+0x15)
local posMR = readByte(addr+0x16)
local posAML = readByte(addr+0x17)
local posAMC = readByte(addr+0x18)
local posAMR = readByte(addr+0x19)
local posST = readByte(addr+0x1A)
local isReg = readByte(addr+0x1B)
local isFree = readByte(addr+0x1C)
local minAge = readByte(addr+0x1D)
local maxAge = readByte(addr+0x1E)
local count = 0
cls()
print('Custom Search:\r\n')
print(string.format('%-32s \t %-24s \t %s \t %s \t %s \t\t %s \t\t %s','Name','Unique ID','Age','Nat','CA/PA','Value','Club'))
print('----------------------------------------------------------------------------------------------------------------------------------')
forEach(PersonTableStart, PersonTableEnd, 0x8, function(k, elemAddr)
if count+1 > Table.MaxShowItem then return end
local Person = readQword(elemAddr)
if Person == nil or Person == 0 or not isPlayer(Person) then return end
local Player = getPlayerFromPerson(Person)
if Player == nil or Player == 0 then return end
local Name = getObjectName(Person)
local Club = getObjectName(getPersonClub(Person))
local UID = readInteger(Person+objo.Duni)
local CA = readSmallInteger(Player+plao.Pcab)
local PA = readSmallInteger(Player+plao.Ppab)
local DOB = getAddressSafe(Person+pero.Pdob)
local DOBDay = bAnd(readSmallInteger(DOB), 0x1FF)
local DOBYear = readSmallInteger(DOB+0x2)
local Age = getAge(DOBDay, DOBYear)
local TransferValue = readSignedInteger(Player+pero.Pcgv)
local GK = readByte(Player+plao.Ppos)
local SW = readByte(Player+plao.Ppos+0x1)
local DL = readByte(Player+plao.Ppos+0x2)
local DC = readByte(Player+plao.Ppos+0x3)
local DR = readByte(Player+plao.Ppos+0x4)
local WBL = readByte(Player+plao.Ppos+0xD)
local WBR = readByte(Player+plao.Ppos+0xE)
local DM = readByte(Player+plao.Ppos+0x5)
local ML = readByte(Player+plao.Ppos+0x6)
local MC = readByte(Player+plao.Ppos+0x7)
local MR = readByte(Player+plao.Ppos+0x8)
local AML = readByte(Player+plao.Ppos+0x9)
local AMC = readByte(Player+plao.Ppos+0xA)
local AMR = readByte(Player+plao.Ppos+0xB)
local ST = readByte(Player+plao.Ppos+0xC)
-- CA/PA
if CA < minCA then return end
if CA > maxCA and maxCA ~= 0 then return end
if PA < minPA then return end
if PA > maxPA and maxPA ~= 0 then return end
-- TransferValue
if TransferValue < minTV then return end
if TransferValue > maxTV and maxTV ~= 0 then return end
-- IsRegen
if isReg == 1 then
if UID < 2002068000 then return end
end
-- IsFreeTransfer
if isFree == 1 then
if Club ~= nil then return end
end
if Club == nil then Club = 'Free Transfer' end
-- Age
if Age < minAge then return end
if Age > maxAge and maxAge ~= 0 then return end
-- Position
if GK < posGK then return end
if SW < posSW then return end
if DL < posDL then return end
if DC < posDC then return end
if DR < posDR then return end
if WBL < posWBL then return end
if WBR < posWBR then return end
if DM < posDM then return end
if ML < posML then return end
if MC < posMC then return end
if MR < posMR then return end
if AML < posAML then return end
if AMC < posAMC then return end
if AMR < posAMR then return end
if ST < posST then return end
if #Name < 16 then
print(string.format('%-32s \t %d \t\t %d \t %s \t %d/%d \t\t £%s \t %s', Name, UID, Age, getNationThreeLetterName(readQword(Person+0x70)), CA, PA, commaValue(TransferValue), Club))
else
print(string.format('%-28s \t %d \t\t %d \t %s \t %d/%d \t\t £%s \t %s', Name, UID, Age, getNationThreeLetterName(readQword(Person+0x70)), CA, PA, commaValue(TransferValue), Club))
end
count = count + 1
end)
print('----------------------------------------------------------------------------------------------------------------------------------')
print('\nTotal:', count)
end
_updateFunc()
enableAutoDisable(memrec, nil)
[DISABLE]
</AssemblerScript>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>
Editor is loading...
Leave a Comment