_lua_async void gmodstore.load_scripts(void) loads the scripts you own and made in gmodstore.purchases The todo table was supposed to return arrays or (size-2) arrays of string, things like Then after extracting the addon to string.format("gmodstore_tmp_zips/%i_tmp/", id) it need to "guess" how to install it, and this is the tricky partīecause there is a shit ton of possible things to handle, the best way would be to do like modorganizer, but i was too lazy to finish this part. I didn't start porting it for linux, i just used functions that should work on both (you gonna need a linux-way to get the command-line used to start the app) So it's basically using your API Key to check the addon you own and the ones you made (yeah, also the ones you made), downloading them to string.format("gmodstore_tmp_zips/%i.zip.dat", id), and then unzip them to string.format("gmodstore_tmp_zips/%i_tmp/", id)įor securities reasons you can either set your api key in the lua code or in the launch parameters using something like srcds.exe -gmodstorekey YOUR_32_LETTERS_LONG_KEY So last day i was bored and i decided to do like billy and make a gmodstore addon auto installer that could allow you to setup your gmodstore addons in game, without using FTP, without using your browser. #description i provided on the gmodstore dev forums
0 Comments
Leave a Reply. |