QuoteThe question here is, how did you proceed? Did you use the automatic link function or did you complete it manually as a player?I built almost everything manually; in the case of vehicles, I use the automated script to create and route the train.
Quote from: Yona-TYT on January 03, 2026, 06:04:11 AM...
Artifacts in Spanish text; I thought I had fixed this in the translations, but it seems to keep coming back.
...
Quote from: Yona-TYT on January 03, 2026, 06:04:11 AM....
There are problems getting the maximum locomotive size, the value of loc3_tile = 1, but it should be 4.
Edit: I've noticed that when you load the save game, the problem disappears, and the train does leave the depot this time, which is strange.
...
Quote from: Yona-TYT on January 03, 2026, 06:04:11 AMCode_review should be the main branch in GitHub, don't you think?.
...
//Step 11 =====================================================================================
loc3_name_obj = get_veh_ch3(3)
loc3_tile = calc_station_lenght(get_veh_ch3(3), get_veh_ch3(6), set_train_lenght(3))
loc3_load = set_loading_capacity(4)
loc3_wait = set_waiting_time(4)There are problems getting the maximum locomotive size, the value of loc3_tile = 1, but it should be 4.

--- a/src/network/network.cc
+++ b/src/network/network.cc
@@ -XXX,Y +XXX,Y @@
// Processing loop
while(running) {
- // Old Extended Style: Hold lock during execution
- s->lock();
- network_command_t *nwc = network_read_command(s);
- if (nwc) {
- nwc->execute(welt);
- }
- s->unlock();
+ // Standard Style: Unlock immediately after read
+ s->lock();
+ network_command_t *nwc = network_read_command(s);
+ s->unlock();
+
+ // Execute command (World Lock only)
+ if (nwc) {
+ nwc->execute(welt);
+ // Cleanup command object immediately after execution
+ delete nwc;
+ }
}