Hi again guys
I've rearranged the vehicle ID's of the engines in the set to other ranges. And this did ofcourse let the cannot-connect lines go wierd

The wierdest thing however, is that the converted code works with the engines, but not with the MU's, and it is basicly JUST the same, only different ranges
The clue with the engines is to dissalow attaching vehicle ID 5F and 70, and allow all others, and that works perfectly with the current code, plus it can ofcourse attach more of the same engine (or others for that matter)
Code: Select all
-1 * 0 02 00 AD 81 C6 00 FF 02 // 2 ranges
F9 80 5F 5F // Dissalow 5F to 5F. I.E. the express muwagon with message F9
F9 80 70 70 // Dissalow 70 to 70. I.E. the PAX muwagon with message F9
FE 80 // Allow everything else
-1 * 0 02 00 AC 81 0C 00 FF 01 AD 00 1D 1D AA 00 // Callback 1D
To me this reads:
Allow all vehicle IDs from 0 to 255, exept 5F and 70, plus 256 and higher is also allowed
On the MU's the other hand, it can attach the proper (two) wagons as they are not in the dissallowed range, but it cant attach more of the same engine, and i have no clue why. The engines are not in the 0-FF range either, they are on vehicle ID 2000 or higher, and the same is also true for the engines.
Code: Select all
-1 * 0 02 00 AD 81 C6 00 FF 03 // 3 ranges
FB 80 00 5E // from 00 to 5E dissalow with message FB
FB 80 60 6F // from 60 to 6E dissalow with message FB
FB 80 71 FF // from 71 to FF dissalow with message FB
FE 80 // allow everything else
-1 * 0 02 00 AC 81 0C 00 FF 01 AD 00 1D 1D AA 00 // Callback 1D
To me this reads:
All vehicled ID's from 0 to FF (0 to 255decimal) is dissallowed, exept 5F and 70. And since the engines are vehicleID 2000 or higher, it should be in the default range, just as the normal engines is.
Why isnt this working?
If some1 needs to see the .grf it can be downloaded in my signature. All engines are working, and the EMU2200 (comes out in 2005 or something) wont work as intended with the above code
