Jump to content

Recommended Posts

Posted

I am thinking about exporting my schkval to my 10"MiMo for the Shark and Su25t.

 

Will I still be able to play on the 104th/51st servers?

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Posted

Most IC will deny you to enter when export is enable (or when the export file has been modified). I think that goes for 104th and 51st as well.

The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning

Posted (edited)

I don't like a lot the way that integrity check is implemented.

 

In my opinion, something like this could be done by ED:

 

Instead of a integrity check, there could be a MD5check of export.lua. Then compare that MD5 to a allowed list of MD5 codes.

 

If MD5 code is in list -> legit export.lua

If MD5 code not in list -> send your export.lua to the admin of the server so he reviews it and the adds to his allowed MD5 list if your export is legit.

 

Each file on your system have a unique MD5 code, so there could be a perfectly safe list of allowed MD5's.

 

I tried to do it myself with .lua but the integrity check is inside the core game files (totally understandable) but anyway, this is not a difficult thing to implement, there are some examples on internet on how to check a MD5 with C++ and should not take a lot of time to implement (I already done it on C# in 1 afternoon)

Edited by -Dagger-
  • Like 3
Posted

HEar Hear!!!! There are waaay too many cool arse triple screen/touchscreen mods that could attract many more players online - I love that stuff but would hate to loose my ability to play online.

ASUS Tuf Gaming Pro x570 / AMD Ryzen 7 5800X @ 3.8 / XFX Radeon 6900 XT / 64 GB DDR4 3200 

"This was not in the Manual I did not read", cried the Noob" - BMBM, WWIIOL

Posted

Note for implementers:

 

A simple MD5 check is not a good idea as space or comments will make the file fail, even if the LUA compiles to the same result. Any MD5/hash checks should be done *after* LUA comments have been stripped out and all whitespace normalized so that all whitespace tokens (space, tab, newline etc) are converted to a single space and *then* the hash is computed.

 

This allows people to leave comments in their LUA scripts and still pass the Integrity Check. For example, it is useful to comment in and comment out the dofile() include for TacView so that you can easily enable and disable TacView depending on whether you want to:

* join an Integrity Checked server with exports disabled (eg. 104th, 51st),

* or play a track and generate a TacView, or join a server where TacView is enabled (eg stallturn).

 

In fact, I had to modify the latest version of the lottu track playback program to add and remove the TacView include, since commenting it out would cause the Integrity Check to fail.

 

AFAIK Case's track playback script also has the same functionality, so you can use that and still pass Integrity Checks.

 

So:

* a bitwise comparison using a hash (eg. MD5, SHA-1 etc) is not good.

* a parseable text comparison is good (eg. calculate the hash after stripping comments and normalizing whitespace).

  • Like 1
Posted

You are right Moa, your idea is much more safer.

 

Just as another note, it would need to calculate the hash of all the files added as "dofile('myfile')" also

 

A bit more of work but still fairly easy to implement in some few days

 

I hope ED take note of this idea...

Posted

Right now you can play Warthog with exports on. That's only because there is no real level is pvp in it. I hope this continues when blackshark is patched to work with Warthog.only when you add air-to-air combat does it become important to lock a server down. Otherwise there's too much risk of someone yelling the cheater the 1st time they are shot down. If some is cheating in online right now(using F11 to get unit grid cords), they are only really cheating themselves.

As for the idea of multiple export files that can pass one IC, +1. My simpit, just doesn't live up to its potential online.

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...