CommonAPI2 Entwicklungsdiskussion, Fragen & Antworten

Willkommen in der Transport Fever Community

Welcome to the fan community of Transport Fever and Train Fever, the economic simulators of Urban Games. The community is free for you to share and inform yourself about the game. We cultivate a friendly and objective interaction with each other and our team will be happy to answer any questions you may have.

 

Registration and use is of course free for you.

 

We wish you a lot of fun and hope for active participation.

The Team of the Transport-Fever Community

  • Debug Modus einschalten in den TPF2 Einstellungen und Spiel neu starten, ^ drücken, und die Zeilen eingeben...

    Du hast eine curl.exe und die anderen Dateien neben TransportFever2.exe liegen?

  • Das habe ich schon mal hinbekommen.


    habe nun gemäß deiner Meldung dann TPF2 wieder gestartet und den Mod Manager versucht zu benutzen...

    nun kommt dann das hier



    Du hast eine curl.exe und die anderen Dateien neben TransportFever2.exe liegen?

    JA habe ich

    Edited once, last by eis_os: 2 Beiträge von HAVELLAENDER mit diesem Beitrag zusammengefügt. ().

  • Bitte nutze die Editierfunktion des Forums.



    Ich benötige eine stdout.txt nach dem du auf Update Repositories bzw, Update Informationen geklickt hast, so das ein Download der Datei gestartet wurde und es zu einem Fehler kommt.

  • curl.exe Rechte Maustaste -> Eigenschaften -> "Sicherheit: Die Datei stammt von einem anderen Computer. Der Zugriff wurde aus Sicherheitsgründen blockiert" -> Zulassen wählen und mit OK bestätigen. Dann noch mal curl starten, gibt es dann immer noch eine Blockierung?

  • curl.exe Rechte Maustaste -> Eigenschaften -> "Sicherheit: Die Datei stammt von einem anderen Computer. Der Zugriff wurde aus Sicherheitsgründen blockiert" -> Zulassen wählen und mit OK bestätigen. Dann noch mal curl starten, gibt es dann immer noch eine BlockieruIch habe

    So ich habe den Übeltäter gefunden.


    Es war jetzt viel probieren und deinstallieren usw. daher auch jetzt erst die Antwort.


    Aktuell habe ich die neuste richtige ( für meinen PC richtige ) Curl Version Stand 08.01.26 geladen auf meinem Rechner und installiert.

    Die exe-Datei funktioniert ist nicht blockiert ( habe ich auch aufgehoben ) , kein Meckern vom Defender. Final war es aber Sicheres WEB Schutz vom Norton Antivirus.


    Sobald Punkt aus ist, war alles wieder möglich. Ein verzwickte Kombination aus mehreren Dingen.


    Herzlichen Dank nochmals für Deine Hilfe.

  • New Error today :(


    tried reinstalling the mod after getting this issue but it seems to persist.

    Have there been any previous similar errors?

  • Hallo. Habe die Mod installiert aber kann sie nicht nutzen wird nicht angezeigt im Startmenü. Welche ist denn die Aktuelle Version ?Bei Steam?

  • Auf Steam gibt es CommonAPI2 nicht,

    auf Steam gibt es nur eine leeres Mod damit Spieler Ihre alten Savegames ohne Änderungen weiterspielen können.


    https://commonapi2.bytetransfer.de/

  • Dieses ist eine Testversion, gerade bei traintracksonstreets ist ein Backup des Spielstands zu machen.

    Mir geht es in letzter Zeit nicht so gut, daher erwartet bitte keine Support Leistung. (Bleibt halt bei der normalen Download Version)


    This is a test version , specially traintracksonstreets should be only used with a savegame backup

    I am not that healthy in the moment, please don't expect support.


    Stabile Version, stable version 1.9.20251010 is here:

    CommonAPI2 Download



    1.9.20260315-dev

    - fix CGameTime::GetGameTime1 animation stuttering on windows (bascule bridge)

    - fix and enable old CommonAPI user filter settings for tracks and streets

    - FlexStreets: add extradataCommonAPI for StreetType to access extradata in postRunFn (sol2 wrappers)

    - FlexStreets: add setting traintracksonstreets (requires FlexStreets)

    - FlexStreets: add support for own materials streetTrain, streetTrainTrack, crossingStreetTrain

    - FlexStreets: simplify StreetGeneratorOverlay, add train tracks to street transition, add crossingTrainTrack materials in overlay

    - FlexStreets: simplify ExtraMaterial, change memory layout, so it can be used as StreetTypeMaterial

    - rename setting flexstreetstracks to traintrackcatenary

    - add commonapi.supports.TRAINTRACKSONSTREETS

    - inspect window: BASE_EDGE_STREET: add api.res.streetTypeRep.get to console when pressing street type

    - inspect window: show MOVE_PATH entries

    - inspect window: add MOVE_PATH_AIRCRAFT(hidden)

    - Show currently run postRunFn mod when verbosity setting is debug

    - streetTerminalCommonAPI openDoors = left: try to use right animation if left animDuration is zero



    Wenn ich irgendwann dazu komme, werde ich versuchen das neue Straßenpaket dann auch noch anzuhängen ... (heute aber unwahrscheinlich)


    -edit-

    Entfernt wegen neuer Version / Removed because of new version

  • Hello eis_os,


    I have a saved game in TF2 on which I did a lot of work.

    I stopped playing for some time and now when I wanted to return to my game, I can't even start the game.

    It displays a lot of errors about commonapi2, starting with "can't load native code commonapi2native no field package.preload"

    I don't know what changed -- the game worked perfectly before, and now I can't even get to the main menu.

    Everything in this forum is in German, so I have no idea how to fix the problem.

    I'm attaching stdout.txt.

    Can you help please?

    Files

    • stdout.txt

      (106.23 kB, downloaded 27 times, last: )
  • First you have two different version installed, stdout.txt tells this:


    ERROR: CommonAPI2 with different version installed! You can only have one CommonAPI2 installed!


    C:/Program Files (x86)/Steam/userdata/424930936/1066780/local/mods/eis_os_commonapi2_1/


    And in the game directory with mods/eis_os_commonapi2_1/

    I guess TPF2 is installed in F:/SteamLibrary/steamapps/ so the path would be

    F:\SteamLibrary\steamapps\common\Transport Fever 2\mods\eis_os_commonapi2_1\


    English troubleshooting guide, including C++ Runtime troubles, Zip Password.

    https://commonapi2.bytetransfer.de/#/troubleshooting


    Last stable CommonAPI2 is 1.9.20251010

  • Thank you for your reply.


    I still don't understand what I'm supposed to do now.

    The game was running perfectly when I last played it several months ago. And without changing anything, it's not working anymore.

    Should I delete some files so that CommonAPI2 is only in one place?

BlueBrixx