Garry's Mod

Garry's Mod

Custom Animated Flags
 此主题已被置顶,因此可能具有重要性
niumikus  [开发者] 2024 年 2 月 3 日 上午 9:14
Issues 2024
Please Post issues that appear after 03.02.2024 (or still appear) in this Discussion!
< >
正在显示第 1 - 9 条,共 9 条留言
cozmoknot 2024 年 2 月 20 日 下午 8:40 
I keep getting this error, turns out that a few files had "." in the name but i fixed it. All files are pngs, none of them have special characters, the only ones being letters and spaces.
This is the error i keep getting:

[Custom Animated Flags] lua/autorun/client/caf_client.lua:49: bad argument #1 to 'CRC' (string expected, got no value)
1. CRC - [C]:-1
2. UpdateCAFMaterialsDirec - lua/autorun/client/caf_client.lua:49
3. LoadCAFMaterials - lua/autorun/client/caf_client.lua:166
4. UpdateCAFMaterialsCached - lua/autorun/client/caf_client.lua:121
5. func - lua/entities/defaultflag_caf/cl_init.lua:28
6. unknown - lua/includes/extensions/net.lua:38

I am absolutely illiterate when it comes to code, so could you help me out?

Edit: I also get another error, less frequently however, it is this:

[Custom Animated Flags] lua/weapons/gmod_tool/stools/caf_flagloader.lua:44: bad argument #1 to 'CRC' (string expected, got nil)
1. CRC - [C]:-1
2. OnSelect - lua/weapons/gmod_tool/stools/caf_flagloader.lua:44
3. OnRowSelected - lua/vgui/dfilebrowser.lua:186
4. OnClickLine - lua/vgui/dlistview.lua:447
5. unknown - lua/vgui/dlistview_line.lua:81

I should also mention that I am able to use some of my custom image flags and most others I can't, when i try to use the flag loader it gives me the first error
最后由 cozmoknot 编辑于; 2024 年 2 月 20 日 下午 9:27
niumikus  [开发者] 2024 年 2 月 21 日 上午 5:08 
I Added some readable error messages to cover these, you will no longer get "The Addon [...] is creating errors" in the top left
i also changed the description, files may not contain ".", or any special characters, this includes whitespaces
cozmoknot 2024 年 2 月 26 日 下午 6:09 
Oohhhhhh, spaces.. ok thank you so much
STEPANE 2024 年 4 月 6 日 下午 11:38 
On multiplayer flags have a tendency to change back to default, when players get through map brushes. No lua errors appear.
Bartekxa 2024 年 5 月 26 日 上午 4:07 
[Custom Animated Flags] lua/autorun/client/caf_client.lua:113: bad argument #1 to 'Decompress' (string expected, got no value)
1. Decompress - [C]:-1
2. LoadCAFMaterialCache - lua/autorun/client/caf_client.lua:113
3. unknown - lua/autorun/client/caf_client.lua:191
pepitos 2024 年 7 月 19 日 下午 8:09 
idk if it's just me but "tw.png" and "gb-eng.png" just show the german flag instead
Sednuś 2024 年 7 月 25 日 下午 12:27 
i cant find the caf_flags folder, hlep:steamsad:
The Skeleton In Your Closet 2024 年 7 月 25 日 下午 4:25 
引用自 Mozambik
i cant find the caf_flags folder, hlep:steamsad:
You gotta create the folder yourself
Nightmare/Niko 2024 年 8 月 20 日 下午 11:52 
When I noclip out of the map my flags revert back. (im in multiplayer)
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50