Garry's Mod

Garry's Mod

SprayMesh Extended
65 Comments
YaboyAJ0223 13 Sep @ 8:36pm 
Yeah this shit doesn't work
GoogolPlex 16 Aug @ 7:49pm 
Howdy, I've been having an issue where the sprays simply don't work in multiplayer (tested on both dedicated and P2P servers). The sound plays, and the active player sprays menu indicates that the sprays do exist to some extent, but they simply won't render. x86-64 branch is enabled. Works just fine in singleplayer however. Mod works great otherwise, love it!
Anya~ 16 Aug @ 1:20am 
Would be nicer if it had a stand alone github so it's easier to pull from there. ^^;
Chev  [author] 17 Jul @ 3:32pm 
I haven't tested that, but I don't think so.
birdLover8968 16 Jul @ 3:25pm 
Do they stay in saves?
Zepp Thunderbolt 26 Jun @ 11:40am 
I'm currently using my own domain name running a Spring boot webapp, I'm pretty much just testing images put into the static directory.

(this makes them accessible from the base path followed by the actual file, like a public folder of any real website)

It seems to do this for such cases.
Chev  [author] 25 Jun @ 7:46pm 
I've noticed in my testing that Discord in particular seems to handle image URLs in a peculiar way, and so they usually won't load. I've been meaning to get it to work, but it's been a low priority. Try using test images on some other websites and see if they work.
Zepp Thunderbolt 25 Jun @ 3:08pm 
I have a similar issue to the comments below.

I've customized a whitelist for spraymesh, the custom domain URL is registered as valid & debug seems to be successful. However seemingly it will not display. It pops up as "loading" for a second for me as well & then is invisible.
The_Music_Man 10 Jun @ 9:53pm 
discord doesn't work
frog 5 Jun @ 3:37am 
unfortunately, that did not help, I assume it's a network issue, since I am in Russia and we have a lot of sites blocked here :steamsad:
Chev  [author] 24 May @ 11:40pm 
Switch to the 64-bit beta branch of Garry's Mod if you aren't already on it
frog 23 May @ 10:15am 
for me when I spray it shows black square with "Loading spray" for a millisecond, but when it disappears there's no spray, just empty surface
in both multi and singleplayer :steamsad:
Chev  [author] 1 May @ 1:55pm 
If you're adding this addon to a server via the Steam workshop, then there won't be a config in the lua/ folder. It's part of the addon .gma. What I recommend doing in that case is creating your own custom Lua file (make sure it runs on both client AND server) and set the variables that way. The documentation there is admittedly a bit confusing since I have to account for both people who add this addon to their server via Steam workshop as well as those who install the addon manually and edit the config file directly.

In the future to make this process more simple, I'm thinking of adding an admin menu for Sandbox gamemodes so that server admins/owners can change the config without having to know Lua coding.

You can find the config on the GitHub repo: https://github.com/chev2/gmod-addons/blob/main/addons/spraymesh_extended/lua/spraymesh/sh_config.lua
Dragonhunter229 29 Apr @ 11:59pm 
I cant find the Lua config file for the life of me, its not in the lua folder for ether locale or my server.
Chev  [author] 19 Apr @ 10:40pm 
That bug should be fixed now, thanks for letting me know
NabraSaddle 19 Apr @ 2:33am 
[spraymesh_extended] addons/spraymesh_extended/lua/vgui/dsprayconfiguration.lua:477: Tried to use a NULL Panel!
1. GetChildren - [C]:-1
2. AddSpray - addons/spraymesh_extended/lua/vgui/dsprayconfiguration.lua:477
3. DoClick - addons/spraymesh_extended/lua/vgui/dsprayconfiguration.lua:221
4. unknown - lua/vgui/dlabel.lua:253
god of reailty 9 Apr @ 9:20am 
i hate necro arc
M16A1 8 Apr @ 1:40pm 
if you have too much sprays menu crashes game during loading all images sometimes freezes whole pc is there way to more optimized image loading for menu
ph0roggy 7 Mar @ 7:58am 
is anyone else experiencing the sprays only working in singleplayer? In multiplayer the sprays are invisible for me and my friends, but in single player it works, weird. :melon:
ph0roggy 20 Jan @ 7:25am 
I love it man, keep up the good work :Dogeface:
Los 7 Jan @ 12:48am 
G:steamhearteyes::steamhearteyes::steamhearteyes::steamhearteyes::steamhearteyes::steamhappy::steamhappy::steamhearteyes::steamhearteyes:
Chev  [author] 11 Nov, 2024 @ 2:37pm 
The config is inside the addon's files. You don't have to edit it directly, you can also create a new Lua file and add spraymesh.SPRAY_COOLDOWN=0 to it. Make sure the Lua file runs in the server realm, and runs after SprayMesh loads (so putting it in an Initialize hook should work).

