Garry's Mod

Garry's Mod

Stop it, Slender [PRX-E]
 此主題已被置頂,因此它可能很重要
Zet0r  [開發人員] 2015 年 6 月 14 日 上午 7:19
Bugs and Errors
This thread is for all bugs and errors you find so we can keep the comment section relatively clean. If you find anything that's not supposed to happen, explain it here.

Please first make sure you are subscribed to base Stop it, Slender!
Theres a good chance I haven't encountered the bug myself, therefore you will need to put this for me to be able to track it:
- If you get script errors, paste them in here
- Explain when this happened; in what connection/when what happened?
- Explain what the bug is or does

I thank you for finding bugs and helping me! You guys are doing the playtesting and I thank you for helping me create a clean flawless gamemode! :D
< >
目前顯示第 1-15 則留言,共 45
VOIDDWELLER 2015 年 6 月 14 日 上午 10:02 
I am hosting a Fretta server and added this to it, but it seems that we can't play on it. It's like the scoreboard is stuck on-screen and I tried pressing tab, but no luck.
Zet0r  [開發人員] 2015 年 6 月 14 日 上午 10:20 
if MySelf:KeyDown(IN_SCORE) then if scoreboard_alpha ~= 100 then scoreboard_alpha = math.Approach ( scoreboard_alpha, 100, FrameTime()*200 ) end gui.EnableScreenClicker( true ) else if scoreboard_alpha ~= 0 then scoreboard_alpha = math.Approach ( scoreboard_alpha, 0, FrameTime()*200 ) end gui.EnableScreenClicker( false ) end

The code that runs the scoreboard. Has your Fretta server bound IN_SCORE to any other button? Or are the variables scoreboard_alpha and MySelf used? It seems like this is an issue with Fretta and not Slender
VOIDDWELLER 2015 年 6 月 14 日 上午 11:01 
I don't think it does has a custom IN_SCORE key. But it's not actual Fretta, I use an addon for gamemode voting.
VOIDDWELLER 2015 年 6 月 14 日 上午 11:07 
Okay, it's fixed now. I have no idea how, or why. But it is. Thanks for your help anyways. ^-^
Zet0r  [開發人員] 2015 年 6 月 14 日 上午 11:14 
引用自 Lapis Lazuli
Okay, it's fixed now. I have no idea how, or why. But it is. Thanks for your help anyways. ^-^
Oh, well that's wierd xD
Whenever there's some unexplainable error, I always think it might be because Stop it Slender (base) isn't mounted. (How do Dedicated Servers managed derived gamemodes?)
VOIDDWELLER 2015 年 6 月 14 日 上午 11:22 
Ah, okay. Well it is mounted, but everything is fully functioning now. But I'm kind of lost on how to use certain commands.

EDIT: Specifically slender_proxychance. Not sure how to use this one.
最後修改者:VOIDDWELLER; 2015 年 6 月 14 日 上午 11:24
Zet0r  [開發人員] 2015 年 6 月 14 日 上午 11:51 
引用自 Lapis Lazuli
Ah, okay. Well it is mounted, but everything is fully functioning now. But I'm kind of lost on how to use certain commands.

EDIT: Specifically slender_proxychance. Not sure how to use this one.
slender_proxychance sets the chance of a proxy spawning. It works by picking a random number between 1 and the set chance, and if it is 1, a Proxy will be spawned. So the chance is 1 in [proxychance]. E.g. slender_proxychance 5 = 1 in 5 chance = 20%. Remember, it only does this when you have slender_proxymode set to 2
VOIDDWELLER 2015 年 6 月 14 日 下午 12:11 
Okay, thank you very much.
Moth ♡ 2015 年 6 月 14 日 下午 4:09 
I get an error whenever I use a command that has to do with putting someone's name in. As an example

forcenextproxy "AOD Mixi" gives me

(Stop it, Slender [PRX-E]) gamemodes/stopitslenderprxe/gamemode/init.lua:671: attempt to call method 'IsListenServerHost' (a nil value)
1. unknown gamemodes/stopitslenderprxe/gamemode/init.lua:671:
2. unknown - lua/includes/modules/concommand.lua:54
Zet0r  [開發人員] 2015 年 6 月 14 日 下午 5:14 
引用自 AOD Mixi
I get an error whenever I use a command that has to do with putting someone's name in. As an example

