SH Pointshop

(25)
(108)
You can always read the reviews or discuss this product
Notice
If you are looking for support you should instead create a support ticket.
mew Purchased posted

how do players earn points it doesn't seem like points are being earned?

Cuboxis posted

does it have helix support?

Seth Purchased posted

Hello. How do players earn points? I find items, I win games, but I do not get points.

Der Klauende Clown posted

does it support sh_pointshop

[♥D.SS♥]Phoenixmeister Purchased posted

Is it still working?

|DC| Drewbie Purchased posted

This no longer works on mysql.

Myrrdin Purchased posted

Great Pointshop, but for some reason you have deleted the documentation?

It was quite useful and I see no logical reason for this.

TiC & TaC Purchased posted
● edited

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

alexfreeman94214 Purchased posted

This is the worst pointshop ever

RyanTheTechMan Purchased posted
● edited

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.Items
Replace line 427 with for class, item in pairs (category.Items) do
RyanTheTechMan Purchased posted
● edited

Has 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

Coactic posted
sh_pointshop_add_standard_points "STEAMID" "AMOUNT"

does this mean they have to enter there steam id if they donate

Cameron Purchased posted

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

nar Purchased posted

How do i respawn with a item that is already bought?

valkor posted
● edited

[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

Hackuou posted

If you don't need MySQL support then sure.

Green Purchased posted

Worth buying this?

Hackuou posted

Yeah mysql is super broken in this, would just use another plugin and not bother with this.

Eevee Purchased posted

Sorting seems not to work even after changing the __key value.


did someone solved that issue already?

Hackuou posted

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)]],
    	}
Eevee Purchased posted

Why would you do that?

|ExT| AG Purchased posted
● edited

Is there any way I can make a weapon a one time purchase and then available for free once bought?

|ExT| AG Purchased posted
● edited

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!

Myrrdin Purchased posted

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 exchanging sel_cat.__key with sel_cat.Name in the file sh_pointshop/lua/pointshop/cl_menu.lua
Showing 24 of 95 total results
Search products...