Garry's Mod

Garry's Mod

3D2D Textscreens
此主题已被锁定
AvoxPaine 2017 年 12 月 20 日 下午 10:28
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
最后由 AvoxPaine 编辑于; 2017 年 12 月 20 日 下午 10:31
< >
正在显示第 1 - 9 条,共 9 条留言
James  [开发者] 2017 年 12 月 21 日 上午 8:15 
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 2017 年 12 月 21 日 上午 8:17 
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 2017 年 12 月 21 日 上午 10:54 
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.
GG THIS GAME IS TOO EZ 2018 年 1 月 9 日 上午 10:00 
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 2018 年 1 月 9 日 上午 11:42 
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  [开发者] 2018 年 1 月 11 日 下午 1:26 
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.
最后由 James 编辑于; 2018 年 1 月 11 日 下午 1:26
Stromic 2018 年 1 月 17 日 上午 10:40 
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  [开发者] 2018 年 1 月 19 日 下午 7:00 
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  [开发者] 2018 年 1 月 23 日 下午 4:01 
I believe this should be fixed as per https://github.com/Cherry/3D2D-TextScreens/issues/34. Thanks for the information.
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50