Garry's Mod

Garry's Mod

Cops and Runners
 此主题已被置顶,因此可能具有重要性
Zet0r  [开发者] 2014 年 7 月 22 日 下午 3:43
Bugs and other Nasty Things!
NOTE: I am on holiday right now and do not have access to my desktop, any bugs reported can't be fixed until after August 4th.


Report bugs that you find right here! If you were the first to find it, you might get rewarded in-game with some cosmetics *cough* rainbow smoke grenades *cough* (subject to change).
Please don't report any known bugs unless you have found a cause or way to trigger it. Anything helps!
If you see 'Something is creating script errors' and it is related to the gamemode, copy the error from the console and paste it here along with what happened when it happened and what didn't work after that.

Known bugs:
- The clock does not begin rotating if you join mid-round. This is completely client-side and fixes itself the next round
- The weapon icons on the HUD are sitting a bit too down when playing on lower resolutions
- Dying from a trigger_hurt kills you twice if jail exists
- On maps with only 1 spawnpoint, you spawn inside each other being stuck
最后由 Zet0r 编辑于; 2014 年 7 月 24 日 上午 2:46
< >
正在显示第 1 - 15 条,共 41 条留言
Master Thottie Hijabibi 2014 年 7 月 25 日 下午 5:35 
Hi, for some reason whenever the runners get jailed they can just leave the jail and run around even though they are still supposed to be jailed. Its as if the jail does not exist (you can still see it but can run out basically). Any suggestions to fix this?
Maigo 2014 年 7 月 25 日 下午 6:31 
Hello, when my friends and i play cops and runners we have to die first in order to get our items
Zet0r  [开发者] 2014 年 7 月 26 日 上午 12:59 
引用自 Shilow100
Hi, for some reason whenever the runners get jailed they can just leave the jail and run around even though they are still supposed to be jailed. Its as if the jail does not exist (you can still see it but can run out basically). Any suggestions to fix this?
Hmmm, does not seem to happen to anyone else. Have you got any more information? Was it on a dedicated server, did you mess with some code, or maybe it installed badly? Did you see any console errors?



Hello, when my friends and i play cops and runners we have to die first in order to get our items
Same as above, neve happened to me or anyone I've seen videos from. Got script errors when you spawned first? Is it every round? Have you tried to manually force a round restart with the console command "ForceRoundRestart"?
Jørgen=? 2014 年 7 月 26 日 下午 12:56 
The same happends to me! The people in jail can run outside it!!! I've tried to restarting it! We play on my server I made!
Zet0r  [开发者] 2014 年 7 月 26 日 下午 1:13 
引用自 j0rg
The same happends to me! The people in jail can run outside it!!! I've tried to restarting it! We play on my server I made!
It is a glitch. The way it handles collision is to check the players team, and poll whether to enable or disable collisions, but only if the second entity's model is "jail.mdl". Make sure the server host has the model installed correctly so he doesn't see an error.

It works for everybody else, so I can't see it as a fault in the code :/
Jørgen=? 2014 年 7 月 26 日 下午 3:23 
引用自 Zet0r
引用自 j0rg
The same happends to me! The people in jail can run outside it!!! I've tried to restarting it! We play on my server I made!
It is a glitch. The way it handles collision is to check the players team, and poll whether to enable or disable collisions, but only if the second entity's model is "jail.mdl". Make sure the server host has the model installed correctly so he doesn't see an error.

It works for everybody else, so I can't see it as a fault in the code :/

