Raised This Month: $ Target: $400
 0% 

How to get CRC of client file?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Levi.Berenbaum
Junior Member
Join Date: Aug 2008
Old 08-24-2008 , 15:35   How to get CRC of client file?
Reply With Quote #1

How to get CRC (or MD5) of a client's file?
Levi.Berenbaum is offline
Iwon
BANNED
Join Date: Jul 2008
Old 08-24-2008 , 18:12   Re: How to get CRC of client file?
Reply With Quote #2

Don't think you can.
Iwon is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-24-2008 , 18:40   Re: How to get CRC of client file?
Reply With Quote #3

AmxModX is server side. Can't work/read client files.
Alka is offline
Levi.Berenbaum
Junior Member
Join Date: Aug 2008
Old 08-24-2008 , 19:02   Re: How to get CRC of client file?
Reply With Quote #4

Quote:
Originally Posted by Alka View Post
AmxModX is server side. Can't work/read client files.
I know this. But when some file changed I have kick "Your map [maps/de_nuke.bsp] differs from the server's."
It's CRC stuff?

Or maybe exist some client hash functions?
Levi.Berenbaum is offline
Iwon
BANNED
Join Date: Jul 2008
Old 08-24-2008 , 19:13   Re: How to get CRC of client file?
Reply With Quote #5

Quote:
Originally Posted by Levi.Berenbaum View Post
I know this. But when some file changed I have kick "Your map [maps/de_nuke.bsp] differs from the server's."
It's CRC stuff?

Or maybe exist some client hash functions?
No it means it has been modified by someone else on a different server.

You can delete it or make them force download it agian.
Iwon is offline
Levi.Berenbaum
Junior Member
Join Date: Aug 2008
Old 08-25-2008 , 07:00   Re: How to get CRC of client file?
Reply With Quote #6

One player was kicked with reason:
Reason: Bad file Server is enforcing file consistency for sprites/fastw.spr

What is it? How server checks consistency of file?
Levi.Berenbaum is offline
Iwon
BANNED
Join Date: Jul 2008
Old 08-25-2008 , 14:48   Re: How to get CRC of client file?
Reply With Quote #7

PHP Code:
if(file_exist(force_unmodified_file("name of file"))); 
blahblah
Iwon is offline
Levi.Berenbaum
Junior Member
Join Date: Aug 2008
Old 08-25-2008 , 19:04   Re: How to get CRC of client file?
Reply With Quote #8

Quote:
Originally Posted by Iwon View Post
force_unmodified_file
I can't find this function. #_0
Levi.Berenbaum is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-26-2008 , 07:26   Re: How to get CRC of client file?
Reply With Quote #9

-> http://www.amxmodx.org/funcwiki.php?go=func&id=213
Alka is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode