Jump to content
Sign in to follow this  
zinco

More on check files code

Recommended Posts

results so far

cheat_code_test_1.jpg

Connect 1 - No message with only editorupdate102.pbo in regular addons folder.

Connect 2 - Capt. Zinco uses modified data file- res/dta/data.pbo with bas addons in REGULAR addons folder.

Connect 3 - No Message - took bas addons out of regular addons folder.

Connect 4 - No Message with object1.pbo in regular addons folder

Addons i had in REGULAR addons folder when i got the message:

BAS_derad.pbo

BAS_deraw.pbo

BAS_kawa.pbo

bas_lbs.pbo

bas_lbs185.pbo

bas_soar.pbo

bas_soar185.pbo

BAS_weap.pbo

I did not load a mission or anything, i just connected and got the message. That really doesn't make sense to me. Either one of those files is modifying the data.pbo or it is causing some kind of error with the check files. If it is modifying the data.pbo, then when u connect without them in, it is unmodifying it. That doesn't make sense to me.

Can someone from bis explain why this is?

Share this post


Link to post
Share on other sites

Now to make it more confusing a friend of mine connects with every addon known to man and gets no messages.

I wish BIS would come out and say that this code is not reliable. At least if addons are used. There is alot of debate and these messages stir up alot of false suspicions. There has never been a comment on this subject since suma said that different language versions are different.

Share this post


Link to post
Share on other sites

cheat_code_test2.jpg

The one on the left is data.pbo right after clean reinstall with no addons. it is in a back up folder.

The one on the right is data.pbo right after getting a message and playing a delta mission with the bas addons.

both are from res/dta/data.pbo

The time created on the right is the time of install.

The time created on the left is the time i made the back up copy of the clean file.

The exact size and time modified is the same for both files.

Share this post


Link to post
Share on other sites

Now in this example ET connects with only Inv1944 addons in his folder and gets no message.

GodofGunnies connects with every addon known to man and gets the message.

Seems consistent so far.

Then GIKiller connects with every addon known to man and gets no message.

If i connect with the bas addons and i get a message and Gi killer connects with the addons and gets no message how does that square?

I am back to becoming convinced that it is just flat out unreliable.

19:20:17 All users disconnected, waiting for users

19:56:36 Player Capt. Zinco connecting

19:56:36 Mission DECISIVE V4 (2-40).CAIN read from bank

19:57:35 Player Capt. Zinco connected (id=715662)

19:57:43 Capt. Zinco uses modified data file - res\dta\data.pbo

19:58:01 Admin Capt. Zinco logged in.

19:58:44 Mission 26C_DeltaForce_v1.0.Noe read from bank

19:58:56 Roles assigned

19:58:56 Reading mission ...

19:59:06 Mission read

20:00:18 Game started

20:00:50 Game finished

20:00:53 Waiting for next game

20:00:53 Mission HIGHLANDS V5 (2-40).ABEL read from bank

20:00:55 Player Capt. Zinco disconnected

20:00:55 Admin Capt. Zinco logged out.

20:00:55 All users disconnected, waiting for users

20:15:36 Player LCpl. Eternal Thunder connecting

20:15:36 Mission DECISIVE V4 (2-40).CAIN read from bank

20:15:42 Player LCpl. Eternal Thunder connected (id=709877)

20:15:51 Admin LCpl. Eternal Thunder logged in.

20:16:57 Mission INV44_2-5_Cooperative.Eden read from bank

20:17:10 Player GodofGunnies connecting

20:17:14 Player GodofGunnies connected (id=2732032)

20:17:17 GodofGunnies uses modified data file - res\dta\data.pbo

20:18:42 Roles assigned

20:18:42 Reading mission ...

20:18:52 Mission read

20:19:31 Game started

20:24:59 Player WOLF[bRD] connecting

20:25:02 Player WOLF[bRD] connected (id=1114767)

20:25:36 Player WOLF[bRD] disconnected

20:28:56 Player Cpl. Special K connecting

20:29:01 Player Cpl. Special K connected (id=579770)

20:29:01 Cpl. Special K uses modified config file - 1.90

20:29:43 Game restarted

20:30:48 Roles assigned

20:30:48 Reading mission ...

20:30:49 Mission read

20:33:15 Game started

20:35:38 Player SSgt. GI Killer connecting

20:35:43 Player SSgt. GI Killer connected (id=1329479)

20:38:04 Game restarted

20:38:32 Mission INV44_SniperMP.abel read from bank

20:38:55 Mission INV44_1-16_Cooperative.Noe read from bank

20:40:12 Roles assigned

20:40:12 Reading mission ...

20:40:25 Mission read

20:41:04 Game started

20:44:14 Player LCpl. KillerKid connecting

20:44:31 Player LCpl. KillerKid connected (id=128145)

20:44:31 LCpl. KillerKid uses modified config file - 1.85

20:44:49 Player GodofGunnies is loosing connection

20:46:09 Player GodofGunnies disconnected

