how do players earn points it doesn't seem like points are being earned?
Notice
If you are looking for support you should instead create a support ticket.
Cuboxisposted
does it have helix support?
Hello. How do players earn points? I find items, I win games, but I do not get points.
Der Klauende Clownposted
does it support sh_pointshop
Is it still working?
This no longer works on mysql.
Great Pointshop, but for some reason you have deleted the documentation?
It was quite useful and I see no logical reason for this.
Can you help me how to install sqlite on my mtx server gmod or how to access at database is doesn't work I think
This is the worst pointshop ever
I figured out a lot! (Will post more if I can find more)
If you want items that players purchase to immediately equip:
lua\pointshop\sv_actions.lua
add a new line after line 44, Right after self:OnItemBought(ply, item, itm)
ply:SH_EquipItem(itm)
If you want to be able to use OnHolster as well as OnUnequip DOES NOT WORK
lua\pointshop\sv_obj_player_extend.lua
add a new line after line 176, right after item:OnUnequip(self, itm)
item:OnHolster(self, itm)
Having trouble with players not re-equipping weapons they have after respawn?
It's not a bug but it makes no sense if you are switching from PS1 or PS2! SH Pointshop wants you to use the PlayerSpawn function when making items. This is redundant, to just give the players the items they had equipped after death, go to lua\pointshop\sv_main.lua Line 120 ish where it says ply:SH_CallItemFunction("PlayerSpawn") and replace it with ply:SH_CallItemFunction("OnEquip") That will run the OnEquip function when the player spawns.
To fix the sorting issues:
Cameron Posted:
For those with sorting issues, here's the fix:
cl_menu.lua
Replace line 424 with local items = category.ItemsReplace line 427 with for class, item in pairs (category.Items) doHas anyone figured out how to get the items the players had equipped (not 1 time use) auto re-equip when they spawn in each time?
FIXED ABOVE
Coacticposted
sh_pointshop_add_standard_points "STEAMID" "AMOUNT"
does this mean they have to enter there steam id if they donate
For those with sorting issues, here's the fix:
cl_menu.lua
Replace line 424 with local items = category.Items
Replace line 427 with for class, item in pairs (category.Items) do
How do i respawn with a item that is already bought?
[ERROR] addons/sh_pointshop/lua/pointshop/modules/itemmanager/cl_itemmanager.lua:262: attempt to index a nil value
1. func - addons/sh_pointshop/lua/pointshop/modules/itemmanager/cl_itemmanager.lua:262
2. AddPanelHook - addons/sh_pointshop/lua/pointshop/lib_panelhook.lua:57
3. ShowExistingSection - addons/sh_pointshop/lua/pointshop/modules/itemmanager/cl_itemmanager.lua:252
4. func - addons/sh_pointshop/lua/pointshop/modules/itemmanager/cl_itemmanager.lua:604
5. DoClick - addons/sh_pointshop/lua/pointshop/lib_loungeui.lua:1038
6. unknown - lua/vgui/dlabel.lua:234
I c'ant manage item
Hackuouposted
If you don't need MySQL support then sure.
Worth buying this?
Hackuouposted
Yeah mysql is super broken in this, would just use another plugin and not bother with this.
Sorting seems not to work even after changing the __key value.
did someone solved that issue already?
Hackuouposted
To fix MySQL open /sh_pointshop/lua/pointshop/sv_main.lua then change
if (dm == "mysqloo") then
local to_create = {
sh_pointshop = [[`item_id` int(11) NOT NULL DEFAULT '0']],
sh_pointshop_player = [[`id` INT NOT NULL AUTO_INCREMENT, `steamid` VARCHAR(45) NOT NULL, `standard_points` INT NOT NULL DEFAULT 0, `premium_points` INT NOT NULL DEFAULT 0, `inventory` TEXT(4096) DEFAULT '', `equipped` TEXT(4096) DEFAULT '', PRIMARY KEY (`id`), UNIQUE INDEX `steamid_UNIQUE` (`steamid` ASC)]],
}
to
if (dm == "mysqloo") then
local to_create = {
sh_pointshop = [[`item_id` int(11) NOT NULL DEFAULT '0']],
sh_pointshop_player = [[`id` INT NOT NULL AUTO_INCREMENT, `steamid` VARCHAR(45) NOT NULL, `standard_points` INT NOT NULL DEFAULT 0, `premium_points` INT NOT NULL DEFAULT 0, `inventory` TEXT(4096), `equipped` TEXT(4096), PRIMARY KEY (`id`), UNIQUE INDEX `steamid_UNIQUE` (`steamid` ASC)]],
}
Why would you do that?
Is there any way I can make a weapon a one time purchase and then available for free once bought?
How can I set points to be given for every X amount of time spent playing on my server?
Nevermind, I was able to find the file to edit!
Since this is no longer supported, here is a fix for the issue with the playermodels not being able to be sorted:
Just rename the category to models instead of player_models inside of the _category file xD
Fix by Thendon.exe for the sorting/filtering of hats and other accessories
Scince support stopped i though I ll just leave this here: We had issues with the sort and filter functions and solved them by exchangingsel_cat.__keywithsel_cat.Namein the filesh_pointshop/lua/pointshop/cl_menu.lua
Showing 24 of 95 total results