Dev's Limit Breaking 101 Techniques
-
There was a typo in the new block that I merged, but I had 4 JSON linters all tell me everything is fine. Sometimes it annoys me how the trailing comma is ‘sometimes’ allowed. The auto-deployment failure was caused by a JS peer dependency resolving to the wrong version.
-
Gold_Sear Wiki Contributorwrote on 6 Jun 2024, 18:49 global:last_edited_by, Gold_Sear 10 Jun 2024, 18:12
@Laz: thanks again for fixing my typos!
@self: remember to turn off the ‘insert’ button and fix it’s damage!EDIT:
#make accounts less vulnerable to crashes due to too many cargo/base_cargo lines in character files #double the size of Freelancer's 'visit' packet (MP only) #Jolly_Roger, 14 September 2012 #adoxa, 7 March 2021 #adoxa, 1 October 2022 File: RemoteClient.dll 96B1: D0 27 [ 00 28 ] 96E8: 30 20 03 [ 00 90 01 ] 9707: 20 03 [ 90 01 ] File: remoteserver.dll 9AE5: D0 27 [ 00 28 ]
This patch is actually a composition of two patches that alter the same code, hence had to be merged.
#colors of several things hardcoded in freelancer.exe #adoxa, 7 January 2010 File: Freelancer.exe 0bd8ec: 43 # R of tooltip background 0bd8f1: 61 # G 0bd8f6: 70 # B 0bd933: b9 # R of tooltip text 0bd938: f7 # G 0bd90b: ff # B (this is e0 of an unused color) 0bd92a: 0f # change it from 0e so above works 15b22c: ff # R of selected maneuver icon 15b231: ff # G 15b236: 00 # B 15b2cb: ff # R of selected neural net icon 15b2d0: ff # G 15b2d5: 00 # B 15b2f6: ff # A of both 161be6: 87 # R of main text color (aqua) 161bed: c3 # G 161bf4: e0 # B 161bfb: c0 # A 161c06: 87 # R of main color (aqua) 161c0d: c3 # G 161c14: e0 # B 161c1b: ff # A 161c66: f5 # R of selected color (yellow) 161c6d: ea # G 161c74: 52 # B 161c7b: ff # A 161ce1: 80 # RGB of disabled icons 161cf7: ff # A 199da6: 87 c3 e0 # RGB of some buttons 199dab: 87 c3 e0 # and again 199dc6: 80 80 80 # RGB of disabled buttons 199dcb: 80 80 80 # and again
Probably want to make a new section ‘HUD: Colors’ to add it in.
EDIT: indexed to payload.
-
I found a way to have numbers under 1.0 on the drag_modifier variable on [Zones], meaning that 0.5 or similar will increase speed instead of reducing it.
!! Please do a backup of the file, this was done with Ghidra and needs testing !!
Common.dll
OFFSET 000D7A60
CHANGE: 7A -> EBOFFSET 000D7AC0
CHANGE: 7A -> EBOFFSET 000D7AF0
CHANGE: 0F 85 73 02 00 00 -> 90 90 90 90 90 90 -
Your first two offsets seem off; I see them at D7A6F & D7ACC. May as well change the first one to EB 65, thus skipping the second.
-
some offsets were sitting in there in a folder
1.Turn off non-music sounds SoundManager.dll+89B8 (function loads sounds once) 74 -> EB
2.Turn off combat chatter Content.dll+12E368 01 -> 00
3.Turn off rendering of static debris(collisions are not affected) Freelancer.exe+122669 74 -> EB
4.Thickness of F1 menu/Inventory Rectangle bars, make it more thick Freelancer.exe+1A36B3(bot line) Freelancer.exe+1A374A(right line) Freelancer.exe+1A37B6(top line) Freelancer.exe+1A383A(left line) 68 A6 9B 44 3B(0.002) -> 68 6F 12 0C 3C(0.008)
5.Icon size multiplier Freelancer.exe+1D748C Default is 0 float, can increase up to 0.03
6.Neural net icons will always flash Freelancer.exe+15B28F 74 05 -> 90 90
7.Change color of clicked (toggled on) icons (00-FF 1 byte minimum/maximum value) Freelancer.exe+15B22C RED Freelancer.exe+15B231 GREEN Freelancer.exe+15B236 BLUE default color is yellow
8.Turn off rendering background universe Freelancer.exe+152E7C 74 -> EB
9.BUGFIX for FLHook RequestSpaceScript Server sided cutscenes crashes for client due to a bug .thn files that you want to play must be in, /DATA folder with the name size of test001.thn RemoteServer.dll+249B1 0x19F549B1 8B 36 8B 7D 38 8B C8 8B D1 C1 E9 02 -> 8B 36 BF 21 9A 30 06 FF D7 C1 E9 02 Common.dll+A9A21 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 -> BF 71 9B 30 06 89 7D 38 8B C8 8B D1 C3 90 90
-
IrateRedKite Administrators Historic Supporter Wiki Contributorreplied to Gold_Sear on 14 Jul 2024, 16:43 global:last_edited_by,
@Gold_Sear Sorry for the radio silence on this, I’ve been otherwise engaged! I’ve accepted your PR and fixed a few syntax issues with the merge. Hopefully will have some time this evening to make a push and finish off a few more sections.
-
@Groshyr It just adds external equipment to the types it tests; perhaps have a look at the original request (last paragraph of that post, plus most of the rest).
-
@IrateRedKite No worries, I’ve been away too.
goes back hunting for solutions on his list -
@josbyte,@adoxa: added your offset to the payload and to KraftFragment;
@Venemon : added your offsets to the payload and KraftFragment, with the exception of #7, which was already found by adoxa in 2010.
goes off testing the new patches -
Hello everyone I got some crash feedback about some of my offsets, I suggest removing them
1.Auto-CM without activation (crashes with wrecks)
2.Guided projectiles wont give up tracking a target(effects everything in unintentional way)for the first one, everyone should use BC46’s alternative
and second one here is a better alternativeserver.dll+1460C This will allow 360* FOV missiles and as a side effect, missiles will not give up chasing their targets, if it is 360*FOV (seeker_fov_deg = 180 means 360* FOV) 0F 8A ED 01 00 00 -> 90 90 90 90 90 90 (as technical note, normally missiles cannot have fov above 180+ due to a limiter that checks missile's trajectory against a target, if it is negative, it kills the seeker)
Just adding this one here too, that is discovered recently
Freelancer.exe+F8C36 Alchemy will read "-1.0" engine state this will allow -1.0 ALE effects to spawn for reverse impulsing 7A 16 -> EB 16
-
IrateRedKite Administrators Historic Supporter Wiki Contributorreplied to Venemon on 25 Sept 2024, 08:07 global:last_edited_by,
@Venemon I think with these adding an adjustment to the post with a disclaimer saying that these crash and recommending the alternative offset might be the way to go, as these addresses are potentially useful for additional reverse engineering!
-
IrateRedKite Administrators Historic Supporter Wiki Contributorreplied to IrateRedKite on 28 Sept 2024, 09:04 global:last_edited_by, IrateRedKite 28 Sept 2024, 11:00
The list:
HUD
Miscellaneous
Missions
NPCs
Reputation
Server Operation
Systems
Turret View and Mouse
Visibility
Visual EffectsHaving gone over this category list and checking offsets within each page against the json, we seem to be done! I added a few extras from Visibility, and need to comb recent activity in this thread to make sure there’s nothing new I’ve missed, but we’re nearly ready to do a category/accuracy pass and retire the old page I think!
I’m tracking issues with a few offsets here: https://github.com/TheStarport/StarportDocusaurus/issues/12 so if there’s any that need adjustment/investigation and it’s not a straightforward fix, please add to the issue