AspireMint reports: Sides of dice are wrong. Sum o ... #6504

Open
opened 2024-03-16 20:30:27 +00:00 by yourland-report · 4 comments

AspireMint reports a bug:

Sides of dice are wrong. Sum of opposite sides must be 7 :P

Player position:

{
	y = 16.5,
	z = 1154.0280761719,
	x = 2010.8580322266
}

Player look:

{
	y = -0.44916307926178,
	z = 0.77807933092117,
	x = 0.43914127349854
}

Player information:

{
	max_rtt = 5.2610001564026,
	ip_version = 6,
	min_rtt = 0.025000000372529,
	minor = 7,
	formspec_version = 6,
	max_jitter = 5.179000377655,
	avg_jitter = 0,
	connection_uptime = 10496,
	serialization_version = 29,
	protocol_version = 42,
	major = 5,
	patch = 0,
	version_string = "5.7.0",
	min_jitter = 0,
	avg_rtt = 0.028000000864267,
	lang_code = "",
	state = "Active"
}

Player meta:

{
	fields = {
		["stamina:poisoned"] = "no",
		yl_commons_thankyou = "309",
		["stamina:exhaustion"] = "32",
		yl_commons_player_joined = "1710610554",
		played_time = "7368819",
		digged_nodes = "2085569",
		placed_nodes = "404690",
		died = "394",
		crafted = "142119",
		partychat = "party",
		jointime = "1619715757",
		bitten = "0",
		hotbar_size = "16",
		yl_commons_player_created = "1619715757",
		["signslib:pos"] = "(-434,55,21518)",
		["ocean_build.ocean_built"] = "12",
		repellant = "0",
		["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 2900\", \"3d_armor:leggings_nether 1 5800\", \"3d_armor:chestplate_nether 1 5800\", \"3d_armor:helmet_nether 1 2900\", \"shields:shield_nether 1 5800\", \"\"}",
		["petz:werewolf_clan_idx"] = "4",
		["ocean_build.last_warning"] = "1.65674e+09",
		["ocean_build.forbidden"] = "true",
		hud_state = "on",
		xp = "2161319",
		inflicted_damage = "12357746",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"water_life:croc_bag\"}",
		punch_count = "571578",
		["petz:werewolf"] = "0",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 47, [\"z\"] = 21485, [\"x\"] = -407}, [\"last_death_portal\"] = 1710616296, [\"last_heal\"] = 1708702962}",
		arenalib_infobox_arenaID = "0",
		["stamina:level"] = "6",
		["petz:lycanthropy"] = "0"
	}
}

Log identifier


[MOD] yl_report log identifier = 3k4IjpDZVc7mKzYBlhiSfJABMzDxuhQf

Profiler save:

profile-20240316T203027.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 4h 15min 49s | max lag: 0.793s | clients (20/52): 98URL, AliasAlreadyTaken, AspireMint, Bailiff, Boot, Chache, der_c_aus_a, DragonWrangler1, flux, Keya, laira, Lucien, Murmel, nakama-ta, Noii, poppyasdan, rewired_X, Service, shizle, Wace4

Teleport command:

/teleport xyz 2011 17 1154

Compass command:

/give_compass Construction 3k4IjpDZVc7mKzYBlhiSfJABMzDxuhQf D2691E 2011 17 1154
AspireMint reports a bug: > Sides of dice are wrong. Sum of opposite sides must be 7 :P Player position: ``` { y = 16.5, z = 1154.0280761719, x = 2010.8580322266 } ``` Player look: ``` { y = -0.44916307926178, z = 0.77807933092117, x = 0.43914127349854 } ``` Player information: ``` { max_rtt = 5.2610001564026, ip_version = 6, min_rtt = 0.025000000372529, minor = 7, formspec_version = 6, max_jitter = 5.179000377655, avg_jitter = 0, connection_uptime = 10496, serialization_version = 29, protocol_version = 42, major = 5, patch = 0, version_string = "5.7.0", min_jitter = 0, avg_rtt = 0.028000000864267, lang_code = "", state = "Active" } ``` Player meta: ``` { fields = { ["stamina:poisoned"] = "no", yl_commons_thankyou = "309", ["stamina:exhaustion"] = "32", yl_commons_player_joined = "1710610554", played_time = "7368819", digged_nodes = "2085569", placed_nodes = "404690", died = "394", crafted = "142119", partychat = "party", jointime = "1619715757", bitten = "0", hotbar_size = "16", yl_commons_player_created = "1619715757", ["signslib:pos"] = "(-434,55,21518)", ["ocean_build.ocean_built"] = "12", repellant = "0", ["3d_armor_inventory"] = "return {\"3d_armor:boots_crystal 1 2900\", \"3d_armor:leggings_nether 1 5800\", \"3d_armor:chestplate_nether 1 5800\", \"3d_armor:helmet_nether 1 2900\", \"shields:shield_nether 1 5800\", \"\"}", ["petz:werewolf_clan_idx"] = "4", ["ocean_build.last_warning"] = "1.65674e+09", ["ocean_build.forbidden"] = "true", hud_state = "on", xp = "2161319", inflicted_damage = "12357746", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"water_life:croc_bag\"}", punch_count = "571578", ["petz:werewolf"] = "0", yl_church = "return {[\"last_death\"] = {[\"y\"] = 47, [\"z\"] = 21485, [\"x\"] = -407}, [\"last_death_portal\"] = 1710616296, [\"last_heal\"] = 1708702962}", arenalib_infobox_arenaID = "0", ["stamina:level"] = "6", ["petz:lycanthropy"] = "0" } } ``` Log identifier ``` [MOD] yl_report log identifier = 3k4IjpDZVc7mKzYBlhiSfJABMzDxuhQf ``` Profiler save: ``` profile-20240316T203027.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 4h 15min 49s | max lag: 0.793s | clients (20/52): 98URL, AliasAlreadyTaken, AspireMint, Bailiff, Boot, Chache, der_c_aus_a, DragonWrangler1, flux, Keya, laira, Lucien, Murmel, nakama-ta, Noii, poppyasdan, rewired_X, Service, shizle, Wace4 ``` Teleport command: ``` /teleport xyz 2011 17 1154 ``` Compass command: ``` /give_compass Construction 3k4IjpDZVc7mKzYBlhiSfJABMzDxuhQf D2691E 2011 17 1154 ```
AliasAlreadyTaken was assigned by yourland-report 2024-03-16 20:30:27 +00:00
Member

Please mark this as prio/critical! :p

And I actually did look this up while making the dice...
Main "reason" for this, was that I had trouble wrapping my head around how to map param2 to "top" face value:

local param2_to_value = {
    1, 1, 1, 1,
    2, 3, 4, 5,
    4, 5, 2, 3,
    5, 2, 3, 4,
    3, 4, 5, 2,
    6, 6, 6, 6,
}

So, after I made this table, I just decided that it's good enough, and didn't bother swapping them...

Please mark this as `prio/critical`! :p And I actually did look this up while making the dice... Main "reason" for this, was that I had trouble wrapping my head around how to map param2 to "top" face value: ```lua local param2_to_value = { 1, 1, 1, 1, 2, 3, 4, 5, 4, 5, 2, 3, 5, 2, 3, 4, 3, 4, 5, 2, 6, 6, 6, 6, } ``` So, after I made this table, I just decided that it's good enough, and didn't bother swapping them...
AliasAlreadyTaken added the
1. kind/bug
2. prio/critical
1. kind/meme
labels 2024-03-16 22:49:49 +00:00
Member

dice didn't always have the same layout, but it's pretty universal in modern times.

https://en.wikipedia.org/wiki/File:9BFE00_-roman_lead_die_(FindID_103936).jpg

dice didn't always have the same layout, but it's pretty universal in modern times. https://en.wikipedia.org/wiki/File:9BFE00_-roman_lead_die_(FindID_103936).jpg
Member

Should be fixed in f803c97cc9
Thanks for fixing it, AspireMint!

If it's still wrong, blame AM ;)

Should be fixed in https://gitea.your-land.de/whosit/yl_dice/commit/f803c97cc92e0354ab9799ac13d3e5e6ccd1e091 Thanks for fixing it, AspireMint! If it's still wrong, blame AM ;)
whosit added the
4. step/ready to QA test
label 2024-03-19 20:20:04 +00:00
AliasAlreadyTaken added this to the 1.1.124 milestone 2024-03-19 21:46:35 +00:00
Member

note that there's two chiral variants of the "opposite sides sum to 7" restriction. i wouldn't worry about which is used, but i think one is more common.

note that there's two chiral variants of the "opposite sides sum to 7" restriction. i wouldn't worry about which is used, but i think one is more common.
AliasAlreadyTaken added the
ugh/QA OK
label 2024-04-22 12:20:39 +00:00
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#6504
No description provided.