Beiträge von MCX

    For example, there is Google Translate, which I am currently using. So you don't have to speak German to communicate in German. Expecting us to communicate with you in English in a German forum is a bit presumptuous.

    English to German: Google Translate

    Macht nicht viel, es sind nur ein paar Zeilen Code, also erwarten Sie keine Wunder, aber es scheint einige kritische Fehler zu beheben, während wir auf den echten Patch warten.


    1) Verhindert, dass die Missionsliste auf dem Server gespeichert wird, sodass Sie die persönliche Liste und die Allianzliste in separaten Fenstern verwalten können

    2) Verhindert, dass der ausgewählte Filter auf dem Server gespeichert wird

    3) Versucht, die „reSort“-Funktion zu überschreiben, die bei jedem einzelnen missionMarkerAdded ausgelöst wird, was dazu führt, dass ständig intensive Berechnungen ausgelöst werden.


    Macht das Spiel viel stabiler und wird gelöscht, wenn der Fix verfügbar ist.



    P.S.

    Sehr feindselige Community hier, ich versuche nur hilfreich zu sein.

    Da dies das EINZIGE Forum für dieses Spiel ist, auf allen Sprachservern, wo auch die Entwickler anwesend sind, bin ich hier.

    Gefühlt schlecht ist die Performance geworden. Hier würde ich mir sehr Nachbesserung wünschen. Die Alarmierung scheint mir seit der Umstellung länger zu dauern.

    The performance degradation has been identified, and it escalades as more missions are active.

    Every time a mission is updated (new vehicle sent, or a patient released), the game runs a new sorting of missions. This could happen multiple times pr second, so just after a few minutes the game is exhausted if the mission list is of a good size, memory usage goes to plenty of GB and the game just chokes.


    A quick solution is to open developer console in your browser (CTRL+SHIFT+I on windows Chrome), and enter the following code:


    window.missionListSorters.forEach(o => o.reSort = function() { });


    Hit enter, and the game won't slow down.

    I gathered it in a UserExtension script, found in the Scripts part of the forum.

    That will also not save your mission list as you filter, so that you can run multiple windows open, like before. However, how the missions are gathered into one now, does not guarantee it will just be your own, or just alliance missions as you go through them.

    Filters will still work, so you can search, filter as you please, but the other windows won't be affected.


    It is, literally, 4 lines of code in that script to undo a lot of the damage introduced.

    https://github.com/anoM4n/LSS-…in/QuickFilterFix.user.js


    Doesn't do much, it's just a few lines of code, so don't expect miracles, but it seem to solve some critical bugs while we wait for the real patch.


    1) Prevents the mission list being saved to the server, so you can maintain personal list and alliance list in separate windows

    2) Prevents the selected filter from being saved to the server

    3) Tries to override the "reSort" function that is triggered at every single missionMarkerAdded, leading to intense computations being triggered constantly.


    Makes a much more stable game, and will be deleted when the fix is out.

    There is not much more to rant about, but to give a serious last call.


    Us, who play with thousand of missions each day, this feature, how it is implemented is killer to our game.

    It is very well suited for the iPhone and iPad players, but the big PC players, this is simply a gamestopper.


    Please, for the love of the game. Revert and try again, with the help from us.

    It is wonderful features, but it is just implemented wrong. Third try is the charm.

    Dazu müsste der Betreiber / Entwickler wissen wie das geht. Aufgrund fehlender Fachkenntnisse kann er so etwas frühestens in 10 Jahren zur Verfügung stellen.

    Grundsätzlich finde ich die Idee sehr gut, wird in vielen anderen Spielen ebenfalls so gemacht, aber wie gesagt, die Umsetzung setzt einiges an Fachwissen voraus.

    Indeed. But we are plenty of quality coders in here. With a bit of trust, it is basically free labor to develop a better product. Gradually moving the UI from the logic, and less traffic with all of these AJAX calls.

    Maybe it's time to make a bold business move and open-source the frontend of the game. Keep all the secrets in the backend and open up APIs. All the scripters in this forum would happily contribute instead of fixing missing functionality with external scripts. Then it could be shaped by the gamers for the gamers, works on all platforms, and there's no 7 year waiting period for a sorting mechanism that doesn't work. It is already fully functional in other scripts.

    Renaming vehicles in v3 uses the endpoint

    `/vehicles/${vehicleID}/editName`


    However, is there documentation on this API? How to use it:

    1) What headers to use, currently I only know Sebastian wanted "X-Thirdparty-Script"

    2) Is there an endpoint in setting the max-amount of assigned to the vehicle?


    So basically, if /editName exists, is there a generic /edit POST/PUT, where you can supply both name and max assigned to the vehicle?