What I do is subscribe on the mode in Workshop, then transform the "GMA" file in my addons folder to a gamemodefolder with GMOD converter and put it in the server gamemode folder.
Jørgen=? 2014 年 7 月 26 日 下午 3:34 
Can you send me the folder you use in a server plz? On mediafire or such?
Zet0r  [开发者] 2014 年 7 月 27 日 上午 1:45 
引用自 j0rg
Can you send me the folder you use in a server plz? On mediafire or such?
I'm not home so I don't have any of the files (Didn't you see the note at the top?)

You can't just extract this and put it in your gamemodes folder. It includes a 'materials' folder and a 'models' folder too. You need to convert the .gma into a single folder, then open that folder, and inside you will find a replica of the Garry's Mod architecture, and you need to extract each of those folders content to their respective folder in your server.
Jørgen=? 2014 年 7 月 27 日 上午 11:12 
Ty! That worked! On the other gamemodes we have downloaded could we just do it the way i described!
Zet0r  [开发者] 2014 年 7 月 27 日 下午 12:33 
引用自 j0rg
Ty! That worked! On the other gamemodes we have downloaded could we just do it the way i described!
Probably because they have their materials in the 'content' folder, which is inside the gamemode, not the root. When I tried that, the .gma compiler just made an error on me, so that's why I don't do that :P
JUDD 2014 年 8 月 7 日 上午 12:35 
TEST [gamemodes/copsandrunners/gamemode/cl_hud.lua][gamemodes/copsandrunners/gamemode/shared.lua]
TEST [gamemodes/copsandrunners/gamemode/cl_init.lua][gamemodes/copsandrunners/gamemode/shared.lua]
TEST [gamemodes/copsandrunners/gamemode/countdown.lua][gamemodes/copsandrunners/gamemode/shared.lua]
TEST [gamemodes/copsandrunners/gamemode/init.lua][gamemodes/copsandrunners/gamemode/shared.lua]
TEST [gamemodes/copsandrunners/gamemode/player.lua][gamemodes/copsandrunners/gamemode/shared.lua]
TEST [gamemodes/copsandrunners/gamemode/shared.lua][gamemodes/copsandrunners/gamemode/shared.lua]
FOUND IN ADDON [277013349]

[Cops and Runners] gamemodes/copsandrunners/gamemode/shared.lua:247: attempt to call method 'IsPlayer' (a nil value)
1. fn - gamemodes/copsandrunners/gamemode/shared.lua:247
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183

Zet0r  [开发者] 2014 年 8 月 7 日 上午 2:57 
引用自 Dr. Judd
TEST [gamemodes/copsandrunners/gamemode/cl_hud.lua][gamemodes/copsandrunners/gamemode/shared.lua]
TEST [gamemodes/copsandrunners/gamemode/cl_init.lua][gamemodes/copsandrunners/gamemode/shared.lua]
TEST [gamemodes/copsandrunners/gamemode/countdown.lua][gamemodes/copsandrunners/gamemode/shared.lua]
TEST [gamemodes/copsandrunners/gamemode/init.lua][gamemodes/copsandrunners/gamemode/shared.lua]
TEST [gamemodes/copsandrunners/gamemode/player.lua][gamemodes/copsandrunners/gamemode/shared.lua]
TEST [gamemodes/copsandrunners/gamemode/shared.lua][gamemodes/copsandrunners/gamemode/shared.lua]
FOUND IN ADDON [277013349]

[Cops and Runners] gamemodes/copsandrunners/gamemode/shared.lua:247: attempt to call method 'IsPlayer' (a nil value)
1. fn - gamemodes/copsandrunners/gamemode/shared.lua:247
2. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
When did this happen? When you disconnected? The code in that line simply checks if the entity being removed is a player.
Master Thottie Hijabibi 2014 年 8 月 9 日 下午 5:21 
引用自 Zet0r
引用自 j0rg
Can you send me the folder you use in a server plz? On mediafire or such?
I'm not home so I don't have any of the files (Didn't you see the note at the top?)

You can't just extract this and put it in your gamemodes folder. It includes a 'materials' folder and a 'models' folder too. You need to convert the .gma into a single folder, then open that folder, and inside you will find a replica of the Garry's Mod architecture, and you need to extract each of those folders content to their respective folder in your server.
Not sure how you do that. Could you possibly link a download for it? Not sure if that makes any sense
Zet0r  [开发者] 2014 年 8 月 10 日 上午 4:24 
引用自 Shilow100
引用自 Zet0r
I'm not home so I don't have any of the files (Didn't you see the note at the top?)

You can't just extract this and put it in your gamemodes folder. It includes a 'materials' folder and a 'models' folder too. You need to convert the .gma into a single folder, then open that folder, and inside you will find a replica of the Garry's Mod architecture, and you need to extract each of those folders content to their respective folder in your server.
Not sure how you do that. Could you possibly link a download for it? Not sure if that makes any sense

You can extract any .gma by going to "SteamApps/[username] or Common/garrysmod/bin", there you'll find a program called "gmad.exe". To extract a .gma with this program, you need to make a batch file and put this in it:

gmad.exe extract -file "[Path to target .gma]"
(example: gmad.exe extract -file "C:\steam\SteamApps\common\garrysmod\garrysmod\addons\my_addon_12345.gma")
Sev 2014 年 8 月 20 日 下午 10:39 
Hi, I loved the game-mode, but had some problems when playing on a server I hosted.
When some of my friends joined, they were claiming that their HUD would not work, that there was simply error signs where it would say 'Runner' or 'Warden', as well as in the bottom right corner. Apparently a similar thing occurred with the jail textures.

I say apparently because mine worked fine, as well as most of the people playing on the server, but it was apparently intolerable for those with the problem, to the point where we played another game-mode for their sake.

We double checked that they had subscribed, but it did happen to several people, so it can't be a single computer problem. Nor a server-side problem, as it worked for me and most players. (I don't think so anyway)

Have you ever experienced or heard of this before?
最后由 Sev 编辑于; 2014 年 8 月 20 日 下午 10:40
< >
正在显示第 1 - 15 条,共 41 条留言
每页显示数: 1530 50