Freebie reports: Autocomplete chooses any name ... #2597

Open
opened 2022-09-01 18:31:32 +00:00 by yourland-report · 5 comments

Freebie reports a bug:

Autocomplete chooses any name if there is more than one name. Example: "ra" should go to rabenkind, but Ravise is chosen. Either there should be a selection or an error message or nothing should happen at all. That would be better than a wrong selection.

Player position:

{
	y = 14.5,
	z = 1145.5729980469,
	x = 1996.7750244141
}

Player look:

{
	y = -0.13052619993687,
	z = 0.77006161212921,
	x = 0.62447428703308
}

Player information:

{
	state = "Active",
	formspec_version = 6,
	protocol_version = 40,
	min_rtt = 0.01799999922514,
	max_rtt = 9.576000213623,
	major = 5,
	minor = 6,
	max_jitter = 9.5539999008179,
	avg_jitter = 0.10600000619888,
	connection_uptime = 623,
	serialization_version = 29,
	patch = 0,
	lang_code = "de",
	version_string = "5.6.0",
	min_jitter = 0,
	avg_rtt = 0.12800000607967,
	ip_version = 6
}

Player meta:

{
	fields = {
		["stamina:level"] = "8",
		yl_commons_player_created = "1649959597",
		yl_commons_player_joined = "1662056626",
		repellant = "0",
		["stamina:exhaustion"] = "145.5",
		jointime = "1649959597",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = -12, [\"x\"] = 5984, [\"z\"] = 2968}, [\"last_death_portal\"] = 1649963868}",
		played_time = "33354",
		digged_nodes = "1",
		placed_nodes = "2",
		died = "1",
		arenalib_infobox_arenaID = "0",
		xp = "7",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 13620\", \"3d_armor:boots_crystal 1 13620\", \"shields:shield_crystal 1 13620\", \"3d_armor:leggings_crystal 1 13620\", \"3d_armor:chestplate_crystal 1 13620\", \"\"}",
		crafted = "5",
		partychat = "party",
		bitten = "0",
		["stamina:poisoned"] = "no",
		hud_state = "on"
	}
}

Log identifier


[MOD] yl_report log identifier = tFvFdNL00VTjcPGKvBjhFjdLShtbcG0w

Profiler save:

profile-20220901T183132.json_prettyEE

Status:

# Server: version: 5.5.1-yl | game: Minetest Game | uptime: 1d 4h 20min 35s | max lag: 2.11s | clients: arbba37, Freebie, shanish, acen2006, Imhotheb, Bond007, Unelias, Lupercus, Ernesto, AliasAlreadyTaken, Bishiro, Boot, Service, rabenkind, Ravise, flux, Bailiff

Teleport command:

/teleport xyz 1997 15 1146

Compass command:

/give_compass Construction tFvFdNL00VTjcPGKvBjhFjdLShtbcG0w D2691E 1997 15 1146
Freebie reports a bug: > Autocomplete chooses any name if there is more than one name. Example: "ra" should go to rabenkind, but Ravise is chosen. Either there should be a selection or an error message or nothing should happen at all. That would be better than a wrong selection. Player position: ``` { y = 14.5, z = 1145.5729980469, x = 1996.7750244141 } ``` Player look: ``` { y = -0.13052619993687, z = 0.77006161212921, x = 0.62447428703308 } ``` Player information: ``` { state = "Active", formspec_version = 6, protocol_version = 40, min_rtt = 0.01799999922514, max_rtt = 9.576000213623, major = 5, minor = 6, max_jitter = 9.5539999008179, avg_jitter = 0.10600000619888, connection_uptime = 623, serialization_version = 29, patch = 0, lang_code = "de", version_string = "5.6.0", min_jitter = 0, avg_rtt = 0.12800000607967, ip_version = 6 } ``` Player meta: ``` { fields = { ["stamina:level"] = "8", yl_commons_player_created = "1649959597", yl_commons_player_joined = "1662056626", repellant = "0", ["stamina:exhaustion"] = "145.5", jointime = "1649959597", yl_church = "return {[\"last_death\"] = {[\"y\"] = -12, [\"x\"] = 5984, [\"z\"] = 2968}, [\"last_death_portal\"] = 1649963868}", played_time = "33354", digged_nodes = "1", placed_nodes = "2", died = "1", arenalib_infobox_arenaID = "0", xp = "7", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 13620\", \"3d_armor:boots_crystal 1 13620\", \"shields:shield_crystal 1 13620\", \"3d_armor:leggings_crystal 1 13620\", \"3d_armor:chestplate_crystal 1 13620\", \"\"}", crafted = "5", partychat = "party", bitten = "0", ["stamina:poisoned"] = "no", hud_state = "on" } } ``` Log identifier ``` [MOD] yl_report log identifier = tFvFdNL00VTjcPGKvBjhFjdLShtbcG0w ``` Profiler save: ``` profile-20220901T183132.json_prettyEE ``` Status: ``` # Server: version: 5.5.1-yl | game: Minetest Game | uptime: 1d 4h 20min 35s | max lag: 2.11s | clients: arbba37, Freebie, shanish, acen2006, Imhotheb, Bond007, Unelias, Lupercus, Ernesto, AliasAlreadyTaken, Bishiro, Boot, Service, rabenkind, Ravise, flux, Bailiff ``` Teleport command: ``` /teleport xyz 1997 15 1146 ``` Compass command: ``` /give_compass Construction tFvFdNL00VTjcPGKvBjhFjdLShtbcG0w D2691E 1997 15 1146 ```
AliasAlreadyTaken was assigned by yourland-report 2022-09-01 18:31:32 +00:00
flux added the
1. kind/bug
1. kind/enhancement
3. source/engine
3. source/client
labels 2022-09-01 18:34:22 +00:00
Member

see https://github.com/minetest/minetest/issues/9663 for the most recent discussion about updating autocomplete.

see https://github.com/minetest/minetest/issues/9663 for the most recent discussion about updating autocomplete.
Member

a more recent, somewhat relevant issue:

https://github.com/minetest/minetest/issues/11188

a more recent, somewhat relevant issue: https://github.com/minetest/minetest/issues/11188

When you type "ra" and it autocompletes to rabenkind instead of Ravise, you can simply push tab again and it will switch to the next.

When you type "ra" and it autocompletes to rabenkind instead of Ravise, you can simply push tab again and it will switch to the next.
Member

When you type "ra" and it autocompletes to rabenkind instead of Ravise, you can simply push tab again and it will switch to the next.

... i was about to say "really? it doesn't work for me" but then i tried it again and now it works?!

it still doesn't if you're addressing a public message to a specific person (i.e. the name is the first word in the message), but this is hugely helpful to know :)

> When you type "ra" and it autocompletes to rabenkind instead of Ravise, you can simply push tab again and it will switch to the next. ... i was about to say "really? it doesn't work for me" but then i tried it again and now it works?! it still doesn't if you're addressing a public message to a specific person (i.e. the name is the first word in the message), but this is hugely helpful to know :)

However, MT needs an API to let mods add words to the autocomplete and it also needs command autocompletion. Year 2022 and we don't have that! Incredible! :D

However, MT needs an API to let mods add words to the autocomplete and it also needs command autocompletion. Year 2022 and we don't have that! Incredible! :D
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#2597
No description provided.