But it is a bit complicated if you aren't familiar with GMod Lua. If more people want it, I might consider adding an admin settings menu in the Sandbox spawn menu for people who play in Sandbox, to make it easier to change the config.
Foxxie 11 Nov, 2024 @ 6:46am 
Where the config tho? I can't understand where is "lua/spraymesh/sh_config.lua"
Foxxie 11 Nov, 2024 @ 6:42am 
Okay, thank you so much
Chev  [author] 10 Nov, 2024 @ 5:14pm 
If you are a server owner then you can change the limit in the config (spraymesh.SPRAY_COOLDOWN). Otherwise, it's not possible to change.

Sprays are removed when the server is restarted, map changes or the map is reloaded. If you want to remove an individual player's spray, you will have to use a moderation addon like ULX and some custom Lua code to register a ULX command like !removespray.
Foxxie 10 Nov, 2024 @ 6:19am 
do I can remove cooldown and limit? Also how to remove placed spray?
Chev  [author] 15 Sep, 2024 @ 11:46am 
By default, SprayMesh Extended only whitelists specific websites, namely Imgur and Catbox. Try uploading a test image to Imgur or Catbox (Catbox seems to be down at this moment in time, however) and then copying and pasting the image URL into the spray manager. The outline of the input should turn green, meaning it is allowed to be used as a spray.

Also, the URL has to be a direct image URL, meaning it has to end in ".jpg", ".jpeg", ".png" etc.

You can see what websites and image URL suffixes are whitelisted by clicking the "Help & Info" button in the spray manager. The whitelist will vary from server-to-server.
samter 14 Sep, 2024 @ 8:36pm 
I cant put links in the thing, I don't know why it just always rejects any links, can I get some help?
bol 16 Jul, 2024 @ 2:01pm 
ServerDL
Using ServerDL is rather simple, you need to have sv_allowdownload enabled and you need to mark the files that you want to be downloadable with resource.AddFile and resource.AddSingleFile after that clients will automatically download the content when they join your server. However this is considered obsolete as its incredibly slow at 64kb/s and you should avoid using it.

