Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sv_msgsend.lua:32 in upvalue onsuccess Line 31 -> 36 #9

Open
Xer0n opened this issue Jun 16, 2024 · 3 comments
Open

sv_msgsend.lua:32 in upvalue onsuccess Line 31 -> 36 #9

Xer0n opened this issue Jun 16, 2024 · 3 comments

Comments

@Xer0n
Copy link

Xer0n commented Jun 16, 2024

This crashes the server, it's happened twice when someone joins with parenthesis in their name.

Lua Stack:
[C][+0] [C] in string_find
[L][+1] addons/gmod_discord_relay/lua/relay/sv_msgsend.lua:32 in upvalue onsuccess Line 31 -> 36
[L][+2] lua/includes/modules/http.lua:29 in anonymous function Line 25 -> 31

Log:
[05:31:09] Client "Napalm (OOF)" connected.

--CRASH--

[05:32:18] New map: gm_genesis
[05:32:18] Client "C H 4 I2 Z" connected.
[05:32:23] Client "Xer0n_" connected.
[05:33:11] Client "Xer0n_" spawned in server <STEAM_0:1:36549678> (took 48 seconds).
[05:35:45] Client "C H 4 I2 Z" spawned in server <STEAM_0:0:17681186> (took 207 seconds).
[05:37:03] Dropped "C H 4 I2 Z" from server<STEAM_0:0:17681186>
[05:38:00] Client "Napalm (OOF)" connected.

--CRASH--

[05:39:09] New map: gm_genesis
[05:39:15] Server is shutting down/changing levels.

@Xer0n
Copy link
Author

Xer0n commented Jun 16, 2024

I just disabled the avatar lookup since we don't use those, doesn't crash when special characters join now.

@troit5ky
Copy link
Owner

troit5ky commented Jun 16, 2024

Hello, could you please send me a link to them "Napalm (OOF)"?

@troit5ky troit5ky assigned troit5ky and unassigned troit5ky Jun 16, 2024
@Xer0n
Copy link
Author

Xer0n commented Jun 17, 2024

I don't think that will help, I changed my name to Xer0n_ (Test) and it crashed the server. I commented out everything that relied on the avatar lookup and it's working again, something about special characters in their name.

https://steamcommunity.com/id/Napalm_bomb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants