mrminer reports: luac print statements dont wor ... #5079

Open
opened 2023-08-07 23:05:05 +00:00 by yourland-report · 2 comments

mrminer reports a bug:

luac print statements dont work... its so hard to debug luac

Player position:

{
	z = 424.87701416016,
	x = 3348.2768554688,
	y = 83.5
}

Player look:

{
	z = 0.60697287321091,
	x = 0.47661271691322,
	y = -0.6359435915947
}

Player information:

{
	protocol_version = 42,
	ip_version = 6,
	min_rtt = 0.11299999803305,
	avg_rtt = 0.12800000607967,
	min_jitter = 0,
	max_jitter = 1.5379999876022,
	avg_jitter = 0.0080000087618828,
	connection_uptime = 3974,
	serialization_version = 29,
	patch = 0,
	max_rtt = 1.6679999828339,
	lang_code = "",
	state = "Active",
	formspec_version = 6,
	minor = 7,
	major = 5,
	version_string = "5.7.0"
}

Player meta:

{
	fields = {
		yl_commons_thankyou = "76",
		["petz:werewolf"] = "0",
		yl_commons_player_created = "1646186882",
		["petz:lycanthropy"] = "0",
		partychat = "main",
		xp = "61512",
		played_time = "3756063",
		punch_count = "24971",
		placed_nodes = "54971",
		inflicted_damage = "516740",
		crafted = "39553",
		["petz:werewolf_clan_idx"] = "4",
		jointime = "1646186882",
		bitten = "0",
		["hud_manager:choppy:waypoint_enabled"] = "y",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_nether 1 24380\", \"3d_armor:chestplate_crystal 1 24380\", \"3d_armor:leggings_crystal 1 24380\", \"shields:shield_crystal 1 24380\", \"3d_armor:boots_crystal 1 24380\", \"\"}",
		yl_commons_player_joined = "1691445547",
		["signslib:pos"] = "(1886,-30900,1414)",
		["ocean_build.last_warning"] = "1.6733e+09",
		repellant = "0",
		["ocean_build.ocean_built"] = "12",
		["ocean_build.forbidden"] = "true",
		["petz:werewolf_vignette_id"] = "19",
		arenalib_watchID = "0",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"jump\"] = 1.5, [\"gravity\"] = 1, [\"sneak_glitch\"] = false, [\"speed\"] = 2, [\"sneak\"] = true}",
		yl_church = "return {[\"last_heal\"] = 1677356984, [\"last_death_portal\"] = 1691381598, [\"last_death\"] = {[\"z\"] = 1420, [\"x\"] = 1887, [\"y\"] = -30902}}",
		digged_nodes = "142707",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		arenalib_infobox_arenaID = "0",
		["stamina:level"] = "12",
		hud_state = "on",
		["stamina:poisoned"] = "no",
		died = "667",
		["stamina:exhaustion"] = "58.5"
	}
}

Log identifier


[MOD] yl_report log identifier = WxQiyPwElSBG8bnmJfs5BCt9NeDVp4hQ

Profiler save:

profile-20230807T230505.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 1d 2h 15min 11s | max lag: 0.261s | clients (19/52): AliasAlreadyTaken, Boot, daydream, Dirac, flux, Garag_Enthor, Goldberry, Januszowa, Kenneth, Korx, LCB, MicaelStarfire, mindfrost, mrminer, NodeBreaker, Oakenshield, Penelopee, Service, shanish2

Teleport command:

/teleport xyz 3348 84 425

Compass command:

/give_compass Construction WxQiyPwElSBG8bnmJfs5BCt9NeDVp4hQ D2691E 3348 84 425
mrminer reports a bug: > luac print statements dont work... its so hard to debug luac Player position: ``` { z = 424.87701416016, x = 3348.2768554688, y = 83.5 } ``` Player look: ``` { z = 0.60697287321091, x = 0.47661271691322, y = -0.6359435915947 } ``` Player information: ``` { protocol_version = 42, ip_version = 6, min_rtt = 0.11299999803305, avg_rtt = 0.12800000607967, min_jitter = 0, max_jitter = 1.5379999876022, avg_jitter = 0.0080000087618828, connection_uptime = 3974, serialization_version = 29, patch = 0, max_rtt = 1.6679999828339, lang_code = "", state = "Active", formspec_version = 6, minor = 7, major = 5, version_string = "5.7.0" } ``` Player meta: ``` { fields = { yl_commons_thankyou = "76", ["petz:werewolf"] = "0", yl_commons_player_created = "1646186882", ["petz:lycanthropy"] = "0", partychat = "main", xp = "61512", played_time = "3756063", punch_count = "24971", placed_nodes = "54971", inflicted_damage = "516740", crafted = "39553", ["petz:werewolf_clan_idx"] = "4", jointime = "1646186882", bitten = "0", ["hud_manager:choppy:waypoint_enabled"] = "y", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_nether 1 24380\", \"3d_armor:chestplate_crystal 1 24380\", \"3d_armor:leggings_crystal 1 24380\", \"shields:shield_crystal 1 24380\", \"3d_armor:boots_crystal 1 24380\", \"\"}", yl_commons_player_joined = "1691445547", ["signslib:pos"] = "(1886,-30900,1414)", ["ocean_build.last_warning"] = "1.6733e+09", repellant = "0", ["ocean_build.ocean_built"] = "12", ["ocean_build.forbidden"] = "true", ["petz:werewolf_vignette_id"] = "19", arenalib_watchID = "0", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"jump\"] = 1.5, [\"gravity\"] = 1, [\"sneak_glitch\"] = false, [\"speed\"] = 2, [\"sneak\"] = true}", yl_church = "return {[\"last_heal\"] = 1677356984, [\"last_death_portal\"] = 1691381598, [\"last_death\"] = {[\"z\"] = 1420, [\"x\"] = 1887, [\"y\"] = -30902}}", digged_nodes = "142707", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", arenalib_infobox_arenaID = "0", ["stamina:level"] = "12", hud_state = "on", ["stamina:poisoned"] = "no", died = "667", ["stamina:exhaustion"] = "58.5" } } ``` Log identifier ``` [MOD] yl_report log identifier = WxQiyPwElSBG8bnmJfs5BCt9NeDVp4hQ ``` Profiler save: ``` profile-20230807T230505.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 1d 2h 15min 11s | max lag: 0.261s | clients (19/52): AliasAlreadyTaken, Boot, daydream, Dirac, flux, Garag_Enthor, Goldberry, Januszowa, Kenneth, Korx, LCB, MicaelStarfire, mindfrost, mrminer, NodeBreaker, Oakenshield, Penelopee, Service, shanish2 ``` Teleport command: ``` /teleport xyz 3348 84 425 ``` Compass command: ``` /give_compass Construction WxQiyPwElSBG8bnmJfs5BCt9NeDVp4hQ D2691E 3348 84 425 ```
AliasAlreadyTaken was assigned by yourland-report 2023-08-07 23:05:05 +00:00
Member

i mean, they "work" in that they print messages to the server log...

i mean, they "work" in that they print messages to the server log...
flux added the
1. kind/enhancement
3. source/mod upstream
labels 2023-08-09 04:23:58 +00:00
Member

i mean, they "work" in that they print messages to the server log...

oh right we fixed that, #3027.

giving the luac some sort of debug output would be useful for everyone

> i mean, they "work" in that they print messages to the server log... oh right we fixed that, #3027. giving the luac some sort of debug output would be useful for everyone
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#5079
No description provided.