Jump to content
  • Register Now

    Sign up and take advantage of the features of our community! Some forums are only accessible to our members!

  • 0

Private shop


monsterd2w4

Question

14 answers to this question

Recommended Posts

  • 0
Just now, Asentrix said:

it's a shop so it's obviously for players to buy, can you explain what do you want to do? incase it's a misunderstanding

I can add button in private shop for block my items for show items only and not sell

Link to post
  • 0

It depends how you want to do it, mixed with items you want to place for sale and some items for showcase only, or all the items are just for showcase.

Both ways are possible, but you can wait until 2038 that somebody will code it for you especially for free ?.

 

The principle of operation can be simple or complex, depends how you code it.

Basically the best option is when you set an extra variable for every each item, that it is sellable or not, then block the buy function on those items where that flag has been set.

Also you can mark those items on clientside, to let the players see those items are not for sale.

For a last word, hire a dev if you can't code this for yourself.

  • Love 1
  • Party 1
  • Lmao 1
Link to post
  • 0
2 hours ago, Jxxkub said:

Thats not the functionality of a shop.

 

You describing a sort of a 'stand' that showcases items - you let people view them without the ability to buy it.

you let people view them without the ability to buy it.    yah

26 minutes ago, xP3NG3Rx said:

It depends how you want to do it, mixed with items you want to place for sale and some items for showcase only, or all the items are just for showcase.

Both ways are possible, but you can wait until 2038 that somebody will code it for you especially for free ?.

 

The principle of operation can be simple or complex, depends how you code it.

Basically the best option is when you set an extra variable for every each item, that it is sellable or not, then block the buy function on those items where that flag has been set.

Also you can mark those items on clientside, to let the players see those items are not for sale.

For a last word, hire a dev if you can't code this for yourself.

you let people view them without the ability to buy it.

Link to post
  • 0
  • VIP
1 hour ago, monsterd2w4 said:

yeah let people view them without the ability to buy it.

As @xP3NG3Rxmentioned above, you either code it yourself, or get a professional that will do it for you.

Link to post
  • 0

Easy around solution would be to add a new currency that is not used ingame just to use it for viewing the item and call it [Viewing item]?

Link to post
  • 0
Just now, MrQuin said:

Easy around solution would be to add a new currency that is not used ingame just to use it for viewing the item and call it [Viewing item]?

I know brother i have Cheque System and i not work :(

Link to post
  • 0
6 hours ago, MrQuin said:

Easy around solution would be to add a new currency that is not used ingame just to use it for viewing the item and call it [Viewing item]?


There is an easier way than what you suggested ?
Just pick random number from range 0 to GOLD_MAX (higher number should be more "user-friendly")
and if price==your_number:
return SHOP_SUBHEADER_GC_NOT_ENOUGH_MONEY;

The rest is just python part with interface (uishop) and so on

https://i.gyazo.com/c6144a979629a55fc2808af386c229dd.mp4

I'm not a big fan of adding new solutions when you can use already implemented ones ?

  • Love 1

153046Sygnatura.png

Link to post
  • 0
2 hours ago, Nirray said:


There is an easier way than what you suggested ?
Just pick random number from range 0 to GOLD_MAX (higher number should be more "user-friendly")
and if price==your_number:
return SHOP_SUBHEADER_GC_NOT_ENOUGH_MONEY;

The rest is just python part with interface (uishop) and so on

https://i.gyazo.com/c6144a979629a55fc2808af386c229dd.mp4

I'm not a big fan of adding new solutions when you can use already implemented ones ?

thanks you ❤️ i love u

Link to post
  • 0
Posted (edited)
13 hours ago, Nirray said:


There is an easier way than what you suggested ?
Just pick random number from range 0 to GOLD_MAX (higher number should be more "user-friendly")
and if price==your_number:
return SHOP_SUBHEADER_GC_NOT_ENOUGH_MONEY;

The rest is just python part with interface (uishop) and so on

https://i.gyazo.com/c6144a979629a55fc2808af386c229dd.mp4

I'm not a big fan of adding new solutions when you can use already implemented ones ?

creating system 100% thanks ❤️  today work my system ❤️   https://streamable.com/ubujyi   video :D fixxed

13 hours ago, Nirray said:


There is an easier way than what you suggested ?
Just pick random number from range 0 to GOLD_MAX (higher number should be more "user-friendly")
and if price==your_number:
return SHOP_SUBHEADER_GC_NOT_ENOUGH_MONEY;

The rest is just python part with interface (uishop) and so on

https://i.gyazo.com/c6144a979629a55fc2808af386c229dd.mp4

I'm not a big fan of adding new solutions when you can use already implemented ones ?

https://streamable.com/ubujyi   video :D fixxed ❤️ 

20 hours ago, Jxxkub said:

As @xP3NG3Rxmentioned above, you either code it yourself, or get a professional that will do it for you.

 https://streamable.com/ubujyi  creating 

Edited by monsterd2w4 (see edit history)
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.