AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Store (https://forums.alliedmods.net/forumdisplay.php?f=157)
-   -   Discussion(s) for Version 2.0 (https://forums.alliedmods.net/showthread.php?t=266255)

Drixevel 07-13-2015 18:43

Discussion(s) for Version 2.0
 
With the launch of Store 2.0 in a couple of days after I get things sorted, I'm wanting to talk about a few things with the Store plugin system. Whether they be related to myself/Arrows thoughts but also your thoughts on certain things. The ultimate goal is to make the Store system very good at what it does, make it easy to use and have the least amount of bugs as possible while remaining free to use. With that in mind, I'd like to ask that people keep the posts respectful in this thread because this is where the meat and the potatoes will be discussed.

That being said, lets talk!

So far, here's the things I've done: (Not bullet pointing them due to long paragraphs)

The ServerID system is a system I'm liking but I'm wanting to change up some more things with it in the long run in order to have it give less people problems on 1st-time installations. The reason why it currently gives an error is because the we're planning to have the web panel install the plugin system on servers they specify in the future instead. This will lead to easier management of version control, servers with plugins installed, etc. If I did end up adding the ability to keep the ServerID to '-1' which is where It's at by default, I'd have to add in safe-proof code to combat against items that are setup specfic to that server. My idea is if ServerID is set to '-1', ignore all code related to which items belong to which servers and just load it all.

Another thing I've been working on is the loadouts system. So far, I've managed to change up 80% of the loadouts module in order to allow clients to create their own loadouts with their own names and equip those. So far, the limit is 6 and the way you create the loadouts is via a website script being created by Arrow. I didn't like how the loadouts system was before but I think this new system should be good enough to help allow people to customize their characters with Store items further.

One thing I plan on doing in the future is rebuilding all of the item modules made by Alongub to work with 2.0 and add them to the auto-installer/auto-updater tools that comes with the web panel. My goal is to make every module be as compatible as possible with every game without running into issues down the road. Only issue being games like CSGO with it's limitations with things such as HUD messages makes it difficult for me to update the modules to exactly where I want so we'll see how it goes. Which modules do you want updated first? Any features to add to them or changes you think should be done? Let me know.

On top of all of this, I've also been working on a new system which would allow you to setup single-server installations where you can run the store system on 1 server without a web panel or item modules but with configuration files and SQLite files. This would basically cut out 90% of the power you would have if you did have a Web Panel and a MySQL database but it would allow people who just have 1 server to setup everything on there and not have to worry about that kind of stuff.

Thoughts? Ideas? Concerns? Hammer them in the comments.

I'd also like to point out that I do take donations so if people like what I'm doing, feel free to donate to me below. I would also advise that if you want to donate to me that you donate to Arrow as well since he's putting an incredible amount of work into the Web Panel. Obviously donations to Alongub are stationed since he built the original plugins but you get what I mean. Donation links can be found in a number of places if you look around.

- r3dw3r3w0lf (Name still sucks)

bhop_alex 07-13-2015 21:57

Re: Discussion(s) for Version 2.0
 
Great to see an update! I like the web panel driven idea. It would make things so much easier if everything could be done through that instead of just managing items/credits. Something that would also be cool is if you added sourcebans accounts to the webpanel. There is a donation plugin that allows you to use the sourcebans admin accounts with designated flags to log into and manage the web panel. Also, i'm not sure if i'm reading it correctly, but it sounds like players can log into the new web panel and edit their items/loadouts on there, is this how it would work because that is a great idea.

Drixevel 07-13-2015 22:21

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by bhop_alex (Post 2319380)
Great to see an update! I like the web panel driven idea. It would make things so much easier if everything could be done through that instead of just managing items/credits. Something that would also be cool is if you added sourcebans accounts to the webpanel. There is a donation plugin that allows you to use the sourcebans admin accounts with designated flags to log into and manage the web panel. Also, i'm not sure if i'm reading it correctly, but it sounds like players can log into the new web panel and edit their items/loadouts on there, is this how it would work because that is a great idea.

Basically, you create the loadouts in-game and you edit them with the web panel... or you make them with the web panel. I'm planning to add functionality so you can do it in-game as well.

alongub 07-14-2015 03:21

Re: Discussion(s) for Version 2.0
 
One thing I've always planned for 2.0 was rethinking of the user interface of the Store. Maybe as a MOTD. See this:
https://forums.alliedmods.net/showthread.php?t=213690

ServerID: Instead of -1, I would change the field to nullable and set it to NULL for all items.
Loadouts and Single-Server: Awesome changes!

Important: Please donate ONLY to r3dw3r3w0lf and Arrow.

Drixevel 07-14-2015 07:07

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by alongub (Post 2319441)
One thing I've always planned for 2.0 was rethinking of the user interface of the Store. Maybe as a MOTD. See this:
https://forums.alliedmods.net/showthread.php?t=213690

ServerID: Instead of -1, I would change the field to nullable and set it to NULL for all items.
Loadouts and Single-Server: Awesome changes!

Important: Please donate ONLY to r3dw3r3w0lf and Arrow.

Yeah, we're planning on adding that system with the new web panel. The goal is to add the ability to manage everything that you can on the servers with the site as well and vice versa.

I'm still thinking about the -1 value, I might just keep it but make it so it checks if the value is -1 and if so, doesn't use the filter functionality and/or SQL queries.

Arrow768 07-14-2015 12:38

Re: Discussion(s) for Version 2.0
 
About the Inventory Module/Plugin for the WebPanel:
As r3dw3rw0lf said,
There will be a inventory plugin/module for the WebPanel.
It will be possible to access this module with a normal browser (so players don't need to be ingame to change their loadout)
At first there will be a heavy focus on functionality (don't expect something fancy)
When everything is working I can start to improve the design (for example with images of the items, ...)



About a Donations Module/Plugin for the WebPanel:
I know that this is a potential piggy bank that just "waits to be slaughtered", but I made something like already and didnt like what a saw.

My point is that gaming should be about the game and not about a community making money.
(And yes I know that its not easy to run a gaming community without selling items, admin rights, ... because I did that for many years)

Making money by selling items, ... brings you in a difficult legal situation (at least in the EU) because you have to consider a lot of things if you sell stuff in a online shop (taxes in the country where the player resides, illegal to use the Teamspeak Not For Profit Licenses, ... just to name a few)

So I am not sure if I am going to implement this feature or not

Drixevel 08-18-2015 09:18

Re: Discussion(s) for Version 2.0
 
Right sooo Arrow is taking a while to get things sorted with him so here's what I'm gonna go ahead and do.

In the next day or two, I'll be reverting back changes I've made in the Store system that pertain to the new web panel (which mostly consists of the loadouts system) and I'll be finishing the changes I'm personally working on from there with the reversion of old code.

Few things to note:
  1. I'm no longer making it a requirement to set your ServerID in the config to 1 so people no longer have to set it manually.
  2. I'll be editing the configs default to 1 instead of -1.
  3. I'll also be setting the default value to 1 IF the plugin can't find the values.

This should address 99.999999% of issues I've been receiving lately. I'll also go ahead and work on the item modules for this version and release them to work with both 1.2 latest & 2.0 once it releases.

Sorry for the wait people, everything shall be situated accordingly soon.

- Drixevel

Drixevel 09-23-2015 16:29

Re: Discussion(s) for Version 2.0
 
Now's the time to ask questions if you have any, thread is made for the 2.0 release.

https://forums.alliedmods.net/showthread.php?t=255418

x1130 09-24-2015 10:03

Re: Discussion(s) for Version 2.0
 
I have an idea when someone type !case or something, some case simulator for store open and they will open case with 10k store credits for example and it will drop something from store or vip,admin (owner will make their own cases and decides) and it has to be a log for admin or vip win but others can be given at that time.So simple Store case opener. You know people likes luck games. maybe as u told u cant entegrate it to this web panel system https://forums.alliedmods.net/showthread.php?t=213690 . I dont know is it possible or not or so hard. Just a idea and i think it will be good.

Drixevel 09-24-2015 13:49

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by x1130 (Post 2346475)
I have an idea when someone type !case or something, some case simulator for store open and they will open case with 10k store credits for example and it will drop something from store or vip,admin (owner will make their own cases and decides) and it has to be a log for admin or vip win but others can be given at that time.So simple Store case opener. You know people likes luck games. maybe as u told u cant entegrate it to this web panel system https://forums.alliedmods.net/showthread.php?t=213690 . I dont know is it possible or not or so hard. Just a idea and i think it will be good.

That might be something better feasible with the web panel so you might ask Arrow if he can make that. I'll add in-game functions to work with the web panel though if he does it since that idea is a good one.

Drixevel 09-24-2015 14:59

Re: Discussion(s) for Version 2.0
 
http://i.imgur.com/gfymZer.png

Might need to lower the size of the token string a bit but aside from that, that's progress.

x1130 09-26-2015 05:11

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by r3dw3r3w0lf (Post 2346526)
That might be something better feasible with the web panel so you might ask Arrow if he can make that. I'll add in-game functions to work with the web panel though if he does it since that idea is a good one.

yeah arrow doesnt answer he is so busy atm i think can you mention about it if u reach him sometime?

Arrow768 09-27-2015 06:11

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by x1130 (Post 2346475)
I have an idea when someone type !case or something, some case simulator for store open and they will open case with 10k store credits for example and it will drop something from store or vip,admin (owner will make their own cases and decides) and it has to be a log for admin or vip win but others can be given at that time.So simple Store case opener. You know people likes luck games. maybe as u told u cant entegrate it to this web panel system https://forums.alliedmods.net/showthread.php?t=213690 . I dont know is it possible or not or so hard. Just a idea and i think it will be good.

Its an interesting idea.
I might implement it once a stable version of the webpanel is released

x1130 09-27-2015 06:21

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by Arrow768 (Post 2347454)
Its an interesting idea.
I might implement it once a stable version of the webpanel is released

thank you for your consider. Also if you guys do it can drop case when map finish. Printochat; Quize v2 just dropped Super Model Case. And they will open it from web panel with credits or it can be 2.99Euro for key. If its not forbidden. so also owners can earn some money from this. Also maybe you can make a jackpot on website. everybody add their credits,store items after it reaches 10 ppl starts automatically and one will all of in the pot. I think the only missing part of this store is some gambling and luck games :)

supreeda 09-27-2015 10:11

Re: Discussion(s) for Version 2.0
 
I think Jackpot is not best , I think Raffle is are best

Example of Raffle
A : !raffle 10 ODDS: 10%
B : !raffle 40 ODDS: 40%
C : !raffle 50 ODDS: 50%
And will random when Round End
Winner is Player A ODDS: 10%

But i called Zipcode and Franc and Simon to create this

x1130 09-27-2015 15:42

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by supreeda (Post 2347499)
I think Jackpot is not best , I think Raffle is are best

Example of Raffle
A : !raffle 10 ODDS: 10%
B : !raffle 40 ODDS: 40%
C : !raffle 50 ODDS: 50%
And will random when Round End
Winner is Player A ODDS: 10%

But i called Zipcode and Franc and Simon to create this

that is jackpot. You have chance by looking what u add the pot. Raffle is totally random; i add 1$ you add 5000$ we both have %50 chance that is how raffle works (which u found) we talked simon and he said this. It has to be like higher win rate if you add high otherwise everybody will add only 1$.

supreeda 09-27-2015 16:54

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by x1130 (Post 2347629)
that is jackpot. You have chance by looking what u add the pot. Raffle is totally random; i add 1$ you add 5000$ we both have %50 chance that is how raffle works (which u found) we talked simon and he said this. It has to be like higher win rate if you add high otherwise everybody will add only 1$.

finally Zipcore xD

Robin955 09-27-2015 18:20

Re: Discussion(s) for Version 2.0
 
if there was a module that would catch how many kills total made by the server (everyone) from once the plugin was added and so on, and randomly drop (give to random) regular cases with "own made amount of credits and items" on every 1000th kill, so every 1k kills will drop a regular case, and then every 10k kills it would drop another huge case to one random person, and so on.

that would been pretty interesting aslong it wouldnt mess itself up alot. using sql would be nice so you can have it on multiple servers.

The store plugin is one of the most encouraging sources for Css and it makes it so much more unique rather than playing regular Css with regular old plugins where you pick ur own skins and everything had to be pre-made etc. its really been the biggest gamechanger in the entire Css history for most servers, aswell as multiple other servers. i know zephyrius and a few other stores but this is definetely the best one for Css, hopefully in csgo this one will be on the level as zephyrius! and i cant wait for that.

Equipment (the latest you released doesn't work on the latest released sourcemod for 1.7.3 on linux tho) but for 2.0 i hope this is complete and done! if equipment can stay on a players skin once he dies and he is able to see it himself he can see hes own loadout.
Skins
Titles (i currently made this one further into real namechanges "buy names and they have their own color"
Chatcolor
Namecolor
Tracers
Nadeskins

would be some of the most important plugins.


Those are the first major plugins.

zipcore 09-28-2015 06:00

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by supreeda (Post 2347659)
finally Zipcore xD

http://git.tf/Zipcore/Store-Raffle/


AND PLEASE!!! Finally someone add similar natives and forwards as I requested here very long time ago:
https://forums.alliedmods.net/showthread.php?t=209913

Robin955 09-29-2015 00:24

Re: Discussion(s) for Version 2.0
 
2 currencies would been something.

Drixevel 09-29-2015 02:11

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by Robin955 (Post 2348049)
2 currencies would been something.

You must be out of your damn mind.

Robin955 09-29-2015 18:34

Re: Discussion(s) for Version 2.0
 
oh now i got ur attention, my comment above what was i wanted a quote on.

Random "pre made cases sort to speak" to random persons every xxx kills "total made by everyone in the server"

a plugin that records all the kills done and hands out a random drop to random person thats currently in the server once we hit that xxxx kill, and then you can setup for every 1k kill and 5k and 10k with diff cases.

sounds really usefull but i wonder how it would be to make that.

Drixevel 09-30-2015 12:14

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by Robin955 (Post 2348280)
oh now i got ur attention, my comment above what was i wanted a quote on.

Random "pre made cases sort to speak" to random persons every xxx kills "total made by everyone in the server"

a plugin that records all the kills done and hands out a random drop to random person thats currently in the server once we hit that xxxx kill, and then you can setup for every 1k kill and 5k and 10k with diff cases.

sounds really usefull but i wonder how it would be to make that.

External module.

zipcore 09-30-2015 19:20

Re: Discussion(s) for Version 2.0
 
Can I get a reply please if you can add my requested natives/forwards?

Drixevel 10-01-2015 00:05

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by zipcore (Post 2348512)
Can I get a reply please if you can add my requested natives/forwards?

I added some of them but not all. I'm mostly trying to do everything else first that's important.

Tezidk 10-03-2015 19:38

Re: Discussion(s) for Version 2.0
 
Wow im very glad you updating so we can have it installed on 1 server with MySQL without web! Thanks for listening!

A question, when you say 90% is cut off, do you mean that the webpanel counts as 90% or is there something else missing without webpanel?

Drixevel 10-04-2015 12:34

Re: Discussion(s) for Version 2.0
 
It's more limited without the web panel, typing specifics would take forever.

Drixevel 10-08-2015 01:15

Re: Discussion(s) for Version 2.0
 
So far, I've ironed out most of the code for loadouts and tokens, Arrow & I have been cracking down on it for the past few days. Most of the menus have been rebuilt to make sense with the new setup and I've also added a ton of new customization keys to set in all of the configs.

I'll post pictures tomorrow, cheers.
- The guy with the worst name on the internet.

alongub 10-10-2015 12:35

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by r3dw3r3w0lf (Post 2350833)
I've ironed out most of the code for loadouts and tokens.

If something in the code isn't clear you can always ask me :)

Drixevel 10-10-2015 17:19

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by alongub (Post 2351672)
If something in the code isn't clear you can always ask me :)

Nah, I think I've got it mostly figured out. Now I've just gotta wait for Arrow to finish the rest of the webpanel for everything to work properly.

Tezidk 10-10-2015 20:03

Re: Discussion(s) for Version 2.0
 
Any updates? Will we get new ETA? :)

Arrow768 10-10-2015 20:22

Status Update for the WebPanel
 
Status Update for the WebPanel2:

We thought that we could release the Store Plugin and the WebPanel on the 10.10.15, but that didnt work out, cause I couldnt finish the loadout module for the WebPanel in time.

What is already implemented:

Admin Panel (Thats where you administrate the store plugin from)
Everything that I think should be in the initial release is in there.
Some people have beta tested it and so far they have not found any game breaking bugs.
There are a few things that will be ironed out after the release, so keep an eye out for updates.

User Panel (Thats where your Users edit their loadouts, can buy items, ...)
Most of the stuff is already implemented, but I still need to add a few things.
* Users can already buy / sell items
* But the loadout system is not completely implemented (Needs to be done before the release)
* The design is "functional" - Could be better. If someone provides a template, I will implement it.

Auto Updates
Its already possible to completely automate the process of updating the WebPanel (And I have done that for my testing environment)

Basically it works that way:
* Replace all the files that have changed since the last update (Should also be fine if you replace all files)
* Run on the shell: php artisan migrate
* Run on the shell: composer update

One important thing to consider: Use the .env file whenever possible. Dont edit the config files directly

Granular Permissions:
Its implemented and it works.
You assign permissions to groups and then users to these groups.
A user can be in multiple groups.
If you edit your own user be careful that you dont lock yourself out. (Its easy to fix with db access)

Docker:
Havnt tested it in a while, but the docker image should still work with the latest version.

Installation:
* Git clone
* copy .env.example to .env
* Edit .env
* Run composer install
* Run php artisan migrate
* Point http root to public dir
* Done

Payment / Donation implementation:
Havnt started with that. Might come at a later time.

Template / Skin system for the Admin / Userpanel:
Its implemented.
If you want to, its possible to change the skin.
The Webpanel is licensed under the AGPL; So you have to publish the skin files if you make a skin for the webpanel.

Plugin/Module Versions:
Atm, you can already see what store plugin and module versions are installed across your servers.
But it doesnt inform you if they are out of date / incompatible to the installed versions.
That will come at a later time.
There might also be an auto updater.

Translations:
Currently not implemented.
Will come for all User Related stuff.
Not sure about Admin Stuff. (English should be fine there)

TL;DR:
A few important things are still missing.
Should be done by the end of the month.

Its 2:30 in the morning, so I dont care about spelling mistakes.

Tezidk 10-10-2015 20:52

Re: Discussion(s) for Version 2.0
 
Thanks for the status update! Sounds good!

Robin955 10-12-2015 14:45

Re: Discussion(s) for Version 2.0
 
for admins a new theme skin.... (the current store webpanel looks fking gorgeous to be honest and is very easy to navigate) did you have negative responses about the theme so you came up making a new one? or was it just out of plain interest? like a yeah sure, why not!

how about making pawns and admins not able to give credits around in the server? and options to make users able to make items in the store "for ex titles" and does not have access to anything else, like deleting items and so on. this way you can progress ur store very very far without doing everything yourself + (1-2 friends you can trust)

is that something? and i dont think auto installation will be very needed, (indeed usefull but as i read the installation its something new once again to do and that means everyone who ran the store before would have to now read the new installation and more questions would appear, and compared to the numbers of downloads from the github depositry the questions about how to install it hasn't been that big amount of numbers. its just that alot of amateurs, well mostly kids at 14-20 who wants to make game servers for fun trying to get a small "illegal income" via paypal and hope nobody notices.

Arrow768 10-12-2015 18:59

Re: Discussion(s) for Version 2.0
 
Most of the stuff you mentioned is already possible.

With the granular permissions you can setup a group that can create items but cant do anything else.
But you cant limit that to items of a single type

Implementing the option for a theme was quite simple, so I did it.
(And I think the UserPanel needs a better theme)

Drixevel 10-13-2015 01:55

Re: Discussion(s) for Version 2.0
 
Store 2.0 has been converted entirely to 1.8. Not 100% sure if you can compile with a 1.7 or under compiler with the syntax changes to the 'view_as' functions.

Cheers,
- The guy with the worst name in the world.

Also:
http://i.imgur.com/ksSY5RT.png

now stop messaging me..

Drixevel 11-01-2015 12:10

Re: Discussion(s) for Version 2.0
 
Just for the sake of peoples sanity, relax. I'm working on releasing when I can but I'm in the process of moving and working right now.

Tezidk 11-02-2015 07:07

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by r3dw3r3w0lf (Post 2358865)
Just for the sake of peoples sanity, relax. I'm working on releasing when I can but I'm in the process of moving and working right now.


Alright, please dont hestitate to much, people who keeps messaging you should try to make a plugin like store themself. Take your time, remember this is something you do in your spare time, not a work where you have to hold the deadline, gl moving :)

Drixevel 11-02-2015 08:41

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by Tezidk (Post 2359156)
Alright, please dont hestitate to much, people who keeps messaging you should try to make a plugin like store themself. Take your time, remember this is something you do in your spare time, not a work where you have to hold the deadline, gl moving :)

Yeah, but telling that to a new person every 5 minutes becomes very infuriating after a while. I should've just said somewhere between the end of the month and the middle of November.

whtevrwt 11-02-2015 14:03

Re: Discussion(s) for Version 2.0
 
Quote:

Originally Posted by r3dw3r3w0lf (Post 2359189)
Yeah, but telling that to a new person every 5 minutes becomes very infuriating after a while. I should've just said somewhere between the end of the month and the middle of November.

I'd say to just ignore everything and just focus on you and your work. I had 1.2 on my community and disabled it in preparation for 2.0 and yes, some of them are impatient. But hey, we're excited for 2.0 and are all waiting patiently. I'm also waiting patiently and am happy with whenever you'll release it. I'd rather have you take your time releasing it than releasing a buggy and un-finished product, just so everyone can start complaining again.

So please, take your time. We're all very grateful for all the work you've put into a free, un-paid project. I know I am. :up:


All times are GMT -4. The time now is 17:39.

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