TTT-Pointshop Model error

Problem-
Any model that shares a directory with another model will not work.
IE: I added the MK-Noob item to my server, its location is as follows: models/player/bobert/mknoob.mdl . This item runs correctly, it’s fastdl is setup properly, and the author of this addon is the same as the one I am having issues with.
This has also happened with a couple of other models that were in models/player .

I am trying to add the Injustice Joker model, and the same setup that was used for the mknoob model was used for this one as well. At first the joker player model was in the models/player/bobert folder. When it became apparent after 10 or 12 restarts that it would not work, I double, triple, quadruple checked the files, and I still came up empty. It was after this that I changed the model to the models/player/bobert/joker/ folder to try to get that to work, it would not.

So here are my file setups currently

addons/joker/lua/autorun
joker.lua

player_manager.AddValidModel( “Joker”, “models/player/bobert/joker/joker.mdl” )
list.Set( “PlayerOptionsModel”, “Joker”, “models/player/bobert/joker/joker.mdl” )

resources.lua

lua/autorun/server

    resource.AddFile( "materials/joker_accessory_diff.vmt" )
resource.AddFile( "materials/joker_accessory_diff.vtf" )
resource.AddFile( "materials/joker_diff.vmt" )
resource.AddFile( "materials/joker_diff.vtf" )
resource.AddFile( "materials/models/joker/joker_accessory_diff.vmt" )
resource.AddFile( "materials/models/joker/joker_accessory_diff.vtf" )
resource.AddFile( "materials/models/joker/joker_diff.vmt" )
resource.AddFile( "materials/models/joker/joker_diff.vtf" )
resource.AddFile( "models/player/bobert/joker/joker.mdl" )

pointshopitem.lua

addons/pointshop/lua/pointshop/items/testingitems

ITEM.Name = ‘Joker’
ITEM.Price = 0
ITEM.Model = ‘models/player/bobert/joker/joker.mdl’

function ITEM:OnEquip(ply, modifications)
if not ply._OldModel then
ply._OldModel = ply:GetModel()
end

timer.Simple(1, function() ply:SetModel(self.Model) end)

end

function ITEM:OnHolster(ply)
if ply._OldModel then
ply:SetModel(ply._OldModel)
end
end

function ITEM:PlayerSetModel(ply)
ply:SetModel(self.Model)
end

Is there something i’m missing here?

[editline]9th August 2015[/editline]

What error are you getting?

The model shows as an error in game. There is no lua error. The files downloaded to my local garrysmod/download directory, however the model still shows as an error.

[editline]9th August 2015[/editline]

Proof of that as well.

Ahh heres the problem. Drag and drop the folders into garrysmod/

No, what I mean is on my steam common folder it downloads the content from the server correctly. The server is setup with everything in the root folder.

The second picture was from C:\Program Files (x86)\Steam\SteamApps\common\GarrysMod\garrysmod\download\models\player\bobert\joker

You have to change the path of
ITEM.Model = ‘models/player/bobert/joker/joker.mdl’

to whatever it is in your download folder.

Hopefully that works if not idk.

Im assuming the download folder is considered the root folder, and if so the path is setup fine.

EDIT: Going to sleep soon, so I won’t be able to answer any questions.

Is the model showing up as an error in the preview, or is it completely an error even when equipped?

They show up as an error no matter what, everything worked fine when it was workshop download.

But mixing directories seems to be a big no no.

Can you post a link to your FastDL?

http://mjld.site.nfoservers.com/server/

cfg
sv_downloadurl “http://mjld.site.nfoservers.com/server

Joker
http://mjld.site.nfoservers.com/server/models/player/bobert/joker/

Can you confirm that the files are downloading correctly? Can you post a clientside console log after joining your server?

I’ll delete my download folder, and join. I’ve seen it download several times though :(.

[editline]9th August 2015[/editline]

After deleting the files, joining the server, and re downloading them from the server, they are in the correct directory on my computer. However it still returns an error. Is there anyway Bzip could be the problem?

Console
terrortown
ttt_minecraft_b5
16
76561198043223992
ConVarRef gmod_physiterations doesn’t point to an existing ConVar
PREP OK
clientside lua startup!
You are running ULib version 2.52.
[ULIB] Loading SHARED module: ulx_init.lua
[ULX] Loading CLIENT module: motdmenu.lua
[ULX] Loading CLIENT module: uteam.lua
[ULX] Loading CLIENT module: xgui_client.lua
[ULX] Loading CLIENT module: xgui_helpers.lua
[ULX] Loading CLIENT module: xlib.lua
[ULX] Loading SHARED module: chat.lua
[ULX] Loading SHARED module: donate.lua
[ULX] Loading SHARED module: essentials.lua
[ULX] Loading SHARED module: fun.lua
[ULX] Loading SHARED module: menus.lua
[ULX] Loading SHARED module: rcon.lua
[ULX] Loading SHARED module: teleport.lua
[ULX] Loading SHARED module: ttt.lua
[ULX] Loading SHARED module: user.lua
[ULX] Loading SHARED module: userhelp.lua
[ULX] Loading SHARED module: util.lua
[ULX] Loading SHARED module: vote.lua
[ULX] Loading SHARED module: warn.lua
Couldn’t include file ‘cl_specdm_hud.lua’ (File not found) (@addons/ttt_spectator_deathmatch-master/lua/cl_spectator_deathmatch.lua (line 3))
Requesting texture value from var “$dummyvar” which is not a texture value (material: NULL material)
Included TTT language file: chef.lua
Included TTT language file: english.lua
Included TTT language file: german.lua
Included TTT language file: portuguese.lua
Included TTT language file: russian.lua
Included TTT language file: spanish.lua
Included TTT language file: swedish.lua
Included TTT language file: tradchinese.lua
TTT Client initializing…
Client “MJLD| Owner| DeathSod” spawned in server <STEAM_0:0:41479132> (took 26 seconds).
ULX version <SVN> unknown revision loaded.
Welcome to MJLD| TTT| Need Staff| Free Models| Pointshop|! We’re playing ttt_minecraft_b5.
Decay timer running

///////////////////////////////////////
// ULX GUI – Made by Stickly Man! //
///////////////////////////////////////
// Loading GUI Modules… //
// bans.lua //
// commands.lua //
// groups.lua //
// maps.lua //
// settings.lua //
// Loading Setting Modules… //
// client.lua //
// server.lua //
// Loading Gamemode Module(s)… //
// No module found! //
// Modules Loaded! //
///////////////////////////////////////

TTT Client post-init…
Compact freed 589824 bytes
Redownloading all lightmaps

resource.AddFile( “materials/joker_accessory_diff.vmt” )
vs
resource.AddSingleFile( “materials/joker_accessory_diff.vmt” )

Maybe?

AddFile will automatically add the vtf, so no.

I’m just cancelling the server. Never mind.