General > Developers Corner
Questions! Questions! Questions!
Bite That Apple:
New topic.
So this: http://wiki.garrysmod.com/page/resource/AddWorkshop
Does anyone know how it works?
An example is like, let's say I force a player to download ADDON_A. The client joins the server, it downloads and it goes into <game dir>/garrysmod/downloads/server. The client leaves the server, ADDON_A gets updated, and then rejoins the same server, will the addon update itself in downloads/server?
Please try not to guess or estimating, I'd like a real answer.
MrPresident:
I use this on my server.
It works exactly like that.
If a player joins the server that has this, it will check the workshop to make sure they have the latest version of the addon and download it/update it if necessary.
Bite That Apple:
--- Code: ---Aborting HTTP request because pResponse->BSetBodyData() failed (RecvHTTPResponse
Data)
--- End code ---
I'm getting this error ever since garry's mod update. Only thing I could find that Garry talked about is this:
HTTP() now supports “head”, “put” and “delete” as methods
Added a bunch of requested headers to HTTP request results
HTTP requests now accept a “headers” table
gui.OpenURL now accepts HTTPS addresses
lynx:
--- Quote from: Bite That Apple on March 16, 2015, 03:03:21 AM ---
--- Code: ---Aborting HTTP request because pResponse->BSetBodyData() failed (RecvHTTPResponse
Data)
--- End code ---
I'm getting this error ever since garry's mod update. Only thing I could find that Garry talked about is this:
HTTP() now supports “head”, “put” and “delete” as methods
Added a bunch of requested headers to HTTP request results
HTTP requests now accept a “headers” table
gui.OpenURL now accepts HTTPS addresses
--- End quote ---
I've had that ever since gm13. What I've found is that it links to a gmod Lua problem site that is invalid so it can't actually push any data to it so errors out
Bite That Apple:
Can't be bothered to search the "not wiki" page for how to make a list in xgui. Easier to ask here. How can I make a list in xgui for modules. Like, lets say I have an addon that is like hp, but instead of a string, I just have a list of preset numbers, how do I do that?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version