Moji reports: Make the print() function in t ... #3027

Closed
opened 2022-11-13 15:56:39 +00:00 by yourland-report · 6 comments

Moji reports a bug:

Make the print() function in the luacontroller not spam the server log

Player position:

{
	x = 7215.97265625,
	y = 85.5,
	z = 1082.4210205078
}

Player look:

{
	x = -0.98742473125458,
	y = -0.092196799814701,
	z = 0.12842217087746
}

Player information:

{
	lang_code = "",
	state = "Active",
	protocol_version = 40,
	min_rtt = 0.010999999940395,
	avg_rtt = 0.016000000759959,
	min_jitter = 0,
	max_jitter = 0.20100000500679,
	avg_jitter = 0.0039999987930059,
	max_rtt = 0.21500000357628,
	patch = 0,
	formspec_version = 5,
	version_string = "5.6.0-dev-ad1da99",
	ip_version = 6,
	connection_uptime = 1316,
	serialization_version = 29,
	major = 5,
	minor = 6
}

Player meta:

{
	fields = {
		["ocean_build.last_warning"] = "1.66766e+09",
		["ocean_build.forbidden"] = "true",
		["ocean_build.ocean_built"] = "12",
		["signslib:pos"] = "(7217,87,1090)",
		yl_commons_player_created = "1624968168",
		played_time = "1029569",
		xp = "142266",
		yl_church = "return {[\"last_heal\"] = 1651941145, [\"last_death_portal\"] = 1668274845, [\"last_death\"] = {[\"x\"] = 7245, [\"y\"] = -2294, [\"z\"] = 1128}}",
		died = "190",
		hud_state = "on",
		crafted = "4746",
		arenalib_infobox_arenaID = "0",
		partychat = "party",
		yl_commons_player_joined = "1668353697",
		partypvp = "true",
		["stamina:poisoned"] = "no",
		digged_nodes = "209515",
		["stamina:level"] = "6",
		repellant = "0",
		punch_count = "16286",
		inflicted_damage = "222032",
		["stamina:exhaustion"] = "131.5",
		placed_nodes = "57406",
		yl_commons_thankyou = "4",
		jointime = "1624968168",
		bitten = "0",
		["3d_armor_inventory"] = "return {\"shields:shield_rainbow 1 20038\", \"3d_armor:chestplate_crystal 1 20375\", \"3d_armor:helmet_crystal 1 20035\", \"3d_armor:leggings_crystal 1 20375\", \"3d_armor:boots_crystal 1 9180\", \"\"}",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}"
	}
}

Log identifier


[MOD] yl_report log identifier = bDgzSvoyQ0FZLUh6XKYZ5f80SAlBlydb

Profiler save:

profile-20221113T155639.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 42min 13s | max lag: 2.29s | clients (19/42): AliasAlreadyTaken, Antrica, Bailiff, darealbang, Dragoni_is_bored, Ecklair, flux, Greater_Dog, Lemonpurple, Minetest13, Miri, Moji, Murmel, Parrish, rabenkind, rheo, Service, sherkhan30452, WKayizking

Teleport command:

/teleport xyz 7216 86 1082

Compass command:

