Hey, can you make the unlimited ammo as max -30, to worrk with Moze regenerating ammo in current mag skils?CJBok wrote: ↑Tue Sep 17, 2019 6:06 amSorry for my previous script post, should have tested it a bit more carefully.
Improved Unlimited Health / Shield / Ammo / Grenades
Modifyable Currency's: Money / Eridium / Golden Keys
Infinite Ammo and Grenades will give you Max - 1, with this you will always pickup ammo and nades .
Code: Select all
<?xml version="1.0" encoding="utf-8"?> <CheatTable> <CheatEntries> <CheatEntry> <ID>16199</ID> <Description>"ENABLE"</Description> <Options moHideChildren="1"/> <LastState Activated="1"/> <VariableType>Auto Assembler Script</VariableType> <AssemblerScript>[ENABLE] // AMMO/HP/SHIELD ==================================================== aobscanmodule(GetMaxAmmoAOB,Borderlands3.exe,F3 0F 11 83 AC 00 00 00 48 83) alloc(GetMaxAmmoMEM,512,GetMaxAmmoAOB) label(return) label(_slot) label(fone) label(_flags) registersymbol(_slot) registersymbol(_flags) registersymbol(GetMaxAmmoAOB) GetMaxAmmoAOB: jmp GetMaxAmmoMEM nop 3 return: GetMaxAmmoMEM: movss [rbx+000000AC],xmm0 push rax push rdx push rcx mov eax,[rsp+138] cmp eax,00 jne @exit mov [_slot],rbx // Loop Stats mov ecx,09 @lp: mov eax,09 sub eax,ecx mov edx,eax lea rdx,[_flags] cmp byte ptr [rdx+rax],01 jl @continue xorps xmm10,xmm10 cmp byte ptr [rdx+rax],01 jne @nosubtract movss xmm10,[fone] @nosubtract: imul eax,F8 lea rdx,[rbx+eax] test rdx,rdx je @continue movss xmm0,[rdx+000000AC] comiss xmm0,[fone] jle @continue subss xmm0,xmm10 movss [rdx+000000A0],xmm0 @continue: loop @lp @exit: xorps xmm10,xmm10 pop rcx pop rdx pop rax jmp return _flags: dq 0 0 _slot: dq 0 fone: dd (float)1.0 // CURRENCY ========================================================== aobscanmodule(GetCurrencyAOB,Borderlands3.exe,48 85 C0 74 F8 8B 40 08) alloc(GetCurrencyMEM,$1000,GetCurrencyAOB) label(GetCurrencyRET) label(_goldenkeys) label(_currency) registersymbol(GetCurrencyAOB) registersymbol(_goldenkeys) registersymbol(_currency) GetCurrencyAOB: jmp GetCurrencyMEM GetCurrencyRET: GetCurrencyMEM: test rax,rax jne @f xor eax,eax ret @@: push rax mov [_goldenkeys],rax test r13,r13 je @f mov rax,[r13+00000228] test rax,rax je @f mov [_currency],rax @@: pop rax mov eax,[rax+08] ret _goldenkeys: dq 0 _currency: dq 0 [DISABLE] // AMMO/HP/SHIELD ==================================================== GetMaxAmmoAOB: db F3 0F 11 83 AC 00 00 00 unregistersymbol(_slot) unregistersymbol(_flags) unregistersymbol(GetMaxAmmoAOB) dealloc(GetMaxAmmoMEM) // CURRENCY ========================================================== GetCurrencyAOB: db 48 85 C0 74 F8 unregistersymbol(_currency) unregistersymbol(_goldenkeys) unregistersymbol(GetCurrencyAOB) dealloc(GetCurrencyMEM) </AssemblerScript> <CheatEntries> <CheatEntry> <ID>16243</ID> <Description>"Inf Health"</Description> <DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">00:OFF 02:ON </DropDownList> <LastState Value="00" RealAddress="16581009C"/> <ShowAsHex>1</ShowAsHex> <VariableType>Array of byte</VariableType> <ByteLength>1</ByteLength> <Address>_flags+1</Address> </CheatEntry> <CheatEntry> <ID>16244</ID> <Description>"Inf Shield"</Description> <DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">00:OFF 02:ON </DropDownList> <LastState Value="00" RealAddress="16581009D"/> <ShowAsHex>1</ShowAsHex> <VariableType>Array of byte</VariableType> <ByteLength>1</ByteLength> <Address>_flags+2</Address> </CheatEntry> <CheatEntry> <ID>16241</ID> <Description>"Inf Ammo"</Description> <DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">00 00 00 00 00 00:OFF 01 01 01 01 01 01:ON </DropDownList> <LastState Value="00 00 00 00 00 00" RealAddress="16581009E"/> <ShowAsHex>1</ShowAsHex> <VariableType>Array of byte</VariableType> <ByteLength>6</ByteLength> <Address>_flags+3</Address> </CheatEntry> <CheatEntry> <ID>16242</ID> <Description>"Inf Grenades"</Description> <DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">00:OFF 01:ON </DropDownList> <LastState Value="00" RealAddress="16581009B"/> <ShowAsHex>1</ShowAsHex> <VariableType>Array of byte</VariableType> <ByteLength>1</ByteLength> <Address>_flags+0</Address> </CheatEntry> <CheatEntry> <ID>16238</ID> <Description>"Golden Keys"</Description> <LastState Value="16" RealAddress="62D78308"/> <VariableType>4 Bytes</VariableType> <Address>_goldenkeys</Address> <Offsets> <Offset>8</Offset> </Offsets> </CheatEntry> <CheatEntry> <ID>16239</ID> <Description>"Money"</Description> <LastState Value="19365" RealAddress="D44CC058"/> <VariableType>4 Bytes</VariableType> <Address>_currency</Address> <Offsets> <Offset>18</Offset> </Offsets> </CheatEntry> <CheatEntry> <ID>16240</ID> <Description>"Eridium"</Description> <LastState Value="198" RealAddress="D44CC098"/> <VariableType>4 Bytes</VariableType> <Address>_currency</Address> <Offsets> <Offset>58</Offset> </Offsets> </CheatEntry> <CheatEntry> <ID>16229</ID> <Description>"DEBUG"</Description> <Options moHideChildren="1"/> <LastState Value="" RealAddress="00000000"/> <Color>808080</Color> <GroupHeader>1</GroupHeader> <CheatEntries> <CheatEntry> <ID>16234</ID> <Description>"FLAGS"</Description> <LastState Value="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0" RealAddress="16581009B"/> <VariableType>Array of byte</VariableType> <ByteLength>16</ByteLength> <Address>_flags</Address> </CheatEntry> <CheatEntry> <ID>16196</ID> <Description>"PLAYER STATS"</Description> <Options moHideChildren="1"/> <LastState Value="" Activated="1" RealAddress="00000000"/> <GroupHeader>1</GroupHeader> <CheatEntries> <CheatEntry> <ID>16185</ID> <Description>"Health"</Description> <LastState Value="225.0132599" RealAddress="BB34C1A8"/> <VariableType>Float</VariableType> <Address>[_slot]+A0+F8*1</Address> </CheatEntry> <CheatEntry> <ID>16235</ID> <Description>"Shield"</Description> <LastState Value="346.8093872" RealAddress="BB34C2A0"/> <VariableType>Float</VariableType> <Address>[_slot]+A0+F8*2</Address> </CheatEntry> </CheatEntries> </CheatEntry> <CheatEntry> <ID>16195</ID> <Description>"AMMO"</Description> <Options moHideChildren="1"/> <LastState Value="" Activated="1" RealAddress="00000000"/> <GroupHeader>1</GroupHeader> <CheatEntries> <CheatEntry> <ID>16236</ID> <Description>"PISTOL"</Description> <Options moHideChildren="1"/> <LastState Value="" RealAddress="BB34C2F8"/> <ShowAsHex>1</ShowAsHex> <VariableType>Array of byte</VariableType> <ByteLength>0</ByteLength> <Address>[_slot]+F8*3</Address> <CheatEntries> <CheatEntry> <ID>16202</ID> <Description>"CURRENT"</Description> <LastState Value="199" RealAddress="BB34C398"/> <VariableType>Float</VariableType> <Address>+A0</Address> </CheatEntry> <CheatEntry> <ID>16203</ID> <Description>"MAX (base)"</Description> <LastState Value="200" RealAddress="BB34C318"/> <VariableType>Float</VariableType> <Address>+20</Address> </CheatEntry> <CheatEntry> <ID>16204</ID> <Description>"MAX"</Description> <LastState Value="200" RealAddress="BB34C3A4"/> <VariableType>Float</VariableType> <Address>+AC</Address> </CheatEntry> </CheatEntries> </CheatEntry> <CheatEntry> <ID>16205</ID> <Description>"SMG"</Description> <Options moHideChildren="1"/> <LastState Value="" RealAddress="BB34C4E8"/> <ShowAsHex>1</ShowAsHex> <VariableType>Array of byte</VariableType> <ByteLength>0</ByteLength> <Address>[_slot]+F8*5</Address> <CheatEntries> <CheatEntry> <ID>16206</ID> <Description>"CURRENT"</Description> <LastState Value="359" RealAddress="BB34C588"/> <VariableType>Float</VariableType> <Address>+A0</Address> </CheatEntry> <CheatEntry> <ID>16207</ID> <Description>"MAX (base)"</Description> <LastState Value="360" RealAddress="BB34C508"/> <VariableType>Float</VariableType> <Address>+20</Address> </CheatEntry> <CheatEntry> <ID>16208</ID> <Description>"MAX"</Description> <LastState Value="360" RealAddress="BB34C594"/> <VariableType>Float</VariableType> <Address>+AC</Address> </CheatEntry> </CheatEntries> </CheatEntry> <CheatEntry> <ID>16209</ID> <Description>"ASSAULT"</Description> <Options moHideChildren="1"/> <LastState Value="" RealAddress="BB34C5E0"/> <VariableType>Array of byte</VariableType> <ByteLength>0</ByteLength> <Address>[_slot]+F8*6</Address> <CheatEntries> <CheatEntry> <ID>16210</ID> <Description>"CURRENT"</Description> <LastState Value="279" RealAddress="BB34C680"/> <VariableType>Float</VariableType> <Address>+A0</Address> </CheatEntry> <CheatEntry> <ID>16211</ID> <Description>"MAX (base)"</Description> <LastState Value="280" RealAddress="BB34C600"/> <VariableType>Float</VariableType> <Address>+20</Address> </CheatEntry> <CheatEntry> <ID>16212</ID> <Description>"MAX"</Description> <LastState Value="280" RealAddress="BB34C68C"/> <VariableType>Float</VariableType> <Address>+AC</Address> </CheatEntry> </CheatEntries> </CheatEntry> <CheatEntry> <ID>16213</ID> <Description>"SHOTGUN"</Description> <Options moHideChildren="1"/> <LastState Value="" RealAddress="BB34C3F0"/> <VariableType>Array of byte</VariableType> <ByteLength>0</ByteLength> <Address>[_slot]+F8*4</Address> <CheatEntries> <CheatEntry> <ID>16214</ID> <Description>"CURRENT"</Description> <LastState Value="79" RealAddress="BB34C490"/> <VariableType>Float</VariableType> <Address>+A0</Address> </CheatEntry> <CheatEntry> <ID>16215</ID> <Description>"MAX (base)"</Description> <LastState Value="80" RealAddress="BB34C410"/> <VariableType>Float</VariableType> <Address>+20</Address> </CheatEntry> <CheatEntry> <ID>16216</ID> <Description>"MAX"</Description> <LastState Value="80" RealAddress="BB34C49C"/> <VariableType>Float</VariableType> <Address>+AC</Address> </CheatEntry> </CheatEntries> </CheatEntry> <CheatEntry> <ID>16217</ID> <Description>"HEAVY"</Description> <Options moHideChildren="1"/> <LastState Value="" RealAddress="BB34C7D0"/> <VariableType>Array of byte</VariableType> <ByteLength>0</ByteLength> <Address>[_slot]+F8*8</Address> <CheatEntries> <CheatEntry> <ID>16218</ID> <Description>"CURRENT"</Description> <LastState Value="11" RealAddress="BB34C870"/> <VariableType>Float</VariableType> <Address>+A0</Address> </CheatEntry> <CheatEntry> <ID>16219</ID> <Description>"MAX (base)"</Description> <LastState Value="12" RealAddress="BB34C7F0"/> <VariableType>Float</VariableType> <Address>+20</Address> </CheatEntry> <CheatEntry> <ID>16220</ID> <Description>"MAX"</Description> <LastState Value="12" RealAddress="BB34C87C"/> <VariableType>Float</VariableType> <Address>+AC</Address> </CheatEntry> </CheatEntries> </CheatEntry> <CheatEntry> <ID>16221</ID> <Description>"SNIPER"</Description> <Options moHideChildren="1"/> <LastState Value="" RealAddress="BB34C6D8"/> <VariableType>Array of byte</VariableType> <ByteLength>0</ByteLength> <Address>[_slot]+F8*7</Address> <CheatEntries> <CheatEntry> <ID>16222</ID> <Description>"CURRENT"</Description> <LastState Value="47" RealAddress="BB34C778"/> <VariableType>Float</VariableType> <Address>+A0</Address> </CheatEntry> <CheatEntry> <ID>16223</ID> <Description>"MAX (base)"</Description> <LastState Value="48" RealAddress="BB34C6F8"/> <VariableType>Float</VariableType> <Address>+20</Address> </CheatEntry> <CheatEntry> <ID>16224</ID> <Description>"MAX"</Description> <LastState Value="48" RealAddress="BB34C784"/> <VariableType>Float</VariableType> <Address>+AC</Address> </CheatEntry> </CheatEntries> </CheatEntry> <CheatEntry> <ID>16225</ID> <Description>"GRENADES"</Description> <Options moHideChildren="1"/> <LastState Value="" RealAddress="BB34C010"/> <ShowAsHex>1</ShowAsHex> <VariableType>Array of byte</VariableType> <ByteLength>0</ByteLength> <Address>[_slot]+F8*0</Address> <CheatEntries> <CheatEntry> <ID>16226</ID> <Description>"CURRENT"</Description> <LastState Value="2" RealAddress="BB34C0B0"/> <VariableType>Float</VariableType> <Address>+A0</Address> </CheatEntry> <CheatEntry> <ID>16227</ID> <Description>"MAX (base)"</Description> <LastState Value="3" RealAddress="BB34C030"/> <VariableType>Float</VariableType> <Address>+20</Address> </CheatEntry> <CheatEntry> <ID>16228</ID> <Description>"MAX"</Description> <LastState Value="3" RealAddress="BB34C0BC"/> <VariableType>Float</VariableType> <Address>+AC</Address> </CheatEntry> </CheatEntries> </CheatEntry> </CheatEntries> </CheatEntry> </CheatEntries> </CheatEntry> </CheatEntries> </CheatEntry> </CheatEntries> </CheatTable>
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1