Raised This Month: $51 Target: $400
 12% 

Release Store Release [1.1 Final] [Sourcemod 1.6 or lower]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 02-10-2013 , 07:57   Re: [ANY] Store (1.0.6-alpha)
#261

Appreciate the help. I'll add more stuff to it soon and release it on this thread for public use.

Thanks,
- Keith(Jack)
Drixevel is offline
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 02-10-2013 , 08:06   Re: [ANY] Store (1.0.7-alpha)
#262

1.0.7-alpha (10 February 2012)
  • Added skins module.
  • Fixed store-titles on TF2.
  • Fixed "Invalid database Handle 0" error.
  • API Change: Changed the return type of item use callback to Store_ItemUseAction instead of a boolean value.
  • API Change: Added filter to Store_GetItems.
  • Added is_buyable and is_tradeable fields to store_items.
Release Notes:
  • Item modules will be in separate threads from now on.
  • A required database structure change has been made in this update. To upgrade your database, run the following SQL:
    Code:
    ALTER TABLE `store_items` ADD `is_buyable` tinyint(1) NOT NULL DEFAULT '1';
    ALTER TABLE `store_items` ADD `is_tradeable` tinyint(1) NOT NULL DEFAULT '1';
__________________

Last edited by alongub; 02-10-2013 at 08:31.
alongub is offline
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 02-10-2013 , 08:39   Re: [ANY] Store (1.0.6-alpha)
#263

Quote:
Originally Posted by r3dw3r3w0lf View Post
Appreciate the help. I'll add more stuff to it soon and release it on this thread for public use.

Thanks,
- Keith(Jack)
Awesome! It's better if you release it in a different thread, though. I'll add it to the 2nd post of this thread.
__________________
alongub is offline
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 02-10-2013 , 09:47   Re: [ANY] Store (1.0.7-alpha)
#264

SourceDonates now supports Store.
http://forums.alliedmods.net/showpos...&postcount=168
__________________
alongub is offline
daleGEND
AlliedModders Donor
Join Date: Feb 2005
Location: USA
Old 02-10-2013 , 10:11   Re: [ANY] Store (1.0.5-alpha)
#265

Quote:
Originally Posted by alongub View Post
This is awesome.

Just a few things:
  1. In Edit Item, the item type and loadout slot fields should be a free text box with suggestions based on values you've previously inserted.
  2. The attributes field should be an Ace-based (or something else) code editor.
  3. The copyright line should be a bit smaller.
  4. Add some padding to the content container.
  5. Instead of normal login, I think it's a better idea to make it Steam-based login. We'll add a boolean field to the store_users table such as webpanel_permissions and if it is true then you'll have access to the web panel. There are multiple button images for you to use here: http://steamcommunity.com/dev
  6. In edit user, there should be a better UI if you want to type a Steam ID instead of an account ID, for example. It's hard to convert an account ID to a steam ID, so maybe we should have a way to convert Steam ID to an account ID?
  7. There should be a UI for importing and exporting items. This is much better than the current system of importing SQL when installing new item modules. In the export UI, you should be able to select multiple items and categories and then it will create a JSON file for you that you can later import. I will also add a store_import command to support this in-game.
I've completed my changes to the style and sent you the HTML files:
  1. I've edited the items page so that those two fields are open. As far as auto suggestion that's possible with bootstrap but needs to be coded in.
  2. I tried to integrate ACE into bootstrap but it doesn't work. Found a few results about people with the same issue, seems to be a problem that can only be overcome by iframing in the editor which is not good.
  3. It's smaller now.
  4. This isn't necessary, look at the HTML files and you'll see why.
  5. If this is something you want to code in, go for it. Seems like a waste of dev efforts because it's only for the backend. Might be easier to a simple user login system.
  6. I just copied the database data as it was in my database. So if you want this to be STEAM ID as opposed to account ID that's fine. But you need to capture that into the database or convert it (which might be a pain).
  7. I've created an "Import/Export" section underneath a new section called "Tools".
I also added a new "Settings" page which I completely forgot about LOL. I've added some other surprises too. Enjoy! (Check your PM alongub)
__________________
Bor3d Gaming - A Mature Online Gaming Community

Feel free to add me on STEAM as well: https://steamcommunity.com/id/b0r3d
daleGEND is offline
mickael002
Senior Member
Join Date: Jul 2010
Old 02-10-2013 , 12:27   Re: [ANY] Store (1.0.7-alpha)
#266

How to have the position and angle of the head for add hat ? please
mickael002 is offline
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 02-10-2013 , 12:30   Re: [ANY] Store (1.0.7-alpha)
#267

Quote:
Originally Posted by mickael002 View Post
How to have the position and angle of the head for add hat ? please
Using the attrs field of the hat.

For the next time, if you have any questions regarding equipment, please ask them in the equipment thread:
https://forums.alliedmods.net/showthread.php?t=208125
__________________
alongub is offline
anthonyjr
Junior Member
Join Date: Feb 2013
Old 02-11-2013 , 18:05   Re: [ANY] Store (1.0.7-alpha)
#268

I currently have a problem with this. If a player tries to join for the first time, their CS:S client will crash. The only way they can join is if I restart the server. I've looked in the console and I see a list of the currently equipped items on users:

Late precache of materials/sprites/store/trails/ice.vmt
Late precache of models/gmod_tower/tophat.mdl
Late precache of models/gmod_tower/3dglasses.mdl
Late precache of materials/sprites/store/trails/bulletbill.vmt
Late precache of models/gmod_tower/androssmask.mdl
Late precache of models/gmod_tower/seusshat.mdl
Late precache of materials/sprites/store/trails/potleaf.vmt

All of those hats/trails are the ones that users have equipped. I don't know why but for some reason players don't seem to download the trails/equipment once we change maps. Any ideas?
anthonyjr is offline
Choco
Member
Join Date: Mar 2012
Old 02-11-2013 , 21:09   Re: [ANY] Store (1.0.7-alpha)
#269

Does this support sqlite databases?
__________________

Choco is offline
zloykif
Member
Join Date: May 2010
Old 02-12-2013 , 04:09   Re: [ANY] Store (1.0.7-alpha)
#270

Quote:
Does this support sqlite databases?
no
__________________
zloykif is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode