AliasAlreadyTaken reports: Add logging to lvlup ... #4729

Closed
opened 2023-06-10 02:26:11 +00:00 by yourland-report · 10 comments

AliasAlreadyTaken reports a bug:

Add logging to lvlup

Player position:

{
	x = 1966.7750244141,
	y = 17.5,
	z = 1168.5539550781
}

Player look:

{
	x = 0.2641664147377,
	y = -0.27546960115433,
	z = 0.92430114746094
}

Player information:

{
	major = 5,
	version_string = "5.8.0-yl_dev-553dc02de",
	max_rtt = 0.37200000882149,
	formspec_version = 6,
	lang_code = "de",
	min_rtt = 0.017000000923872,
	avg_rtt = 0.018999999389052,
	min_jitter = 0,
	max_jitter = 0.3289999961853,
	avg_jitter = 0,
	connection_uptime = 8958,
	serialization_version = 29,
	patch = 0,
	minor = 8,
	state = "Active",
	ip_version = 6,
	protocol_version = 42
}

Player meta:

{
	fields = {
		["arena_lib_editor.players_number"] = "0",
		["arena_lib_editor.team_ID"] = "0",
		yl_commons_player_joined = "1686355026",
		repellant = "0",
		yl_commons_thankyou = "1037",
		["petz:werewolf_vignette_id"] = "19",
		szutil_watch = "return {}",
		["arena_lib_editor.spawner_ID"] = "0",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		["ethereal:fly_timer"] = "-99",
		digged_nodes = "139983",
		placed_nodes = "180522",
		died = "1590",
		punch_count = "64119",
		inflicted_damage = "2875502",
		xp = "0",
		["stamina:poisoned"] = "no",
		["stamina:exhaustion"] = "104.5",
		hud_state = "on",
		["petz:lycanthropy"] = "0",
		["ocean_build.forbidden"] = "true",
		["ocean_build.ocean_built"] = "12",
		["signslib:pos"] = "(2014,17,1153)",
		team = "STAFF",
		["ocean_build.last_warning"] = "1.67421e+09",
		["petz:old_override_table"] = "return {[\"speed\"] = 1, [\"new_move\"] = true, [\"sneak_glitch\"] = false, [\"gravity\"] = 1, [\"jump\"] = 1, [\"sneak\"] = true}",
		xp_redo_hud_color = "0xFFFF00",
		yl_church = "return {[\"last_death\"] = {[\"z\"] = 1710, [\"x\"] = 2032, [\"y\"] = 34}, [\"last_death_portal\"] = 1683839371, [\"last_heal\"] = 1683837139}",
		played_time = "82987191",
		["sethome:home"] = "(1983.4349365234,17.5,1183.5950927734)",
		crafted = "4778",
		["petz:werewolf_clan_idx"] = "4",
		yl_audio_state = "off",
		arenalib_infobox_arenaID = "0",
		partychat = "party",
		["petz:werewolf"] = "0",
		["stamina:level"] = "0",
		lagometer = "1",
		arenalib_watchID = "0",
		["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}",
		bitten = "0"
	}
}

Log identifier


[MOD] yl_report log identifier = wfL1NH0VzMKOP2tKa4aCwph30HNRT3UR

Profiler save:

profile-20230610T022611.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 1d 5h 25min 15s | max lag: 1.36s | clients (14/52): AliasAlreadyTaken, Bailiff, Buzz, carrots1234, Dirac, flux, jackofthebean000, Jayson100, mahou, Oakenshield, Penelopee, Service, shanish2, Sokomine

Teleport command:

/teleport xyz 1967 18 1169

Compass command:

/give_compass Construction wfL1NH0VzMKOP2tKa4aCwph30HNRT3UR D2691E 1967 18 1169
AliasAlreadyTaken reports a bug: > Add logging to lvlup Player position: ``` { x = 1966.7750244141, y = 17.5, z = 1168.5539550781 } ``` Player look: ``` { x = 0.2641664147377, y = -0.27546960115433, z = 0.92430114746094 } ``` Player information: ``` { major = 5, version_string = "5.8.0-yl_dev-553dc02de", max_rtt = 0.37200000882149, formspec_version = 6, lang_code = "de", min_rtt = 0.017000000923872, avg_rtt = 0.018999999389052, min_jitter = 0, max_jitter = 0.3289999961853, avg_jitter = 0, connection_uptime = 8958, serialization_version = 29, patch = 0, minor = 8, state = "Active", ip_version = 6, protocol_version = 42 } ``` Player meta: ``` { fields = { ["arena_lib_editor.players_number"] = "0", ["arena_lib_editor.team_ID"] = "0", yl_commons_player_joined = "1686355026", repellant = "0", yl_commons_thankyou = "1037", ["petz:werewolf_vignette_id"] = "19", szutil_watch = "return {}", ["arena_lib_editor.spawner_ID"] = "0", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", ["ethereal:fly_timer"] = "-99", digged_nodes = "139983", placed_nodes = "180522", died = "1590", punch_count = "64119", inflicted_damage = "2875502", xp = "0", ["stamina:poisoned"] = "no", ["stamina:exhaustion"] = "104.5", hud_state = "on", ["petz:lycanthropy"] = "0", ["ocean_build.forbidden"] = "true", ["ocean_build.ocean_built"] = "12", ["signslib:pos"] = "(2014,17,1153)", team = "STAFF", ["ocean_build.last_warning"] = "1.67421e+09", ["petz:old_override_table"] = "return {[\"speed\"] = 1, [\"new_move\"] = true, [\"sneak_glitch\"] = false, [\"gravity\"] = 1, [\"jump\"] = 1, [\"sneak\"] = true}", xp_redo_hud_color = "0xFFFF00", yl_church = "return {[\"last_death\"] = {[\"z\"] = 1710, [\"x\"] = 2032, [\"y\"] = 34}, [\"last_death_portal\"] = 1683839371, [\"last_heal\"] = 1683837139}", played_time = "82987191", ["sethome:home"] = "(1983.4349365234,17.5,1183.5950927734)", crafted = "4778", ["petz:werewolf_clan_idx"] = "4", yl_audio_state = "off", arenalib_infobox_arenaID = "0", partychat = "party", ["petz:werewolf"] = "0", ["stamina:level"] = "0", lagometer = "1", arenalib_watchID = "0", ["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}", bitten = "0" } } ``` Log identifier ``` [MOD] yl_report log identifier = wfL1NH0VzMKOP2tKa4aCwph30HNRT3UR ``` Profiler save: ``` profile-20230610T022611.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 1d 5h 25min 15s | max lag: 1.36s | clients (14/52): AliasAlreadyTaken, Bailiff, Buzz, carrots1234, Dirac, flux, jackofthebean000, Jayson100, mahou, Oakenshield, Penelopee, Service, shanish2, Sokomine ``` Teleport command: ``` /teleport xyz 1967 18 1169 ``` Compass command: ``` /give_compass Construction wfL1NH0VzMKOP2tKa4aCwph30HNRT3UR D2691E 1967 18 1169 ```
AliasAlreadyTaken was assigned by yourland-report 2023-06-10 02:26:11 +00:00
flux added the
1. kind/enhancement
4. step/question
labels 2023-06-10 02:54:28 +00:00
Member

perhaps every XP gaining action and result should be logged?

perhaps every XP gaining action and result should be logged?

At least those that result from other actions than placement, crafting or digging. xp coins are already logged and quests are usually logged as well. Killing mobs need to be logged and level ups. What else may be of interest?

At least those that result from other actions than placement, crafting or digging. xp coins are already logged and quests are usually logged as well. Killing mobs need to be logged and level ups. What else may be of interest?
Member

Make that level up history available to players? Only to the players themshelves of course. And won't work for past levelups.

Make that level up history available to players? Only to the players themshelves of course. And won't work for past levelups.
Member

log xp and level up events: 979d3d948a

At least those that result from other actions than placement, crafting or digging.

it's easier just to log them all, if it's too spammy, we can change it later.

Make that level up history available to players? Only to the players themshelves of course. And won't work for past levelups.

i don't understand. players already get a notice when they level up?

log xp and level up events: https://gitea.your-land.de/your-land/xp_redo/commit/979d3d948adf268054bd27fe256283f7c2e9925f > At least those that result from other actions than placement, crafting or digging. it's easier just to log them all, if it's too spammy, we can change it later. > Make that level up history available to players? Only to the players themshelves of course. And won't work for past levelups. i don't understand. players already get a notice when they level up?
flux added
4. step/ready to QA test
and removed
4. step/question
labels 2023-06-10 19:04:49 +00:00
AliasAlreadyTaken added this to the 1.1.120 milestone 2023-06-10 20:14:09 +00:00

QA: Nice!

QA: Nice!
AliasAlreadyTaken added the
ugh/QA OK
label 2023-08-26 07:11:39 +00:00
Member

flux wrote:

i don't understand. players already get a notice when they level up?

I'd like to have a history. Like: On 1.04.21, you reached level 1. On 20.04.21 level 10 etc.

Might be intresting for players.

flux wrote: > i don't understand. players already get a notice when they level up? I'd like to have a history. Like: On 1.04.21, you reached level 1. On 20.04.21 level 10 etc. Might be intresting for players.

That may be a nice feature, worth a new issue. This one exclusively deals with writing levelups to log. Minetest does not have native database access apart from few and inconvenient API, storing values on players is always a costly undertaking atm.

That may be a nice feature, worth a new issue. This one exclusively deals with writing levelups to log. Minetest does not have native database access apart from few and inconvenient API, storing values on players is always a costly undertaking atm.
Member

That may be a nice feature, worth a new issue.

#5435

> That may be a nice feature, worth a new issue. #5435
flux added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-11-16 22:59:12 +00:00
AliasAlreadyTaken was unassigned by flux 2023-11-16 22:59:16 +00:00
Member

assuming this is live, though i can't see the logs.

assuming this is live, though i can't see the logs.
flux closed this issue 2023-11-16 22:59:28 +00:00

From log: Yes, it's live. This already helped find issues with xp

From log: Yes, it's live. This already helped find issues with xp
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#4729
No description provided.