It is for Valve's interface model for Source, where only the latest
version is available and the version number is just an indication of
compatibility.
MM:S works around this by brute-forcing the interface version until it
gets a non-null pointer, this way it doesn't break for
backwards-compatible changes like this, but has the possibility of
crashes if the interface change isn't.

Asher.


On Sun, Oct 16, 2011 at 9:20 AM, Ronny Schedel <i...@ronny-schedel.de> wrote:
> Sorry, but this is not the correct way. In the real world it is possible to
> use old versioned interfaces if they add new functions to the end of the
> interface and let you use old interface version. But in Valves way, we have
> to compile the same plugin against the new interface version number, even
> when we don't use the functions of the newer interface. This is not the
> proper way in dealing with interfaces.
>
>
> Best regards
>
> Ronny Schedel
>
>
> -----Ursprüngliche Nachricht----- From: Asher Baker
> Sent: Saturday, October 15, 2011 11:07 PM
> To: Discussion of Half-Life Programming
> Subject: Re: [hlcoders] IServergameclients interface changed with
> latestupdates
>
> They *did* change it in the proper way, the version number was
> increased, which is why you're having issues with it, since you are
> trying to get the old version.
>
> On Sat, Oct 15, 2011 at 4:55 AM, Ronny Schedel <i...@ronny-schedel.de>
> wrote:
>>
>> Hello,
>>
>> does anyone know what is changed in the IServergameclients interface, it
>> does not load anymore?
>>
>> When do they learn how to change interfaces in the proper way?
>>
>> Best regards
>>
>> Ronny Schedel
>>
>> _______________________________________________
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>>
>>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to