The International Simutrans Forum

 

Author Topic: r8911 - depot list  (Read 283 times)

0 Members and 1 Guest are viewing this topic.

Offline Andarix

  • *
  • Posts: 92
r8911 - depot list
« on: February 13, 2020, 08:44:09 PM »
The entries in the depot list are not clickable. Neither jumping to the depot nor opening the depot work.


Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1252
    • Simutrans-BLOG
  • Languages: ES
Re: r8911 - depot list
« Reply #1 on: February 14, 2020, 05:49:00 AM »
The entries in the depot list are not clickable. Neither jumping to the depot nor opening the depot work.
Hello Friend.
In my tests everything seems to work fine. Are you sure you use a compatible pakset?

For this to work, there is a "pak" file corresponding to the menu bar icon for depot lists.

Or in my case, I modified "simumenu.cc" to access the depot lists.  8)

Offline THLeaderH jp

  • Coder/patcher
  • Devotee
  • *
  • Posts: 340
  • Languages: JP,EN
Re: r8911 - depot list
« Reply #2 on: February 14, 2020, 07:11:55 AM »
The depot list and other depot related interfaces works fine in my test too.

Online prissi

  • Developer
  • Administrator
  • *
  • Posts: 9709
  • Languages: De,EN,JP
Re: r8911 - depot list
« Reply #3 on: February 14, 2020, 10:59:03 AM »
Hmm, it works for me too.

Offline Andarix

  • *
  • Posts: 92
Re: r8911 - depot list
« Reply #4 on: February 14, 2020, 03:06:14 PM »
It is strange, it works for a new game and Simutrans players. road depot

For player 13 (as a human) the depot list remains empty. road depot
After switching back to the Simutrans player, his depot list is also empty.

After the construction of a new depot, they will be listed again.

Player 13 cannot click the list. Even with Simutrans players, clicking is no longer possible.

The problem seems to be caused by the change of players.


If I load the map from the network game, the depots will be listed for player 13 but are not clickable.
Networkgame_1883-2020.sve ~18 Mbyte

menuconf.tab is for pak64.german 120.4.1.3
add button in listmenu
« Last Edit: February 14, 2020, 03:18:33 PM by Andarix »

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1252
    • Simutrans-BLOG
  • Languages: ES
Re: r8911 - depot list
« Reply #5 on: February 14, 2020, 05:41:32 PM »
Now I can replicate this.

By having multiple active players and switching between them twice, the list stops working correctly.  :P

Online prissi

  • Developer
  • Administrator
  • *
  • Posts: 9709
  • Languages: De,EN,JP
Re: r8911 - depot list
« Reply #6 on: February 15, 2020, 07:52:59 AM »
It is very strange, it seems that the event system itself just do not process event for the player, even though there is no code preventing that.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4620
  • Languages: EN, DE, AT
Re: r8911 - depot list
« Reply #7 on: February 15, 2020, 10:42:18 AM »
should be fixed in r8919. Also ctrl+D was not propagated - I used this key to open depot list.

Online prissi

  • Developer
  • Administrator
  • *
  • Posts: 9709
  • Languages: De,EN,JP
Re: r8911 - depot list
« Reply #8 on: February 15, 2020, 12:09:49 PM »
Thank you, that was really an oversight from me. I greatly appreciate the code review ...

Offline Andarix

  • *
  • Posts: 92
Re: r8911 - depot list
« Reply #9 on: February 15, 2020, 04:32:51 PM »
I think works in r8921

thank you