• WIP: PointShop
    528 replies, posted
[QUOTE=werewolf0020;27378043]i know but Lets say i host the gamemode only the gamemode files not the addon So when a player joins will he still have the PointShop OR he will have to manually download it in order to work?[/QUOTE] sorry if this is late but... Your server should have the same file layout as your garrysmod/garrysmod folder... If it doesn't, then make it have the same folders and everything... Then, put this into /garrysmod/addons and then websync your server if you have to. Then... restart your server and it SHOULD work.. :D [editline]16th January 2011[/editline] [QUOTE=_Undefined;27457983]It already does that. Just make more weapon items.[/QUOTE] O i thought it counted by time... :S Thanks and can i have your steam id? pm it to meh please
[QUOTE=FatPanda;27458031]sorry if this is late but... Your server should have the same file layout as your garrysmod/garrysmod folder... If it doesn't, then make it have the same folders and everything... Then, put this into /garrysmod/addons and then websync your server if you have to. Then... restart your server and it SHOULD work.. :D [editline]16th January 2011[/editline] O i thought it counted by time... :S Thanks and can i have your steam id? pm it to meh please[/QUOTE] It's under my avatar. I aren't and wont be online on Steam.
:( ok lol didn't notice.. ill pm you some of the things i need to ask you. :D [editline]16th January 2011[/editline] Can you send me one with only 1 tab and 1 item? It would make my life so much easier :)
Delete the folders in the items folder other than weapons. Seriously.
Right i put the default shop in, and when someone buy's an item everyone seems to get it, even new people who join.
I'll check this when I can.
[QUOTE=Mrkrabz;27479955]Right i put the default shop in, and when someone buy's an item everyone seems to get it, even new people who join.[/QUOTE] I don't seem to get this problem. Does anyone else?
[QUOTE=_Undefined;27523142]I don't seem to get this problem. Does anyone else?[/QUOTE] I think he's saying when you buy an item, every player gets the item. Including players that have just joined the game (or once they join later, they get it then)
[QUOTE=Banana Lord.;27525176]I think he's saying when you buy an item, every player gets the item. Including players that have just joined the game (or once they join later, they get it then)[/QUOTE] I know. I tried to replicate it but it's not happening for me.
Could you make an option for equipping/unequipped the stuff ? :)
[QUOTE=BummieHEad;27541651]Could you make an option for equipping/unequipped the stuff ? :)[/QUOTE] ^ this. also, inventories aren't saving, and players joining the server can't see existing players' hats unless those players re-buy them, wdf :(
maybe becouse you actually need to save the info to a SQL Dtabase? read the main post
[QUOTE=werewolf0020;27545154]maybe becouse you actually need to save the info to a SQL Dtabase? read the main post[/QUOTE] No u. You dont need a MySQL database as it saves with PData. The SQL database is only needed if you want it to shared with diffrent servers. THEN you need the SQL database.
oh my bad well then im getting the SAME problem
Indeed, there is definitely an issue with saving inventories. [editline]22nd January 2011[/editline] Ah, it seems that it dose infact save inventories, but dosen't actually display them when a person joins again. I just tried buying the same item again and it wouldn't let me, telling me that I already had the item. [editline]22nd January 2011[/editline] Also getting an error when a new player joins: [lua][cl_pointshop.lua:166] attempt to index field '_Hats' (a nil value)[/lua]
Another issue: Points are set to 0 when you first join. Even if the player had points in the past. This only changes when the player is given or taken points.
If you add a lot of items to one section (Hats/heads/trails/masks/weapons, etc..) does it scroll down? Or just glitch off the page and not show the extra items?
It add's a scrollbar? [editline]23rd January 2011[/editline] There, the problem of existing items not being shown should be sorted.
[QUOTE=_Undefined;27602819]It add's a scrollbar? [editline]23rd January 2011[/editline] There, the problem of existing items not being shown should be sorted.[/QUOTE] Great. Now the only issues that I'm getting is the whole "New player joining, everyone getting spammed with [lua][cl_pointshop.lua:166] attempt to index field '_Hats' (a nil value)[/lua] " And brand new players spawn with trails and various different items for some reason.
[media]http://www.youtube.com/watch?v=AfRZKISgTbg[/media] equipping/unequipped :O
Items dosen't save and I'm getting the same error as xboxhumper.
Dead ?
Triple post?
[QUOTE=Remscar;27880997]Triple post?[/QUOTE] Looks like it D:
_Undefined is busy so he can't work on it right now but someone else from orange cosmos picked it up [url]http://orangecosmos.net/index.php?topic=6568.0[/url]
[QUOTE=TheDertyHobo;27894925]_Undefined is busy so he can't work on it right now but someone else from orange cosmos picked it up [url]http://orangecosmos.net/index.php?topic=6568.0[/url][/QUOTE] That gotta be me, heh ;) As you can see on the orange cosmos thread, im not going to release this to the public as its for a private gamemode. But when im thinking about it, i maight go and release the achivement system im working on for it (if i ever finnish that). (btw who are you from orange cosmos?). Sorry for going off-topic.
[QUOTE=Crap-Head;27901245]That gotta be me, heh ;) As you can see on the orange cosmos thread, im not going to release this to the public as its for a private gamemode. But when im thinking about it, i maight go and release the achivement system im working on for it (if i ever finnish that). (btw who are you from orange cosmos?). Sorry for going off-topic.[/QUOTE] Expect about 100 more threads in the question section asking us to code features for it and where to put the code then just like every one of your gamemodes
did someone managed to fix the saving items issue?
I'm not apart of orange cosmos but I saw your thread because I was looking for a updated pointshop with more features and not as buggy
Saving works for Rev 61 ;)
Sorry, you need to Log In to post a reply to this thread.