sixer reports: Unable to sell item if you do ... #4334

Open
opened 2023-04-28 20:21:28 +00:00 by yourland-report · 8 comments

sixer reports a bug:

Unable to sell item if you do not have its potential payment - I have a nyan cat I wanted to sell. I want to put it into shop and set the price so it would sell for a dragon scale, however it is not possible, as I do not have any dragon scale I can put into 'payment' box. Can the shops be modified so you can set them to sell items for payment you do not have?

Player position:

{
	z = 4484.4990234375,
	x = 2523.4799804688,
	y = 2.5
}

Player look:

{
	z = 0.98564314842224,
	x = -0.15928621590137,
	y = -0.055995766073465
}

Player information:

{
	patch = 1,
	formspec_version = 6,
	protocol_version = 41,
	state = "Active",
	minor = 6,
	version_string = "5.6.1",
	lang_code = "",
	min_jitter = 0,
	max_rtt = 0.21999999880791,
	ip_version = 6,
	min_rtt = 0.01799999922514,
	avg_rtt = 0.018999999389052,
	major = 5,
	max_jitter = 0.20100000500679,
	avg_jitter = 0,
	connection_uptime = 4353,
	serialization_version = 29
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 1280\", \"3d_armor:helmet_crystal 1 1280\", \"shields:shield_rainbow 1 512\", \"3d_armor:leggings_crystal 1 1280\", \"3d_armor:chestplate_crystal 1 1280\", \"\"}",
		played_time = "521772",
		digged_nodes = "185769",
		placed_nodes = "38291",
		died = "24",
		crafted = "16584",
		["signslib:pos"] = "(2939,76,4179)",
		["stamina:poisoned"] = "no",
		hud_state = "on",
		["stamina:exhaustion"] = "72.5",
		inflicted_damage = "132164",
		["ocean_build.last_warning"] = "1.68125e+09",
		["ocean_build.forbidden"] = "true",
		yl_church = "return {[\"last_death\"] = {[\"x\"] = -6944, [\"y\"] = 21, [\"z\"] = 2330}, [\"last_death_portal\"] = 1682456170, [\"last_heal\"] = 1681095067}",
		["stamina:level"] = "14",
		yl_commons_thankyou = "3",
		jointime = "1678554780",
		punch_count = "6668",
		yl_commons_player_created = "1678554780",
		repellant = "0",
		["ocean_build.ocean_built"] = "12",
		xp_redo_hud_color = "0x0088FF",
		xp = "200270",
		arenalib_infobox_arenaID = "0",
		bitten = "0",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		yl_commons_player_joined = "1682708949"
	}
}

Log identifier


[MOD] yl_report log identifier = KzkAEVatGv8FMHLIXB9cw8pZOScMIMzK

Profiler save:

profile-20230428T202127.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 3h 58min 7s | max lag: 1.77s | clients (41/52): AliasAlreadyTaken, Apocralypse, AspireMint, Bailiff, Balrog_Dude, Barlog, BobaCat, Boot, Chazz, Cryon, dadaaa, DanteLeo, daydream, der_c_aus_a, Dirac, drgn, FullmetalBOI, Grzegorz, Halvar, HorusDamocles, jqo, Julia, laira, Laurii, mahou, MineWorlds, niceride, pata123, Prismatim, Rattrap, Ravise, RosLenin33, SchifkoFaz, Service, shanish3, sixer, Sokomine, Sysmatic, Transformers, TV, voo9

Teleport command:

/teleport xyz 2523 3 4484

Compass command:

/give_compass Construction KzkAEVatGv8FMHLIXB9cw8pZOScMIMzK D2691E 2523 3 4484
sixer reports a bug: > Unable to sell item if you do not have its potential payment - I have a nyan cat I wanted to sell. I want to put it into shop and set the price so it would sell for a dragon scale, however it is not possible, as I do not have any dragon scale I can put into 'payment' box. Can the shops be modified so you can set them to sell items for payment you do not have? Player position: ``` { z = 4484.4990234375, x = 2523.4799804688, y = 2.5 } ``` Player look: ``` { z = 0.98564314842224, x = -0.15928621590137, y = -0.055995766073465 } ``` Player information: ``` { patch = 1, formspec_version = 6, protocol_version = 41, state = "Active", minor = 6, version_string = "5.6.1", lang_code = "", min_jitter = 0, max_rtt = 0.21999999880791, ip_version = 6, min_rtt = 0.01799999922514, avg_rtt = 0.018999999389052, major = 5, max_jitter = 0.20100000500679, avg_jitter = 0, connection_uptime = 4353, serialization_version = 29 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 1280\", \"3d_armor:helmet_crystal 1 1280\", \"shields:shield_rainbow 1 512\", \"3d_armor:leggings_crystal 1 1280\", \"3d_armor:chestplate_crystal 1 1280\", \"\"}", played_time = "521772", digged_nodes = "185769", placed_nodes = "38291", died = "24", crafted = "16584", ["signslib:pos"] = "(2939,76,4179)", ["stamina:poisoned"] = "no", hud_state = "on", ["stamina:exhaustion"] = "72.5", inflicted_damage = "132164", ["ocean_build.last_warning"] = "1.68125e+09", ["ocean_build.forbidden"] = "true", yl_church = "return {[\"last_death\"] = {[\"x\"] = -6944, [\"y\"] = 21, [\"z\"] = 2330}, [\"last_death_portal\"] = 1682456170, [\"last_heal\"] = 1681095067}", ["stamina:level"] = "14", yl_commons_thankyou = "3", jointime = "1678554780", punch_count = "6668", yl_commons_player_created = "1678554780", repellant = "0", ["ocean_build.ocean_built"] = "12", xp_redo_hud_color = "0x0088FF", xp = "200270", arenalib_infobox_arenaID = "0", bitten = "0", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", yl_commons_player_joined = "1682708949" } } ``` Log identifier ``` [MOD] yl_report log identifier = KzkAEVatGv8FMHLIXB9cw8pZOScMIMzK ``` Profiler save: ``` profile-20230428T202127.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 3h 58min 7s | max lag: 1.77s | clients (41/52): AliasAlreadyTaken, Apocralypse, AspireMint, Bailiff, Balrog_Dude, Barlog, BobaCat, Boot, Chazz, Cryon, dadaaa, DanteLeo, daydream, der_c_aus_a, Dirac, drgn, FullmetalBOI, Grzegorz, Halvar, HorusDamocles, jqo, Julia, laira, Laurii, mahou, MineWorlds, niceride, pata123, Prismatim, Rattrap, Ravise, RosLenin33, SchifkoFaz, Service, shanish3, sixer, Sokomine, Sysmatic, Transformers, TV, voo9 ``` Teleport command: ``` /teleport xyz 2523 3 4484 ``` Compass command: ``` /give_compass Construction KzkAEVatGv8FMHLIXB9cw8pZOScMIMzK D2691E 2523 3 4484 ```
AliasAlreadyTaken was assigned by yourland-report 2023-04-28 20:21:28 +00:00
Member

You can let you help by a player with a dragon scale (or other stuff) just for this moment to set up your shop.

You can let you help by a player with a dragon scale (or other stuff) just for this moment to set up your shop.
AliasAlreadyTaken added the
1. kind/enhancement
3. source/mod upstream
labels 2023-04-28 22:10:35 +00:00

This might work as last resort, but does not scale well (small chance for somebody online having a specific rare item and willing to lend you it). Once you want to trade in more exotic items (nether/dragon equip, ...) the need to actually have the item you want to set up the exchange may be fairly limiting.

This might work as last resort, but does not scale well (small chance for somebody online having a specific rare item and willing to lend you it). Once you want to trade in more exotic items (nether/dragon equip, ...) the need to actually have the item you want to set up the exchange may be fairly limiting.

This infers a new trading mechanic: auction bids

The interested players can offer items, and the seller may accept or reject the transaction. Players offering items are refunded.

I don't think any change is needed to smartshop. It is working as intended.

This infers a new trading mechanic: auction bids The interested players can offer items, and the seller may accept or reject the transaction. Players offering items are refunded. I don't think any change is needed to smartshop. It is working as intended.
Member

NPC traders are able to accept an item name string as input for the price item. So with them such trades ought to be possible.

NPC traders are able to accept an item name string as input for the price item. So with them such trades ought to be possible.
Member

this is something that i've thought about before, though i'm not sold on the arguments about allowing sale of items in exchange for items the shop owner doesn't possess.

for one, this would require some sort of special UI for selecting these items, and i'm terrible at formspec.

if you can set any item as the price, i suppose it still doesn't make sense to allow any item as what's for sale - if you don't have it, how can you sell it?

more mundanely, there will of course need to be some system to filter out items similar to the "not_in_creative_inventory" group. but given that players can certainly get some such items in normal play, it can't be exactly the same thing.

this is something that i've thought about before, though i'm not sold on the arguments about allowing sale of items in exchange for items the shop owner doesn't possess. for one, this would require some sort of special UI for selecting these items, and i'm terrible at formspec. if you can set any item as the price, i suppose it still doesn't make sense to allow any item as what's for sale - if you don't have it, how can you sell it? more mundanely, there will of course need to be some system to filter out items similar to the `"not_in_creative_inventory"` group. but given that players can certainly get some such items in normal play, it can't be exactly the same thing.

...
for one, this would require some sort of special UI for selecting these items, and i'm terrible at formspec.
...

https://content.minetest.net/packages/Wuzzy/select_item/
would just need a search option

>... > for one, this would require some sort of special UI for selecting these items, and i'm terrible at formspec. > ... https://content.minetest.net/packages/Wuzzy/select_item/ would just need a search option

The item that you offer could be kept as is - you need at least one in the inventory anyway for the shop to work. Just when naming your price for it it would be nice to be able to want something you do not have

The item that you offer could be kept as is - you need at least one in the inventory anyway for the shop to work. Just when naming your price for it it would be nice to be able to want something you do not have
Member

https://content.minetest.net/packages/Wuzzy/select_item/
would just need a search option

i've been quite impressed w/ some of Wuzzy's mods lately. i'll at least put this on the todo list.

> > https://content.minetest.net/packages/Wuzzy/select_item/ > would just need a search option i've been quite impressed w/ some of Wuzzy's mods lately. i'll at least put this on the todo list.
flux added this to the flux's TODO list project 2023-04-30 22:46:39 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: your-land/bugtracker#4334
No description provided.