The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: uci on March 19, 2011, 02:56:40 PM

Title: AI player initiated without password
Post by: uci on March 19, 2011, 02:56:40 PM
Hi,

This bug occurs on the current network game started at 128.simutrans.entropy.me.uk.
You can visit the map at coord (118,191) to see yourself.
Description:

An AI player can be initiated without password from the public player in network games.
Since the player will not disapear from map, we can use his money indefinitely to alter the map
via key shortcuts.

uci
Title: Re: AI player initiated without password
Post by: Ashley on March 20, 2011, 06:31:05 PM
http://entropy.me.uk/simutrans/networksavegames/sim128/sim128_r4303_20th_March_2011.sve

Since the server has been restarted, but this should be the same save.

Also, very devious technique :)
Title: Re: AI player initiated without password
Post by: Dwachs on March 20, 2011, 07:57:57 PM
So the bug is that AI players are not removed in network games?
Title: Re: AI player initiated without password
Post by: Ashley on March 20, 2011, 08:32:07 PM
The bugs are:

1. AI players probably shouldn't be allowed in network games.
2. If they are, then you shouldn't be able to interact with them as a player (e.g. automatically set a random password for the AI account when it is created maybe?)
3. AI players should be removed if they go bankrupt.
Title: Re: AI player initiated without password
Post by: uci on March 20, 2011, 08:47:53 PM
Quote from: Dwachs on March 20, 2011, 07:57:57 PM
So the bug is that AI players are not removed in network games?

What I want to say in the first post is:

I observe that an AI player cannot be created by a normal player
in network games. However, if you click the public player and
WITHOUT ENTERING ANY PASSWORD you can create an AI player.
I think the program should ask first for a public player
password. The bug report refers to this.

uci

Title: Re: AI player initiated without password
Post by: prissi on March 20, 2011, 09:45:28 PM
The latter is indeed the intended behaviour.
Title: Re: AI player initiated without password
Post by: Dwachs on March 21, 2011, 09:35:26 AM
Quote from: Timothy on March 20, 2011, 08:32:07 PM
3. AI players should be removed if they go bankrupt.
@prissi, what about this?
Title: Re: AI player initiated without password
Post by: prissi on March 21, 2011, 12:36:21 PM
They will be removed as everybody else. At least it worked when I checked lately. One jsut has to way very long for this, sicne they build slowly.