#Shop System

1 messages Β· Page 1 of 1 (latest)

signal lodge
#

Is this on the workshop?

charred night
#

It is not. It isn't meant to be a standalone mod and will require configuration for use. @signal lodge

supple halo
#

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.

rocky shoal
#

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"

meager mortar
charred night
meager mortar
#

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.

charred night
mint ermine
#

dependency is more suitable

signal lodge
#

And I presume more stable

charred night
#

Shop is now on workbench for use as a dependency

charred night
#

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.

charred night
#

Bug fix 1.0.10:

  • Currency not being replicated to clients after being modified by server
  • physical shop action not working in MP
jade obsidian
#

hey hey i need help ? ^^

#

I got your mod installed in my world at Enfusion Workbench but when I click buy nothing happens

spice niche
#

Same for me, maybe we are missing something mate ...

#

I will search a bit more

jade obsidian
#

i search too

spice niche
#

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

jade obsidian
#

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

spice niche
#

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

jade obsidian
jade obsidian
spice niche
#

In my world now

#

Okay anyway i tried a few things and i dont seem to understand

charred night
jade obsidian
#

yes

#

I still can't manage to buy anything in my own world

charred night
#

hmm. And the gamemode is set to use that prefab?

jade obsidian
#

wait i look

charred night
jade obsidian
#

i try its loading

charred night
#

Make sure this is correct

jade obsidian
#

on the itemshop_base.et

charred night
#

on the gamemode

jade obsidian
#

yes ahh

charred night
#

DId that fix it? @jade obsidian

jade obsidian
jade obsidian
#

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

charred night
#

No it will work on everon life

charred night
spice niche
#

Thanks to the explanation of the controller prefab i got it easily to work! thanks for the answer πŸ™‚

jade obsidian
#

Can you do it in such a way that he only sells it once per person?

charred night
jade obsidian
#

ohh oki

queen dagger
#

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.

twilit halo
#

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

spice niche
#

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

twilit halo
spice niche
#

Okay so in the wordl editor ---> object properties of the shop

twilit halo
#

Sweet. Thanks.

twilit halo
#

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?

spice niche
#

@jade obsidian @twilit halo

twilit halo
twilit halo
spice niche
#

I use Item shop

#

and then i change the Shop component in object properties

twilit halo
#

yeah but for some reason when i click the shopping cart to purchase, nothing happens

spice niche
#

by the way i just use the shop system mode , nothing else

spice niche
# charred night

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

twilit halo
#

yeah i have this all set right

#

so when i have these settings, the svd shows up in the shop as "FREE" ....

spice niche
#

add currency payment !!

twilit halo
#

this shows up as

twilit halo
#

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

twilit halo
#

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?

spice niche
#

you can place it in your own game mode from now on

spice niche
#

you can just make spawn "base shop" and add trough the ADM shop component

#

in the item property of the prefab

twilit halo
twilit halo
twilit halo
charred night
north leaf
#

can somebody explain me how to start the shopsystem in the arma reforger tool

north leaf
#

how can i load all my weapons from the server in arma tools

north leaf
#

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

charred night
signal lodge
#

He's back!

karmic aspen
#

This actually works? I swear I got a compile error when trying it out. πŸ€·β€β™‚οΈ

charred night
karmic aspen
#

Huh! I had no idea, never seen it in use, but thanks for confirming, i must have a ghost update available for that mod. πŸ€·β€β™‚οΈ

karmic aspen
#

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.

charred night
karmic aspen
charred night
charred night
karmic aspen
charred night
#

Thanks!

karmic aspen
#

Totally forgot last night but I'll try and remember tonight!

karmic aspen
#
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! πŸ™‚

charred night
#

Odd, And thats the latest version?

willow raven
#

I am having the same issue on latest version

karmic aspen
willow raven
charred night
#

@karmic aspen @willow raven Hotfix 1.0.11 is published

signal radish
#

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

signal radish
#

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.

charred night
#

Can you send me your shop configs?

signal radish
#

Sorry for being naive - when you say shop configs are you taking about the ShopSystem Mod ServerData.json file?

charred night
#

@signal radish Selling is not implemented yet. I've been meaning to get around to it but haven't fully finished it yet.

signal radish
#

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

charred night
#

They may have written their own selling functions

signal radish
#

I agree. That's what they probably did. Well...it's all a work in progress; so, I will patiently await. Thank you Adam

mossy venture
#

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

signal radish
#

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

charred night
#

Neither one has selling in it yet, I should really do that soon

signal radish
#

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?

charred night
charred night
#

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.

mint ermine
#

I think I would want to sell gun with whatever is currently on it

charred night
#

Maybe ill make it a config option. β€œAllow sale with attachments” or β€œreturn attachments on sale”

mint ermine
#

sell them along with the gun

#