From what it seems, without a backdoor the only files that will be downloadable are the ones that are "marked" with resource add file. Which is nice! Seems the exploit is not as bad as it was
bol 16 Jul, 2024 @ 1:39pm 
Alright, thanks
Chev  [author] 16 Jul, 2024 @ 1:05pm 
I've seen mixed reports on sv_allowupload and sv_allowdownload still being exploitable. Some say yes, some say no (according to the Garry's Mod Discord, anyway). When it comes to my own servers, I always keep them disabled, as I don't need them for any functionality, and I don't even want to take the risk.
bol 16 Jul, 2024 @ 7:50am 
Are sv_allowupload and sv_allowdownload still exploitable? Wondering if I need this addon
juliusern3st 23 Jun, 2024 @ 10:50pm 
⢤⣄⣀⠀⠀⠀⠀⣾⢫⢤⡠⣄⣤⢤⠀⠀
⠀⠀⢸⣀⠏⠘⢻⡂⠒⠒⢻⣷⡿⠯⣋⡹⡬⡇⠀
⠀⠀⢸⢬⡂⠀⢀⠜⠀⢀⠀⠈⠉⠂⢌⣹⡇⡇⠀
⠀⠀⢸⣄⣤⣆⢅⠀⠀⡎⠀⠀⠸⡄⠈⠑⠾⡧⠀
⠀⢰⠃⢀⢞⡴⠏⠀⡘⢇⠀⢠⣀⠷⡀⣦⡗⡽⠀
⠀⠏⠀⢸⠈⢠⠊⡏⠉⠉⠳⣮⠛⡏⠉⠙⠀⢹⡇
⠸⢲⠀⢸⡀⠈⣦⣱⠄⣀⠔⠙⢦⣇⡠⣾⠀⢸⢼
⠀⠀⠷⢆⣣⣸⠹⣦⡀⠑⠒⠁⢊⣠⠔⡹⢄⣼⠀
⢀⣀⡀⠀⠈⠁⢓⡽⡎⠻⠭⠏⢳⡞⠘⠁⠀⠀⠀
⠇⢀⡗⠀⠀⢠⠎⠀⡀⠀⠀⠀⠸⠙⢄⠀⠀⠀⠀
⡇⠘⣄⣀⡠⠧⣄⣠⡇⠀⠀⠀⠀⢇⡼⠒⢤⡀⠀
⠈⠢⢠⡇⠀⠀⠘⡽⢅⣀⣀⠀⢠⡾⣅⡀⣀⠇⠀
⠀⠀⠀⠻⠦⠄⠴⢁⣀⠁⠀⡀⠀⣀⠙⠙⠁⠀⠀
⠀⠀⠀⠀⠀⠀⠀⡼⢿⠟⠉⡸⠿⡇⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⣸⣓⣸⠀⢸⢗⣺⡗⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⢠⠇⠀⠘⠀⢨⣄⠀⠙⠆⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠸⣀⣀⡄⠀⠀⠀⠑⠒⠃⠀⠀⠀⠀
aersik 8 Jun, 2024 @ 12:24pm 
nvm
aersik 8 Jun, 2024 @ 12:18pm 
I put in accepted URLS and it doesnt work, any fix?
EntranceJew 26 Feb, 2024 @ 6:47pm 
it looks like TGAImage [github.com] loads a TGA into a base64 encoded png, which might be low-fi enough for awesomeium. I tried to compile https://gist.github.com/EntranceJew/7dfc6230ba028db3f2644a92bc1995e1 to test but I got an error [gist.github.com] -- but whatever this page is doing [rafradek.github.io] probably has it figured out [github.com].
Chev  [author] 26 Feb, 2024 @ 2:50pm 
For bmp files, that should be straightforward to support. For VTF and TGA however, they're a little trickier as they wouldn't use the web rendering system, but they might still be doable. I'll look into it.
EntranceJew 24 Feb, 2024 @ 8:38pm 
It would be nice if this supported tga/bmp/vtf files out of the box so that people with traditional sprays including funny mipmap tricks could still use them.
Chev  [author] 12 Jan, 2024 @ 11:16am 
If you can't see sprays, make sure you are on the x86-64 beta branch of Garry's Mod. The compatibility of this addon on the main branch of the game is hit-or-miss.
Barlinbar 1 Jan, 2024 @ 7:38am 
⠀⠀⠀⢤⣄⣀⠀⠀⠀⠀⣾⢫⢤⡠⣄⣤⢤⠀⠀
⠀⠀⢸⣀⠏⠘⢻⡂⠒⠒⢻⣷⡿⠯⣋⡹⡬⡇⠀
⠀⠀⢸⢬⡂⠀⢀⠜⠀⢀⠀⠈⠉⠂⢌⣹⡇⡇⠀
⠀⠀⢸⣄⣤⣆⢅⠀⠀⡎⠀⠀⠸⡄⠈⠑⠾⡧⠀
⠀⢰⠃⢀⢞⡴⠏⠀⡘⢇⠀⢠⣀⠷⡀⣦⡗⡽⠀
⠀⠏⠀⢸⠈⢠⠊⡏⠉⠉⠳⣮⠛⡏⠉⠙⠀⢹⡇
⠸⢲⠀⢸⡀⠈⣦⣱⠄⣀⠔⠙⢦⣇⡠⣾⠀⢸⢼
⠀⠀⠷⢆⣣⣸⠹⣦⡀⠑⠒⠁⢊⣠⠔⡹⢄⣼⠀
⢀⣀⡀⠀⠈⠁⢓⡽⡎⠻⠭⠏⢳⡞⠘⠁⠀⠀⠀
⠇⢀⡗⠀⠀⢠⠎⠀⡀⠀⠀⠀⠸⠙⢄⠀⠀⠀⠀
⡇⠘⣄⣀⡠⠧⣄⣠⡇⠀⠀⠀⠀⢇⡼⠒⢤⡀⠀
⠈⠢⢠⡇⠀⠀⠘⡽⢅⣀⣀⠀⢠⡾⣅⡀⣀⠇⠀
⠀⠀⠀⠻⠦⠄⠴⢁⣀⠁⠀⡀⠀⣀⠙⠙⠁⠀⠀
⠀⠀⠀⠀⠀⠀⠀⡼⢿⠟⠉⡸⠿⡇⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⣸⣓⣸⠀⢸⢗⣺⡗⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⢠⠇⠀⠘⠀⢨⣄⠀⠙⠆⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠸⣀⣀⡄⠀⠀⠀⠑⠒⠃⠀⠀⠀⠀
STFU HOE 27 Dec, 2023 @ 10:32am 
I have a problem, my friends cant see my Sprays and I can't see their sprays.
Chipboard 13 Dec, 2023 @ 1:00pm 
:steamhappy:
hi please kill me 13 Nov, 2023 @ 7:03pm 
⣞⢽⢪⢣⢣⢣⢫⡺⡵⣝⡮⣗⢷⢽⢽⢽⣮⡷⡽⣜⣜⢮⢺⣜⢷⢽⢝⡽⣝
⠸⡸⠜⠕⠕⠁⢁⢇⢏⢽⢺⣪⡳⡝⣎⣏⢯⢞⡿⣟⣷⣳⢯⡷⣽⢽⢯⣳⣫
⠀⠀⢀⢀⢄⢬⢪⡪⡎⣆⡈⠚⠜⠕⠇⠗⠝⢕⢯⢫⣞⣯⣿⣻⡽⣏⢗⣗⠏
⠀⠪⡪⡪⣪⢪⢺⢸⢢⢓⢆⢤⢀⠀⠀⠀⠀⠈⢊⢞⡾⣿⡯⣏⢮⠷⠁
⠀⠀⠀⠈⠊⠆⡃⠕⢕⢇⢇⢇⢇⢇⢏⢎⢎⢆⢄⠀⢑⣽⣿⢝⠲⠉
⠀⠀⠀⠀⠀⡿⠂⠠⠀⡇⢇⠕⢈⣀⠀⠁⠡⠣⡣⡫⣂⣿⠯⢪⠰⠂
⠀⠀⠀⠀⡦⡙⡂⢀⢤⢣⠣⡈⣾⡃⠠⠄⠀⡄⢱⣌⣶⢏⢊⠂
⠀⠀⠀⠀⢝⡲⣜⡮⡏⢎⢌⢂⠙⠢⠐⢀⢘⢵⣽⣿⡿⠁⠁
⠀⠀⠀⠀⠨⣺⡺⡕⡕⡱⡑⡆⡕⡅⡕⡜⡼⢽⡻⠏⠀
⠀⠀⠀⠀⣼⣳⣫⣾⣵⣗⡵⡱⡡⢣⢑⢕⢜⢕⡝⠀
⠀⠀⠀⣴⣿⣾⣿⣿⣿⡿⡽⡑⢌⠪⡢⡣⣣⡟⠀
⠀⠀⠀⡟⡾⣿⢿⢿⢵⣽⣾⣼⣘⢸⢸⣞⡟⠀
Sony 10 Nov, 2023 @ 6:51pm 
Thank you for the unexpected shoutout, Very kind of you!
Happy to hear my attempt helped to inspire an even better version ;)
dead guy 9 Nov, 2023 @ 12:57pm 

