Giter Club home page Giter Club logo

pointshop's People

Contributors

adamdburton avatar alexgrist avatar bizzclaw avatar blastehh avatar damiankil1999 avatar eccid avatar end360 avatar h3xcat avatar handsomematt avatar mydimeisup avatar nullentity2 avatar robotboy655 avatar stickz avatar valentinfunk avatar waterwolf avatar wyozi avatar xbeastguyx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pointshop's Issues

Adding Custom Serverside Models

I tried adding a few custom serverside models, put them on the fastdl and then restarted the server, yet the models are showing for myself and a few other friends, yet not all.

Any ideas?

Question on points

Hi, so I was wondering if it is possible to make a function where when a certain item is bought it gives the player that bought it points but cannot be sold, if so please tell/show me how.

self:PS_LoadData() Crashed ?

self:PS_LoadData() Crashed!

Who : not save
If player reconnect -> Not Load!
What's wrong?
I'm Not correct .lua..
(I can't speak English)
RE

If Player - Buy item > Disconncet And reconnect > WHT!!!! Not Load! But Already bought items LOAD! > What's wrong????...
Please Help :(...

Mac users can't open point shop

If the open key is set to F1 - F10, mac users cannot open the point shop
Please fix as it leaves a good chunk of users without this good feature

Sometimes trails glitch

Well for example if you put on like 4-6 trails and attempt to take them all off, some of them glitch and stay on you till you die or round resets.

texthat.lua stays as spectator

Well if I use the text title and use it on myself, people can see it above my head, everything is perfect.

But when I die and spectate someone else, the title goes on their head, maybe there's a way to switch the title off when in spectator mode?

Screenshot of what happens (I am dead and I am spectating, that is MY text title not the person I am spectating)

http://imgur.com/BKOMP

Version Checker

It seems a lot of people in the Facepunch thread are unaware that they're using outdated versions of Pointshop. A simple notification if they're using an older version would be good.

Where save Point Shop?

Save Folder
I would like to know the location...
Please Server Membder Save files for Restore
Please Help me!

C:\srcds\Orangebox????

Pointshop MYSQL lag.

Hi __unidentified.
I do not know if this is a know issue but we currently have 5 servers and connecting to one database.
All the servers lag every 30 seconds when it is syncing.
All the items are the same on the servers.
If you can help it will be greatly appreciated.
Thanks in the future.
Yours sincerely
-Gecka

Invisaglitch

Everything on the map just went invisible. This is the only resent addon.

Trails stay on Spectators

Okay this is a serious bug, this occured twice in 2 maps, it is somehow rare but to be honest, it shouldn't happen.

PS_LoadData: Tried to use a NULL entity!

Seems to be bugging the point loading on some users, as in they will gain points again from 0 and lose everything they've earned.

=-=-=- Exact Error in logging -=-=-=
[ERROR] addons/pointshop-master/lua/sv_player_extension.lua:91: Tried to use a NULL entity!

  1. __newindex - [C]:-1
    1. PS_LoadData - addons/pointshop-master/lua/sv_player_extension.lua:91
    2. unknown - addons/pointshop-master/lua/sv_player_extension.lua:35

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Causing a crash or restart of the server which I just tested seems to randomly reset points to random people as in, one person that I gave 2000 points kept it but three other people that I gave the points to lost theirs along with a user I didn't affect also lost his. =/

Items not staying equipped

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.

People have to redownload

Well I have an issue, or I think all servers that use your pointshop are that every time a person connects/reconnects they have to redownload all the custom models, I tried everything that I know of and it still does the same thing. It is kind of bothering.

I have a website, main server, test server, other fastdl website.

Please look in to it, if it is just my issue I would pay you like £5 for six pack beer if you could like teach me or show me how to set it up so I can upload custom files for people to download without needing them to re-download every time they connect.

The PointShop Wiki/Info page is kind of wrong.

Well this link
http://pointshop.burt0n.net/categories

The part of
ITEM.Icon = 'emoticon_smile' & ITEM.AllowedEquipped = 2

Shouldn't they be?

Category.Icon
Category.AllowedEquipped

Because I tried ITEM.AllowedEquipped and this is what I've got.

[ERROR] addons/pointshop/lua/items/headshatsmasks/__category.lua:3: attempt to index global 'ITEM' (a nil value)

  1. unknown - addons/pointshop/lua/items/headshatsmasks/__category.lua:3
    1. include - [C]:-1
    2. LoadItems - addons/pointshop/lua/sh_pointshop.lua:43
      1. unknown - lua/autorun/pointshop.lua:25

TTT adding weapons into pointshop help!

Hello everyone i was woundering if any of you can help me out on how to add ttt weapons to the pointshop addon for gmod, if u know let me know in here and ill post a coding of what i have to see if u can fix it for me!

ITEM.Name = 'awp'
ITEM.Price = 2000
ITEM.Model = 'models/weapons/w_snip_awp.mdl'
ITEM.WeaponClass = 'weapon_ttt_awp'
ITEM.SingleUse = false

function ITEM:OnBuy(ply)
ply:Give(self.weaponClass)
ply:selectweapon(self.weaponClass)
end

function ITEM:OnSell(ply)
ply:stripWeapon(self.weaponClass)
end

function ITEM:Onholster(ply)
ply:stripWeapon(self.weaponClass)
end

function ITEM:OnEquip(ply)
ply:Give(self.WeaponClass)
ply:SelectWeapon(self.WeaponClass)
end

PS_LoadData Not working!

self:PS_LoadData() is not working...
What wrong?

(How) = Serverconnect -> Save Not load (But buy something. Recovery!)
[ Auto Load not work ]
but buy/sell something Load save Activite !
What happen!.. very Uncomfortable...
Please Help!! :S

Cool down timer for traitor buy in

Hi I'm just asking a quick question is there a way to make a simple cool down timer for say a traitor buy in or any power ups that are added to a point shop? If there is how would I go about coding this. I really appreciate all the work you have done, for this is an amazing point shop. Its double the amount of players on my server. Thank you

Tom

*SOLVED* After update, all items are lost on server restart, but points are fine

Hi there, after the 157 update last night, if the server is restarted all the items are lost but points remain ok - could you please assist me in hopefully getting the players items back or at least so it saves it each restart from now.. also is there any documentation on how to connect pointshop to an external sql database?
thanks,
sneaky

F3 DarkRP Glitch

People click and get stuck in the F3 menu. Can I change to Point Shop open key?

Not Work..PlayerDeath Point

hook.Add("PlayerDeath", "PointShop_PlayerDeath", function(victim, inflictor, attacker)
if attacker:IsPlayer() and attacker:IsValid() and not victim != attacker then
attacker:PS_GivePoints(100, "killed " .. victim:Nick())
end
end)

it's Not work...
What need ?
What's wrong?
Please...

TTT - Spectators (Yes, another weapons issue)

Hello, I have been trying to fix this problem for ages now, but apparently just stripping spectators and dead players for weapons is not working.

Spectators recieve weapons from the pointshop for some odd reason, my guess is that the game is counting the spectators as a spawn and is then giving them the weapons or possibly trails when using the ITEM:PlayerSpawn(ply) function.

In my weapons I am currently using:

function ITEM:PlayerSpawn(ply)
ply:Give(self.WeaponClass)
end

to give the users the weapon they have bought when they spawn, but it seems to cause problems because of what I mentioned above.

I'm hoping you would take a look at this, as I myself have no idea how to fix this as I have now tried a lot of different things and I'm running out of luck on this one.

Thanks for reading!

Suggestion

I'd like to make a suggestion to be able to change the max number of hats a player can wear at once in the admin tab.

Pointshop suggestion.

Any way possible to make a folder within a folder ? like if you have a vip section and then have sub sections like trails and models ? Thanks in advance for everything !

Workhop

Say I link a model fro workshop with my server, will the models show up in Pointshop? If not is there some way we can get that to work?

Pointshop error

Hi,
Just thought id let you know I get this error with the new update.

[ERROR] addons/poinshop-master/lua/sv_player_extension.lua:14: attempt to index local 'ITEM' (a nil value)
1.unknown - addons/pointshop-master/lua/sv_extenstions.lua:14

Thanks for this amazing plugin love the work you do !
-Gecka

Send data when Player joins to server [MySQL]

Hi, I have problem with mysql data, when player joins to server his money is 0 and he have no items.
When he get money for playing on the server his money updates normal, but items still 0

Preview Window

There seems to be an issue when someone is in spectator mode with the new preview window, sometimes it would show the model as the grey man, other times it will just show a default model. Is it possible to make it so your models will show in the spectator preview window? or perhaps disable it or something.

TTT - Bodies disappearing on death.

I'm having an issue where the rag dolls of people disappear when using my Pointshop models. This is limited only to non-HL2 models from what seems to be the case. I'm not seeing any error messages either so its hard to pinpoint the issue.

TTT Weapon adding to pointshop

hello im currently trying to add weapons to my ttt server and it dosent seem to work when i equip it it says equpied but i dont see it and i cant use it can anyone here give me a coding example that i can use WOULD BE GREATFUL!! Ive been searching everywere and cant find anyone who knows how to do this! please let me know thanks!
Guys please remember this is for pointshop not adding to my ttt server ! thanks!

Weapons not giving correct weapon

Most of the weapons I buy from the point shop using the ones I downloaded WITH pointshop don't give the correct weapon

For example, I buy the RPG but receive the HUGE-249

Not sure if it's a problem with pointshop or my server. Can't find anyone else with the problem.

Players see'ing purple/black (pink models)

Okay I added my first custom model but unfortunately it shows purple/black checker boxes for most people, as they describe it 'pink' the object is a Hat, a Russian hat so I am wondering why are they not seeing it.

vmt/vtf file location: /178.239.161.25 port 27015/orangebox/garrysmod/materials/models/russianhat

model file location: /178.239.161.25 port 27015/orangebox/garrysmod/models/russianhat

russianhat.lua location: /178.239.161.25 port 27015/orangebox/garrysmod/addons/pointshop/lua/items/headshatsmasks

pointshopdownload.lua location: /178.239.161.25 port 27015/orangebox/garrysmod/lua/autorun/server

russianhat.lua http://pastebin.com/cJbQFbZn
pointshopdownload.lua http://pastebin.com/H8SBFSGm

pointshopdownload.lua is the file for forcing downloads of models and materials.

Please if you can see where the problem is and if it is mine or the script, I hardly doubt it is the script.

I really appreciate if you help me.

[Not Relevant] Model Problem

Well I have this in my console every time someone wears a hat (this for every single person)

KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file models/hatt.mdl
mdlkeyvalue, (prop_data),

KeyValues Error: RecursiveLoadFromBuffer: got EOF instead of keyname in file models/piratehat/piratehat.mdl
mdlkeyvalue, (prop_data),

1st is one model hat
2nd is another model hat

lets say 10 people wear it, I get spammed in the console 10 times.

I have no idea why this is happening and I think it crashed my server, once...

Provider not found

Hi there! I'm having issues with my provider/pdata ever since updating to the latest github stuff. So I'm getting the error of Missing provider: etc etc etc. My PS.Config.DataProvider = 'pdata', and my pdata looks like this:[CODE]function PROVIDER:GetData(ply, callback)
return callback(ply:GetPData('PS_Points', 0), util.JSONToTable(ply:GetPData('PS_Items', '{}')))
end

function PROVIDER:SetData(ply, points, items)
ply:SetPData('PS_Points', points)
ply:SetPData('PS_Items', util.TableToJSON(items))
end[/CODE]

thanks in advance, and points don't save.

In our Server, We have many Save crash! :(....

i'm sorry to enquiry with nonsense english last time. :D
I wanted to say about the bug is existent.

When the player connect the server, saves are did not load or initialization.
This work makes worst situation :O...
please, give me fastest solution.

thank you for making the point shop! : )
im sorry to request about this.
Thanks~! ^_^

The New Big Update problem.

Well you did something horribly wrong that created midget writing, its unreadable and I tested it, not my side, something with the new stuff, made a picture of it below.

http://imgur.com/3llCg

All the writing is small and you can't even read it + you cannot use the items, like wear them, ever since I uploaded the new one and if I try to use the old pointshop this still keeps happening, what happened? Can you help me please? Anyone?

Admin Panel Bugs/Errors

Unable to take/give items.

This is what I receive when I attempt to give an item.

[ERROR] addons/pointshop-master/lua/vgui/dpointshopmenu.lua:180: Calling net.Start with unpooled message name [http://goo.gl/qcx0y]

  1. Start - [C]:-1
    1. callback - addons/pointshop-master/lua/vgui/dpointshopmenu.lua:180
    2. DoClick - addons/pointshop-master/lua/vgui/dpointshopmenu.lua:21
      1. OnMouseReleased - lua/vgui/dlabel.lua:206
      2. unknown - lua/vgui/dmenuoption.lua:100

This is what I receive when I attempt to take an item.

[ERROR] addons/pointshop-master/lua/vgui/dpointshopmenu.lua:187: Calling net.Start with unpooled message name [http://goo.gl/qcx0y]

  1. Start - [C]:-1
    1. callback - addons/pointshop-master/lua/vgui/dpointshopmenu.lua:187
    2. DoClick - addons/pointshop-master/lua/vgui/dpointshopmenu.lua:21
      1. OnMouseReleased - lua/vgui/dlabel.lua:206
      2. unknown - lua/vgui/dmenuoption.lua:100

Also the Admin panel is a little bit buggy, like sometimes the points don't show up you have to wait a while till they do and lets say 'Bob' has 4 items and he is wearing them, if I look on the Admin Panel, it shows 0.

Dead players have trails on

iRzilla said that he will commit the fix, so he did but the problem is, it didn't fix anything, trails are still active when dead, although that only happens at some times not all the time, sometimes when I died they stay and sometimes they dissapear.

http://imgur.com/3P4Ui

Screenshot of the game I had today.

Pointshop not working with GMod update 159

None of my addons work (ulx, pointshop) but I looked in the console and found this for pointshop:

[ERROR] lua/autorun/server/pointshop.lua:24: unfinished string near '"'

  1. unknown - lua/autorun/server/pointshop.lua:0

Any ideas?

Preview Window

A preview window to show the players model with clientside models attached and a preview of any hovered item (if applicable).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.