Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version = '1.26'
- name = 'Elite Not So Dangerous'
- TempLabel = createLabel(TRN)
- TempLabel.Caption ='M'
- TempLabel.Left = 0
- TempLabel.Top = 0
- TempLabel.Visible = False
- temp_size = TempLabel.Height
- function mS(orig_size)
- return math.floor(temp_size/15*orig_size)
- end
- TempLabel.destroy()
- TRN.Caption = name..' '..version
- TRN.Height = mS(487)
- TRN.Width = mS(450)
- TRN_Logo.Height = mS(170)
- TRN_Logo.Width = mS(450)
- TRN_Logo.Stretch = 'True'
- StatusLabel1 = createLabel(TRN)
- StatusLabel1.Caption ='Status:'
- StatusLabel1.Height = mS(15)
- StatusLabel1.Width = mS(35)
- StatusLabel1.Left = mS(10)
- StatusLabel1.Top = mS(180)
- StatusLabel2 = createLabel(TRN)
- StatusLabel2.Caption ='Waiting for game.'
- StatusLabel2.Height = mS(15)
- StatusLabel2.Width = mS(380)
- StatusLabel2.Left = mS(55)
- StatusLabel2.Top = mS(180)
- PC = createPageControl(TRN)
- PC.Height = TRN.Height - mS(237)
- PC.Width = mS(454)
- PC.Left = mS(0)
- PC.Top = mS(205)
- Tab1 = PC.addTab()
- Tab1.Caption = 'Damage/Others'
- Tab1.BorderWidth = 0
- Tab2 = PC.addTab()
- Tab2.Caption = 'Jumps/Fuel'
- Tab2.BorderWidth = 0
- Tab3 = PC.addTab()
- Tab3.Caption = 'Scanners'
- Tab3.BorderWidth = 0
- Tab4 = PC.addTab()
- Tab4.Caption = 'Agility'
- Tab4.BorderWidth = 0
- Tab5 = PC.addTab()
- Tab5.Caption = 'Unsafe'
- Tab5.BorderWidth = 0
- PTab1 = createPanel(Tab1)
- PTab1.Color = 0xD3D3D3
- setProperty(PTab1, 'BorderStyle', 'bsNone')
- setProperty(PTab1, 'BevelOuter', 'bvNone')
- setProperty(PTab1, 'Align', 'alClient')
- PTab2 = createPanel(Tab2)
- PTab2.Color = 0xD3D3D3
- setProperty(PTab2, 'BorderStyle', 'bsNone')
- setProperty(PTab2, 'BevelOuter', 'bvNone')
- setProperty(PTab2, 'Align', 'alClient')
- PTab3 = createPanel(Tab3)
- PTab3.Color = 0xD3D3D3
- setProperty(PTab3, 'BorderStyle', 'bsNone')
- setProperty(PTab3, 'BevelOuter', 'bvNone')
- setProperty(PTab3, 'Align', 'alClient')
- PTab4 = createPanel(Tab4)
- PTab4.Color = 0xD3D3D3
- setProperty(PTab4, 'BorderStyle', 'bsNone')
- setProperty(PTab4, 'BevelOuter', 'bvNone')
- setProperty(PTab4, 'Align', 'alClient')
- PTab5 = createPanel(Tab5)
- PTab5.Color = 0xC4C0FA
- setProperty(PTab5, 'BorderStyle', 'bsNone')
- setProperty(PTab5, 'BevelOuter', 'bvNone')
- setProperty(PTab5, 'Align', 'alClient')
- PTab5Label = createLabel(PTab5)
- PTab5Label.Align = 'alTop'
- PTab5Label.Height = mS(15)
- PTab5Label.Alignment = 'taCenter'
- setProperty(PTab5Label, 'WordWrap', 'True')
- PTab5Label.Caption = 'Cheats in this tab will probably get you a ban.'
- -- ================ Panel 1 ================
- PANPlayer1 = createPanel(PTab1)
- PANPlayer1.Color = 0xBFBFBF
- setProperty(PANPlayer1, 'BorderStyle', 'bsNone')
- setProperty(PANPlayer1, 'BevelOuter', 'bvNone')
- PANPlayer1.Height = mS(20)
- PANPlayer1.Width = mS(102)
- PANPlayer1.Top = mS(10)
- PANPlayer1.Left = mS(230)
- PANPlayer1.Caption = 'Player'
- PANPlayer2 = createPanel(PTab1)
- PANPlayer2.Color = 0xBFBFBF
- setProperty(PANPlayer2, 'BorderStyle', 'bsNone')
- setProperty(PANPlayer2, 'BevelOuter', 'bvNone')
- PANPlayer2.Height = mS(75)
- PANPlayer2.Width = mS(102)
- PANPlayer2.Top = mS(30)
- PANPlayer2.Left = mS(230)
- PANNPC1 = createPanel(PTab1)
- PANNPC1.Color = 0x999999
- setProperty(PANNPC1, 'BorderStyle', 'bsNone')
- setProperty(PANNPC1, 'BevelOuter', 'bvNone')
- PANNPC1.Height = mS(20)
- PANNPC1.Width = mS(102)
- PANNPC1.Top = mS(10)
- PANNPC1.Left = mS(332)
- PANNPC1.Caption = 'NPCs'
- PANNPC2 = createPanel(PTab1)
- PANNPC2.Color = 0x999999
- setProperty(PANNPC2, 'BorderStyle', 'bsNone')
- setProperty(PANNPC2, 'BevelOuter', 'bvNone')
- PANNPC2.Height = mS(75)
- PANNPC2.Width = mS(102)
- PANNPC2.Top = mS(30)
- PANNPC2.Left = mS(332)
- ShieldBtn = createToggleBox(PTab1)
- ShieldBtn.Caption ='Shield damage'
- ShieldBtn.Height = mS(20)
- ShieldBtn.Width = mS(205)
- ShieldBtn.Left = mS(10)
- ShieldBtn.Top = mS(30)
- ShieldBtn.Enabled = False
- ShieldTB = createTrackBar(PANPlayer2)
- ShieldTB.Height = mS(20)
- ShieldTB.Width = mS(100)
- ShieldTB.Left = mS(1)
- ShieldTB.Top = mS(0)
- ShieldTB.Min = 0
- ShieldTB.Max = 20
- ShieldTB.Position = 10
- ShieldTB.Enabled = False
- ShieldNPCTB = createTrackBar(PANNPC2)
- ShieldNPCTB.Height = mS(20)
- ShieldNPCTB.Width = mS(100)
- ShieldNPCTB.Left = mS(1)
- ShieldNPCTB.Top = mS(0)
- ShieldNPCTB.Min = 0
- ShieldNPCTB.Max = 20
- ShieldNPCTB.Position = 0
- ShieldNPCTB.Enabled = False
- HullBtn = createToggleBox(PTab1)
- HullBtn.Caption ='Hull damage'
- HullBtn.Height = mS(20)
- HullBtn.Width = mS(205)
- HullBtn.Left = mS(10)
- HullBtn.Top = mS(55)
- HullBtn.Enabled = False
- HullTB = createTrackBar(PANPlayer2)
- HullTB.Height = mS(20)
- HullTB.Width = mS(100)
- HullTB.Left = mS(1)
- HullTB.Top = mS(25)
- HullTB.Min = 0
- HullTB.Max = 20
- HullTB.Position = 10
- HullTB.Enabled = False
- HullNPCTB = createTrackBar(PANNPC2)
- HullNPCTB.Height = mS(20)
- HullNPCTB.Width = mS(100)
- HullNPCTB.Left = mS(1)
- HullNPCTB.Top = mS(25)
- HullNPCTB.Min = 0
- HullNPCTB.Max = 20
- HullNPCTB.Position = 0
- HullNPCTB.Enabled = False
- ModuleBtn = createToggleBox(PTab1)
- ModuleBtn.Caption ='Module damage'
- ModuleBtn.Height = mS(20)
- ModuleBtn.Width = mS(205)
- ModuleBtn.Left = mS(10)
- ModuleBtn.Top = mS(80)
- ModuleBtn.Enabled = False
- ModuleTB = createTrackBar(PANPlayer2)
- ModuleTB.Height = mS(20)
- ModuleTB.Width = mS(100)
- ModuleTB.Left = mS(1)
- ModuleTB.Top = mS(50)
- ModuleTB.Min = 0
- ModuleTB.Max = 20
- ModuleTB.Position = 10
- ModuleTB.Enabled = False
- ModuleNPCTB = createTrackBar(PANNPC2)
- ModuleNPCTB.Height = mS(20)
- ModuleNPCTB.Width = mS(100)
- ModuleNPCTB.Left = mS(1)
- ModuleNPCTB.Top = mS(50)
- ModuleNPCTB.Min = 0
- ModuleNPCTB.Max = 20
- ModuleNPCTB.Position = 0
- ModuleNPCTB.Enabled = False
- InterdictBtn = createToggleBox(PTab1)
- InterdictBtn.Caption ='No interdiction'
- InterdictBtn.Height = mS(20)
- InterdictBtn.Width = mS(205)
- InterdictBtn.Left = mS(10)
- InterdictBtn.Top = mS(110)
- InterdictBtn.Enabled = False
- HeatsinkBtn = createToggleBox(PTab1)
- HeatsinkBtn.Caption ='Endless heatsink'
- HeatsinkBtn.Height = mS(20)
- HeatsinkBtn.Width = mS(205)
- HeatsinkBtn.Left = mS(230)
- HeatsinkBtn.Top = mS(110)
- HeatsinkBtn.Enabled = False
- -- ================ Panel 2 ================
- FuelScoopBtn = createToggleBox(PTab2)
- FuelScoopBtn.Caption ='Fuel scoop multiplier'
- FuelScoopBtn.Height = mS(20)
- FuelScoopBtn.Width = mS(205)
- FuelScoopBtn.Left = mS(10)
- FuelScoopBtn.Top = mS(20)
- FuelScoopBtn.Enabled = False
- FuelScoopTB = createTrackBar(PTab2)
- FuelScoopTB.Height = mS(20)
- FuelScoopTB.Width = mS(205)
- FuelScoopTB.Left = mS(230)
- FuelScoopTB.Top = mS(20)
- FuelScoopTB.Min = 0
- FuelScoopTB.Max = 20
- FuelScoopTB.Position = 4
- FuelScoopTB.Enabled = False
- HyperAnimBtn = createToggleBox(PTab2)
- HyperAnimBtn.Caption ='Hyperspace animation speed'
- HyperAnimBtn.Height = mS(20)
- HyperAnimBtn.Width = mS(205)
- HyperAnimBtn.Left = mS(10)
- HyperAnimBtn.Top = mS(45)
- HyperAnimBtn.Enabled = False
- HyperAnimTB = createTrackBar(PTab2)
- HyperAnimTB.Height = mS(20)
- HyperAnimTB.Width = mS(205)
- HyperAnimTB.Left = mS(230)
- HyperAnimTB.Top = mS(45)
- HyperAnimTB.Min = 0
- HyperAnimTB.Max = 20
- HyperAnimTB.Position = 4
- HyperAnimTB.Enabled = False
- MassBtn = createToggleBox(PTab2)
- MassBtn.Caption ='No masslock'
- MassBtn.Height = mS(20)
- MassBtn.Width = mS(205)
- MassBtn.Left = mS(10)
- MassBtn.Top = mS(70)
- MassBtn.Enabled = False
- CooldownBtn = createToggleBox(PTab2)
- CooldownBtn.Caption ='No cooldown'
- CooldownBtn.Height = mS(20)
- CooldownBtn.Width = mS(205)
- CooldownBtn.Left = mS(230)
- CooldownBtn.Top = mS(70)
- CooldownBtn.Enabled = False
- JumpchargeBtn = createToggleBox(PTab2)
- JumpchargeBtn.Caption ='No jump charge'
- JumpchargeBtn.Height = mS(20)
- JumpchargeBtn.Width = mS(205)
- JumpchargeBtn.Left = mS(10)
- JumpchargeBtn.Top = mS(95)
- JumpchargeBtn.Enabled = False
- JumpcountBtn = createToggleBox(PTab2)
- JumpcountBtn.Caption ='No jump countdown'
- JumpcountBtn.Height = mS(20)
- JumpcountBtn.Width = mS(205)
- JumpcountBtn.Left = mS(230)
- JumpcountBtn.Top = mS(95)
- JumpcountBtn.Enabled = False
- OmnijumpBtn = createToggleBox(PTab2)
- OmnijumpBtn.Caption ='All directions jump'
- OmnijumpBtn.Height = mS(20)
- OmnijumpBtn.Width = mS(205)
- OmnijumpBtn.Left = mS(10)
- OmnijumpBtn.Top = mS(120)
- OmnijumpBtn.Enabled = False
- DropOffBtn = createToggleBox(PTab2)
- DropOffBtn.Caption ='Drop off to target'
- DropOffBtn.Height = mS(20)
- DropOffBtn.Width = mS(205)
- DropOffBtn.Left = mS(230)
- DropOffBtn.Top = mS(120)
- DropOffBtn.Enabled = False
- -- ================ Panel 3 ================
- KwsSpeedBtn = createToggleBox(PTab3)
- KwsSpeedBtn.Caption ='KWS speed multiplier'
- KwsSpeedBtn.Height = mS(20)
- KwsSpeedBtn.Width = mS(205)
- KwsSpeedBtn.Left = mS(10)
- KwsSpeedBtn.Top = mS(20)
- KwsSpeedBtn.Enabled = False
- KwsSpeedTB = createTrackBar(PTab3)
- KwsSpeedTB.Height = mS(20)
- KwsSpeedTB.Width = mS(205)
- KwsSpeedTB.Left = mS(230)
- KwsSpeedTB.Top = mS(20)
- KwsSpeedTB.Min = 0
- KwsSpeedTB.Max = 20
- KwsSpeedTB.Position = 4
- KwsSpeedTB.Enabled = False
- KwsomniBtn = createToggleBox(PTab3)
- KwsomniBtn.Caption ='All directions KWS scan'
- KwsomniBtn.Height = mS(20)
- KwsomniBtn.Width = mS(205)
- KwsomniBtn.Left = mS(10)
- KwsomniBtn.Top = mS(45)
- KwsomniBtn.Enabled = False
- KwslongBtn = createToggleBox(PTab3)
- KwslongBtn.Caption ='Distant KWS scan'
- KwslongBtn.Height = mS(20)
- KwslongBtn.Width = mS(205)
- KwslongBtn.Left = mS(230)
- KwslongBtn.Top = mS(45)
- KwslongBtn.Enabled = False
- NormalscanSpeedBtn = createToggleBox(PTab3)
- NormalscanSpeedBtn.Caption ='Ship scan speed multiplier'
- NormalscanSpeedBtn.Height = mS(20)
- NormalscanSpeedBtn.Width = mS(205)
- NormalscanSpeedBtn.Left = mS(10)
- NormalscanSpeedBtn.Top = mS(70)
- NormalscanSpeedBtn.Enabled = False
- NormalscanSpeedTB = createTrackBar(PTab3)
- NormalscanSpeedTB.Height = mS(20)
- NormalscanSpeedTB.Width = mS(205)
- NormalscanSpeedTB.Left = mS(230)
- NormalscanSpeedTB.Top = mS(70)
- NormalscanSpeedTB.Min = 0
- NormalscanSpeedTB.Max = 20
- NormalscanSpeedTB.Position = 4
- NormalscanSpeedTB.Enabled = False
- NormalscanBtn = createToggleBox(PTab3)
- NormalscanBtn.Caption ='All directions ship scan'
- NormalscanBtn.Height = mS(20)
- NormalscanBtn.Width = mS(205)
- NormalscanBtn.Left = mS(10)
- NormalscanBtn.Top = mS(95)
- NormalscanBtn.Enabled = False
- PlanetomniBtn = createToggleBox(PTab3)
- PlanetomniBtn.Caption ='All directions planet scan'
- PlanetomniBtn.Height = mS(20)
- PlanetomniBtn.Width = mS(205)
- PlanetomniBtn.Left = mS(10)
- PlanetomniBtn.Top = mS(120)
- PlanetomniBtn.Enabled = False
- PlanetlongBtn = createToggleBox(PTab3)
- PlanetlongBtn.Caption ='Distant planet scan'
- PlanetlongBtn.Height = mS(20)
- PlanetlongBtn.Width = mS(205)
- PlanetlongBtn.Left = mS(230)
- PlanetlongBtn.Top = mS(120)
- PlanetlongBtn.Enabled = False
- PlanetScanSpeedBtn = createToggleBox(PTab3)
- PlanetScanSpeedBtn.Caption ='Planet scan speed multiplier'
- PlanetScanSpeedBtn.Height = mS(20)
- PlanetScanSpeedBtn.Width = mS(205)
- PlanetScanSpeedBtn.Left = mS(10)
- PlanetScanSpeedBtn.Top = mS(145)
- PlanetScanSpeedBtn.Enabled = False
- PlanetScanSpeedTB = createTrackBar(PTab3)
- PlanetScanSpeedTB.Height = mS(20)
- PlanetScanSpeedTB.Width = mS(205)
- PlanetScanSpeedTB.Left = mS(230)
- PlanetScanSpeedTB.Top = mS(145)
- PlanetScanSpeedTB.Min = 0
- PlanetScanSpeedTB.Max = 20
- PlanetScanSpeedTB.Position = 4
- PlanetScanSpeedTB.Enabled = False
- DiscoveryScanSpeedBtn = createToggleBox(PTab3)
- DiscoveryScanSpeedBtn.Caption ='Discovery scan speed multiplier'
- DiscoveryScanSpeedBtn.Height = mS(20)
- DiscoveryScanSpeedBtn.Width = mS(205)
- DiscoveryScanSpeedBtn.Left = mS(10)
- DiscoveryScanSpeedBtn.Top = mS(170)
- DiscoveryScanSpeedBtn.Enabled = False
- DiscoveryScanSpeedTB = createTrackBar(PTab3)
- DiscoveryScanSpeedTB.Height = mS(20)
- DiscoveryScanSpeedTB.Width = mS(205)
- DiscoveryScanSpeedTB.Left = mS(230)
- DiscoveryScanSpeedTB.Top = mS(170)
- DiscoveryScanSpeedTB.Min = 0
- DiscoveryScanSpeedTB.Max = 20
- DiscoveryScanSpeedTB.Position = 4
- DiscoveryScanSpeedTB.Enabled = False
- -- ================ Panel 4 ================
- NfAgilityBtn = createToggleBox(PTab4)
- NfAgilityBtn.Caption ='Normal flight agility'
- NfAgilityBtn.Height = mS(20)
- NfAgilityBtn.Width = mS(205)
- NfAgilityBtn.Left = mS(10)
- NfAgilityBtn.Top = mS(20)
- NfAgilityBtn.Enabled = False
- NfAgilityNpcBtn = createToggleBox(PTab4)
- NfAgilityNpcBtn.Caption ='Paralyze NPCs'
- NfAgilityNpcBtn.Height = mS(20)
- NfAgilityNpcBtn.Width = mS(205)
- NfAgilityNpcBtn.Left = mS(230)
- NfAgilityNpcBtn.Top = mS(20)
- NfAgilityNpcBtn.Enabled = False
- SpeedLabel = createLabel(PTab4)
- SpeedLabel.Caption ='Normal flight max speed'
- SpeedLabel.Height = mS(20)
- SpeedLabel.Width = mS(205)
- SpeedLabel.Left = mS(10)
- SpeedLabel.Top = mS(45)
- SpeedTB = createTrackBar(PTab4)
- SpeedTB.Height = mS(20)
- SpeedTB.Width = mS(205)
- SpeedTB.Left = mS(230)
- SpeedTB.Top = mS(45)
- SpeedTB.Min = 0
- SpeedTB.Max = 20
- SpeedTB.Position = 0
- SpeedTB.Enabled = False
- NfPitchLabel = createLabel(PTab4)
- NfPitchLabel.Caption ='Normal flight pitch'
- NfPitchLabel.Height = mS(20)
- NfPitchLabel.Width = mS(205)
- NfPitchLabel.Left = mS(10)
- NfPitchLabel.Top = mS(60)
- NfPitchTB = createTrackBar(PTab4)
- NfPitchTB.Height = mS(20)
- NfPitchTB.Width = mS(205)
- NfPitchTB.Left = mS(230)
- NfPitchTB.Top = mS(60)
- NfPitchTB.Min = 0
- NfPitchTB.Max = 20
- NfPitchTB.Position = 4
- NfPitchTB.Enabled = False
- NfRollLabel = createLabel(PTab4)
- NfRollLabel.Caption ='Normal flight roll'
- NfRollLabel.Height = mS(20)
- NfRollLabel.Width = mS(205)
- NfRollLabel.Left = mS(10)
- NfRollLabel.Top = mS(75)
- NfRollTB = createTrackBar(PTab4)
- NfRollTB.Height = mS(20)
- NfRollTB.Width = mS(205)
- NfRollTB.Left = mS(230)
- NfRollTB.Top = mS(75)
- NfRollTB.Min = 0
- NfRollTB.Max = 20
- NfRollTB.Position = 4
- NfRollTB.Enabled = False
- NfYawLabel = createLabel(PTab4)
- NfYawLabel.Caption ='Normal flight yaw'
- NfYawLabel.Height = mS(20)
- NfYawLabel.Width = mS(205)
- NfYawLabel.Left = mS(10)
- NfYawLabel.Top = mS(90)
- NfYawTB = createTrackBar(PTab4)
- NfYawTB.Height = mS(20)
- NfYawTB.Width = mS(205)
- NfYawTB.Left = mS(230)
- NfYawTB.Top = mS(90)
- NfYawTB.Min = 0
- NfYawTB.Max = 20
- NfYawTB.Position = 4
- NfYawTB.Enabled = False
- ScAgilityBtn = createToggleBox(PTab4)
- ScAgilityBtn.Caption ='Supercruise flight agility'
- ScAgilityBtn.Height = mS(20)
- ScAgilityBtn.Width = mS(205)
- ScAgilityBtn.Left = mS(10)
- ScAgilityBtn.Top = mS(115)
- ScAgilityBtn.Enabled = False
- ScPitchLabel = createLabel(PTab4)
- ScPitchLabel.Caption ='Supercruise flight pitch'
- ScPitchLabel.Height = mS(20)
- ScPitchLabel.Width = mS(205)
- ScPitchLabel.Left = mS(10)
- ScPitchLabel.Top = mS(140)
- ScPitchTB = createTrackBar(PTab4)
- ScPitchTB.Height = mS(20)
- ScPitchTB.Width = mS(205)
- ScPitchTB.Left = mS(230)
- ScPitchTB.Top = mS(140)
- ScPitchTB.Min = 0
- ScPitchTB.Max = 20
- ScPitchTB.Position = 4
- ScPitchTB.Enabled = False
- ScRollLabel = createLabel(PTab4)
- ScRollLabel.Caption ='Supercruise flight roll'
- ScRollLabel.Height = mS(20)
- ScRollLabel.Width = mS(205)
- ScRollLabel.Left = mS(10)
- ScRollLabel.Top = mS(155)
- ScRollTB = createTrackBar(PTab4)
- ScRollTB.Height = mS(20)
- ScRollTB.Width = mS(205)
- ScRollTB.Left = mS(230)
- ScRollTB.Top = mS(155)
- ScRollTB.Min = 0
- ScRollTB.Max = 20
- ScRollTB.Position = 4
- ScRollTB.Enabled = False
- ScYawLabel = createLabel(PTab4)
- ScYawLabel.Caption ='Supercruise flight yaw'
- ScYawLabel.Height = mS(20)
- ScYawLabel.Width = mS(205)
- ScYawLabel.Left = mS(10)
- ScYawLabel.Top = mS(170)
- ScYawTB = createTrackBar(PTab4)
- ScYawTB.Height = mS(20)
- ScYawTB.Width = mS(205)
- ScYawTB.Left = mS(230)
- ScYawTB.Top = mS(170)
- ScYawTB.Min = 0
- ScYawTB.Max = 20
- ScYawTB.Position = 4
- ScYawTB.Enabled = False
- -- ================ Panel 5 ================
- JumpFuelBtn = createToggleBox(PTab5)
- JumpFuelBtn.Caption ='Jump fuel consumption'
- JumpFuelBtn.Height = mS(20)
- JumpFuelBtn.Width = mS(205)
- JumpFuelBtn.Left = mS(10)
- JumpFuelBtn.Top = mS(20)
- JumpFuelBtn.Enabled = False
- JumpFuelTB = createTrackBar(PTab5)
- JumpFuelTB.Height = mS(20)
- JumpFuelTB.Width = mS(205)
- JumpFuelTB.Left = mS(230)
- JumpFuelTB.Top = mS(20)
- JumpFuelTB.Min = 0
- JumpFuelTB.Max = 20
- JumpFuelTB.Position = 10
- JumpFuelTB.Enabled = False
- FlightFuelBtn = createToggleBox(PTab5)
- FlightFuelBtn.Caption ='Flight fuel consumption'
- FlightFuelBtn.Height = mS(20)
- FlightFuelBtn.Width = mS(205)
- FlightFuelBtn.Left = mS(10)
- FlightFuelBtn.Top = mS(45)
- FlightFuelBtn.Enabled = False
- FlightFuelTB = createTrackBar(PTab5)
- FlightFuelTB.Height = mS(20)
- FlightFuelTB.Width = mS(205)
- FlightFuelTB.Left = mS(230)
- FlightFuelTB.Top = mS(45)
- FlightFuelTB.Min = 0
- FlightFuelTB.Max = 20
- FlightFuelTB.Position = 10
- FlightFuelTB.Enabled = False
- EnergyBtn = createToggleBox(PTab5)
- EnergyBtn.Caption ='Energy consumption'
- EnergyBtn.Height = mS(20)
- EnergyBtn.Width = mS(205)
- EnergyBtn.Left = mS(10)
- EnergyBtn.Top = mS(70)
- EnergyBtn.Enabled = False
- EnergyTB = createTrackBar(PTab5)
- EnergyTB.Height = mS(20)
- EnergyTB.Width = mS(205)
- EnergyTB.Left = mS(230)
- EnergyTB.Top = mS(70)
- EnergyTB.Min = 0
- EnergyTB.Max = 20
- EnergyTB.Position = 10
- EnergyTB.Enabled = False
- AmmoBtn = createToggleBox(PTab5)
- AmmoBtn.Caption ='Freeze ammo'
- AmmoBtn.Height = mS(20)
- AmmoBtn.Width = mS(205)
- AmmoBtn.Left = mS(10)
- AmmoBtn.Top = mS(95)
- AmmoBtn.Enabled = False
- NoscoopBtn = createToggleBox(PTab5)
- NoscoopBtn.Caption ='No scoop'
- NoscoopBtn.Height = mS(20)
- NoscoopBtn.Width = mS(205)
- NoscoopBtn.Left = mS(230)
- NoscoopBtn.Top = mS(95)
- NoscoopBtn.Enabled = False
- SuperchargeBtn = createToggleBox(PTab5)
- SuperchargeBtn.Caption ='Supercharge FSD'
- SuperchargeBtn.Height = mS(20)
- SuperchargeBtn.Width = mS(205)
- SuperchargeBtn.Left = mS(10)
- SuperchargeBtn.Top = mS(120)
- SuperchargeBtn.Enabled = False
- -- ================ Under panels ================
- PAN1 = createPanel(TRN)
- PAN1.Color = 0xBFBFBF
- setProperty(PAN1, 'BorderStyle', 'bsNone')
- setProperty(PAN1, 'BevelOuter', 'bvNone')
- setProperty(PAN1, 'Align', 'alBottom')
- PAN1.Height = mS(57)
- PAN1.Width = mS(450)
- DisAllBtn = createButton(PAN1)
- DisAllBtn.Caption ='Suspend active cheats'
- DisAllBtn.Height = mS(20)
- DisAllBtn.Width = mS(205)
- DisAllBtn.Left = mS(14)
- DisAllBtn.Top = mS(5)
- DisAllBtn.Enabled = False
- ReactivBtn = createButton(PAN1)
- ReactivBtn.Caption ='Resume suspended cheats'
- ReactivBtn.Height = mS(20)
- ReactivBtn.Width = mS(205)
- ReactivBtn.Left = mS(234)
- ReactivBtn.Top = mS(5)
- ReactivBtn.Enabled = False
- PAN1Label = createLabel(PAN1)
- PAN1Label.Align = 'alBottom'
- PAN1Label.Height = mS(32)
- PAN1Label.Alignment = 'taCenter'
- setProperty(PAN1Label, 'WordWrap', 'True')
- PAN1Label.Caption = 'Credits: Made upon hard work of Randshot, NU199, lorddoggy, Apeman, kabachi, laji, djdoom32, hasoon, Hans211, hoki, Jamesc00ls, Dark Byte and many others.'
- TRN.show()
- TRN.onClose = function()
- closeCE()
- return caFree
- end
- ShieldBtn.onChange = function()
- if state['shield'] then status_upd('Shield damage is OFF') else status_upd('Shield damage is ON') end
- toggle('shield')
- end
- ShieldTB.onChange = function()
- local val = ShieldTB.Position * 5
- status_upd(string.format('Player shield damage changed to %d %%', val))
- writeFloat(getAddress('shieldmul'), val/100)
- end
- ShieldNPCTB.onChange = function()
- local val = ShieldNPCTB.Position * 50
- status_upd(string.format('NPCs shield damage changed to +%d %%', val))
- writeFloat(getAddress('shieldnpcmul'), 1.0+(val/100))
- end
- HullBtn.onChange = function()
- if state['hull'] then status_upd('Hull damage is OFF') else status_upd('Hull damage is ON') end
- toggle('hull')
- end
- HullTB.onChange = function()
- local val = HullTB.Position * 5
- status_upd(string.format('Player hull damage changed to %d %%', val))
- writeFloat(getAddress('hullmul'), val/100)
- end
- HullNPCTB.onChange = function()
- local val = HullNPCTB.Position * 50
- status_upd(string.format('NPCs hull damage changed to +%d %%', val))
- writeFloat(getAddress('hullnpcmul'), 1.0+(val/100))
- end
- ModuleBtn.onChange = function()
- if state['module'] then status_upd('Modules damage is OFF') else status_upd('Modules damage is ON') end
- toggle('module')
- end
- ModuleTB.onChange = function()
- local val = ModuleTB.Position * 5
- status_upd(string.format('Player modules damage changed to %d %%', val))
- writeFloat(getAddress('modulemul'), val/100)
- end
- ModuleNPCTB.onChange = function()
- local val = ModuleNPCTB.Position * 50
- status_upd(string.format('NPCs modules damage changed to +%d %%', val))
- writeFloat(getAddress('modulenpcmul'), 1.0+(val/100))
- end
- EnergyBtn.onChange = function()
- if state['energy'] then status_upd('Energy consumption is OFF') else status_upd('Energy consumption is ON') end
- toggle('energy')
- end
- EnergyTB.onChange = function()
- local val = EnergyTB.Position * 5
- status_upd(string.format('Energy consumption changed to %d %%', val))
- if val == 0 then val = 0.1 end
- writeFloat(getAddress('energymul'), val/100)
- end
- InterdictBtn.onChange = function()
- if state['interdict'] then status_upd('No interdiction is OFF') else status_upd('No interdiction is ON') end
- toggle('interdict')
- end
- AmmoBtn.onChange = function()
- if state['ammo'] then status_upd('Freeze ammo is OFF') else status_upd('Freeze ammo is ON') end
- toggle('ammo')
- end
- HeatsinkBtn.onChange = function()
- if state['heatsink'] then status_upd('Endless heatsink is OFF') else status_upd('Endless heatsink is ON') end
- toggle('heatsink')
- end
- NoscoopBtn.onChange = function()
- if state['noscoop'] then status_upd('No scoop is OFF') else status_upd('No scoop is ON') end
- toggle('noscoop')
- end
- JumpFuelBtn.onChange = function()
- if state['jumpfuel'] then status_upd('Jump fuel consumption is OFF') else status_upd('Jump fuel consumption is ON') end
- toggle('jumpfuel')
- end
- JumpFuelTB.onChange = function()
- local val = JumpFuelTB.Position * 5
- status_upd(string.format('Jump fuel consumption changed to %d %%', val))
- writeFloat(getAddress('jumpfuelmul'), val/100)
- end
- FlightFuelBtn.onChange = function()
- if state['flightfuel'] then status_upd('Normal flight fuel consumption is OFF') else status_upd('Normal flight fuel consumption is ON') end
- toggle('flightfuel')
- end
- FlightFuelTB.onChange = function()
- local val = FlightFuelTB.Position * 5
- status_upd(string.format('Normal flight fuel consumption changed to %d %%', val))
- writeDouble(getAddress('flightfuelmul'), val/100)
- end
- FuelScoopBtn.onChange = function()
- if state['fuelscoop'] then status_upd('Fuel scoop multiplier is OFF') else status_upd('Fuel scoop multiplier is ON') end
- toggle('fuelscoop')
- end
- FuelScoopTB.onChange = function()
- local val = FuelScoopTB.Position * 50
- status_upd(string.format('Fuel scoop multiplier changed to +%d %%', val))
- writeFloat(getAddress('fuelscoopmul'), 1.0+(val/100))
- end
- HyperAnimBtn.onChange = function()
- if state['hyperanim'] then status_upd('Hyperspace animation speed is OFF') else status_upd('Hyperspace animation speed is ON') end
- toggle('hyperanim')
- end
- HyperAnimTB.onChange = function()
- local val = HyperAnimTB.Position * 50
- status_upd(string.format('Hyperspace animation speed changed to +%d %%', val))
- writeFloat(getAddress('hyperanimmul'), 1.0+(val/100))
- end
- MassBtn.onChange = function()
- if state['masslock'] then status_upd('No masslock is OFF') else status_upd('No masslock is ON') end
- toggle('masslock')
- end
- CooldownBtn.onChange = function()
- if state['cooldown'] then status_upd('No cooldown is OFF') else status_upd('No cooldown is ON') end
- toggle('cooldown')
- end
- JumpchargeBtn.onChange = function()
- if state['jumpcharge'] then status_upd('No jump charge is OFF') else status_upd('No jump charge is ON') end
- toggle('jumpcharge')
- end
- JumpcountBtn.onChange = function()
- if state['jumpcount'] then status_upd('No jump countdown is OFF') else status_upd('No jump countdown is ON') end
- toggle('jumpcount')
- end
- OmnijumpBtn.onChange = function()
- if state['omnijump'] then status_upd('All directions jump is OFF') else status_upd('All directions jump is ON') end
- toggle('omnijump')
- end
- DropOffBtn.onChange = function()
- if state['dropoff'] then status_upd('Drop off to target is OFF') else status_upd('Drop off to target is ON') end
- toggle('dropoff')
- end
- SuperchargeBtn.onChange = function()
- if state['supercharge'] then status_upd('FSD supercharge is OFF') else status_upd('FSD supercharge is ON') end
- toggle('supercharge')
- end
- KwsSpeedBtn.onChange = function()
- if state['kwsspeed'] then status_upd('KWS speed multiplier is OFF') else status_upd('KWS speed multiplier is ON') end
- toggle('kwsspeed')
- end
- KwsSpeedTB.onChange = function()
- local val = KwsSpeedTB.Position * 50
- status_upd(string.format('KWS speed multiplier changed to +%d %%', val))
- writeFloat(getAddress('kwsspeedmul'), 1.0+(val/100))
- end
- KwsomniBtn.onChange = function()
- if state['kwsomni'] then status_upd('All directions KWS scan is OFF') else status_upd('All directions KWS scan is ON') end
- toggle('kwsomni')
- end
- KwslongBtn.onChange = function()
- if state['kwslong'] then status_upd('Distant KWS scan is OFF') else status_upd('Distant KWS scan is ON') end
- toggle('kwslong')
- end
- NormalscanSpeedBtn.onChange = function()
- if state['normalscanspeed'] then status_upd('Ship scan speed multiplier is OFF') else status_upd('Ship scan speed multiplier is ON') end
- toggle('normalscanspeed')
- end
- NormalscanSpeedTB.onChange = function()
- local val = NormalscanSpeedTB.Position * 50
- status_upd(string.format('Ship scan speed multiplier changed to +%d %%', val))
- writeFloat(getAddress('normalscanspeedmul'), 1.0+(val/100))
- end
- NormalscanBtn.onChange = function()
- if state['normalscan'] then status_upd('All directions ship scan is OFF') else status_upd('All directions ship scan is ON') end
- toggle('normalscan')
- end
- PlanetomniBtn.onChange = function()
- if state['planetomni'] then status_upd('All directions planet scan is OFF') else status_upd('All directions planet scan is ON') end
- toggle('planetomni')
- end
- PlanetlongBtn.onChange = function()
- if state['planetlong'] then status_upd('Distant planet scan is OFF') else status_upd('Distant planet scan is ON') end
- toggle('planetlong')
- end
- PlanetScanSpeedBtn.onChange = function()
- if state['planetscanspeed'] then status_upd('Planet scan speed multiplier is OFF') else status_upd('Planet scan speed multiplier is ON') end
- toggle('planetscanspeed')
- end
- PlanetScanSpeedTB.onChange = function()
- local val = PlanetScanSpeedTB.Position * 50
- status_upd(string.format('Planet scan speed multiplier changed to +%d %%', val))
- writeFloat(getAddress('planetscanspeedmul'), 1.0+(val/100))
- end
- DiscoveryScanSpeedBtn.onChange = function()
- if state['discoveryscanspeed'] then status_upd('Discovery scan speed multiplier is OFF') else status_upd('Discovery scan speed multiplier is ON') end
- toggle('discoveryscanspeed')
- end
- DiscoveryScanSpeedTB.onChange = function()
- local val = DiscoveryScanSpeedTB.Position * 50
- status_upd(string.format('Discovery scan speed multiplier changed to +%d %%', val))
- writeFloat(getAddress('discoveryscanspeedmul'), 1.0+(val/100))
- end
- NfAgilityBtn.onChange = function()
- if state['nfagility'] then
- status_upd('Normal flight agility is OFF')
- NfAgilityNpcBtn.Enabled = false
- NfAgilityNpcBtn.Checked = false
- writeFloat(getAddress('nfnpcmul'), 1.0)
- else
- status_upd('Normal flight agility is ON')
- NfAgilityNpcBtn.Enabled = true
- end
- toggle('nfagility')
- end
- NfAgilityNpcBtn.onChange = function()
- if NfAgilityNpcBtn.Checked then
- status_upd('Normal flight NPCs paralyze is ON')
- writeFloat(getAddress('nfnpcmul'), 0.0)
- else
- status_upd('Normal flight NPCs paralyze is OFF')
- writeFloat(getAddress('nfnpcmul'), 1.0)
- end
- end
- SpeedTB.onChange = function()
- local val = SpeedTB.Position * 20
- status_upd(string.format('Normal flight max speed multiplier changed to +%d %%', val))
- writeFloat(getAddress('nfspeedmul'), 1.0+(val/100))
- end
- NfPitchTB.onChange = function()
- local val = NfPitchTB.Position * 25
- status_upd(string.format('Normal flight pitch multiplier changed to +%d %%', val))
- writeFloat(getAddress('nfpitchmul'), 1.0+(val/100))
- end
- NfRollTB.onChange = function()
- local val = NfRollTB.Position * 25
- status_upd(string.format('Normal flight roll multiplier changed to +%d %%', val))
- writeFloat(getAddress('nfrollmul'), 1.0+(val/100))
- end
- NfYawTB.onChange = function()
- local val = NfYawTB.Position * 50
- status_upd(string.format('Normal flight yaw multiplier changed to +%d %%', val))
- writeFloat(getAddress('nfyawmul'), 1.0+(val/100))
- end
- ScAgilityBtn.onChange = function()
- if state['scagility'] then status_upd('Supercruise flight agility is OFF') else status_upd('Supercruise flight agility is ON') end
- toggle('scagility')
- end
- ScPitchTB.onChange = function()
- local val = ScPitchTB.Position * 50
- status_upd(string.format('Supercruise flight pitch multiplier changed to +%d %%', val))
- writeFloat(getAddress('scpitchmul'), 1.0+(val/100))
- end
- ScRollTB.onChange = function()
- local val = ScRollTB.Position * 25
- status_upd(string.format('Supercruise flight roll multiplier changed to +%d %%', val))
- writeFloat(getAddress('scrollmul'), 1.0+(val/100))
- end
- ScYawTB.onChange = function()
- local val = ScYawTB.Position * 50
- status_upd(string.format('Supercruise flight yaw multiplier changed to +%d %%', val))
- writeFloat(getAddress('scyawmul'), 1.0+(val/100))
- end
- DisAllBtn.onClick = function()
- suspend_cheats()
- end
- ReactivBtn.onClick = function()
- resume_cheats()
- end
- function kill_game()
- os.execute([[TASKKILL /F /IM ]] .. process_name ..[[ /T]])
- status_upd('Something went wrong! Game process terminated.', 255)
- showMessage('Fatal error. Trainer terminated.\nContact author for newer version.')
- closeCE()
- return caFree
- end
- function B2S(bytes)
- local s = ''
- for i = 1, #bytes do
- s = s..string.format('%02X', bytes[i])
- if i < #bytes then s = s..' ' end
- end
- return s
- end
- function status_upd(msg, cvalue)
- local msg = msg or ''
- local cvalue = cvalue or 0
- StatusLabel2.Caption = msg
- setProperty(StatusLabel2.Font, 'Color', cvalue)
- end
- function dissectPEHeader(module)
- local base = getAddress(module)
- local msdosSize = byteTableToDword(readBytes(base + 0x3C, 2, true))
- local headerBase = base + msdosSize
- local numOfSections = byteTableToDword(readBytes(headerBase + 6, 2, true))
- local optionalHeaderSize = byteTableToDword(readBytes(headerBase + 20, 2, true))
- local sectionArrayBase = headerBase + 24 + optionalHeaderSize
- local pe_header = {
- base = base;
- msdosSize = msdosSize;
- headerBase = headerBase;
- numOfSections = numOfSections;
- optionalHeaderSize = optionalHeaderSize;
- sectionArrayBase = sectionArrayBase;
- }
- for i = 0, numOfSections - 1 do
- local sectionBase = sectionArrayBase + i * 40
- local sectionName = readString(sectionBase, 8)
- pe_header[sectionName] = {
- name = sectionName;
- base = sectionBase;
- size = byteTableToDword(readBytes(sectionBase + 8, 4, true));
- address = byteTableToDword(readBytes(sectionBase + 12, 4, true));
- sizeOfRawData = byteTableToDword(readBytes(sectionBase + 16, 4, true));
- pointerToRawData = byteTableToDword(readBytes(sectionBase + 20, 4, true));
- pointerToRawRelocations = byteTableToDword(readBytes(sectionBase + 24, 4, true));
- pointerToLineNumbers = byteTableToDword(readBytes(sectionBase + 28, 4, true));
- numOfRelocations = byteTableToDword(readBytes(sectionBase + 32, 2, true));
- numOfLineNumbers = byteTableToDword(readBytes(sectionBase + 34, 2, true));
- characteristics = byteTableToDword(readBytes(sectionBase + 36, 4, true));
- }
- end
- return pe_header
- end
- function AOBScan2(pattern, startaddr, module)
- local result = nil
- local module = module or process_name
- local endaddr = getAddress(module) + getModuleSize(module)
- local scan = createMemScan(true)
- scan.OnlyOneResult = true
- scan.firstScan(soExactValue, vtByteArray, 0, pattern, "", startaddr, endaddr, "*X*W*C", 0, "", true, true, false, false)
- scan.waitTillDone()
- result = scan.Result
- if result == nil then
- kill_game()
- end
- scan.destroy()
- scan=nil
- return result
- end
- function doPatch(name, patch_bytes)
- local size = 0
- for str in string.gmatch(patch_bytes, "([^%s]+)") do
- size = size + 1
- end
- local orig_bytes = readBytes(offset[name], size, true)
- enable[name] = string.format('%x:\ndb %s', offset[name], patch_bytes)
- disable[name] = string.format('%x:\ndb %s', offset[name], B2S(orig_bytes))
- state[name] = false
- if item[name] ~= nil then
- setProperty(item[name], 'Enabled', 'True')
- end
- end
- function doHook(name)
- local address = offset[name]
- local hooksize = 5
- -- Calculating hook size
- local size = 0
- repeat
- size = size + getInstructionSize(address + size)
- until size >= hooksize
- local returnaddress = address + size
- -- Adding nops to the patch string
- local nops = ''
- if (size > hooksize) then
- for i = 1, size - hooksize do
- nops = string.format('%s %s', nops, '90')
- end
- nops = string.format('%s%s', 'db', nops)
- end
- local aainit = string.format([==[
- alloc(jmp%s,128,%x) //address
- alloc(new%s,2048)
- alloc(old%s,1016)
- alloc(ret%s,8)
- alloc(bk%s,%i) //size
- registersymbol(jmp%s)
- registersymbol(new%s)
- registersymbol(old%s)
- registersymbol(ret%s)
- registersymbol(bk%s)
- ret%s:
- dq %x //returnaddress
- bk%s:
- readmem(%x,%i) //address,size
- ]==],
- name, address, name, name, name, name, size,
- name, name, name, name, name,
- name, returnaddress,
- name, address, size)
- local aainit2 = string.format([==[
- label(jmpaddress)
- old%s:
- readmem(bk%s,%i) //size
- jmp [ret%s]
- new%s:
- jmp old%s
- jmp%s:
- jmp [jmpaddress]
- jmpaddress:
- dq new%s
- ]==],name, name, size, name,
- name, name,
- name, name)
- enable[name] = string.format([==[
- %x: //address
- jmp jmp%s
- %s //nops
- ]==], address, name, nops)
- disable[name] = string.format([==[
- %x: //address
- readmem(bk%s,%i) //size
- ]==],address, name, size)
- autoAssemble(aainit)
- autoAssemble(aainit2)
- state[name] = false
- if item[name] ~= nil then
- setProperty(item[name], 'Enabled', 'True')
- end
- end
- function toggle(name)
- if state[name] then
- autoAssemble(disable[name])
- state[name] = false
- else
- autoAssemble(enable[name])
- state[name] = true
- end
- end
- function init()
- pause()
- for i=1,#sorted do
- local startaddr = 0
- if i==1 then startaddr = getAddress(process_name) else startaddr = offset[sorted[i-1]] end
- offset[sorted[i]] = AOBScan2(aob[sorted[i]], startaddr)
- end
- -- ==================================
- shift_text = readInteger(offset['textshift']+2)
- random_bytes = {}
- math.randomseed(os.time())
- for i=1,shift_text do
- random_bytes[i] = math.random(0,255)
- end
- local header = dissectPEHeader(process_name)
- PtrToRawData = header['.text'].pointerToRawData
- tstart = header.base + PtrToRawData
- tlength = header['.text'].sizeOfRawData + 0x1000
- tend = tstart + tlength
- local copycode = string.format([[
- alloc(_textcopy,%i,0x%x)
- registersymbol(_textcopy)
- _textcopy:
- db %s
- readmem(0x%x,%i)
- ]], tlength + shift_text, tend, B2S(random_bytes), tstart, tlength)
- autoAssemble(copycode)
- tcopy = getAddress('_textcopy') + shift_text
- doHook('check1')
- local check1code = string.format([[
- newcheck1:
- push rax
- mov rax,0x%x
- cmp rdx,rax
- pop rax
- jb oldcheck1
- push rax
- mov rax,0x%x
- cmp rdx,rax
- pop rax
- jge oldcheck1
- push rax
- mov rax,0x%x
- sub rdx,rax
- mov rax,0x%x
- add rdx,rax
- pop rax
- jmp oldcheck1
- ]], tstart, tend, tstart, tcopy)
- autoAssemble(check1code)
- toggle('check1')
- doHook('check2')
- local check2code = string.format([[
- newcheck2:
- push rax
- push rbx
- mov rax,[rsp+48]
- mov rbx,0x%x
- cmp rax,rbx
- pop rbx
- pop rax
- jne oldcheck2
- push rax
- mov rax,0x%x
- sub rax,0x%x
- mov [rsi+0x8],rax
- pop rax
- jmp oldcheck2
- ]], offset['check2caller'], tcopy, PtrToRawData)
- autoAssemble(check2code)
- toggle('check2')
- doHook('check3')
- local check3code = string.format([[
- newcheck3:
- push rax
- mov rax,0x%x
- cmp rcx,rax
- pop rax
- jb oldcheck3
- push rax
- mov rax,0x%x
- cmp rcx,rax
- pop rax
- jge oldcheck3
- push rax
- mov rax,0x%x
- sub rcx,rax
- mov rax,0x%x
- add rcx,rax
- pop rax
- jmp oldcheck3
- ]], tstart, tend, tstart, tcopy)
- autoAssemble(check3code)
- toggle('check3')
- doHook('check4')
- local check4code = string.format([[
- newcheck4:
- push rax
- mov rax,0x%x
- cmp rdx,rax
- pop rax
- jb oldcheck4
- push rax
- mov rax,0x%x
- cmp rdx,rax
- pop rax
- jge oldcheck4
- push rax
- mov rax,0x%x
- sub rdx,rax
- mov rax,0x%x
- add rdx,rax
- pop rax
- jmp oldcheck4
- ]], tstart, tend, tstart, tcopy)
- autoAssemble(check4code)
- toggle('check4')
- doPatch('energycheck', 'EB')
- toggle('energycheck')
- doPatch('shieldcheck1', 'EB')
- toggle('shieldcheck1')
- doPatch('shieldcheck2', 'F3 0F 58 C4 F3 0F 10 C6')
- toggle('shieldcheck2')
- doPatch('searchcheck', '31 C0')
- toggle('searchcheck')
- doPatch('jumpcheck1', 'EB')
- toggle('jumpcheck1')
- doPatch('jumpcheck2', 'EB')
- toggle('jumpcheck2')
- doPatch('jumpcheck3', 'EB')
- toggle('jumpcheck3')
- -- ==================================
- hullPtr_shield = readInteger(offset['hullinshield']+3)
- hullPtr_module = readInteger(offset['hullinmodule']+3)
- shipObjPtr_hull = readInteger(offset['shipinhull']+3)
- shipObjPtr = shipObjPtr_hull - readInteger(offset['hulloffsetshift']+3)
- isNpcPtr = 0x220
- doHook('shield')
- local shieldmulcode = string.format([[
- alloc(shieldmul,8,%x)
- alloc(shieldnpcmul,8,%x)
- registersymbol(shieldmul)
- registersymbol(shieldnpcmul)
- shieldmul:
- dd (float)0.5
- shieldnpcmul:
- dd (float)1.0
- ]],offset['shield'], offset['shield'])
- autoAssemble(shieldmulcode)
- setProperty(ShieldTB, 'Enabled', 'True')
- setProperty(ShieldNPCTB, 'Enabled', 'True')
- local shieldcode = string.format([[
- label(shield_npc)
- newshield:
- push rax
- mov rax,[rdi+0x%x] //hullPtr_shield
- mov rax,[rax+0x%x] //shipObjPtr
- test rax,rax
- pop rax
- jz shield_npc
- push rax
- push rbx
- mov rax,[rdi+0x%x] //hullPtr_shield
- mov rax,[rax+0x%x] //shipObjPtr
- mov bh,BYTE PTR [rax+0x%x] //isNpcPtr
- mov bl,BYTE PTR [rax+0x%x] //+1
- cmp bh,bl
- pop rbx
- pop rax
- jne shield_npc
- mulss xmm6,DWORD PTR [shieldmul]
- jmp oldshield
- shield_npc:
- mulss xmm6,DWORD PTR [shieldnpcmul]
- jmp oldshield
- ]], hullPtr_shield, shipObjPtr, hullPtr_shield, shipObjPtr, isNpcPtr, isNpcPtr+1)
- autoAssemble(shieldcode)
- doHook('hull')
- local hullmulcode = string.format([[
- alloc(hullmul,8,%x)
- alloc(hullnpcmul,8,%x)
- registersymbol(hullmul)
- registersymbol(hullnpcmul)
- hullmul:
- dd (float)0.5
- hullnpcmul:
- dd (float)1.0
- ]],offset['hull'], offset['hull'])
- autoAssemble(hullmulcode)
- setProperty(HullTB, 'Enabled', 'True')
- setProperty(HullNPCTB, 'Enabled', 'True')
- local hullcode = string.format([[
- label(hull_npc)
- newhull:
- push rax
- mov rax,[r14+0x%x] //shipObjPtr_hull
- test rax,rax
- pop rax
- jz hull_npc
- push rax
- push rbx
- mov rax,[r14+0x%x] //shipObjPtr_hull
- mov bh,BYTE PTR [rax+0x%x] //isNpcPtr
- mov bl,BYTE PTR [rax+0x%x] //+1
- cmp bh,bl
- pop rbx
- pop rax
- jne hull_npc
- mulss xmm7,DWORD PTR [hullmul]
- jmp oldhull
- hull_npc:
- mulss xmm7,DWORD PTR [hullnpcmul]
- jmp oldhull
- ]], shipObjPtr_hull, shipObjPtr_hull, isNpcPtr, isNpcPtr+1)
- autoAssemble(hullcode)
- doHook('module')
- local modulemulcode = string.format([[
- alloc(modulemul,8,%x)
- alloc(modulenpcmul,8,%x)
- registersymbol(modulemul)
- registersymbol(modulenpcmul)
- modulemul:
- dd (float)0.5
- modulenpcmul:
- dd (float)1.0
- ]],offset['module'], offset['module'])
- autoAssemble(modulemulcode)
- setProperty(ModuleTB, 'Enabled', 'True')
- setProperty(ModuleNPCTB, 'Enabled', 'True')
- local modulecode = string.format([[
- label(module_npc)
- newmodule:
- push rax
- mov rax,[rdi+0x%x] //hullPtr_module
- mov rax,[rax+0x%x] //shipObjPtr
- test rax,rax
- pop rax
- jz module_npc
- push rax
- push rbx
- mov rax,[rdi+0x%x] //hullPtr_module
- mov rax,[rax+0x%x] //shipObjPtr
- mov bh,BYTE PTR [rax+0x%x] //isNpcPtr
- mov bl,BYTE PTR [rax+0x%x] //+1
- cmp bh,bl
- pop rbx
- pop rax
- jne module_npc
- mulss xmm6,DWORD PTR [modulemul]
- jmp oldmodule
- module_npc:
- mulss xmm6,DWORD PTR [modulenpcmul]
- jmp oldmodule
- ]], hullPtr_module, shipObjPtr, hullPtr_module, shipObjPtr, isNpcPtr, isNpcPtr+1)
- autoAssemble(modulecode)
- doHook('energy')
- local energymulcode = string.format([[
- alloc(energymul,8,%x)
- registersymbol(energymul)
- energymul:
- dd (float)0.5
- ]],offset['energy'])
- autoAssemble(energymulcode)
- setProperty(EnergyTB, 'Enabled', 'True')
- local energycode = [[
- newenergy:
- mulss xmm6,DWORD PTR [energymul]
- jmp oldenergy
- ]]
- autoAssemble(energycode)
- doHook('jumpfuel')
- local jumpfuelmulcode = string.format([[
- alloc(jumpfuelmul,8,%x)
- registersymbol(jumpfuelmul)
- jumpfuelmul:
- dd (float)0.5
- ]],offset['jumpfuel'])
- autoAssemble(jumpfuelmulcode)
- setProperty(JumpFuelTB, 'Enabled', 'True')
- local jumpfuelcode = [[
- newjumpfuel:
- mulss xmm7,DWORD PTR [jumpfuelmul]
- jmp oldjumpfuel
- ]]
- autoAssemble(jumpfuelcode)
- doHook('flightfuel')
- local flightfuelmulcode = string.format([[
- alloc(flightfuelmul,8,%x)
- registersymbol(flightfuelmul)
- flightfuelmul:
- dq (double)0.5
- ]],offset['flightfuel'])
- autoAssemble(flightfuelmulcode)
- setProperty(FlightFuelTB, 'Enabled', 'True')
- local flightfuelcode = [[
- newflightfuel:
- movsd xmm6,[flightfuelmul]
- mulsd xmm1,xmm6
- jmp oldflightfuel
- ]]
- autoAssemble(flightfuelcode)
- doHook('fuelscoop')
- local fuelscoopmulcode = string.format([[
- alloc(fuelscoopmul,8,%x)
- registersymbol(fuelscoopmul)
- fuelscoopmul:
- dd (float)3.0
- ]],offset['fuelscoop'])
- autoAssemble(fuelscoopmulcode)
- setProperty(FuelScoopTB, 'Enabled', 'True')
- local fuelscoopcode = [[
- newfuelscoop:
- mulss xmm8,DWORD PTR [fuelscoopmul]
- jmp oldfuelscoop
- ]]
- autoAssemble(fuelscoopcode)
- doHook('hyperanim')
- local hyperanimmulcode = string.format([[
- alloc(hyperanimmul,8,%x)
- registersymbol(hyperanimmul)
- hyperanimmul:
- dd (float)3.0
- ]],offset['hyperanim'])
- autoAssemble(hyperanimmulcode)
- setProperty(HyperAnimTB, 'Enabled', 'True')
- local hyperanimcode = [[
- newhyperanim:
- mulss xmm2,DWORD PTR [hyperanimmul]
- jmp oldhyperanim
- ]]
- autoAssemble(hyperanimcode)
- doHook('kwsspeed')
- local kwsspeedmulcode = string.format([[
- alloc(kwsspeedmul,8,%x)
- registersymbol(kwsspeedmul)
- kwsspeedmul:
- dd (float)3.0
- ]],offset['kwsspeed'])
- autoAssemble(kwsspeedmulcode)
- setProperty(KwsSpeedTB, 'Enabled', 'True')
- local kwsspeedcode = [[
- newkwsspeed:
- mulss xmm8,DWORD PTR [kwsspeedmul]
- jmp oldkwsspeed
- ]]
- autoAssemble(kwsspeedcode)
- doHook('normalscanspeed')
- local normalscanspeedmulcode = string.format([[
- alloc(normalscanspeedmul,8,%x)
- registersymbol(normalscanspeedmul)
- normalscanspeedmul:
- dd (float)3.0
- ]],offset['normalscanspeed'])
- autoAssemble(normalscanspeedmulcode)
- setProperty(NormalscanSpeedTB, 'Enabled', 'True')
- local normalscanspeedcode = [[
- newnormalscanspeed:
- mulss xmm6,[normalscanspeedmul]
- jmp oldnormalscanspeed
- ]]
- autoAssemble(normalscanspeedcode)
- doHook('planetscanspeed')
- local planetscanspeedmulcode = string.format([[
- alloc(planetscanspeedmul,8,%x)
- registersymbol(planetscanspeedmul)
- planetscanspeedmul:
- dd (float)3.0
- ]],offset['planetscanspeed'])
- autoAssemble(planetscanspeedmulcode)
- setProperty(PlanetScanSpeedTB, 'Enabled', 'True')
- local planetscanspeedcode = [[
- newplanetscanspeed:
- mulss xmm0,[planetscanspeedmul]
- jmp oldplanetscanspeed
- ]]
- autoAssemble(planetscanspeedcode)
- doHook('discoveryscanspeed')
- local discoveryscanspeedmulcode = string.format([[
- alloc(discoveryscanspeedmul,8,%x)
- registersymbol(discoveryscanspeedmul)
- discoveryscanspeedmul:
- dd (float)3.0
- ]],offset['discoveryscanspeed'])
- autoAssemble(discoveryscanspeedmulcode)
- setProperty(DiscoveryScanSpeedTB, 'Enabled', 'True')
- local discoveryscanspeedcode = [[
- newdiscoveryscanspeed:
- mulss xmm0,[discoveryscanspeedmul]
- jmp olddiscoveryscanspeed
- ]]
- autoAssemble(discoveryscanspeedcode)
- doHook('masslock')
- local masscode = [[
- alloc(masslockconst,8)
- masslockconst:
- dd (float)1.0
- newmasslock:
- push eax
- mov eax,[masslockconst]
- mov [r14+0x68c],eax
- pop eax
- jmp oldmasslock
- ]]
- autoAssemble(masscode)
- doPatch('cooldown', '90 90')
- doPatch('ammo', '90 90 90')
- doPatch('noscoop', 'B0 01 90 90 90 90 90 90 90 90')
- doHook('heatsink')
- local heatsinkcode = string.format([[
- label(heatsink_npc)
- alloc(heatsinkconst,8)
- alloc(npcheatsinkconst,8)
- heatsinkconst:
- dd (float)0.0
- npcheatsinkconst:
- dd (float)10.2
- newheatsink:
- push rax
- mov rax,[rbx+0x178] //shipObjPtr
- test rax,rax
- pop rax
- jz heatsink_npc
- push rax
- push rcx
- mov rax,[rbx+0x178] //shipObjPtr
- mov ch,BYTE PTR [rax+0x%x] //isNpcPtr
- mov cl,BYTE PTR [rax+0x%x] //+1
- cmp ch,cl
- pop rcx
- pop rax
- jne heatsink_npc
- push eax
- mov eax,[heatsinkconst]
- mov [rbx+0x280],eax
- pop eax
- jmp oldheatsink
- heatsink_npc:
- push eax
- mov eax,[npcheatsinkconst]
- mov [rbx+0x280],eax
- pop eax
- jmp oldheatsink
- ]], isNpcPtr, isNpcPtr+1)
- autoAssemble(heatsinkcode)
- doHook('jumpcharge')
- local jumpchargecode = [[
- alloc(hdflnul,8)
- hdflnul:
- dd (float)0.0
- newjumpcharge:
- push eax
- mov eax,[hdflnul]
- mov [r14+0x698],eax
- pop eax
- jmp oldjumpcharge
- ]]
- autoAssemble(jumpchargecode)
- doPatch('interdict', '90 E9')
- doPatch('omnijump', 'B3 01 90')
- doPatch('jumpcount', '41 C7 86 9C 06 00 00 00 00 80 3F 90 90 90 90 90 90 90')
- doHook('supercharge')
- local superchargecode = [[
- newsupercharge:
- mov dword ptr [rbx+0x118],0x40800000
- mov dword ptr [rbx+0x10C],0x2
- jmp oldsupercharge
- ]]
- autoAssemble(superchargecode)
- doPatch('kwsomni', 'B3 01 90')
- doPatch('kwslong', 'B8 01 00 00 00 90 90 90')
- doPatch('normalscan', '90 90')
- doPatch('planetomni', 'B8 01 00 00 00')
- doPatch('planetlong', 'B8 01 00 00 00 90 90 90')
- doHook('scagility')
- local scagilitycode = string.format([[
- alloc(scpitchmul,8,%x)
- alloc(scrollmul,8,%x)
- alloc(scyawmul,8,%x)
- registersymbol(scpitchmul)
- registersymbol(scrollmul)
- registersymbol(scyawmul)
- scpitchmul:
- dd (float)3.0
- scrollmul:
- dd (float)2.0
- scyawmul:
- dd (float)3.0
- scnpcmul:
- dd (float)1.0
- newscagility:
- push rax
- mov rax,[rbx+0x3A0] //shipObjPtr
- test rax,rax
- pop rax
- jz oldscagility
- push rax
- push rdx
- mov rax,[rbx+0x3A0] //shipObjPtr
- mov dh,BYTE PTR [rax+0x%x] //isNpcPtr
- mov dl,BYTE PTR [rax+0x%x] //+1
- cmp dh,dl
- pop rdx
- pop rax
- jne oldscagility
- movss xmm0,DWORD PTR [rbp+0x2c] //pitch
- mulss xmm0,DWORD PTR [scpitchmul]
- movss DWORD PTR [rbp+0x2c],xmm0
- movss xmm0,DWORD PTR [rbp+0x30] //roll
- mulss xmm0,DWORD PTR [scrollmul]
- movss DWORD PTR [rbp+0x30],xmm0
- movss xmm0,DWORD PTR [rbp+0x34] //yaw
- mulss xmm0,DWORD PTR [scyawmul]
- movss DWORD PTR [rbp+0x34],xmm0
- jmp oldscagility
- ]], offset['scagility'], offset['scagility'], offset['scagility'], isNpcPtr, isNpcPtr+1)
- autoAssemble(scagilitycode)
- setProperty(ScPitchTB, 'Enabled', 'True')
- setProperty(ScRollTB, 'Enabled', 'True')
- setProperty(ScYawTB, 'Enabled', 'True')
- doHook('nfagility')
- local nfagilitycode = string.format([[
- alloc(nfspeedmul,8,%x)
- alloc(nfpitchmul,8,%x)
- alloc(nfrollmul,8,%x)
- alloc(nfyawmul,8,%x)
- alloc(nfnpcmul,8,%x)
- registersymbol(nfspeedmul)
- registersymbol(nfpitchmul)
- registersymbol(nfrollmul)
- registersymbol(nfyawmul)
- registersymbol(nfnpcmul)
- registersymbol(nf_npc)
- nfspeedmul:
- dd (float)1.0
- nfpitchmul:
- dd (float)2.0
- nfrollmul:
- dd (float)2.0
- nfyawmul:
- dd (float)3.0
- nfnpcmul:
- dd (float)1.0
- newnfagility:
- push rax
- push rdx
- mov rdx,[rsp+0x50]
- mov rax,[rdx+0x3A0] //shipObjPtr
- test rax,rax
- pop rdx
- pop rax
- jz nf_npc
- push rax
- push rdx
- mov rdx,[rsp+0x50]
- mov rax,[rdx+0x3A0] //shipObjPtr
- mov dh,BYTE PTR [rax+0x%x] //isNpcPtr
- mov dl,BYTE PTR [rax+0x%x] //+1
- cmp dh,dl
- pop rdx
- pop rax
- jne nf_npc
- movss xmm2,DWORD PTR [rdi+0x0] //max speed
- mulss xmm2,DWORD PTR [nfspeedmul]
- movss DWORD PTR [rdi+0x0],xmm2
- movss xmm2,DWORD PTR [rdi+0xc] //max boost speed
- mulss xmm2,DWORD PTR [nfspeedmul]
- movss DWORD PTR [rdi+0xc],xmm2
- movss xmm2,DWORD PTR [rdi+0x2c] //pitch
- mulss xmm2,DWORD PTR [nfpitchmul]
- movss DWORD PTR [rdi+0x2c],xmm2
- movss xmm2,DWORD PTR [rdi+0x18] //drives acceleration
- mulss xmm2,DWORD PTR [nfspeedmul]
- movss DWORD PTR [rdi+0x18],xmm2
- movss xmm2,DWORD PTR [rdi+0x1c] //drives deceleration
- mulss xmm2,DWORD PTR [nfspeedmul]
- movss DWORD PTR [rdi+0x1c],xmm2
- movss xmm2,DWORD PTR [rdi+0x20] //thrusters output
- mulss xmm2,DWORD PTR [nfspeedmul]
- movss DWORD PTR [rdi+0x20],xmm2
- movss xmm2,DWORD PTR [rdi+0x30] //roll
- mulss xmm2,DWORD PTR [nfrollmul]
- movss DWORD PTR [rdi+0x30],xmm2
- movss xmm2,DWORD PTR [rdi+0x34] //yaw
- mulss xmm2,DWORD PTR [nfyawmul]
- movss DWORD PTR [rdi+0x34],xmm2
- jmp oldnfagility
- nf_npc:
- movss xmm2,DWORD PTR [rdi+0x0] //max speed
- mulss xmm2,DWORD PTR [nfnpcmul]
- movss DWORD PTR [rdi+0x0],xmm2
- movss xmm2,DWORD PTR [rdi+0xc] //max boost speed
- mulss xmm2,DWORD PTR [nfnpcmul]
- movss DWORD PTR [rdi+0xc],xmm2
- movss xmm2,DWORD PTR [rdi+0x2c] //pitch
- mulss xmm2,DWORD PTR [nfnpcmul]
- movss DWORD PTR [rdi+0x2c],xmm2
- movss xmm2,DWORD PTR [rdi+0x30] //roll
- mulss xmm2,DWORD PTR [nfnpcmul]
- movss DWORD PTR [rdi+0x30],xmm2
- movss xmm2,DWORD PTR [rdi+0x34] //yaw
- mulss xmm2,DWORD PTR [nfnpcmul]
- movss DWORD PTR [rdi+0x34],xmm2
- jmp oldnfagility
- ]], offset['nfagility'], offset['nfagility'], offset['nfagility'], offset['nfagility'], offset['nfagility'], isNpcPtr, isNpcPtr+1)
- autoAssemble(nfagilitycode)
- setProperty(SpeedTB, 'Enabled', 'True')
- setProperty(NfPitchTB, 'Enabled', 'True')
- setProperty(NfRollTB, 'Enabled', 'True')
- setProperty(NfYawTB, 'Enabled', 'True')
- doPatch('dropoff', '90 90')
- unpause()
- setProperty(DisAllBtn, 'Enabled', 'True')
- status_upd('All OK. Hacks are ready.', 52480)
- end
- function wait_to_init()
- if t_to_init >= 25 then
- t.destroy()
- init()
- end
- t_to_init = t_to_init + 1
- end
- function find_process()
- local tmp = readInteger(process_name)
- if tmp ~= nil then
- status_upd('Game process found. Initializing trainer.')
- if before_game then t_to_init = 0 else t_to_init = 14 end
- t:setOnTimer(wait_to_init)
- else
- before_game = true
- end
- end
- function suspend_cheats()
- if DisAllBtn.Enabled then
- for k,v in pairs(item) do
- suspended[k] = state[k]
- if state[k] then
- toggle(k)
- v.Checked = False
- end
- end
- DisAllBtn.Enabled = False
- setProperty(ReactivBtn, 'Enabled', 'True')
- status_upd('Cheats are suspended.', 255)
- end
- end
- function resume_cheats()
- if ReactivBtn.Enabled then
- for k,v in pairs(suspended) do
- if suspended[k] then
- toggle(k)
- setProperty(item[k], 'Checked', 1)
- end
- end
- ReactivBtn.Enabled = False
- setProperty(DisAllBtn, 'Enabled', 'True')
- status_upd('Cheats are resumed.', 52480)
- end
- end
- -- ============================================================================
- aob = {}
- offset = {}
- state = {}
- enable = {}
- disable = {}
- item = {}
- sorted = {}
- suspended = {}
- sorted[1] = 'check3'
- sorted[2] = 'check1'
- sorted[3] = 'nfagility'
- sorted[4] = 'hyperanim'
- sorted[5] = 'masslock'
- sorted[6] = 'cooldown'
- sorted[7] = 'jumpfuel'
- sorted[8] = 'jumpcharge'
- sorted[9] = 'jumpcount'
- sorted[10] = 'omnijump'
- sorted[11] = 'normalscan'
- sorted[12] = 'normalscanspeed'
- sorted[13] = 'fuelscoop'
- sorted[14] = 'hulloffsetshift'
- sorted[15] = 'hull'
- sorted[16] = 'shipinhull'
- sorted[17] = 'scagility'
- sorted[18] = 'dropoff'
- sorted[19] = 'noscoop'
- sorted[20] = 'interdict'
- sorted[21] = 'kwslong'
- sorted[22] = 'kwsomni'
- sorted[23] = 'kwsspeed'
- sorted[24] = 'heatsink'
- sorted[25] = 'ammo'
- sorted[26] = 'textshift'
- sorted[27] = 'searchcheck'
- sorted[28] = 'jumpcheck1'
- sorted[29] = 'jumpcheck2'
- sorted[30] = 'jumpcheck3'
- sorted[31] = 'check2caller'
- sorted[32] = 'check2'
- sorted[33] = 'planetscanspeed'
- sorted[34] = 'discoveryscanspeed'
- sorted[35] = 'planetlong'
- sorted[36] = 'planetomni'
- sorted[37] = 'flightfuel'
- sorted[38] = 'energy'
- sorted[39] = 'shield'
- sorted[40] = 'shieldcheck2'
- sorted[41] = 'shieldcheck1'
- sorted[42] = 'hullinshield'
- sorted[43] = 'hullinmodule'
- sorted[44] = 'module'
- sorted[45] = 'energycheck'
- sorted[46] = 'supercharge'
- sorted[47] = 'check4'
- item.shield = ShieldBtn
- item.hull = HullBtn
- item.module = ModuleBtn
- item.energy = EnergyBtn
- item.jumpfuel = JumpFuelBtn
- item.flightfuel = FlightFuelBtn
- item.fuelscoop = FuelScoopBtn
- item.hyperanim = HyperAnimBtn
- item.masslock = MassBtn
- item.cooldown = CooldownBtn
- item.jumpcharge = JumpchargeBtn
- item.interdict = InterdictBtn
- item.ammo = AmmoBtn
- item.heatsink = HeatsinkBtn
- item.noscoop = NoscoopBtn
- item.jumpcount = JumpcountBtn
- item.omnijump = OmnijumpBtn
- item.supercharge = SuperchargeBtn
- item.kwsspeed = KwsSpeedBtn
- item.kwsomni = KwsomniBtn
- item.kwslong = KwslongBtn
- item.normalscanspeed = NormalscanSpeedBtn
- item.normalscan = NormalscanBtn
- item.planetomni = PlanetomniBtn
- item.planetlong = PlanetlongBtn
- item.nfagility = NfAgilityBtn
- item.scagility = ScAgilityBtn
- item.dropoff = DropOffBtn
- item.discoveryscanspeed = DiscoveryScanSpeedBtn
- item.planetscanspeed = PlanetScanSpeedBtn
- aob.check1 = '48 89 5C 24 ? 48 89 6C 24 ? 48 89 74 24 ? 57 41 56 41 57 48 81 EC ? ? ? ? 41 8B D8'
- aob.check2 = '8B 43 14 48 03 46 20'
- aob.check2caller = '84 C0 74 1D 4C 8B 44 24'
- aob.check3 = '44 0F B6 09 48 8D 49 01'
- aob.check4 = '4C 8B D9 4C 8B D2 49 83 F8 10'
- aob.energycheck = '74 54 48 83 BE ? ? ? ? ? 74 4A'
- aob.shieldcheck1 = '76 4F 48 83 BF'
- aob.shieldcheck2 = 'F3 0F 58 C4 F3 0F 58 C5'
- aob.searchcheck = '8B C7 48 8B 5C 24 ?? 5F'
- aob.jumpcheck1 = '75 0C 8B 4A 01'
- aob.jumpcheck2 = '75 78 8B 4A 01'
- aob.jumpcheck3 = '75 72 8B 4A 01'
- aob.shield = '48 39 B7 ? ? ? ? 0F 84 ? ? ? ? 40 38 B7'
- aob.hull = '33 C0 F0 4D 0F B1 BE ? ? ? ? 48 8B C8 48 C1 E9 20 33 C8 49 83 BE ? ? ? ? ? 89 4C 24 44'
- aob.module = '4C 39 B7 ? ? ? ? 0F 84 ? ? ? ? 48 8B 8F ? ? ? ? 48 8B 01 FF 50 68'
- aob.energy = 'F3 0F 5C C6 48 C1 E9 20 F3 0F 11 44 24 ? 48 85 C0 74 08 49 33 C0 74 03 29 48 08 44 8B 4C 24 ? 8B 0D ? ? ? ? 41 8B C1 0D ? ? ? ? 83 F8 FF 8B C1'
- aob.jumpfuel = '49 8B 46 58 49 8D 4E 58 FF 90 ? ? ? ? 84 C0 74 37'
- aob.flightfuel = 'F2 0F 59 C1 66 0F 2F C7 0F 82'
- aob.fuelscoop = 'F3 45 0F 59 C4 44 0F 28 A4 24'
- aob.hyperanim = '48 83 EC 28 33 C0 48 8D 4A E0 48 85 D2 48 0F 44 C8 F3 0F 58 51'
- aob.masslock = '41 C7 86 ? ? ? ? ? ? ? ? 0F B6 45 04'
- aob.cooldown = '77 ? 33 C0 48 89 7C 24 ? 41 89 86'
- aob.jumpcharge = '48 83 7D ? ? 74 12 49 8B 8E'
- aob.interdict = '0F 84 ? ? ? ? 0F 57 F6 0F 2F B6'
- aob.ammo = '44 2B C5 48 85 C0'
- aob.heatsink = 'F3 0F 58 83 ? ? ? ? F3 0F 11 83 ? ? ? ? 0F 2F 06'
- aob.noscoop = '32 C0 84 D2 74 0D 84 C9 74 09 C6 87'
- aob.jumpcount = 'F3 41 0F 58 86 ? ? ? ? F3 41 0F 11 86 ? ? ? ? F3 0F 10 4A'
- aob.omnijump = '80 E3 01 EB 02'
- aob.supercharge = 'C6 41 30 01 48 8B 49 10 48 8B 5C 24 ? 48 83 C4 20 5F E9 ? ? ? ? 48 89 5C 24 ? 48 89 74 24'
- aob.kwsspeed = '48 8B 8E ? ? ? ? F3 44 0F 5E C0'
- aob.kwsomni = '80 E3 01 89 5C 24 ? 40 84 FF'
- aob.kwslong = 'F3 0F C2 C1 ? 0F 50 C0 A8 01 75 5A'
- aob.normalscanspeed = '49 8B CC 48 8B D8 F3 0F 58 70'
- aob.normalscan = '74 21 45 33 C0 48 8D 95'
- aob.planetomni = '0F 50 C1 24 01 48 85 C9'
- aob.planetlong = 'F3 0F C2 D3 ? 0F 50 C2 A8 01 0F 84 ? ? ? ? 48 8B AC 24'
- aob.planetscanspeed = 'F3 41 0F 59 C0 F3 0F 58 86'
- aob.nfagility = 'F3 0F 11 8F ? ? ? ? F3 0F 10 96'
- aob.scagility = '8B 82 ? ? ? ? 89 85 ? ? ? ? 0F 10 02'
- aob.dropoff = '76 4A 33 C0 F0 49 0F B1 B6'
- aob.discoveryscanspeed = '49 8B CE F3 41 0F 58 86'
- --aob.isnpc = '8B 91 ? ? ? ? 8B C2 C1 E8 08 32 C2 C3 CC CC 40 53 48 81 EC'
- aob.hulloffsetshift = '49 8D 8E ? ? ? ? FF 90'
- aob.shipinhull = '49 8B 8E ? ? ? ? 48 8B 01 FF 50 ? 84 C0 74 60 33 C0'
- aob.hullinshield = '48 8B 9F ? ? ? ? 48 8B 01 FF 50 20 48 8B 03 48 8D 55 B0'
- aob.hullinmodule = '48 8B BF ? ? ? ? 44 8B 85'
- aob.textshift = '41 B9 ? ? ? ? 4C 89 6C 24 ? 49 8B CC'
- before_game = false
- process_name = 'EliteDangerous64.exe'
- getAutoAttachList().add(process_name)
- t = createTimer()
- t:setInterval(1000)
- t:setOnTimer(find_process)
Add Comment
Please, Sign In to add comment