Pointshop won't work.

Hi guys
i installed pointshop on my server.
My problem is, when i try to open it with f3 or !shop, nothing happens -.-

(I’m using the last version of pointshop)

Did you restart the server after installing it?

You’re very good at giving all information possible to help you…

How did you install it? Give us a console log. Etc…

no errors.
addons folder :smiley:

yep i restarted my server

Console log. Show us your folder structure of addons/pointshop/…

[editline]18th January 2014[/editline]

i could give you console log in a few minutes

can i log the console startup?
(like a text file)

Just look to see if you get any issues when someone joins/the server starts and if so post them here.

Put -codone in your startup.bat.

What now?
I did that.

Sorry, made a mistake. Should be -condebug

Okay.

[editline]20th January 2014[/editline]

Where can i see the log now?
I did that…

bump

You can see the log in the root of your servers garrysmod folder. A log called “console.log”.

Also, do you have any other addons installed that might be overriding things? Have you bound the the “Spare 1” action to another key? Double check in Options>Keyboard and scroll down to Game Modes where you will see one that’s called “Spare 1”.

Ohh, found 2 errors in my consolelog.txt :frowning:



[ERROR] addons/pointshop-master/lua/sv_pointshop.lua:130: attempt to index field 'Config' (a nil value)
  1. unknown - addons/pointshop-master/lua/sv_pointshop.lua:130
   2. include - [C]:-1
    3. unknown - addons/pointshop-master/lua/autorun/pointshop.lua:18


[ERROR] addons/pointshop-master/lua/sh_pointshop.lua:44: attempt to call method 'LoadDataProviders' (a nil value)
  1. Initialize - addons/pointshop-master/lua/sh_pointshop.lua:44
   2. unknown - addons/pointshop-master/lua/autorun/pointshop.lua:34


[editline]23rd January 2014[/editline]

Sorry for late respond

bump

What changed did you make to the Pointshop Configuration file? Provide code.

Nothing :frowning:

Pointshop Config



PS.Config = {}

-- Edit below

PS.Config.DataProvider = 'pdata'

PS.Config.Branch = 'https://raw.github.com/adamdburton/pointshop/master/' -- Master is most stable, used for version checking.
PS.Config.CheckVersion = true -- Do you want to be notified when a new version of Pointshop is avaliable?

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

PS.Config.NotifyOnJoin = true -- Should players be notified about opening the shop when they spawn?

PS.Config.PointsOverTime = true -- Should players be given points over time?
PS.Config.PointsOverTimeDelay = 1 -- If so, how many minutes apart?
PS.Config.PointsOverTimeAmount = 10 -- And if so, how many points to give after the time?

PS.Config.AdminCanAccessAdminTab = true -- Can Admins access the Admin tab?
PS.Config.SuperAdminCanAccessAdminTab = true -- Can SuperAdmins access the Admin tab?

PS.Config.CanPlayersGivePoints = true -- Can players give points away to other players?
PS.Config.DisplayPreviewInMenu = true -- Can players see the preview of their items in the menu?

PS.Config.PointsName = 'Points' -- What are the points called?
PS.Config.SortItemsBy = 'Name' -- How are items sorted? Set to 'Price' to sort by price.

-- Edit below if you know what you're doing

PS.Config.CalculateBuyPrice = function(ply, item)
	-- You can do different calculations here to return how much an item should cost to buy.
	-- There are a few examples below, uncomment them to use them.
	
	-- Everything half price for admins:
	-- if ply:IsAdmin() then return math.Round(item.Price * 0.5) end
	
	-- 25% off for the 'donators' group
	-- if ply:IsUserGroup('donators') then return math.Round(item.Price * 0.75) end
	
	return item.Price
end

PS.Config.CalculateSellPrice = function(ply, item)
	return math.Round(item.Price * 0.75) -- 75% or 3/4 (rounded) of the original item price
end


Try downloading a clean copy and replace your current one.

If it still doesn’t work, another addon is breaking Pointshop. Remove them one by one and restart server / change map until it works, in the end you will know which one it is and you can re-add the other ones.

Okay i’ll try this!

-snip-