Page 1 of 1

Minetest idea (trade)

PostPosted: Tue Jul 16, 2013 09:56
by nolan
I thought of an idea that could be put in the next update of minetest itself, (0.4.8), OR could be used as a mod. Well here it is, so basically i think as a safer way then dropping the items on the ground for anyone nearby to steal during a trade, you could use a system like the msg system. So that /trade would be a command. You would type /trade (name) to trade with a player, a box will appear on the requested players screen, and she/he will have two choices, Trade and Deny. If the player hits 8trade* then your inventory will come up (only u can see what u have) on the right side of your screen, and 4 slots will come up beside your inventory, two slots for you and two slots for the other player. You and the other player will both put up your items in the 2 slots u have then hit *confirm* and there it is, you just made a safe trade, without having to worry some noob will take the item u throw down! Now lets say u hit *deny* instead of *trade*, that could send a msg from server saying *Server -!- player trade with (name) is denied, or something relatively like that.

PostPosted: Tue Jul 16, 2013 09:58
by nolan
If you have any questions/concerns about this idea I have posted, ask me please, and please let me know if you see any faults/errors in the way I have represented my idea towards you. I hope you like my idea, i always wanted a safe way to trade without having to worry a noob will steal the item u threw on the ground. :P

PostPosted: Tue Jul 16, 2013 10:03
by Zeg9

PostPosted: Tue Jul 16, 2013 10:36
by nolan

Im talking of a different kinda trade system that doesnt require a chest

PostPosted: Tue Jul 16, 2013 11:10
by Zeg9
nolan wrote:

Im talking of a different kinda trade system that doesnt require a chest

Why not code it yourself then?
Maybe you could use the player's on_rightclick callback (I'm not sure if it's possible, but just try it) and minetest.show_formspec.

PostPosted: Tue Jul 16, 2013 11:48
by nolan
Zeg9 wrote:
nolan wrote:

Im talking of a different kinda trade system that doesnt require a chest

Why not code it yourself then?
Maybe you could use the player's on_rightclick callback (I'm not sure if it's possible, but just try it) and minetest.show_formspec.

I dont know how to create this kinda stuff.

PostPosted: Tue Jul 16, 2013 18:56
by Jordach
nolan wrote:
Zeg9 wrote:
nolan wrote:Im talking of a different kinda trade system that doesnt require a chest

Why not code it yourself then?
Maybe you could use the player's on_rightclick callback (I'm not sure if it's possible, but just try it) and minetest.show_formspec.

I dont know how to create this kinda stuff.
I have a list of prices for Gold Ingots in a spreadsheet on my HDD - everything is resonably priced so buyers can get xyz amounts of things for low amounts of ingots, but other materials may require admin intervention to buy.

PostPosted: Tue Jul 16, 2013 19:14
by Sokomine
The trouble with the suggested system of opening a formspec for another player is that it may be abused and trolls may spam players with trade suggestions. Also, real trade may be difficult to handle for a mod. If the first player hit "confirm", the second one ought to either be able to accept or decline and not e.g. change the trade in retrospect.
To some degree, my shared locked chests from my locks mod may help: you can configure them so that only you and your trade partner have access to the content of the chest. That will at least help against ranom "thiefes" passing by - you'll still have to trust your trade partner.
The shops and barter shops from one mod are also very fine for trading. Perhaps they can be extended a bit (i.e. allow to sell packages/combined items, offer a list who bought how many, limit amount of items the show will buy, limit amount of sold items per player for newbie-stuff etc), though that would be another direction.