Garry's Mod

Garry's Mod

3D Stream Radio
此主题已被锁定
Shavargo 2015 年 12 月 6 日 上午 5:50
[Error] IsUselessModel
I'm trying to use this on my STALKER Roleplay server and I can never use it because of this error.

[ERROR] lua/weapons/gmod_tool/stools/streamradio.lua:615: attempt to call global 'IsUselessModel' (a nil value) 1. GetModel - lua/weapons/gmod_tool/stools/streamradio.lua:615 2. Think - lua/weapons/gmod_tool/stools/streamradio.lua:596 3. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:197
< >
正在显示第 1 - 4 条,共 4 条留言
Grocel  [开发者] 2015 年 12 月 6 日 上午 9:01 
Thanks for the proper report. :)

The Lua function _G.IsUselessModel()[wiki.garrysmod.com] seems to be not existing for you.
It's one of the default functions of GMod, so it has to exist. If it doesn't, there is something broken or outdated. I just tested the function on my GMod and it's fine.

So I guess there something broken about your GMod/server or there is a script from an addon or the gamemode that overrides global game variables. It wouldn't be the first time.

To get out what's wrong, I would like to know some stuff:
- Your version. Enter info_streamradio_version into the console an give me the results. Also make sure your GMod/server is up to date.
- Does it also error on Sandbox with the same addons?
- Does it also error when all other addons are not active/loaded?
最后由 Grocel 编辑于; 2016 年 1 月 16 日 上午 8:55
Shavargo 2015 年 12 月 7 日 下午 3:59 
Both the server and client are using these versions:

3D Stream Radio rev.: 326 Bass vesion: (n/a) Gmod version: 150913 Your Stream Radio SVN is up to date.

It works perfectly fine with singleplayer and tons of addons.
最后由 Shavargo 编辑于; 2015 年 12 月 7 日 下午 3:59
Grocel  [开发者] 2015 年 12 月 8 日 上午 10:37 
Ok, your version is fine. Does your server have the same set of addons as your client? Does it work if you run the gamemode instead of sandbox locally?
Grocel  [开发者] 2016 年 2 月 16 日 下午 2:01 
Locked because of missing information or for being fixed.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50