Transport Fever 2

Transport Fever 2

156 valoraciones
h4e Packages API Build 2402202001
   
Premiar
Favoritos
Favorito
Quitar
Misc: Script Mod
Tamaño
Publicado el
Actualizado el
341.759 KB
28 DIC 2019 a las 19:16
24 FEB 2020 a las 12:33
9 notas sobre cambios ( ver )

Suscríbete para descargar
h4e Packages API Build 2402202001

Descripción
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]
Discusiones populares Ver todo (2)
0
9 MAY 2020 a las 9:58
FIJO: The coming end of this mod
homieforever
0
22 MAR 2020 a las 17:04
FIJO: h4e ToDo -List
homieforever
29 comentarios
homieforever  [autor] 2 SEP 2024 a las 16:43 
homieforever  [autor] 1 ABR 2021 a las 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  [autor] 1 ABR 2021 a las 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 ABR 2021 a las 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  [autor] 1 ABR 2021 a las 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  [autor] 18 ENE 2020 a las 14:27 
dann viel Spaß dabei.
homieforever  [autor] 18 ENE 2020 a las 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  [autor] 18 ENE 2020 a las 3:29 
@KingyBear: The Packages API is added as first?
KingyBear 15 ENE 2020 a las 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  [autor] 15 ENE 2020 a las 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.