#Shop System
1 messages Β· Page 1 of 1 (latest)
It is not. It isn't meant to be a standalone mod and will require configuration for use. @signal lodge
Have you thought of using this to create a virtual arsenal, would be a lot better than vanilla arsenal. As well as save loadouts etc.
Don't think of this as a "Cool mod I can play with", but more along the lines of "I'm making a mod and this would work perfect inside of it"
But readme says
You can use this mod as a dependency from the released version on the workshop
Yeah I need to update that. I originally planned on it but decided against it
How will modders use it if its not on the workshop?
Do you really want dozens of other mods to copy-paste your code into them? Which will then also cause conflicts because multiple mods re-using same class names.
Thats a fair point. Yes my idea was for modders to copy paste code into their project. I dont think conflicts would be an issue as most people only run one type of game mode at a time, but that doesnt mean it wont happen. You are probably right, ill add it to the workshop to be used as a dependency.
dependency is more suitable
And I presume more stable
Shop is now on workbench for use as a dependency
Releasing updated version with alot of code cleanup. I've also added a feature which allows you to purchase multiple of a physical shop item. This can be configured for each physical shop.
Bug fix 1.0.10:
- Currency not being replicated to clients after being modified by server
- physical shop action not working in MP
hey hey i need help ? ^^
I got your mod installed in my world at Enfusion Workbench but when I click buy nothing happens
i search too
I am not 100 percent sure but i think its because i have not implemented the carry of money as scripted asset, like right now its just in ly inventory and doesnt appear as money on the screen
I have money in my inventory 50 million and it is also shown to me at the bottom right but I just can't spend it
Did you modified something in the Scr layer controller
Bc me when i place it disable my HUD at all
I am in the test et and it works perfectly, i am looking for a missing manager
no
do you testing the original mod? or in your world?
Do you have the PlayerShopManager component on the player prefab?
hmm. And the gamemode is set to use that prefab?
wait i look
You can ignore the HUD with no issue, thats just for my currency implementation
i try its loading
on the itemshop_base.et
on the gamemode
yes ahh
DId that fix it? @jade obsidian
I'm checking the mode myself right now, I seem to have forgotten to put something in the game mode
I can't seem to get it right or is it because my game mode is based on Everon Life?
I have fix it yeahhh
No it will work on everon life
Nice!
Thanks to the explanation of the controller prefab i got it easily to work! thanks for the answer π
Can you do it in such a way that he only sells it once per person?
Limited quantity?
If so then not at the moment, but I plan on doing that soon
ohh oki
Suggestion for player driven economy for something like a DayZ style server: The shop only sell items provided by players, every item sold has a timer on it. When the timer ends, the item is deleted from the store. The logic being that the trader sold it to someone off the island. This should give people a good reason to check the store and make rare items more special. Not just something you can always buy from the store. You could also automatically lower prices of items the more are available at the store. Starting off with a pretty big markup for items there are only one of etc.
When i place the ItemShop_base.et into my world and then switch to game mode, I am unable to interact with it? is there something i am missing?
i don't get the message display "F to shop"
nevermind, I worked it out. I do have another question though... is there a way to list all items in the shop? do i need to edit a seperate shop config file?
and also, i want to be able to sell the items i find, not swap them
You want to chose the elements to sell right ?
So in the word editor, when you place the shop, you should be able to see the option to modify in the OBJECT PROPERTIES : by heart i would say you have to select the method of payment and the item type : if you select a vehicle you can choose where to spawn it by coordinate and items spawn on inventory
after that you can choose whatever item you want to buy / sell / swap
and for how much money for each
Yeah, when I open the shop I want to see a list of items for sale and their respective prices. But then I also want to be able to sell stuff to the shop from my inventory.
Okay so in the wordl editor ---> object properties of the shop
Sweet. Thanks.
When placing the trader for your shop..... is there a way you can make it so that you can't push the prefab character with a vehicle in game?
Hello ! Stupid question but is the selling options working ???
@jade obsidian @twilit halo
I havent had a chance to test yet sorry.
so i have had a good look at the trader properties and do i need to place down a "PhysicalShop_Base.et" ?
yeah but for some reason when i click the shopping cart to purchase, nothing happens
by the way i just use the shop system mode , nothing else
read this ! you need to go at the bottom of your game mode and select the one from the shop system mode
@twilit halo look at the photo and explenations
yeah i have this all set right
so when i have these settings, the svd shows up in the shop as "FREE" ....
add currency payment !!
so i have managed to work out how to list different items for sale...
so i took a copy of the AK47.conf and editted it in the workbench and then changed the "shop config"
my shopping cart icon still does nothing in game when i click to purchase. so i haven't worked out what is going wrong with that yet. but will do more testing.... also haven't been able to sell anything from my inventory at this stage either
ok @spice niche further testing tonight has found that when i have the base Eden map loaded and my shop setup, it works fine (except unable to sell my items back to the shop).
when i have your Dead Everon map loaded and setup my traders, i can't purchase from the shop or sell. It may be something to do with the fact that "Dead Everon" map has locked "manager" layers embedded into the map?
i took out the shop component from my mod
you can place it in your own game mode from now on
you dont need to do this way if you think its more complicated
you can just make spawn "base shop" and add trough the ADM shop component
in the item property of the prefab
Ok, this makes sense as to why my shop wasn't working.
I disagree as I am only linking to a single .conf file. One file to edit locally, then upload to server.
Apologies, im not sure i understand how to do this.
No yeah its true its good !
Also one thing to note: selling isnt fully implemented yet. I plan on this soon
can somebody explain me how to start the shopsystem in the arma reforger tool
to ask
-
how can I adjust prices? if i change the price from 650 to 850 it stays at 650
-
how can I add weapons to the market
-
how can I adjust the weapons spawn so that I can add weapons
-
many files are read only and items are in 2 places, but 1 place is open and the second part is locked
You can modify the shop in the component on the entity that has the shop component. Generally you need to make a new world with your own traders in it to be able to modify it. All mods you don't have original source to are automatically locked and you can't modify them
He's back!
This actually works? I swear I got a compile error when trying it out. π€·ββοΈ
Considering itβs used on multiple servers, yes
Huh! I had no idea, never seen it in use, but thanks for confirming, i must have a ghost update available for that mod. π€·ββοΈ
well it still has a compile error when you try to load it up in game by itself (so I assumed it was broken). However I see that it is intended to be a dependency, so Im sure I can fix that compile error myself if I decide to use it.
Can you send me the error? I dont recall seeing any
about to head out the door, but it was something about one of your components must inherit from a specific class. If you still need it later, I can find it and send tonight after work.
Yeah its on a few of the survival/dayz servers I believe
If you have the time can you check that out tonight? I won't be on a PC I can test myself until Monday
Yep no problem, I'll send the error here in a couple hours π
Thanks!
Totally forgot last night but I'll try and remember tonight!
21:20:19.933 SCRIPT (E): @"Scripts/Game/ShopSystem/ADM_ShopComponent.c,2": Component Class 'ADM_ShopComponentClass' must inherit from 'ADM_ShopBaseComponentClass'
21:20:19.947 SCRIPT (E): Can't compile "Game" script module!
Scripts/Game/ShopSystem/ADM_ShopComponent.c(2): Component Class 'ADM_ShopComponentClass' must inherit from 'ADM_ShopBaseComponentClass'
looks like an easy one to fix! π
Odd, And thats the latest version?
I am having the same issue on latest version
Sorry, yes. With only your mod loaded and trying to run your demo scenario or a vanilla scenario.
@karmic aspen @willow raven Hotfix 1.0.11 is published
HELP! I cannot get ShopSystem to work on my server. It causes it to crash. I have deleted the mod and resintalled it several times but nada. I see it working on other servers; so, not sure why it wont on mine. It's got to be something I am doing wrong to set it up. It DID work just a few days ago, but now it will not
Any error messages?
No error message comes up. I start the server, it starts to load all the mods, but when it comes to the ShopSystem, it is unable to load it and the server says Game destroyed. I back out the ShopSystem from the config jason file, load the game again, and it loads without any problem.
To be more clear: I back out the ShopSystem from the config jason file, load the game again, and the game loads without any problem.
Can you send me your shop configs?
Sorry for being naive - when you say shop configs are you taking about the ShopSystem Mod ServerData.json file?
@signal radish Selling is not implemented yet. I've been meaning to get around to it but haven't fully finished it yet.
Ahhh...thank you Adam. It has been driving me crazy for a day trying to figure out why it wasnt working lol
I see a couple of servers that all both buying and selling and i thought it was something I was doing wrong
Thanks for the work you have done so far. It's a great start
They may have written their own selling functions
I agree. That's what they probably did. Well...it's all a work in progress; so, I will patiently await. Thank you Adam
Hi guys, just to let you know, after today's update we're getting the error:
SCRIPT (E): Can't compile "Game" script module!
Scripts/Game/ShopSystem/ADM_PhysicalShopComponent.c(5): Component Class 'ADM_PhysicalShopComponent
I'll take a look soon
I see two Mods in the Workshop called ShopSystem. One by Plato and another by ekudmada. Are they different?
One has a photo of a list of purchasable items (which is what I have in my mod/server) the other shows a table of items (like PLXYABLE server has). Just trying to see if one has the ability to sell items yet
One is old from someone I let use it before I publically released it. My screen name was Plato but is no longer that so use ekudmada
Neither one has selling in it yet, I should really do that soon
Thank you Adam. Yes - selling would be GREAT. I tried to add that since there is a sell option in the ADM for each item, but it doesn't work; so, figured it must not be implemented
Question about Physical Shop. When I use your Mod there is the UI Character that shows up in the Cave and near Morton, but if I want to put a new one up, and us the Physical shop, do I simply place that PhysicalShop_Base.et where I want it?
There is physical shop base which has no character attached to it and can be used for things like vehicles or objects. The mesh will auto appear based on the item being sold. For a shop with a character there should be a prefab I believe for that
Hi all, do you have any suggestions on how to deal with selling weapons with attachments?
Should the attachments be auto-returned to the player? Should the player even be allowed to sell the item unless it has no attachments? Drop them on the ground if player doesn't have space? Lots of what-abouts that I'm not sure the best way to handle.
I think I would want to sell gun with whatever is currently on it
You wouldnt care if you lose the attachments?
Maybe ill make it a config option. βAllow sale with attachmentsβ or βreturn attachments on saleβ
What if the shop only is configured to purchase ak47 from a player but no config on the specific scope they had on it, how to determine compensation?
good question, I think they should be priced accordingly to their sale prices when someone configures the shop
if it's not a configured item then the shop can just not accept it
alternatively if no specific config is found it can be computed from some general arsenal pricing, like rifle attachment, sniper rifle attachment?
option number 3 treat it as junk and do not compensate it
I imagine different people might want different options here so it might get complicated
Yeah thats why Im trying to think it out before I code anything up π
so perhaps a checkbox to treat not accepted items as junk or not accept those items at all
I agree. I think in total there will be a few options. By default sale price will include all attachments on an item (I also need to figure out how to do this for vehicles, what if you sell a truck with a different cargo bed) but the general idea can be extended to the slotmanager I believe, and the total price will be the sum of all individual components (assuming they are configured). If a player tries to sell a configuration of an item in which all parts are not configured then it will tell them which item specifically the shop isnt buying. On top of that I will add configuration options to allow sale without all items being purchased by the shop, but return those items to the player inventory or the ground if the player inventory is full
Or just disable the last option to block sale without all items being purchased by shop
usually when I play games and sell weapons to an armor vendor they are treated as junk or almost as junk, or maybe I'm imagining things
I havent played enough trader games to remember, I should hop on dayz and see what they do
Just an idea, in Rust, when recycling weapons with attachments, the game simply drops the attatchments into my inventory and recycles the weapon. Maybe something like that for selling.
I like
Probably just gonna add a sell button next to the cart icon, any other suggestions?
for physical shops i'll add a second scroll option
not sure how feasible it is but what about BUY MODE vs SELL MODE, where buy mode lists vendor inventory and sell mode lists your inventory? I guess it's a bunch of work
Definitely doable, luckily that is completely separated to the UI code and wouldn't require any changes to the actual shop logic
I like that idea better than adding an extra icon tbh
Suggestion: Old ARMA (DayZ Mod) had a two trader characters at a trader location/station. One AI character is where you would buy, and another character to whom you would sell.
Adam. If you figure this whole buy vs sell thing out, would you mind sharing it? I have been waiting for someone to create a good trader mod to add to my server. The current one out there is BUY only and you can't SELL anything to it. I'll be your best friend if you do π
This will all be released under the shop system mod
OMG you are a god...thank you
I do like this idea as well, I forgot about that
It was simple. Sell at one and run over to the other guy and Buy what you needed? They also had separate AI Characters (Traders) for different items. Guns vs Ammo vs Items vs Meds
Hey guys, I'm trying to add this to my DayZ vibed project. I get these errors. Can anyone help?
@charred night what am I missing or have forgotten to do?
I fixed that issue but need to push it, ill do that this weekend
Okay thank you π
Temporarily you can override the class and fix the inheritance. It should be ADM_PhysicalShopComponentClass : ADM_BaseShopComponentClass {}
Hey Adam - hope all is well. How is the work on "sellling" in the Shop System going? Any progress?
Did you update it?
Publishing it now
Working on it slowly. I've got it setup, just need to write the logic
published. version 1.0.12
Any more issues? Or all fixed?
Haven't done extensive testing yet but so far so good. Loads into my mission without error so thanks for the update π―
hey @charred night will it be updated for 1.0 ?
Yes ill publish it tonight (few hours)
@charred night did you managed to upload it :)?
now the arsenal system kind of works like a store, it even has refunds but not sure if they work
we have adams system setup i aint touching the arsenal xD
not with tradersystem like we have as a dayz server hahah
I mean yea, the arsenal UI is a bit L
it wont work with how we have the shops anyway
the UI is not what I mean tho, was pointing out the scripts
Oof I totally forgot
ah np π
Ill try to get it up asap
thanks π
There are some UI things I need to fix. I'll get to them tonight or tomorrow and have it published. Looks like it should be pretty quick
thanks
Are we talking about the ability to both Buy and Sell now? Jsut asking for a friend π
Nah, fix for 1.0. Almost finished just need to fix some new UI stuff. Selling may come out this weekend if I get time π
Yea. That is a totally custom mod they created just for themselves. Its nice, but I like simple
I have faith and confidence in Adam being able to solve this so we can all enjoy buying/selling at traders π
100%
i love to use it lol thats why i ment hes killing me i spend way to much time in setting it up and ui is so much nicer and cleaner
that is beautiful
what is?
PLXYABLEs Trader mod. The whole custom area with multiple traders, ATM for deposit and getting cash.
yea that our work π , but we use adams system for the main traders . and i would love ot have it clean as what adam is working on with ui i had planned it myself to work on it but adams saves me a lot of time here i can use on other stuff π
Let me know if you need help with custom UI, its not too hard
UI code is separate from any logic so easy to make a new one for your specific needs
we working witrh ui recently for crafting stuff , but yea the shop system work perfect as it is from you π
you okey to give me a @ when its uploaded ? π so iknow when i can add it back to the server and fix it to work with the stuff we have so far π
1.0 fix uploaded. v1.0.13
Thanks 
Do you know if the locker system will be back? You were the one who made it right?
I did not make a locker system
Oh lol dude I thought you did for some reason Iβm so sorry
Would anyone have a use for configuring a shop in gamemaster? Is that something worth my time?
i do it all in my workbench and it perma like that on the shop π for small ops maybe its usefull for people but anything else you want perma anyway but would be cool to change stuff on the fly if it also saves ofc
I would love it tbh
Thanks Adam for getting it going. Were you able to incorporate Selling or is that still WIP
@charred night there seems to be an issue with using the shop on xbox trying to buy and sell any idea? they cant clickt on it
I'll take a look
we have around 150 players waiting on ya xD
WIP
there is no focus on the widget style we found out @charred night should help ya
we tryd to fix it but not working :/
@charred night I will give you two quarters or a 5 dimes if you can make selling work π
hey adam any news on the ui fix for controllers ?
Hi, we used your Shop System yesterday while playing multiple sessions. The mod worked very well. I created an issue with detailed feedback: https://github.com/ekudmada/Reforger-Shop-System/issues/2
Great Job. Thank you.
Thanks for the feedback!
Adam Iβd kiss the ground you walk on if youβd help me please π¦ l?
What do you need help with?
hello I put it on my server the store opens everything but does not buy the item, Needed a helping hand
Make sure the player prefab had the PlayerShopManagerComponent
when will the sell function be updated to work for controller ?
I'll get to it after I finish airplane fixes
test
hey adam any chance that the controlls can be fixt for selling its been a while now and sadly people still cant do anything if they are on controller
New UI coming soon. Will include official selling support & shopping cart feature
Hey adam any idea on when it might be up to use ? π
also i see a heli in the shop will that mean we dont need to use the old one anymore that spawns a XOB in its place to buy ?
in november i have asked if you could update the mod to work with controller again after reforger changed the controlles , you told me you didnt had time as you where working on that plane , once finishd i askd you and you told me and other that you where going to rework the shop , i have waited and waited , askd you and every time i got the answer ether today tommorow in 2 days or in a few days , making me and the community that active use your mod DAILY , wait even longer , i waited an extra month to get shot down by you , told to basicly fuck off for asking , as you kept giving flase promises.
i know you are bussy but if you had sayd in the first place oh it takes 3 months i wouldnt have waited and not let my community down that have waited on your update for the last 2 monhts to be able to sell stuff on xbox
Good work hope to see it soon π
Thanks! I've been working on it a bit this weekend. Just need to finish the sell feature and the total in the cart
god send my man looking at starting a server when this when comes out π
Great work I'm quite excited to see it in use, any eta?
I don't give ETA's anymore, they make people angry when I don't meet them. I'm working on it, so hopefully not a lot of time. But no guarantees
I could release the new UI without selling functionallity, but I planned to do one big update with the new UI and selling all in one
All good glad to hear progress , and that's fair I understand and doesn't make sense to release it early in that sense, rather wait for quality
Facts
How do you use this on xbox?
I will be releasing an update with a new UI that is navigable on xbox in a few weeks
YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEES
I am releasing an update soon and it will probably break a few things for existing configurations. It shouldn't be too much hassle to get working again but just a warning
New UI and selling feature will be released, as well as some code cleanup and organization.
@Adam is there any way you could post a video on how to set up the shop idk what im doing wrong but i cant get it to work
Yeah I can make one in a bit. maybe for the next update.
@charred night thanks I really appreciate it
New update dropping with full xbox control support, selling, and a new UI
Let me know if you find any bugs and I'll do my best to fix them!
do old shops setup get updated automaticly to this or will i need to add new configs to all?
these dont seem to change on using controller
upper seems only in work bench , but i cant seem to contineu after selecting an items to buy or sell on controller what is the button for it that you setup ?
Press and hold A to checkout on controller
so that didnt seem to work for me when i tryd it in workbench ill test again
gues i didnt hold it long enough thanks
1 issue i do see to have is when i scroll down the shop list it automaticly ups the x amount
and i got a qeustion how can i get rid of the ak on top , as you can see in the config the ak is not in the list anymore
I probably accidently left it in the prefab. Ill check tonight
thanks π
question is it possible to make it that in the sell page it will only show green if you have items that you can sell ? so red if they are not in inventory
it seems like if i sell something with money in inventory it works fine and it add the money but if i dont have any money in the inventory it will not giver anything any idea ?
Oh interesting. I didn't consider that. Honestly the currency implementation I have isn't the best. I'll probably redo it.
is the AK still stuck in there? I checked the prefab and its not on the base so not sure why it would be there
nope is good now :0
i added it today on the server after spending waaay to long adding all the items , and it works perfect but just on selling with no money in inventory it tkaes the items but no moneys , if you woudl have a ez fast fix for now that would be amazing
was btw a hell adding over a 1000 items XD
I bet, thats alot of config work to do. That's good, let me know if there are any more bugs players encounter
for now that it , would you be able to help with a fix for the no money issue if you have time ?
(actually ) one other thing i saw was : did you remove the money out of the hud ? as that seems to have gone aswel dont know if it was on purpose
I removed it by default from HUD. it now displays in the top right of the shop menu instead. its pretty quick to fix if you want to reintroduce it. As for no money issue I'll take a look and see
thanks
So does it take the item you sold and not give you any money? or just cancel the sale
rip. i accidently deleted the post trying to update the pictures
it takes the item and no money
it works fine if you have like 1 dollar as it then sees the prefab of the money
move discussion here: #1225939278572552242 message
Error Unable to deliver Item(s).