AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Some help please :) (https://forums.alliedmods.net/showthread.php?t=162397)

terryoh 07-18-2011 14:58

Some help please :)
 
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 :(

fysiks 07-18-2011 15:27

Re: Some help please :)
 
force_unmodified()

You can search here on the forums for examples, there should be at least one somewhere.

nikhilgupta345 07-18-2011 17:27

Re: Some help please :)
 
How does it force? Make the client download the same file as the server and delete the current one that they have?

Exolent[jNr] 07-18-2011 17:32

Re: Some help please :)
 
Quote:

Originally Posted by nikhilgupta345 (Post 1513391)
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.

nikhilgupta345 07-18-2011 17:39

Re: Some help please :)
 
Quote:

Originally Posted by Exolent[jNr] (Post 1513398)
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.

Exolent[jNr] 07-18-2011 17:44

Re: Some help please :)
 
Quote:

Originally Posted by nikhilgupta345 (Post 1513402)
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.


All times are GMT -4. The time now is 01:06.

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