Raised This Month: $ Target: $400
 0% 

Some help please :)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
terryoh
Member
Join Date: Apr 2010
Old 07-18-2011 , 14:58   Some help please :)
Reply With Quote #1

Is there a function or something that compare a file existent in the server with a file existent in client's game(I mean the content of the 2 files) ?
Please I need help
terryoh is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-18-2011 , 15:27   Re: Some help please :)
Reply With Quote #2

force_unmodified()

You can search here on the forums for examples, there should be at least one somewhere.
__________________
fysiks is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 07-18-2011 , 17:27   Re: Some help please :)
Reply With Quote #3

How does it force? Make the client download the same file as the server and delete the current one that they have?
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-18-2011 , 17:32   Re: Some help please :)
Reply With Quote #4

Quote:
Originally Posted by nikhilgupta345 View Post
How does it force? Make the client download the same file as the server and delete the current one that they have?
If the file is different than what the unmodified rules are, then the player is disconnected.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 07-18-2011 , 17:39   Re: Some help please :)
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
If the file is different than what the unmodified rules are, then the player is disconnected.
Is he notified of why he was disconnected and notified of which file must be the same? Because it would suck to be kicked repeatedly from a server if you don't know why you're being kicked and with no way to fix it.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-18-2011 , 17:44   Re: Some help please :)
Reply With Quote #6

Quote:
Originally Posted by nikhilgupta345 View Post
Is he notified of why he was disconnected and notified of which file must be the same? Because it would suck to be kicked repeatedly from a server if you don't know why you're being kicked and with no way to fix it.
I've never used it, but I'm sure it would say something like the different map message (Map file [de_dust.bsp] differs from the server's.) or whatever it is.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 01:06.


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