Level Requirements for MP?
-
Remember that this will not act as an anticheat. If you use this on your server, anybody will be able to just reverse the change and purchase ships without level restrictions!
-
FriendlyFire wrote:
Remember that this will not act as an anticheat. If you use this on your server, anybody will be able to just reverse the change and purchase ships without level restrictions!Yes speaking of that - what about other exe hacks? Can the changes be reversed too and used as a cheat?
-
as long as you have no cheat detection that scans for that, sure. every model, alchemy, material, program library, application file, utf library, sound, absolutely every key file can be changed and the server wouldn’t bother. everything that is triggered by the server, eg surs, will be triggered from the server computer anyway.
-
FriendlyFire wrote:
Remember that this will not act as an anticheat. If you use this on your server, anybody will be able to just reverse the change and purchase ships without level restrictions!Thats why we don’t use it! I think its not nescesary…
-
adoxa wrote:
I ignore level requirement for FL Hack, so let’s see if it works the other way.freelancer.exe 0B948E 1B->00 = appropriate level required to buy ships in MP ~adoxa
After further testing, this doesn’t work. I added 5 mils to my account, I was rank 45 and I still couldn’t buy the patriot from planet manhatten (required level: 1).
-
Make a separate topic, don’t hijack another one.
-
Turns out Freelancer uses a global variable to store the current level, but only for SP, so in MP it just saw whatever the last level in SP was. I think this covers it.
server.dll 0112A3 1D->00 = need level to buy ships/equipment in MP ~adoxa freelancer.exe 07FCE0 18->00 = need level to buy equipment in MP PART 1 ~adoxa freelancer.exe 08049A 28->00 = need level to buy equipment in MP PART 2 ~adoxa freelancer.exe 082E96 0A->00 = need level to buy equipment in MP PART 3 ~adoxa freelancer.exe 0B850E 05->00 = need level to buy ship in MP PART 1 ~adoxa freelancer.exe 0B948E 1B->00 = need level to buy ship in MP PART 2 ~adoxa ```The server patch returns the level for MP (instead of -1). Each part 1 sets the level (where it calls the server). Each part 2 activates the level requirement. Part 3 changes the equipment item display to reflect it's not available.
-
This edit has been improved. Still working on the anticheat, hopefully I’ll have it done by this time tomorrow.
You should restore each PART 1 mentioned above, otherwise the new change will not be used. It’s not necessary to restore the server edit.
-
adoxa wrote:
This edit has been improved. Still working on the anticheat, hopefully I’ll have it done by this time tomorrow.You should restore each PART 1 mentioned above, otherwise the new change will not be used. It’s not necessary to restore the server edit.
Great news! Thank you for doing this.
-
adoxa wrote:
You should restore each PART 1 mentioned above, otherwise the new change will not be used. It’s not necessary to restore the server edit.Thanks Adoxa, you mean that:
“1D–>00 server.dll 0112A3”
the server.dll still must to edit, or just edit the part1~part5 in freelancer.exe?
-
The server.dll edit at 0112A3 is no longer required, but it doesn’t matter if you leave it in. The two PART 1 edits mentioned in #16 must be reversed (so 07FCE0 is 18 & 0B850E is 05).
Got the equipment (and commodity) anticheat working, just got to sort out the ship.
-
Sure.
Find attached the anticheat - if caught, it will log as “Ship or Equipment not sold on base” and you’ll be kicked, but not banned. As usual, my testing has been minimal; in particular, I haven’t tested it with other anticheat measures (it may be best to load this one last). Couple of points: it only prevents buying, trading and selling are still allowed (well they should be, I didn’t actually test); if you happen to acquire a high-level launcher, you won’t be able to buy its ammo, however FLHook’s autobuy will (should) still work.