[Mod] Simple Shop [shop]

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

[Mod] Simple Shop [shop]

by everamzah » Fri Jun 10, 2016 14:30

Description: Old mod that I never released for some reason. Probably bad UI, but is suitable for simple exchanging of items. Includes a gold coin crafted from gold ingots.
License: GPL3
Depends: default
Download: GitHub or master.zip

+ Screenshots
Attachments
screenshot_20160610_102355.png
(239.64 KiB) Not downloaded yet
screenshot_20160610_102328.png
(319.63 KiB) Not downloaded yet
Last edited by everamzah on Wed Aug 02, 2017 09:55, edited 2 times in total.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7459
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah
 

User avatar
Krock
Developer
 
Posts: 4144
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

Re: [Mod] Simple Shop [shop]

by Krock » Sun Jun 12, 2016 08:23


Please also add the dependencies of your mod to the main topic.
But the mod idea is good. What I would like to see is a texture that looks a bit more like a shop node.
Maybe it's just me but the current one could be rather be a bank or a treasure.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [Mod] Simple Shop [shop]

by everamzah » Sun Jun 12, 2016 10:33

Thank you! It reminds me of a bank too. I'll keep an eye out for a better texture.
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [Mod] Simple Shop [shop]

by everamzah » Thu Jun 30, 2016 15:33

Image

Image

The stock can now only be opened by the owner. I'll likely work on the formspec/messages sent more later.
Attachments
screenshot_20160630_112920.png
(114.39 KiB) Not downloaded yet
screenshot_20160630_112913.png
(98.57 KiB) Not downloaded yet
 

User avatar
azekill_DIABLO
Member
 
Posts: 7459
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Simple Shop [shop]

by ParaklataChotou » Thu Sep 15, 2016 17:07

Hello n_n. I'm using this mod, and it's amazing. But I'm want that the Item I add replace by itself, because I've a server. And I won't to go back and replace Items... you know. How can I do that - if it's possible?

***YOUR SHOP MOD IT'S THE BEST. IT WORKS GREAT AND IT'S VERY SIMPLE. IT'S A PITY THAT EXCHANGE MOD - MADE BY ZEG IT'S NOT WORKING. I TRIED AND IT DIDN'T WORK. :(. IF YOU CAN HELP ME, I WOULD BE REALLY GRATEFUL. :) ******
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [Mod] Simple Shop [shop]

by everamzah » Fri Sep 16, 2016 14:38

The shop register relies on a stock being in its inventory, in order to exchange for what's asked. It's simple and that's all it can do.

I think, if anything, I'd like to add support to it for other mods that would interact with it, but am pretty unfamiliar with machines mods, etc. On the other hand, it might be easy enough to add a secondary, "admin" shop node. I just never got around to it, I guess, as it was asked before by Dragonop. Maybe I'll do that now, thanks for the reply.

I don't know about any other shop mod.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Simple Shop [shop]

by ParaklataChotou » Fri Sep 16, 2016 16:18

everamzah wrote:The shop register relies on a stock being in its inventory, in order to exchange for what's asked. It's simple and that's all it can do.

I think, if anything, I'd like to add support to it for other mods that would interact with it, but am pretty unfamiliar with machines mods, etc. On the other hand, it might be easy enough to add a secondary, "admin" shop node. I just never got around to it, I guess, as it was asked before by Dragonop. Maybe I'll do that now, thanks for the reply.

I don't know about any other shop mod.

Oh, don't worry. I added adminshop mod - made by natan - and your mod I made available for single clients in my server. It's ok. It's an excellent mod for single clients.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
rnd
Member
 
Posts: 207
Joined: Sun Dec 28, 2014 12:24
IRC: ac_minetest
In-game: rnd

Re: [Mod] Simple Shop [shop]

by rnd » Wed Sep 21, 2016 12:11

Almost perfect shop mod that does what it needs to and without unnecessary features. Made a fork https://github.com/ac-minetest/shop with the following features - 4. takes care of ParaklataChotou request:

1.cleaned up minimalistic gui
2. user can see clearly what shop is selling/buying by just looking at shop
3. better and informative error display like:
"Error. You dont have enough items to pay" or "Error. Shop out of stock."
4. if shop owner is admin shop can sell/buy infinite items - no "out of stock" errors
5. shop errors now show as shop text - owner can easily spot shop with problems
6. player can't trade with himself to prevent easy abuses

Image

Image
Attachments
shop2.jpg
(179.65 KiB) Not downloaded yet
shop1.jpg
(181.79 KiB) Not downloaded yet
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Simple Shop [shop]

by ParaklataChotou » Wed Sep 21, 2016 17:37

rnd wrote:Almost perfect shop mod that does what it needs to and without unnecessary features. Made a fork https://github.com/ac-minetest/shop with the following features - 4. takes care of ParaklataChotou request:

1.cleaned up minimalistic gui
2. user can see clearly what shop is selling/buying by just looking at shop
3. better and informative error display like:
"Error. You dont have enough items to pay" or "Error. Shop out of stock."
4. if shop owner is admin shop can sell/buy infinite items - no "out of stock" errors
5. shop errors now show as shop text - owner can easily spot shop with problems
6. player can't trade with himself to prevent easy abuses

Image

Image