⠀⠀⢀⢀⢄⢬⢪⡪⡎⣆⡈⠚⠜⠕⠇⠗⠝⢕⢯⢫⣞⣯⣿⣻⡽⣏⢗⣗⠏
⠀⠪⡪⡪⣪⢪⢺⢸⢢⢓⢆⢤⢀⠀⠀⠀⠀⠈⢊⢞⡾⣿⡯⣏⢮⠷⠁
⠀⠀⠀⠈⠊⠆⡃⠕⢕⢇⢇⢇⢇⢇⢏⢎⢎⢆⢄⠀⢑⣽⣿⢝⠲⠉
⠀⠀⠀⠀⠀⡿⠂⠠⠀⡇⢇⠕⢈⣀⠀⠁⠡⠣⡣⡫⣂⣿⠯⢪⠰⠂
⠀⠀⠀⠀⡦⡙⡂⢀⢤⢣⠣⡈⣾⡃⠠⠄⠀⡄⢱⣌⣶⢏⢊⠂
⠀⠀⠀⠀⢝⡲⣜⡮⡏⢎⢌⢂⠙⠢⠐⢀⢘⢵⣽⣿⡿⠁⠁
⠀⠀⠀⠀⠨⣺⡺⡕⡕⡱⡑⡆⡕⡅⡕⡜⡼⢽⡻⠏⠀
⠀⠀⠀⠀⣼⣳⣫⣾⣵⣗⡵⡱⡡⢣⢑⢕⢜⢕⡝⠀
⠀⠀⠀⣴⣿⣾⣿⣿⣿⡿⡽⡑⢌⠪⡢⡣⣣⡟⠀
⠀⠀⠀⡟⡾⣿⢿⢿⢵⣽⣾⣼⣘⢸⢸⣞⡟⠀