20:46:38 Player GodofGunnies connecting

20:46:42 Player GodofGunnies connected (id=2732032)

20:46:44 GodofGunnies uses modified data file - res\dta\data.pbo

20:48:29 Player LCpl. Eternal Thunder disconnected

20:48:29 Admin LCpl. Eternal Thunder logged out.

20:48:38 Admin GodofGunnies logged in.

20:49:28 Game restarted

20:49:56 Mission I44SiegePrizzi.i44_abel read from bank

20:51:19 Roles assigned

20:51:19 Reading mission ...

20:51:27 Mission read

20:51:46 Player Frenchie the Punk connecting

20:51:49 Player Frenchie the Punk connected (id=1356609)

20:52:11 Player Frenchie the Punk disconnected

20:52:18 Game started

Share this post


Link to post
Share on other sites

Now in this next example i took the bas addons out of my regular addons folder after having loaded a delta mission. Then connected with NO addons in any floder. I got a modified res/dta/data.pbo message.

Then a bunch of 1-8th joined frag house server and got accused of cheating. They are running check files. which is not really surprising check files or not.

The only way u will convince me it is reliable is to say that if everyone does a clean install and never uses an addon ever.

Share this post


Link to post
Share on other sites

No offense to anyone, but the people on the FragHaus server are a bunch of asshats when it comes to file checking anyway... I reccomend you don't even join - and with the 1kb face limit - I don't even have to... it auto kicks me :]

PS: Sorry for the name calling ;)

I just get angry when these things happen...

Share this post


Link to post
Share on other sites

zinco: The problems with checkfile reporting modified files when the files are in reality unmodified is nothing new. At least for linux servers it is confirmed. BTW: When you compare two files use something like winmd5, it creates a checksum which will REALLY tell if the files are different or the same (in a similar but better way than the crc that checkfile uses).

Share this post


Link to post
Share on other sites
No offense to anyone, but the people on the FragHaus server are a bunch of asshats when it comes to file checking anyway... I reccomend you don't even join - and with the 1kb face limit - I don't even have to... it auto kicks me :]

lol 1Kb,

I thought SES had a low custom file limit @ 22kb, and a script which deletes all but your first custom sound.

Share this post


Link to post
Share on other sites

I wanted to reply to reply something similar at first but maybe there are other reasons for that limit... there were cheats using custom faces or replacements for them... maybe that is the cause for this server setting.

But for me the sound have always been the part i wanted to block, and since those get deleted by the script i set max custom face size from 20kb to 60kb on my server...

Share this post


Link to post
Share on other sites

I know benu. and i have checked the files before as you probably remember with crc32. md5 i can't remember if i used that or not.

The reason i am still harping on this and decided to reinstall and test this again is that there are a bunch of servers in the war games league (windows servers, which is what i tested on) that are still running this code and think that if u just reinstall and use a seperate addons folder it will work. which is not true.

frag house probably does use a 1kb custom limit to prevent people from deleting your custom face from their temp file and giving u a white face.

Share this post


Link to post
Share on other sites

That was what i was thinking about but i didn't want to give potential cheaters ideas ;)

And i'm not sure but i think i remember something about bis fixing that custom face thing, but i'm not sure (and too lazy to go through the changes.txt right now ;)).

Share this post


Link to post
Share on other sites

Now in this next example we will compare the data.pbo that i backed up right after i reinstalled that DID NOT generate a message with the data.pbo that is in my res/dta/ folder currently and IS generating a message, using the same method that check files uses, crc32.

The images on the left are the original "clean" file. the ones on the right are the file that is causing the message. all files have a check sum value just as they have a size and date and so on. ofp uses this same method with the check files code to compare the files, so i am told.

as u can see both files return the same result using three different methods of crc32. yet the one on the right generates a message when connecting to the server.

cheat_code_test_3.jpg

Given this why would any server run this code?

Share this post


Link to post
Share on other sites

upon further testing i found that when i removed the addons and connected and still got messages like i described above, i was not exiting the game and restarting it and that this was the problem.  if i resart the game with only editorupdate102 check files works fine.

what i can say for sure is that the addons being present some how cause crc to not check the data files properly.

99% sure that it is only res/dta/data.pbo......data3d.pbo and res/dta/htwl/data.pbo........data3d.pbo that are affected.

Share this post


Link to post
Share on other sites

If I properly understand how the CRC check works the answer to this question is NO, but is there any logical way to explain a possibility that add-on pbo files interrupt, overlay, or otherwise interfere with the CRC filecheck on files such as data.pbo or data3d.pbo.

To produce the modified message without having actually modified the file sitting on the client disk drive?

Could an addon tweak a memory table value somewhere to cause this? Or are the data and data3d's cached into memory perhaps and CRC checked from there?

Sorry if the question is dumb I'm not a guru smile_o.gif

Share this post


Link to post
Share on other sites

ralph can u delete this post i would like to start another one similar to merged.pbo thread but for data.pbo with more updated info.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×