PointShop for Garry's Mod 13 v2

http://puu.sh/1Aqnr

V2
Copy of PointShop thread as it was locked due to post limit and _Undefined and Matt are banned. I did not make this addon.

Somebody linked me to a version of my old WIP: PointShop that someone had hacked together to make it work for Garry’s Mod 13. The code annoyed me so much that my OCD kicked in and it made me finish off the one I’d started during the beta.

It’s working in SP and MP as far as I can see, let me know if there are problems and I’ll fix them up. Post suggestions if you like but no promises I’ll do any of them.

Features

  • Recoded from scratch.
  • Item equipping/holstering.
  • Updated GUI.
  • Item customisation (colors only for now).
  • Admin tab for managing players points.
  • Items removed on death or TTT spectate mode, and given back when you spawn again (OnHolster and OnEquip).
  • New item file layout for easier editing and creating.
  • Points given over time (configure in sh_config.lua).

Media

[IMG_THUMB]http://puu.sh/1AAxv[/IMG_THUMB]

[IMG_THUMB]http://puu.sh/1AAxS[/IMG_THUMB]

[IMG_THUMB]http://puu.sh/1AAya[/IMG_THUMB]

[IMG_THUMB]http://puu.sh/1AAyk[/IMG_THUMB]

Download / Install

GitHub - https://github.com/adamdburton/pointshop

Zip - https://github.com/adamdburton/pointshop/archive/master.zip

Clone or extract the pointshop repo or pointshop-master folder to your addons folder.

MySQL Synchronisation

I was originally selling this but I’m just too kind. Anyone who bought it has been refunded. This requires the MySQLOO module installing and a MySQL server that your gameserver(s) can connect to.

Be **VERY **cautious letting people set the MySQL stuff up for you. If your MySQL database is set up to allow connections from anywhere (either on purpose or by accident), anyone with the connection details will be able to connect to it. If you get someone to do it for you, make sure you change the password once it’s all working.

GitHub - https://github.com/adamdburton/pointshop-mysql

Zip - https://github.com/adamdburton/pointshop-mysql/archive/master.zip

Clone or extract the pointshop-mysql repo or pointshop-mysql-master folder to your addons folder and then edit the mysql.lua file with your database info.

Extra Items

This is a repository of extra items for PointShop that I or others have made, and are separate to the main repository to keep it clean from models and materials. PM me if you have an item you’d like including. If you’re having problems with clients downloading, move the models and materials to the root garrysmod folder, merging them into the existing ones.

GitHub - https://github.com/adamdburton/pointshop-extras

Zip - https://github.com/adamdburton/pointshop-extras/archive/master.zip

Add this as another legacy addon in your addons folder.

Custom Items

If you create custom items, make sure the filenames of the lua files don’t have spaces or capital letters. The item names can be anything you wish.

The positions for each item were found with trail and error. There isn’t a program to find them for you.

Item property/function documentation: http://pointshop.burt0n.net/items

Problems / Suggestions

Please make sure you’re on the latest version before reporting errors.

Post any issues with the PointShop code (not your custom items) on GitHub: https://github.com/adamdburton/pointshop/issues

If you have custom items and they’re not working, it’s not my problem, but feel free to post them here and me or someone else may help you.

DO NOT ADD ME ON STEAM TO ASK QUESTIONS OR ASK ME TO MAKE SOMETHING, POST IN THE THREAD!

Donate

If you would like to support development and make sure I keep this updated with fixes and new features, donating some of your money to me will go a long way to doing that. Receiving donations really inspires me to work more.

https://www.paypalobjects.com/en_GB/i/btn/btn_donate_SM.gif

Thanks

These are people who have helped out with PointShop. Let me know if I’ve missed you off.

Matt- - Bug hunting/fixing, code optimisation and a few features!
_Undefined - Everything else
BlackVoid - Some SQL queries for the MySQL Sync.

Please note, the OP is not the creator of PointShop, he is just the messenger as _Undefined seems to currently be banned from facepunch.

It’d be safe to assume _Undefined still reads this and maintains the GitHub so POST AND EXPLAIN YOUR ISSUES ON GITHUB: https://github.com/adamdburton/pointshop/issues

I have an issue where items are no longer equipped when players rejoin, why is this? It’s getting irritating, it even says they’re equipped but they’re not. They must be holstered and equipped again to fix it.

Post here: https://github.com/adamdburton/pointshop/issues

Undefined will no longer be working on pointshop, but he will continue to approve github push requests, if anybody was wondering.

How would I go about applying a material to a gun, I want to add different materials to guns if the client has brought a certain PointShop item, I was going to just have a different model but downloading all the models would take time so is there anyway to apply a material to a weapon without changing the default model?

How do you equip items after buying them o.O? and when I try to buy something it says you’re not allowed to do that at this moment. Also wondering if there’s a way to let you get extra points to get traitor kills or innocent kills if you’re a traitor?

It auto equips items after you buy them, if not then click on the item then hit equip.
You cannot buy items while you are dead.
Someone released something like that a while back, have a look around for it.

  • delete this message

the power ups prevent you from going through teleporters, why? can someone help?

The power ups does not prevent you from using teleporters, it’s probably because the map is not supposed to have super small/large players, so the detection doesn’t work as it should.

Am i suppose to use this with a certain admin mod? eg ulx or evolve?

So for mysql I need mysqloo and regular mysql?

You need the MySQLoo module for gmod and a MySQL database.

Can somebody make a video or link me to one on how to add pointshop to my TTT server?

Just download the .zip from Github and put it straight into your addons. When in game use the default key as “F3” to open the shop.

Do i put the zip file in or do i put he pointshop-master in?

pointshop-mater

I dont know what rockstar was trying to say there… The answer you were looking for was yes.

edit didnt see it said zip, extract it first and put the folder in there.

zip file or pointshop into the addon folder