When starting company prompt to set password.
Moderator: OpenTTD Developers
When starting company prompt to set password.
Howdy,
I know A LOT of the regulars get fed up of the posting about ppl having their game destroyed by some idiot by him taking over the company. I suggest that we make it mandatory to set a password when making a new company. I also believe that this would have a huge impact on the amount of people wanting a central banning ip range system, as with the passwords in theory there would be A LOT harder for idiots to destroy games.
This would also help out those people who have just grabbed the game. For me the first time i learnt about the passwords was just after i got my game destroyed and i know i almost didnt want to play any more.
Post what you reckon.
-Marc
I know A LOT of the regulars get fed up of the posting about ppl having their game destroyed by some idiot by him taking over the company. I suggest that we make it mandatory to set a password when making a new company. I also believe that this would have a huge impact on the amount of people wanting a central banning ip range system, as with the passwords in theory there would be A LOT harder for idiots to destroy games.
This would also help out those people who have just grabbed the game. For me the first time i learnt about the passwords was just after i got my game destroyed and i know i almost didnt want to play any more.
Post what you reckon.
-Marc
Re: When starting company prompt to set password.
Very clever idea! The only thing is that some people want to let anyone join and play without asking for a password. However that is a small inconvenience to pay for having less company destroyers!
Re: When starting company prompt to set password.
Simple - allow an empty string as the set password. A user who wants to leave their company open can just hit ENTER.
OTTD NewGRF_ports. Add an airport design via newgrf.Superceded by Yexo's NewGrf Airports 2
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Want to organise your trains? Try Routemarkers.
--- ==== --- === --- === ---
Firework Photography
Re: When starting company prompt to set password.
Oh, Yeah! I completely forgot that was how you removed a password! All in all, it seems like a good idea to enter a password automatically when you make a company.
- athanasios
- Tycoon
- Posts: 3138
- Joined: 23 Jun 2005 00:09
- Contact:
Re: When starting company prompt to set password.
If I want anyone to join, I can place a sign with the password.
http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
Re: When starting company prompt to set password.
Well, but unless he joins the server first (at least as spectator), he can't see the sign. For this to work effectively, people should be able to move from spectator to a company (or to create new company and join it) without need for reconnecting.athanasios wrote:If I want anyone to join, I can place a sign with the password.
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Re: When starting company prompt to set password.
there is a config option ( not in 0.5.3 though - cannot remember when it was introduced)
default_company_pass =
whenever you create a company the pass will be set to that
default_company_pass =
whenever you create a company the pass will be set to that
Re: When starting company prompt to set password.
This got into trunk quite recently, though it have two disadvantages - in game you don't see whether there is some password or not (you have to look into the config file to check for that)dihedral wrote:there is a config option ( not in 0.5.3 though - cannot remember when it was introduced)
default_company_pass =
whenever you create a company the pass will be set to that :-)
Second, it is stored in plaintext in config file. If you do not realize that and send config file to someone (like with some bug report to the bugtracker) ... oops, your password just became public.
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
Re: When starting company prompt to set password.
it's your own job to check the content of what you send!
openttd should not be responsible for peoples own sillyness!
btw: same thing for server config, server_pw and rcon_pw are both plain text, besids it's a game - you just dont use sensitive passwords there
openttd should not be responsible for peoples own sillyness!
btw: same thing for server config, server_pw and rcon_pw are both plain text, besids it's a game - you just dont use sensitive passwords there
Re: When starting company prompt to set password.
I know. But unfortunately many people are probably not aware of that. Whil server owners are probably at least somewhat educated and may realize the password is there, players (or at least some of them) may have less computer skills and they won't realize the password is stored in config. We store high-scores in hs.dat, so we may store the passwords in some separate file too. That way anybody can send config to anyone without worrying about editing out the password first (or forgetting to do that and then ripping hairs out of his head)
If you need something, do it yourself or it will be never done.
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
My patches: Extra large maps (1048576 high, 1048576 wide) (FS#1059), Vehicle + Town + Industry console commands (FS#1060), few minor patches (FS#2820, FS#1521, FS#2837, FS#2843), AI debugging facility
Other: Very large ships NewGRF, Bilbo's multiplayer patch pack v5 (for OpenTTD 0.7.3)
-
- Transport Coordinator
- Posts: 283
- Joined: 08 May 2004 07:48
- Location: Alkmaar, The Netherlands
Re: When starting company prompt to set password.
Isn't there a console command to set a password? If so, then we can start using on_client.scr for automatically setting a password without having it typed in openttd.cfg.
edit: found it: company_pw does the trick!
edit2: strange, in the console it says "company_pw changed to blabla", however when I start another game, and check the server, my company isn't PW-protected... Weird
edit: found it: company_pw does the trick!
edit2: strange, in the console it says "company_pw changed to blabla", however when I start another game, and check the server, my company isn't PW-protected... Weird
Beer equals power
Re: When starting company prompt to set password.
i rename my company to ... "Password: PW" and ... i leave ... almost sameathanasios wrote:If I want anyone to join, I can place a sign with the password.
My patches: Day length (new concept), Conditional loading, Auto separation, Unload all adds Leave empty, Better statue placement (in trunk)
My abandoned patches: Speed limits for RVs, Day length (old concept)
My abandoned patches: Speed limits for RVs, Day length (old concept)
Re: When starting company prompt to set password.
Thats because "on_client.scr" is called before you actually join the company, thus the password is set, and then you join the company. FOr this idea to work, it would have to be the other way.Grolsch wrote:Isn't there a console command to set a password? If so, then we can start using on_client.scr for automatically setting a password without having it typed in openttd.cfg.
edit: found it: company_pw does the trick!
edit2: strange, in the console it says "company_pw changed to blabla", however when I start another game, and check the server, my company isn't PW-protected... Weird
Re: When starting company prompt to set password.
besids it would set the password when you join other peoples companies, and i dont think they would thank you for that!
and exactly how often do you have to pass your config file on to others that you cannot your default_company_pw ?
and exactly how many people actually touch their config files manually?
and exactly how often do you have to pass your config file on to others that you cannot your default_company_pw ?
and exactly how many people actually touch their config files manually?
- NukeBuster
- Traffic Manager
- Posts: 222
- Joined: 04 Jan 2006 18:16
- Location: Alphen aan den Rijn, The Netherlands
- Contact:
Re: When starting company prompt to set password.
I made a patch that shows the password dialog when you join a NEW company.
Please look here: Password at join
Please look here: Password at join
NukeBuster
Transport Empire: The Transport Empire Linux effort
Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !
OpenTTD patch(es): Password at join
Transport Empire: The Transport Empire Linux effort
Join the Transport Empire IRC channel: [url]irc://irc.oftc.net/transportempire[/url] !
OpenTTD patch(es): Password at join
Re: When starting company prompt to set password.
really nice nuke buster. Hopefully it wil fall into the trunk.
Who is online
Users browsing this forum: No registered users and 5 guests