forcenextproxy "AOD Mixi" gives me

(Stop it, Slender [PRX-E]) gamemodes/stopitslenderprxe/gamemode/init.lua:671: attempt to call method 'IsListenServerHost' (a nil value)
1. unknown gamemodes/stopitslenderprxe/gamemode/init.lua:671:
2. unknown - lua/includes/modules/concommand.lua:54
Thanks for pointing that out, I think I know what the problem is. It thinks the space means a different argument, so it looks for a player named "AOD and then another player called Mixi". Not entirely sure how concommands take strings/quotation marks, but I'll look into it tomorrow and provide a hotfix. For now, the command is built so that you don't put quotation marks, but it doesn't support spaces. If you wanna use it, temporarily set your name to something simple. Thanks again :D
Zet0r  [開發人員] 2015 年 6 月 15 日 上午 9:58 
引用自 AOD Mixi
I get an error whenever I use a command that has to do with putting someone's name in. As an example

forcenextproxy "AOD Mixi" gives me

(Stop it, Slender [PRX-E]) gamemodes/stopitslenderprxe/gamemode/init.lua:671: attempt to call method 'IsListenServerHost' (a nil value)
1. unknown gamemodes/stopitslenderprxe/gamemode/init.lua:671:
2. unknown - lua/includes/modules/concommand.lua:54
After testing a bit, the console command does in fact allow quotation marks and handles that like a single name, so the error is not that. It seems like it either fails to recognize the IsListenServerHost() command, or that your returned player is not even a player? (According to the code). Are you running this in a dedicated server?

I'm gonna update it anyway and change it to IsAdmin(), that should work on dedicated servers as well.
Fluid Core 2015 年 7 月 1 日 下午 2:56 
I'm trying to run a dedicated server. Whenever I try to change any proxy team it tell me that:

[Stop it, Slender [PRX-E]) gamemodes/stopitslenderprxe/gamemode/init.lua:714: attempt to call method 'IsSuperAdmin' (a nil value)
1. unknown gamemodes/stopitslenderprxe/gamemode/init.lua:714:
2. unknown - lua/includes/modules/concommand.lua:54

How do I fix that?
Zet0r  [開發人員] 2015 年 7 月 1 日 下午 3:23 
引用自 Fluid Core
I'm trying to run a dedicated server. Whenever I try to change any proxy team it tell me that:

[Stop it, Slender [PRX-E]) gamemodes/stopitslenderprxe/gamemode/init.lua:714: attempt to call method 'IsSuperAdmin' (a nil value)
1. unknown gamemodes/stopitslenderprxe/gamemode/init.lua:714:
2. unknown - lua/includes/modules/concommand.lua:54

How do I fix that?
Are you trying to call the command from the dedicated server console or in-game as an admin? If you're calling it from the dedicated server software I think I might know why this happens. Try seeing if it works by doing it from in-game console as an admin?
Fluid Core 2015 年 7 月 1 日 下午 3:25 
I was trying it from the dedicated server software. Will try ingame console.
Fluid Core 2015 年 7 月 1 日 下午 4:56 
I tried making myself admin on the server. It does I am one in the console, but even though I should have access, I can't change server settings. Logged on rcon or not (no addon). I also get spammed by several lua errors in client console while starting. I can not tell if this is from some setting I have done, as they seem to always be there now, but I recall them at some points not being so.

[Stop it, Slender [PRX-E]] gamemodes/stopitslenderprxe/gamemode/cl_init.lua:1146: attempt to index a nil value
1. unknown - gamemodes/stopitslenderprxe/gamemode/cl_init.lua:1146

Do note that I am testing this alone, so that may be causing issues. When I try to make proxy team, it say nothing in my client console. When I tried to change other settings, it said this:

Can't change replicated ConVar slender_enhanceddistortions from console of client, only server operator can change its value

The view distortions work, so I know atleast some of the addon is loading properly. Also managed to set the proxy mode to 4, but I can't seem to change anything from client (not a problem for me), not make the proxy team. If there is anything more that could be useful to get to the bottom of this, I will gladly provide it.

最後修改者:Fluid Core; 2015 年 7 月 1 日 下午 4:57
< >
目前顯示第 1-15 則留言,共 45
每頁顯示: 1530 50