/give_compass Construction bDgzSvoyQ0FZLUh6XKYZ5f80SAlBlydb D2691E 7216 86 1082
Moji reports a bug: > Make the print() function in the luacontroller not spam the server log Player position: ``` { x = 7215.97265625, y = 85.5, z = 1082.4210205078 } ``` Player look: ``` { x = -0.98742473125458, y = -0.092196799814701, z = 0.12842217087746 } ``` Player information: ``` { lang_code = "", state = "Active", protocol_version = 40, min_rtt = 0.010999999940395, avg_rtt = 0.016000000759959, min_jitter = 0, max_jitter = 0.20100000500679, avg_jitter = 0.0039999987930059, max_rtt = 0.21500000357628, patch = 0, formspec_version = 5, version_string = "5.6.0-dev-ad1da99", ip_version = 6, connection_uptime = 1316, serialization_version = 29, major = 5, minor = 6 } ``` Player meta: ``` { fields = { ["ocean_build.last_warning"] = "1.66766e+09", ["ocean_build.forbidden"] = "true", ["ocean_build.ocean_built"] = "12", ["signslib:pos"] = "(7217,87,1090)", yl_commons_player_created = "1624968168", played_time = "1029569", xp = "142266", yl_church = "return {[\"last_heal\"] = 1651941145, [\"last_death_portal\"] = 1668274845, [\"last_death\"] = {[\"x\"] = 7245, [\"y\"] = -2294, [\"z\"] = 1128}}", died = "190", hud_state = "on", crafted = "4746", arenalib_infobox_arenaID = "0", partychat = "party", yl_commons_player_joined = "1668353697", partypvp = "true", ["stamina:poisoned"] = "no", digged_nodes = "209515", ["stamina:level"] = "6", repellant = "0", punch_count = "16286", inflicted_damage = "222032", ["stamina:exhaustion"] = "131.5", placed_nodes = "57406", yl_commons_thankyou = "4", jointime = "1624968168", bitten = "0", ["3d_armor_inventory"] = "return {\"shields:shield_rainbow 1 20038\", \"3d_armor:chestplate_crystal 1 20375\", \"3d_armor:helmet_crystal 1 20035\", \"3d_armor:leggings_crystal 1 20375\", \"3d_armor:boots_crystal 1 9180\", \"\"}", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}" } } ``` Log identifier ``` [MOD] yl_report log identifier = bDgzSvoyQ0FZLUh6XKYZ5f80SAlBlydb ``` Profiler save: ``` profile-20221113T155639.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 42min 13s | max lag: 2.29s | clients (19/42): AliasAlreadyTaken, Antrica, Bailiff, darealbang, Dragoni_is_bored, Ecklair, flux, Greater_Dog, Lemonpurple, Minetest13, Miri, Moji, Murmel, Parrish, rabenkind, rheo, Service, sherkhan30452, WKayizking ``` Teleport command: ``` /teleport xyz 7216 86 1082 ``` Compass command: ``` /give_compass Construction bDgzSvoyQ0FZLUh6XKYZ5f80SAlBlydb D2691E 7216 86 1082 ```
AliasAlreadyTaken was assigned by yourland-report 2022-11-13 15:56:39 +00:00

local function safe_print(param) in mesecons/mesecons_luacontroller/init.lua
Thats where the function is

local function safe_print(param) in mesecons/mesecons_luacontroller/init.lua Thats where the function is
flux added the
1. kind/enhancement
3. source/mod upstream
2. prio/elevated
labels 2022-11-14 17:05:48 +00:00
flux added this to the flux's TODO list project 2022-11-14 17:05:57 +00:00
Member

upstream issue https://github.com/minetest-mods/mesecons/issues/626

trying to gauge upstream sentiment before creating a PR.

upstream issue https://github.com/minetest-mods/mesecons/issues/626 trying to gauge upstream sentiment before creating a PR.
Member
upstream PR: https://github.com/minetest-mods/mesecons/pull/633
flux added the
4. step/blocked
label 2023-02-19 23:36:54 +00:00
flux added
4. step/ready to QA test
and removed
4. step/blocked
labels 2023-02-23 20:18:58 +00:00
Member

upstream was merged

upstream was merged
AliasAlreadyTaken added this to the 1.1.118 milestone 2023-02-24 02:58:04 +00:00
AliasAlreadyTaken added the
ugh/QA OK
label 2023-04-16 04:48:59 +00:00
Member

as i can't see the server log, i can't tell if this is live. the setting is live though.

as i can't see the server log, i can't tell if this is live. the setting is live though.

Works :)

Works :)
AliasAlreadyTaken added
5. result/fixed
and removed
4. step/ready to QA test
labels 2023-04-26 02:56:03 +00:00
flux removed this from the flux's TODO list project 2023-05-02 20:38:12 +00:00
AliasAlreadyTaken was unassigned by flux 2023-05-02 20:38:16 +00:00
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#3027
No description provided.