News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Server password reset in game time not real time

Started by AP, January 21, 2018, 04:19:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AP

Apparently server passwords are reset after a certain amount of time, expressed in in-game years, has passed.


I think it should be expressed in real time.


Time in the game flows in a variable manner, according to how often other players are active (more activity, it flows faster). This means it is very difficult for players with other commitments, or who are away, for example, to know their company is "safe" for e.g. a week, 10 days etc.  Activity may suddenly increase, or decrease.


Whereas if it were expressed in real world days it would be predictable and reliable.

jamespetts

I should note that this is the same in Extended as it is in Standard, so I shall move this to the extension requests section for Standard.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

prissi

It is not possible to use this in real time (only), because the only way to tell, if a company is active or not, is by looking at its activity over time. On a server with autopause, that time can vary strong in real time.

Ters

Why do you need to tell if a company is active? All you need to know is when the password last was set and the current time, both according to the server's system clock.

Leartin

Quote from: Ters on January 22, 2018, 06:24:10 AMWhy do you need to tell if a company is active? All you need to know is when the password last was set and the current time, both according to the server's system clock.
*When the password last was put in correctly, or when there last was a client logged in to the player. But yes, logging in should be the only thing required, since it's as hard or easy to do as logging in and planting a single tree for "activity".

prissi

Since the prupose is the free slots for abandoned companies, checking for activity is meaningful. Otherwise, for the other players, that company appears abandoned. (And indeed, any construction activity counts.)

AP

If a company is profitable, a player may log in, check finances, look around, think "yep, all fine" and log out again. That's perfectly valid behaviour.

I agree, the relevant thing is the timestamp on the login. Not what the company is doing.

jamespetts

Does the game currently store when the player last logged in anywhere?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

prissi

No, it is not. Even more, a finance check can be done without changing to the player in question.

AP

But a company to which a player has logged in, is by definition active, even if no construction works were carried out in the immediate past. And since one cannot build without logging in, logging in is surely a good proxy for activity.

You have to switch to the player in order to view the player company finance window. Otherwise you get the public player's company finance window instead.

prissi

No, you can click on the colored button in the finance screen so see any players finances. You just cannot built headquarters then ...

Ters

If any player can open any player's finances, opening a player's finance windows should not consider that player active, no matter how you measure time.

prissi

That is whz currently a construction (clearing a tree or building something), or a vehicle purchase/selling is used as measure. But the main reason was, that those data was already present in the finance history anyway.

Of course, if we charge 0.01 simucredit per logon, then it would be verz easy to keep charge of that too.