Garry's Mod

Garry's Mod

3D2D Textscreens
This topic has been locked
AvoxPaine Dec 20, 2017 @ 10:28pm
Text Screen Exploit?
My server's text screen limit is set to 4 in the server's config and the extracted addon itself that has not been edited besides changing the text screen limit.

So, about 2 weeks ago some kids got on my server and started spamming text screens so long that they could reach both sides of the map on downtown. Ez-Pz just remove them right? Nope. They spammed more than 4 text screens and they all became considered as world entities instead of the players and there were easily a hundred of them. Player cleanup and text screen cleanup did not remove them either. I just let it go at the time but about 30 minutes ago 2 players got on and did what the previous players did, they spamed probably over 100 text screens at insane lengths and they could not be removed by any means so the server had to be restarted. Is this and issue on my end, the server's end, scripting, or just a result of an exploit? Is there anything that can be done to prevent this. I already have running lua scripts disabled and it's a ban in the anti-cheat, so not much can be done if it is scripters because they can just use a bypasser like the ones that scipt successfully on my server do. I have been running Gmod server's since 2014 and have never seen anything like this on my server's before. :steamsalty:

This script error was also printed in rcon when these players were using their text screens.

[ERROR] lua/includes/util/color.lua:16: bad argument #1 to 'min' (number expected, got nil)
1. min - [C]:-1
2. Color - lua/includes/util/color.lua:16
3. LeftClick - addons/text-screens/lua/weapons/gmod_tool/stools/textscreen.lua:54
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:227
Last edited by AvoxPaine; Dec 20, 2017 @ 10:31pm
< >
Showing 1-9 of 9 comments
James  [developer] Dec 21, 2017 @ 8:15am 
Hey,

None of the mentioned line numbers appear to be currently accurate. Additionally, you don't need to extract the addon to change the limit; just install it from the workshop and tweak the `sbox_maxtextscreens` cvar via your server.cfg or similar.

I'm not aware of any exploit that could be used to do this though, and haven't had any reports of any similiar occurances before, sorry! Try updating the addon, using the workshop version, and let me know if it happens again.


AvoxPaine Dec 21, 2017 @ 8:17am 
Alright. Not really sure how I can go about figuring out if it does it again besides waiting for someone else to get on and it do causing me to have to restart the server xd.

I don't mean this in a rude way just a memey way because I'm dead insde.
Thanks for the great support though!
AvoxPaine Dec 21, 2017 @ 10:54am 
I've found screenshot of the first time it happed.
https://imgur.com/a/ez1SB
Those were all placed by 1 person.

The second time it happened there was about x6 the amount of text screens in every part of the map placed by 2 people and caused many players games to crash from lag and my FPS to drop to the point of no return. I have got no screenshots of the second time.
I had a similar issue on my server. A player was somehow able to place text screens that belonged to world which allowed him to bypass the limit of textscreens.

Playername<STEAMID> used the tool textscreen on maps/rp_downtown_v4c_v2.bsp
[ERROR] lua/includes/util/color.lua:16: bad argument #1 to 'min' (number expected, got nil)
1. min - [C]:-1
2. Color - lua/includes/util/color.lua:16
3. LeftClick - addons/darkrpmodification/lua/weapons/gmod_tool/stools/textscreen.lua:54
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:227
Jeremy Jan 9, 2018 @ 11:42am 
Originally posted by GG THIS GAME IS TOO EZ:
I had a similar issue on my server. A player was somehow able to place text screens that belonged to world which allowed him to bypass the limit of textscreens.

Playername<STEAMID> used the tool textscreen on maps/rp_downtown_v4c_v2.bsp
[ERROR] lua/includes/util/color.lua:16: bad argument #1 to 'min' (number expected, got nil)
1. min - [C]:-1
2. Color - lua/includes/util/color.lua:16
3. LeftClick - addons/darkrpmodification/lua/weapons/gmod_tool/stools/textscreen.lua:54
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:227

Hey GG didnt know you were here
James  [developer] Jan 11, 2018 @ 1:26pm 
Originally posted by GG THIS GAME IS TOO EZ:
I had a similar issue on my server. A player was somehow able to place text screens that belonged to world which allowed him to bypass the limit of textscreens.

Playername<STEAMID> used the tool textscreen on maps/rp_downtown_v4c_v2.bsp
[ERROR] lua/includes/util/color.lua:16: bad argument #1 to 'min' (number expected, got nil)
1. min - [C]:-1
2. Color - lua/includes/util/color.lua:16
3. LeftClick - addons/darkrpmodification/lua/weapons/gmod_tool/stools/textscreen.lua:54
4. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:227

Looks like you're using an outdated or custom version of the addon as per:
`3. LeftClick - addons/darkrpmodification/lua/weapons/gmod_tool/stools/textscreen.lua:54`
That line and directory structure doesn't relate to the latest version of the tool.

Please use the Workshop version and let me know if you can replicate the problem.
Last edited by James; Jan 11, 2018 @ 1:26pm
Stromic Jan 17, 2018 @ 10:40am 
James i updated the files and he can still do it. The thing spawns as world props and he is using the toolgun so thats whats confusing me.
James  [developer] Jan 19, 2018 @ 7:00pm 
I'm afraid I don't really know what else to do here currently. I've been unable to replicate this in all of my testing, so I'm really going to need more info about how to reproduce it. I know that's hard to get, but I have very little to work from here other than some old error logs which don't correlate to the latest version of the addon.
James  [developer] Jan 23, 2018 @ 4:01pm 
I believe this should be fixed as per https://github.com/Cherry/3D2D-TextScreens/issues/34. Thanks for the information.
< >
Showing 1-9 of 9 comments
Per page: 1530 50