O
Chev  [author] 9 Nov, 2023 @ 10:51am 
I believe DSprays is its own standalone spray overhaul, so it likely won't work with SprayMesh Extended. You'll have to use one or the other.
AiTheo 9 Nov, 2023 @ 8:12am 
⣞⢽⢪⢣⢣⢣⢫⡺⡵⣝⡮⣗⢷⢽⢽⢽⣮⡷⡽⣜⣜⢮⢺⣜⢷⢽⢝⡽⣝
⠸⡸⠜⠕⠕⠁⢁⢇⢏⢽⢺⣪⡳⡝⣎⣏⢯⢞⡿⣟⣷⣳⢯⡷⣽⢽⢯⣳⣫
⠀⠀⢀⢀⢄⢬⢪⡪⡎⣆⡈⠚⠜⠕⠇⠗⠝⢕⢯⢫⣞⣯⣿⣻⡽⣏⢗⣗⠏
⠀⠪⡪⡪⣪⢪⢺⢸⢢⢓⢆⢤⢀⠀⠀⠀⠀⠈⢊⢞⡾⣿⡯⣏⢮⠷⠁
⠀⠀⠀⠈⠊⠆⡃⠕⢕⢇⢇⢇⢇⢇⢏⢎⢎⢆⢄⠀⢑⣽⣿⢝⠲⠉
⠀⠀⠀⠀⠀⡿⠂⠠⠀⡇⢇⠕⢈⣀⠀⠁⠡⠣⡣⡫⣂⣿⠯⢪⠰⠂
⠀⠀⠀⠀⡦⡙⡂⢀⢤⢣⠣⡈⣾⡃⠠⠄⠀⡄⢱⣌⣶⢏⢊⠂
⠀⠀⠀⠀⢝⡲⣜⡮⡏⢎⢌⢂⠙⠢⠐⢀⢘⢵⣽⣿⡿⠁⠁
⠀⠀⠀⠀⠨⣺⡺⡕⡕⡱⡑⡆⡕⡅⡕⡜⡼⢽⡻⠏⠀
⠀⠀⠀⠀⣼⣳⣫⣾⣵⣗⡵⡱⡡⢣⢑⢕⢜⢕⡝⠀
⠀⠀⠀⣴⣿⣾⣿⣿⣿⡿⡽⡑⢌⠪⡢⡣⣣⡟⠀
⠀⠀⠀⡟⡾⣿⢿⢿⢵⣽⣾⣼⣘⢸⢸⣞⡟⠀
LOTTERY 9 Nov, 2023 @ 6:45am 
Does this work with dsprays?
charlie bird 8 Nov, 2023 @ 4:27pm 
burn:steamhappy::steamhappy::steamhappy:
common_male_rural01.mdl 8 Nov, 2023 @ 10:08am 
:steamhappy: