![payday 2 blt string replacer payday 2 blt string replacer](https://modworkshop.net/mydownloads/previews/preview_4860_1508813483_290d9ec3d94399c4eca90e9fbbfa5f67.jpg)
Payday 2 blt string replacer archive#
Zip_file The zip archive which you wish to extract the contents of.Įxtract_dir The directory where the contents of ther archive zip_file should be extracted to. Adding mods back in is all fine until a few sessions later where it messes up again. Tried removing mods, still persists until i remove everything. 2 FeralNOMAD 9:38pm I'm in the same boat, would love to know a fix. Unzipping archives is slow and is not multithreaded, and should only be done during the menu state. Try removing mods until the issue goes away. Unzips the contents of a specified zip_file and places all contents in the directory extract_dir. Progress_callback: total_bytes The total amount of bytes which must be downloaded to complete the HTTP request. Progress_callback: bytes The current amount of bytes which have been retrieved. Progress_callback: id The ID of the HTTP request which is reporting its progress.
![payday 2 blt string replacer payday 2 blt string replacer](https://modworkshop.net/mydownloads/previews/preview_34063_1512108773_c52371b2fa47e24dbee3292b855de789.png)
Progress_callback(id, bytes, total_bytes) A function to run when the HTTP request reports back its progress. It may have to be converted to another data type in order for us to make use of it. id The unique identifier of the data sent. sender The peer ID of the player who sent the networked data. Returns An ID for the current HTTP request.Ĭallback(data, id) A function to run when data is retrieved from the URL.Ĭallback: data The data retrieved from the server, returned as a string. The name of the hook that is called everytime any data is received via LuaNetworking from another player. Url The URL to attempt to retrieve data from. If successful, returns any retrieved data to the callback. Performs a HTTP/S request to the specified URL. Log( tostring(ayer:player_unit():key()) )ĭohttpreq( url, callback(data, id), ) Str The string to be logged log( "Hello World!" )
![payday 2 blt string replacer payday 2 blt string replacer](https://modworkshop.net/mydownloads/previews/preview_20837_1560335938_e0ce41994be875a95263751f4b316f71.png)
Prints a string to the developer console, and saves it in the log file.