Level Requirements for MP?
-
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.
-
adoxa wrote:
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.
MARK.
I will try and setting this after done all the ini editing, and thank you for the job.