daydream reports: the replant buttons are great, ... #3058

Open
opened 2022-11-16 13:12:00 +00:00 by yourland-report · 4 comments

daydream reports a bug:

the replant buttons are great, but they don't remove like if someone planted half the potato field with carrots, they don't fix that, I still have to dig up all the carrots first... maybe it could check if the right thing is there on top of if it's empty or not?

Player position:

{
	x = 2097.8500976563,
	y = 14.5,
	z = 1320.3010253906
}

Player look:

{
	x = 0.046702269464731,
	y = -0.51354122161865,
	z = -0.85679310560226
}

Player information:

{
	major = 5,
	minor = 6,
	version_string = "5.6.1",
	protocol_version = 41,
	state = "Active",
	ip_version = 6,
	min_rtt = 0.16400000452995,
	avg_rtt = 0.36599999666214,
	min_jitter = 0,
	max_jitter = 4.414999961853,
	avg_jitter = 0.016000002622604,
	connection_uptime = 21508,
	serialization_version = 29,
	patch = 1,
	formspec_version = 6,
	lang_code = "",
	max_rtt = 4.5929999351501
}

Player meta:

{
	fields = {
		["petz:lycanthropy"] = "0",
		["petz:werewolf_vignette_id"] = "5",
		punch_count = "43054",
		arenalib_infobox_arenaID = "0",
		inflicted_damage = "852736",
		["ocean_build.last_warning"] = "1.65235e+09",
		["petz:werewolf_clan_idx"] = "2",
		xp = "976213",
		["ocean_build.ocean_built"] = "8",
		played_time = "8985661",
		digged_nodes = "1123538",
		placed_nodes = "160604",
		yl_commons_player_joined = "1668582844",
		yl_commons_thankyou = "122",
		crafted = "2042",
		died = "128",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 4680\", \"shields:shield_crystal 1 4680\", \"3d_armor:chestplate_crystal 1 4680\", \"3d_armor:leggings_crystal 1 4680\", \"3d_armor:boots_crystal 1 4680\", \"\"}",
		yl_church = "return {[\"last_death_portal\"] = 1668472159, [\"last_death\"] = {[\"x\"] = 3019, [\"y\"] = -11185, [\"z\"] = 4082}}",
		partychat = "party",
		yl_commons_player_created = "1650064821",
		["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}",
		["signslib:pos"] = "(-8027,19,-9447)",
		hud_state = "on",
		["stamina:level"] = "9",
		repellant = "0",
		["stamina:poisoned"] = "no",
		["petz:werewolf"] = "0",
		["stamina:exhaustion"] = "38.5",
		xp_redo_hud_color = "0xFFC001",
		bitten = "0",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}",
		jointime = "1650064821"
	}
}

Log identifier


[MOD] yl_report log identifier = oxKlXKrpWF4fG5agAxcfyLlWhG2tpTno

Profiler save:

profile-20221116T131200.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 5h 58min 4s | max lag: 2.75s | clients (23/42): Aero, AliasAlreadyTaken, Artruc, Bailiff, Chicago, Color, Crystal1976, daydream, ecki, Giuseppe, HorusDamocles, JeCel, labrat, Moji, Nibsokube, PixelMan, Queenfire234312, Segmentation_Fault, Service, SonnenBlume, tour, Tute, yo_hi

Teleport command:

/teleport xyz 2098 15 1320

Compass command:

/give_compass Construction oxKlXKrpWF4fG5agAxcfyLlWhG2tpTno D2691E 2098 15 1320
daydream reports a bug: > the replant buttons are great, but they don't remove like if someone planted half the potato field with carrots, they don't fix that, I still have to dig up all the carrots first... maybe it could check if the right thing is there on top of if it's empty or not? Player position: ``` { x = 2097.8500976563, y = 14.5, z = 1320.3010253906 } ``` Player look: ``` { x = 0.046702269464731, y = -0.51354122161865, z = -0.85679310560226 } ``` Player information: ``` { major = 5, minor = 6, version_string = "5.6.1", protocol_version = 41, state = "Active", ip_version = 6, min_rtt = 0.16400000452995, avg_rtt = 0.36599999666214, min_jitter = 0, max_jitter = 4.414999961853, avg_jitter = 0.016000002622604, connection_uptime = 21508, serialization_version = 29, patch = 1, formspec_version = 6, lang_code = "", max_rtt = 4.5929999351501 } ``` Player meta: ``` { fields = { ["petz:lycanthropy"] = "0", ["petz:werewolf_vignette_id"] = "5", punch_count = "43054", arenalib_infobox_arenaID = "0", inflicted_damage = "852736", ["ocean_build.last_warning"] = "1.65235e+09", ["petz:werewolf_clan_idx"] = "2", xp = "976213", ["ocean_build.ocean_built"] = "8", played_time = "8985661", digged_nodes = "1123538", placed_nodes = "160604", yl_commons_player_joined = "1668582844", yl_commons_thankyou = "122", crafted = "2042", died = "128", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 4680\", \"shields:shield_crystal 1 4680\", \"3d_armor:chestplate_crystal 1 4680\", \"3d_armor:leggings_crystal 1 4680\", \"3d_armor:boots_crystal 1 4680\", \"\"}", yl_church = "return {[\"last_death_portal\"] = 1668472159, [\"last_death\"] = {[\"x\"] = 3019, [\"y\"] = -11185, [\"z\"] = 4082}}", partychat = "party", yl_commons_player_created = "1650064821", ["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}", ["signslib:pos"] = "(-8027,19,-9447)", hud_state = "on", ["stamina:level"] = "9", repellant = "0", ["stamina:poisoned"] = "no", ["petz:werewolf"] = "0", ["stamina:exhaustion"] = "38.5", xp_redo_hud_color = "0xFFC001", bitten = "0", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}", jointime = "1650064821" } } ``` Log identifier ``` [MOD] yl_report log identifier = oxKlXKrpWF4fG5agAxcfyLlWhG2tpTno ``` Profiler save: ``` profile-20221116T131200.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 5h 58min 4s | max lag: 2.75s | clients (23/42): Aero, AliasAlreadyTaken, Artruc, Bailiff, Chicago, Color, Crystal1976, daydream, ecki, Giuseppe, HorusDamocles, JeCel, labrat, Moji, Nibsokube, PixelMan, Queenfire234312, Segmentation_Fault, Service, SonnenBlume, tour, Tute, yo_hi ``` Teleport command: ``` /teleport xyz 2098 15 1320 ``` Compass command: ``` /give_compass Construction oxKlXKrpWF4fG5agAxcfyLlWhG2tpTno D2691E 2098 15 1320 ```
AliasAlreadyTaken was assigned by yourland-report 2022-11-16 13:12:00 +00:00
flux added the
1. kind/enhancement
3. source/ingame
labels 2022-11-16 18:56:14 +00:00

No, they don't check correct type, they only replace air.

No, they don't check correct type, they only replace air.
Member

But chopping the wrongly planted field and then replanting it with a button is done quickly.

But chopping the wrongly planted field and then replanting it with a button is done quickly.
Member

i mentioned this somewhere else, but if alias wants, i can alter the logic to replace any node that isn't allowed in a specific plot, w/ a new seedling. that's how i wrote the replant button on blocky survival (which was just an iteration on top of what was already there, i didn't invent the replant button)

i mentioned this somewhere else, but if alias wants, i can alter the logic to replace any node that isn't allowed in a specific plot, w/ a new seedling. that's how i wrote the replant button on blocky survival (which was just an iteration on top of what was already there, i didn't invent the replant button)

I'd rather not have too specific code in the game, rather we should make those areas respect the more generic mechanics of whitelists/blacklists of yl_areas_addon

I'd rather not have too specific code in the game, rather we should make those areas respect the more generic mechanics of whitelists/blacklists of yl_areas_addon
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#3058
No description provided.