Author Topic: [Online] Authorize script call  (Read 507 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT

[Online] Authorize script call
« on: August 25, 2017, 02:53:26 AM »

Hi, how are you.

I am thinking of using the script  links "http://forum.simutrans.com/index.php?topic=17135.msg163121#msg163121" to improve the project of maps divided into regions.

The problem is that it can not be used in multiplayer mode, since there is no security measure that prevents an unauthorized player from using it.

Script -> regions-lite.zip


I hope that in the future it can culminate with this project, GREETINGS !!.  ;)

« Last Edit: August 25, 2017, 03:05:18 AM by Yona-TYT »

Offline DrSuperGood

Re: [Online] Authorize script call
« Reply #1 on: August 26, 2017, 12:02:57 AM »
I do not know much about the internal working of the scripting engine. However from previous times it was requested the conclusion was that it would require non-trivial changes to the client/server system used so that players can be aware of other players and their authentication status with companies.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4251
  • Total likes: 177
  • Helpful: 149
  • Languages: EN, DE, AT
Re: [Online] Authorize script call
« Reply #2 on: September 01, 2017, 04:58:53 PM »
Player authentication can be done.

However, somebody has to check whether script calls send by clients are allowed to be executed. Otherwise, a maliciously modified client can send invalid scenario calls, and thus ruining the game.
Parsley, sage, rosemary, and maggikraut.

Offline Yona-TYT

Re: [Online] Authorize script call
« Reply #3 on: September 01, 2017, 10:44:56 PM »
@Dwachs

I can think of the following:  ;D

Use the toll signal window to authorize or not a player.



is it possible to know if the player is authorized to use the toll ?.