News:

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

r11519 - load player color

Started by Andarix, December 24, 2024, 09:50:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

simutrans r11519 - pak64.german - pak64.german theme

change the player color

reload the game, the player color from objects set default player color

screenshot is standard yellow player

palyer_color_r11519.png

ceeac

Cannot reproduce with pak128. Is random_player_colors or player_color[...] set in simuconf.tab?

Andarix

#2
# player color can be fixed for several players or set totally random
# in the latter case each player will get unique but random coloring
# (default 0)
random_player_colors = 0

# when set here, the player will always get these player colors, even
# if random colors were enabled.
# color values range from 0 to 27 for first and second player color
# and there are 0...15 player in the game
player_color[0] = 0,3
player_color[1] = 1,4

is a ai player (Teumer Alp Dream Trucks)

savegame:

Simutrans 11519 - windows GDI x64
pak64.german 124.0.0.4
Script AI Rail 0.9.5.1


I also don't know why the layer view is loaded. It was saved with the normal view.

I've had an error message several times when autosaving the map. However, the display was too short for me to read it properly or to take a screenshot.

Andarix

#3
error message by autosave map

Screenshot 2024-12-24 151013.jpg

free space on drive marked

Screenshot 2024-12-24 151348.jpg


[EDIT]

link to github file simworld.cc line 3571

ceeac

Quote from: Andarix on December 24, 2024, 12:12:10 PMI've had an error message several times when autosaving the map.
The error seems to be unrelated, but I have improved the error messages in r11552.

prissi

I modified this a bit to reuse translated texts and indicate better that writing failed in r11554. But that should not change this problem.

It could be that the file path was wrong before autosaving. r11555 should fix this too.

ceeac

The player colour change should now also be fixed in r11516.

Yona-TYT

Wow I see a lot of fixes in a row here. 😅

Andarix

Quote from: ceeac on December 30, 2024, 04:09:45 PMThe player colour change should now also be fixed in r11516.

is fixed r11561