Chinese electric bus bug in BCS

  • Logfile uploaded?
    No
    Ingame Username
    CaptainZhang

    BCS has a problem when it interacts with our electric buses. We've tested that only electric buses are affected. The diesel, gas and hybrid buses have no problems. And we've found something that can help to find where the bug is.


    1. The bug happens when creating backups for .bus & .osc files in multiplayer and career mode for singleplayer. So we think it could be something related to failure simulation to repair, because free play doesn't add failure to buses. The typical phenomenon is BCS will be stuck at checking errors for maps (or in the middle of loading, if checking map errors are not activated) after selecting the buses. At this time the backup files are not created.


    2. We've found a temporary way to use those electric buses, which is, when BCS is stuck at the position above, press "esc" and click "back", the buses can be loaded as usual, backups files are created.


    3. In all of our electric buses, there are two that DON'T have this bug, which is not common. We've checked them with other buses from the same creator and same brand. They use almost the same .osc files, which means they are almost the same as the bug buses. We can't see the difference between them.


    4. We use folders to category all the files. We had another bug which might be caused by the folders, which is, some variables for failure can't be added to the varlist.txt. But we fixed this by adding variables manually. I don't know if the folder can also be a cause for this bug.


    So our conclusion is that there may be a weird process when creating the backup files for failure. It seems to be a bad file path finding or something, because there's no bug driving in game.

  • We haven't really understood the problem, but perhaps the affected buses have special characters of some kind in their names, file names or folder names that BBS can't cope with.

    Mit freundlichen Grüßen
    Daniel Trenzen
    Organisations-Controller
    - PeDePe -

  • perhaps the affected buses have special characters of some kind in their names, file names or folder names that BBS can't cope with.

    which files does BBS load and/or change while playing? we will check these files carefully again

    and just another idea: i know BBS adds some codes for failure into osc files. is it possible to know whether it's stuck at loading/writing/saving process, so that we can know whether to check the name or the inside of the file?

  • Please check the Section [name] and [friendlyname] in .bus-Files and all foldernames.

    The .osc files are processed when the condition of the vehicle is checked or changed in the multiplayer so that simulated defects can be stored.

    Mit freundlichen Grüßen
    Daniel Trenzen
    Organisations-Controller
    - PeDePe -

  • I've checked the names. No special characters. We all name them with English letters and symbols on English keyboard.

    And, I just remembered that no issues while loading in singleplayer -> freeplay. So there should be no name problem, at least in {friendlyname}


    i don't know if the bug below is related. Please read the end first.

    -----------------------------------------------

    I just realized a bug about bad path/file finding logic of BBS.

    We had another bug which might be caused by the folders, which is, some variables for failure can't be added to the varlist.txt. But we fixed this by adding variables manually.

    So this was a bug i mentioned first. Now i think it's involved in the bad logic.

    In some folders (in this bus folder), some buses have alternative versions of osc files. Take cockpit as an example, as it's changed by BBS.

    We have like cockpit - blabla.osc and cockpit - blablabla.osc. BBS doesn't recognize which one is used by the current bus but changes both of them, making the other change unnecessary.

    Also, for this osc it should add a BBS_Chat_Offen into the varlist. But it doesn't recognize the varlist in this folder and leaves a fault variable.

    And next is the lights.osc. BBS doesn't put the new-added variables in the varlist in its folder.

    But i wonder why the heizung and wiper works very fine when BBS adds codes and variables. And I just found that some osc for heizung are not changed too.

    PS: we call it wiper_varlist. But for cockpit and lights we call it varlist, as it's already been sorted into the cockpit and lights folder, same as wiper.


    and next, we have some old buses that uses a script folder outside the bus folder. It seems that BBS can't recognize where the scripts are. The script there are never changed for the failures. Therefore no bugs showed and we took a while to figure out what was happening above.


    Now what i know is that cockpit, heizung, lights and wiper osc are changed by BBS. But I just can't see the real differences between the normal and buggy one.

    There's a bus folder where exists a hybrid kind and an electric kind. The electric kind has the problem while hybrid doesn't. The only difference is the cockpit.osc (heizung osc is different but not changed here and i don't know why). It's "cockpit.osc" and "cockpit - E.osc" and I can confirm that the space in the name works.

    -----------------------------------------------


    Edit: just remembered the bus that uses the outside script folder. the electric one is buggy too.

    And i noticed the freeplay also adds codes and creates backup (i was wrong about this) but no loading problem. What's the difference between freeplay and multiplayer&career? Only freeplay has no bug.

    Could you tell how BBS finds and loads the bus? It's real hard to find the point now.


    Edit: just checked a file called vorbereitung.log. It seems that all the electric buses are stuck and 26, after pressing esc and back load again it stops at 46.

    But it says this after 38: Fehler beim Kopieren der org Datei: D:\Program Files (x86)\steamapps\common\OMSI 2\vehicles\[Public]YK6105 (access denied) when loading any Chinese buses.

    Any idea about this?

  • Just so I didn't misunderstand you... After a bus has been modified, do you also buy it new in 3D terrain? The car then only works for the player who has the same modification installed on his computer.

    Mit freundlichen Grüßen
    Daniel Trenzen
    Organisations-Controller
    - PeDePe -

  • Unfortunately, the image quality is too poor to see exactly what is happening. Especially if I limit myself to the contents of your Explorer's file structure. But at the first moment I see special characters in the license plate of the vehicle at minute 1:55


    Please change the license plate to regular characters. AB-CD 1234

    Mit freundlichen Grüßen
    Daniel Trenzen
    Organisations-Controller
    - PeDePe -

  • Unfortunately, the image quality is too poor to see exactly what is happening

    sorry, i just saw that if you don't log in at that website you will only see 320p quality.

    i wanted to make it into zip file but it still exceeds 10MB.

    i'll try to post it on youtube once again

    Edit:

    External Content youtu.be
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Please change the license plate to regular characters. AB-CD 1234

    the license plate was AA-06845D. i just rent one with AB-CD 1234 but the bug still exists

  • Please edit the name of the folder. It called ../[Public]YK6845/..

    Or it is a shared folder. I think, this will cause possible errors.





    And Sell and buy the bus again. We will subsequently refund any ingame money lost as a result.

    Mit freundlichen Grüßen
    Daniel Trenzen
    Organisations-Controller
    - PeDePe -

  • this will cause possible errors.

    no that's not the problem i think

    as you can see there are some other folders with [public], which are not electric buses. they don't have the bug and load smoothly

    but here these folders with red check marks don't have [], which are electric buses, they have the bug. and these are not all of the buggy buses.

    but the folders in green circle are the electric buses that don't have the problem. they are the only three.

    in the video, in hall 1, 17 and 19 are the buggy electric; in hall 4, 2 6 8 10 12 14 20 are. this is a huge amount. but hall 4 number 4 is the bus from the green circle.

    i just wonder why this bug is on electric buses only.....

  • In the video, the error message was explicitly seen in the log file: "Error copying file xxxx"
    Please install this version of BBS: https://busbetrieb-simulator.d…/busbetrieb-simulator.jar
    Then start BBS with the start-Admin.bat and see what is output in the console. It will then show additional information if copying the file fails again, which may lead us closer to solving the problem.

    Mit freundlichen Grüßen
    Daniel Trenzen
    Organisations-Controller
    - PeDePe -

  • An important error has been identified and fixed using the log. Please try again with this version and send the log again if it fails.


    https://busbetrieb-simulator.de/files/test2/busbetrieb-simulator.jar


    During the test, no text editors or similar should be open to ensure that the files are not temporarily write-protected and can be copied without problems.

    Mit freundlichen Grüßen
    Daniel Trenzen
    Organisations-Controller
    - PeDePe -