Help with pointshop not appearing, commands not working.

[ERROR] addons/pointshop/lua/sv_pointshop.lua:130: attempt to index field ‘Config’ (a nil value)

  1. unknown - addons/pointshop/lua/sv_pointshop.lua:130
  2. include - [C]:-1
    3. unknown - addons/pointshop/lua/autorun/pointshop.lua:18

L 10/16/2013 - 22:45:35: Lua Error:
[ERROR] addons/pointshop/lua/sh_pointshop.lua:44: attempt to call method ‘LoadDataProviders’ (a nil value)

  1. Initialize - addons/pointshop/lua/sh_pointshop.lua:44
  2. unknown - addons/pointshop/lua/autorun/pointshop.lua:34

Those are the errors i get. Pointshops command is unknown. ps_shop

lines 130-132 in sv_pointshop.lua


hook.Add(KeyToHook[PS.Config.ShopKey], "PS_ShopKey", function(ply)
	ply:PS_ToggleMenu()
end)

lines 1-18 pointshop.lua


if SERVER then
	AddCSLuaFile()
	AddCSLuaFile('vgui/DPointShopMenu.lua')
	AddCSLuaFile('vgui/DPointShopItem.lua')
	AddCSLuaFile('vgui/DPointShopPreview.lua')
	AddCSLuaFile('vgui/DPointShopColorChooser.lua')
	AddCSLuaFile('vgui/DPointShopGivePoints.lua')
	AddCSLuaFile('sh_pointshop.lua')
	AddCSLuaFile('sh_config.lua')
	AddCSLuaFile('sh_player_extension.lua')
	AddCSLuaFile('cl_player_extension.lua')
	AddCSLuaFile('cl_pointshop.lua')
	
	include('sh_pointshop.lua')
	include('sh_config.lua')
	include('sh_player_extension.lua')
	include('sv_player_extension.lua')
	include('sv_pointshop.lua')
end

sh_pointshop.lua lines 43-46


function PS:Initialize()
	if SERVER then self:LoadDataProviders() end
	if SERVER and self.Config.CheckVersion then self:CheckVersion() end
end

pointshop.lua 34-35


PS:Initialize()
PS:LoadItems()

Go into your sh_config.
Goto line 10-13

Look for this code…



PS.Config.ShopKey = 'F3' -- F1, F2, F3 or F4, or blank to disable
PS.Config.ShopCommand = 'ps_shop' -- Console command to open the shop, set to blank to disable
PS.Config.ShopChatCommand = '!shop' -- Chat command to open the shop, set to blank to disable


Make sure it says those three. If it says something else for “PS.Config.ShopCommand” then that’s your command to enable the Pointshop VIA console.

Thank’s captain obvious. It’s that by default.

Then ps_shop shouldn’t be unknown?

it is :l

[editline]16th October 2013[/editline]

ive reinstalled it and everything. same problem.

I was going to help you, but since you’re such a rude fuck.

Add me on steam and ill help you girlyycraft

yeah im the rudest fuck right?

[editline]17th October 2013[/editline]

and failed to follow simple instructions? what IGred said is how pointshop comes in the first place, and i still get that error so…? i’ve made no changes to it at all hah. People get so butthurt on this site i swear.

If you are referring to Handsome Matt’s reply, I don’t believe his is butthurt. You are being rude. I tried helping and you had to go and say “O I know that captain obvious” which is rude sence I was trying to help you out.