Programmable signals:
Are you sure you are clicking a programmable signal? If you click a pbs signal after the program button noting will happen indeed.
You can not program other signals types and the signals to depend upon can only be exit signals. (combo signals are exit signals too.)
Ooohhhh! I just noticed that there was a 'programmable signal'.
Please tell me how to reproduce. I can remove tramtracks without problems.
As you modified the source it would be helpful if I knew what exactly you changed.
If you PM me the patch from your source I can more easily compare it to mine to see if you have maybe forgotten to do something while modifying/bumping. No promises that I can fix it though and please make sure that the new files are included also.
There is a reason I do not always post my patch pack against the current trunk or ask not to bump. Read: if there are codechanges in trunk those changes have to be made in the patches also to keep them working correctly, if they are affected by the codechange that is.
Sometimes the change is simple, sometimes I need to go and dig the logfiles if I missed it when the change was made to trunk.
I believe that the problem only occurs with a large map - starting one and then messing around with trams a bit (two trams with orders usually) seems do the trick, although it has crashed at other times. The patch is compiled with the same revision as is stated in the .diff's file name.
Changed:
Code: Select all
+/* Maximum bridge size is 100 tiles, 16 bit available for signals in m2 =>
+ * 50 blocks of 2 tiles available between ramps */
+static const uint8 bridge_signal_block_size = TILE_SIZE * 2;
Code: Select all
+ while (bridge_signal_position <= bridge_section) {
+ bridge_signal_position += 2; // 2 tiles is block size, max 48 signals, 50 blocks * 2 = 102 on bridge of max length e.g. 100 tiles
I'll PM the diff to you.
There was, while I was testing the game for the previous crash, another crash! Attached is the usual. Again, this was caused when setting up a few trams and after giving them orders to a station.