Dev's Limit Breaking 101 Techniques
-
I think porting wouldn’t be a big problem. Server.dll hooks, IServerImpl hooks are the same, content hacks, common hacks are the same, what else is there… It should be like just major code cleanout…
Two differences i see clearly right now are Update, Startup and Shutdown which are hooked using GetModuleHandle(0), and absence of chat.
-
I think porting wouldn’t be a big problem. Server.dll hooks, IServerImpl hooks are the same, content hacks, common hacks are the same, what else is there… It should be like just major code cleanout…
Two differences i see clearly right now are Update, Startup and Shutdown which are hooked using GetModuleHandle(0), and absence of chat.
-
w0dk4 wrote:
umm, the other big question would be, why do you want to port a mainly server-side admin tool to a singleplayer environment?
which feature of flhook would make sense in SP?
I cant really think of any feature tbh…w0dk4 has a very good point.
There are like no features that would be helpfull in Sp
You would be better using a trainer in sp if u wanted to give yourself cash or such -
/autobuy
F88 Features (as EXAMPLE !)
/save (to save game in space ^^)
And of course other new options (for instance, dynamic economy - ok, this can be done even without FLHook)
-
Ok hotshot thanks for that reply:P
I did miss a few things out bas
but still thats alot of effort to put in for just single player. when there are other programmes out there. ok sure you wont get auto buy or such but thats not a issue really. i never ever used auto buy didnt see the point in it. As for the other stuff meh:P
-
Cloaks, target marking, hull-regen items, selective docking restrictions, etc. would all still be applicable in SP. Seeing as 88 Flak makes rather extensive use of these features, it nearly cripples the OpenSP compatibility of the mod - OpenSP is supported in Flak, but only barely (you can not cloak ships, any “unlockable” areas are simply unlocked, etc.)
-
Found something here…
– 1.25f in freelancer.exe, 0x1C9804, 0x1C9804 = multiplier for distance at which brackets around non-targeted ships in space will appear (1.25 = ~3km, 37.5 = ~93km, etc)
I wanted to remove the brackets completely from no targetted ships, so I set this multiplier to 0, but that made the tractorbeam effect dissappear!
So this multiplier is used for more than one thing…
Does anyone know another way around to remove those brackets? I did see the hack below this one on the list, but I don’t want to remove all that!
-
That’s the problem; those images apparently don’t exist. At least, nobody found them to my knowledge.
I’m believing they aren’t images, they’re actual meshes of some sort defined through VMeshRef and VMeshData.
-
-
Brackets are in buttontextures.txm, it is a single corner that is mirrored using UV mapping…
-
Turns out you were modifying the wrong value - you want 0.0004f at 0x1d954c in Freelancer.exe. That’s the reciprocal of the distance at which the brackets will be drawn. Change it to 1 (00 00 80 3F) and the brackets disappear. Alternatively, patch the code itself at 0xec1b3 (0x7A0A to 0x9090) to always succeed the below zero test.
-
**I’ve been checking some of the values listed here, you need to verify the NPC spawning stuff, its incorrect for both unpatched and patched content.dll files, at least for the American version.
– 1775d in content.dll, 0x11AC80, 0x11BC80 = initial NPC max spawn distance in SP and MP (such as after respawn)
1.0 - 00 00 00 00
1.1 - 00 00 00 00** -
**Here is a snapshot of both files side by side in my hex editor
As you can see that isn’t the only one that isn’t there…
Both of these were installed yesterday directly from the CD, BTW this is the original CD that came out in 2003, not any of the new ones released after MS stopped selling them.** -
**My mistake on the original one, I accidentally used the patched version, updated the pic to the correct files…
Left - Original, stuck in patched folder to make it easier to compare
Right - Patched versionIn both the 11(a)(b)c80 is 00 00 00 00, could someone send me a copy of theirs so I can check it?**
-
Fox, are you using the original 1.1 or a modified version? I had another sent to me by FF and it is exactly like my version of content.dll…