Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2000:
[Freeciv-Dev] Re: Against cheating clients: global_advances patch.
Home

[Freeciv-Dev] Re: Against cheating clients: global_advances patch.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Against cheating clients: global_advances patch.
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Sun, 03 Sep 2000 08:20:18 -0400

At 2000/09/02 17:30 , Marko Lindqvist wrote:
>On Sat, 2 Sep 2000, Jeff Mallatt wrote:
>
>> At 2000/08/20 20:34 , Marko Lindqvist wrote:
>> >
>> > Don't send to client any such information concerning global techlevel
>> >that is impossible for user of standard (non-cheating) client to see.
>> >
>> 
>> This doesn't address all cases.  I didn't do an exhaustive search, but at
>> least the spaceship advances need to be included (at least, for now).
>
> Well, I did grep 'global_advances' and found no other cases where it is
>used client side.
> With spaceship advances, you are referring to game_next_year(), correct?
>It's called only from city_change_production_penalty() and
>game_advance_year() which both are called only from server.

city_change_production_penalty() is called from city_turns_to_build(),
which is called in several places in the client.

>> Also, I think I'd eventually prefer to not send global_advances at all, if
>> posible, send just the vector of obsoleted wonders.
>
> Eventually, yes.

Also, I think it would be easy to implement, and much cleaner than masking
out advances.

jjm




[Prev in Thread] Current Thread [Next in Thread]