Transport Fever 2

Transport Fever 2

157 voti
h4e Packages API Build 2402202001
   
Premio
Aggiungi ai preferiti
Preferito
Rimuovi dai preferiti
Misc: Script Mod
Dimensioni del file
Pubblicato in data
Aggiornato in data
341.759 KB
28 dic 2019, ore 19:16
24 feb 2020, ore 12:33
9 note di rilascio ( visualizza )

Sottoscrivi per scaricare
h4e Packages API Build 2402202001

Descrizione
The h4e Packages API is the basis of my mods. This mod provides my mods with various functions and information.

- Central provision of the variable game.h4e_api, with just one include in the API, all code is therefore usable for all other mods that follow.


Debug functions:

- Debug functions like var_dump, error or message debug information in the stdout.txt.
- Central control of the debug status via game.h4e_api.debug.state.
- The debug status can also be activated with the Mod h4e Packages API Debug Mode Mod, here too the debug mode must be activated according to the Packages API in the loading order.

General functions:

- delete, delete a table param.
- replace, replaces any text with a specified text.
- strlen, counts the length of a variable and returns the result.
- is_nil, checks whether a variable is nil.
- search, searches for a defined text e.g. "a" in a defined variable e.g. "abc", the function is found true is reported.
- table_length, counts the length of a table and returns the result.
split, divides a variable at a certain point, e.g. at a ".". Then returns the result in an array.

The functions were named for the purest of intentions because otherwise I work in the PHP area and the functions are more likely to be found under such a name.

It is allowed to create your own mods and to use the functions of the packages API. For further processing of other mods, I first ask for a message, without approval no publication or disclosure.

The mod must be in the loading order before all other mods that I have developed.

Powerd by Cubyte.net | IT Solutions & Consulting[cubyte.net]
Discussioni più popolari Visualizza tutte (2)
0
9 mag 2020, ore 9:58
IN EVIDENZA: The coming end of this mod
homieforever
0
22 mar 2020, ore 17:04
IN EVIDENZA: h4e ToDo -List
homieforever
29 commenti
homieforever  [autore] 2 set 2024, ore 16:43 
homieforever  [autore] 1 apr 2021, ore 6:04 
Info by the way:

If you like take a look at my latest mod and what is already a year and longer in development:

https://gtm.steamproxy.vip/sharedfiles/filedetails/discussions/2076312529
homieforever  [autore] 1 apr 2021, ore 6:02 
Answer:

No, it's mainly just a mod that is needed for most of my other mods. This mod must be activated by you and placed before all other mods of mine within the loading order. At the same time you can see from the build that the version is already some time old. There will also be no more updates for this mod here because it is no longer needed in the Future if at all. In short, this mod holds some functions for my mods ready, if they still need the packages API.
MarKo 1 apr 2021, ore 5:54 
I wanted to know if with this API mod, or with others, it is possible to replace the binary present by default in the game with another downloaded from the workshop.
Thanks for the answer!
homieforever  [autore] 1 apr 2021, ore 5:28 
@MarKo: The translation doesn't quite make sense to me.
Could you describe more precisely what you mean? Should you use a translator try deepl.com , in any case better than Google!

Otherwise you can add me as a friend and we talk in the chat.
homieforever  [autore] 18 gen 2020, ore 14:27 
dann viel Spaß dabei.
homieforever  [autore] 18 gen 2020, ore 3:42 
So i have no Problems when i test with this mods:

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1951003886

Maybe try it without the Train Tractive mod?


I could only imagine that there could be a bug in connection with Train Tractive Power. However, this would then be due to the game itself, since problems do not have to occur on every computer.
homieforever  [autore] 18 gen 2020, ore 3:29 
@KingyBear: The Packages API is added as first?
KingyBear 15 gen 2020, ore 20:09 
These are the mods I have and its still laggy https://imgur.com/qIiYazS & https://imgur.com/n9OWvNG

Even when I have just these mods its still slow but not has much? https://imgur.com/CgnMURk
homieforever  [autore] 15 gen 2020, ore 7:52 
@KingyBear: I Dont have do a update at 14/01/2020 for this Mod.
Can you please give more Informations? Wich Mods you use? I have hear from other users something about a problem like urs. But i cant rebuild the Problem, it looks like some TPF Bugs because any PC have other Problems.