News:

SimuTranslator
Make Simutrans speak your language.

r8911 - depot list

Started by Andarix, February 13, 2020, 08:44:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

The entries in the depot list are not clickable. Neither jumping to the depot nor opening the depot work.


Yona-TYT

Quote from: Andarix on February 13, 2020, 08:44:09 PMThe 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)

THLeaderH

The depot list and other depot related interfaces works fine in my test too.

prissi


Andarix

#4
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

Yona-TYT

Now I can replicate this.

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

prissi

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.

Dwachs

should be fixed in r8919. Also ctrl+D was not propagated - I used this key to open depot list.
Parsley, sage, rosemary, and maggikraut.

prissi

Thank you, that was really an oversight from me. I greatly appreciate the code review ...

Andarix

I think works in r8921

thank you