It's simply amazing. If I build another server, I'll try this one. It looks cool. With selling/buying/trading options in one shop, it's really practical. Thank you rnd!!! n_n
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [Mod] Simple Shop [shop]

by everamzah » Wed Oct 05, 2016 02:55

Very nice! Next time I look into the shop mod, I may incorporate some of your changes. I had originally more conditional messages, but later lumped them all together for whatever reason.

Can you fix my fork of mobs_npc too? The trader is broken. ^_^
 

User avatar
azekill_DIABLO
Member
 
Posts: 7459
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Simple Shop [shop]

by azekill_DIABLO » Wed Oct 05, 2016 16:51

everamzah wrote:Very nice! Next time I look into the shop mod, I may incorporate some of your changes. I had originally more conditional messages, but later lumped them all together for whatever reason.

Can you fix my fork of mobs_npc too? The trader is broken. ^_^

i'm usig your mod it's not dah broken. it's just dumb. i will also pst a bit of code to add to make the interaction better (look at u)
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Simple Shop [shop]

by ParaklataChotou » Wed Oct 05, 2016 22:13

Don't change everything. This mod is working fine. Other shop mods who ran so fine now are broken for no reason.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
ParaklataChotou
Member
 
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Simple Shop [shop]

by ParaklataChotou » Wed Oct 05, 2016 22:47

Don't change everything. This mod is working fine. Other shop mods who ran so fine now are broken for no reason.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.
 

User avatar
everamzah
Member
 
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [Mod] Simple Shop [shop]

by everamzah » Thu Oct 06, 2016 03:52

It's funny because I talked about wanting to set up some machine compatibility, and then rnd, who has made the Basic Machines mod I believe, replied with changes in a forked version. I decided not to incorporate all oh his changes at once, but replied that I'd look into some of it and merge it back in manually. Given how rapidly I work on my mods, this may take a long time, if ever.

I'd sooner modify it to work with machines, as I simply find that more interesting. But then I'd need to learn how to use machines, heh.

I also contemplated merging the trader from mobs_npc into this mod. Then, if mobs is present, a trader may optionally be spawned.
 

User avatar
Fixer
Member
 
Posts: 866
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer
 

User avatar
jas
Member
 
Posts: 257
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Mod] Simple Shop [shop]

by jas » Wed Aug 02, 2017 08:25

This one sells multiple items: https://github.com/jastevenson303/shop
+ Spoiler
Attachments
screenshot_20170802_041657.png
(250.9 KiB) Not downloaded yet
screenshot_20170802_041653.png
(252.56 KiB) Not downloaded yet
 

User avatar
taikedz
Member
 
Posts: 640
Joined: Sun May 15, 2016 11:11
Location: Scotland, UK
GitHub: taikedz
IRC: DuCake
In-game: DuCake

Re: [Mod] Simple Shop [shop]

by taikedz » Wed Aug 02, 2017 08:41

jas, it's great that you made a shop...

Please however make your own posting in the WIP mods section, do not hijack other people's mod threads.
Not my monkeys; not my circus.
 

User avatar
jas
Member
 
Posts: 257
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Mod] Simple Shop [shop]

by jas » Wed Aug 02, 2017 09:52

I should have mentioned it's a fork of this one. I could make a new thread, but I'd prefer to use this one. :)

Edit: Sorry, I also should have mentioned I'm everamzah, but I stopped using that name. I'll try to login and update the dead link.
 

User avatar
taikedz
Member
 
Posts: 640
Joined: Sun May 15, 2016 11:11
Location: Scotland, UK
GitHub: taikedz
IRC: DuCake
In-game: DuCake

Re: [Mod] Simple Shop [shop]

by taikedz » Wed Aug 02, 2017 10:56

jas wrote:Edit: Sorry, I also should have mentioned I'm everamzah, but I stopped using that name.


You could have, yes :-)

Welcome back!
Not my monkeys; not my circus.
 

User avatar
jas
Member
 
Posts: 257
Joined: Mon Jul 24, 2017 18:15
GitHub: jastevenson303
IRC: jas_
In-game: jas

Re: [Mod] Simple Shop [shop]

by jas » Wed Aug 09, 2017 07:25

Updated. Now previous button works.

If the owner pushes the Next button, and the current page has both buy/sell items, a new page is created (total: 32). If shop owners leave buy/sell item slots empty, other players will see it as empty. The previous button is just previous, the next button is next/create new. LOL. Privs shop ho!
 

User avatar
Fixer
Member
 
Posts: 866
Joined: Sun Jul 31, 2011 11:23
Location: Ukraine
IRC: Fixer
In-game: Fixer

Re: [Mod] Simple Shop [shop]

by Fixer » Wed Aug 09, 2017 22:30

jas wrote:Sorry, I also should have mentioned I'm everamzah, but I stopped using that name. I'll try to login and update the dead link.


Proof?
 

User avatar
rubenwardy
Moderator
 
Posts: 5541
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Simple Shop [shop]

by rubenwardy » Wed Aug 09, 2017 22:33

jas wrote:I should have mentioned it's a fork of this one. I could make a new thread, but I'd prefer to use this one. :)

Edit: Sorry, I also should have mentioned I'm everamzah, but I stopped using that name. I'll try to login and update the dead link.


celeron55 may change a username if you ask him nicely
 

Next

Return to WIP Mods



Who is online

Users browsing this forum: Bing [Bot] and 3 guests