if I dont want to sell it I won't give it to the shop

charred night
#

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?

mint ermine
#

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

charred night
#

Yeah thats why Im trying to think it out before I code anything up πŸ˜…

mint ermine
#

so perhaps a checkbox to treat not accepted items as junk or not accept those items at all

charred night
#

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

mint ermine
#

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

charred night
rocky shoal
#

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.

charred night
#

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

mint ermine
#

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

charred night
#

I like that idea better than adding an extra icon tbh

signal radish
#

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.

signal radish
charred night
signal radish
#

OMG you are a god...thank you

charred night
signal radish
#

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

rotund vapor
#

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?

charred night
#

I fixed that issue but need to push it, ill do that this weekend

rotund vapor
charred night
signal radish
#

Hey Adam - hope all is well. How is the work on "sellling" in the Shop System going? Any progress?

charred night
charred night
charred night
charred night
rotund vapor
polar bloom
#

hey @charred night will it be updated for 1.0 ?

charred night
polar bloom
#

i love you ❀️

#

means i dont need to redo the whole setup fgor the shops πŸ™‚

polar bloom
#

@charred night did you managed to upload it :)?

mint ermine
#

now the arsenal system kind of works like a store, it even has refunds but not sure if they work

polar bloom
#

we have adams system setup i aint touching the arsenal xD

#

not with tradersystem like we have as a dayz server hahah

mint ermine
#

I mean yea, the arsenal UI is a bit L

polar bloom
#

it wont work with how we have the shops anyway

mint ermine
#

the UI is not what I mean tho, was pointing out the scripts

charred night
polar bloom
#

ah np πŸ˜›

charred night
#

Ill try to get it up asap

polar bloom
#

thanks πŸ™‚

charred night
# polar bloom 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

polar bloom
#

thanks

signal radish
#

Are we talking about the ability to both Buy and Sell now? Jsut asking for a friend πŸ™‚

charred night
polar bloom
#

dude that would be killing lol

#

this is how i do it now lol

signal radish
#

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 πŸ™‚

polar bloom
#

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

charred night
signal radish
# charred night what is?

PLXYABLEs Trader mod. The whole custom area with multiple traders, ATM for deposit and getting cash.

polar bloom
#

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 πŸ˜‰

charred night
#

UI code is separate from any logic so easy to make a new one for your specific needs

polar bloom
#

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 πŸ™‚

polar bloom
#

Thanks meowheart

muted pine
#

Do you know if the locker system will be back? You were the one who made it right?

charred night
muted pine
charred night
#

Would anyone have a use for configuring a shop in gamemaster? Is that something worth my time?

polar bloom
#

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

signal radish
#

Thanks Adam for getting it going. Were you able to incorporate Selling or is that still WIP

polar bloom
#

@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

polar bloom
#

we have around 150 players waiting on ya xD

polar bloom
#

there is no focus on the widget style we found out @charred night should help ya

#

we tryd to fix it but not working :/

signal radish
#

@charred night I will give you two quarters or a 5 dimes if you can make selling work πŸ™‚

polar bloom
#

hey adam any news on the ui fix for controllers ?

wicked brook
muted pine
charred night
hoary palm
#

hello I put it on my server the store opens everything but does not buy the item, Needed a helping hand

charred night
polar bloom
#

when will the sell function be updated to work for controller ?

charred night
muted pine
#

test

polar bloom
#

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

charred night
#

New UI coming soon. Will include official selling support & shopping cart feature

charred night
#

almost there. just need to add in the total and checkout button

polar bloom
#

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 ?

polar bloom
#

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

oblique grove
#

Good work hope to see it soon πŸ™‚

charred night
oblique grove
#

god send my man looking at starting a server when this when comes out πŸ˜„

flint drum
charred night
#

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

flint drum
#

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

oblique grove
#

Facts

hexed spear
#

How do you use this on xbox?

charred night
#

I will be releasing an update with a new UI that is navigable on xbox in a few weeks

muted pine
charred night
#

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.

green hedge
#

@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

charred night
green hedge
#

@charred night thanks I really appreciate it

charred night
#

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!

polar bloom
#

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 ?

charred night
#

Press and hold A to checkout on controller

polar bloom
#

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

polar bloom
#

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

charred night
polar bloom
#

thanks πŸ™‚

polar bloom
#

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

polar bloom
#

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 ?

charred night
#

Oh interesting. I didn't consider that. Honestly the currency implementation I have isn't the best. I'll probably redo it.

charred night
polar bloom
#

was btw a hell adding over a 1000 items XD

charred night
polar bloom
#

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

charred night
#

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

polar bloom
#

thanks

charred night
# polar bloom 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

polar bloom
#

it works fine if you have like 1 dollar as it then sees the prefab of the money

charred night
waxen perch
#

Error Unable to deliver Item(s).