Bla reports: [lag] opening/closing a castle ... #1093

Open
opened 2021-11-24 18:44:48 +01:00 by yourland-report · 3 comments

Bla reports a bug:

[lag] opening/closing a castlegate produces atleast chatlag

Player position:

{
	y = 14.5,
	x = 2192.9631347656,
	z = 1154.5809326172
}

Player look:

{
	y = 0.17175717651844,
	x = -0.98496109247208,
	z = -0.018737560138106
}

Player information:

{
	min_rtt = 0.035000000149012,
	max_rtt = 1.8730000257492,
	connection_uptime = 37620,
	max_jitter = 1.4700000286102,
	minor = 5,
	major = 5,
	ip_version = 6,
	formspec_version = 4,
	patch = 0,
	protocol_version = 39,
	serialization_version = 28,
	lang_code = "",
	version_string = "5.5.0-dev-02292e03e-dirty",
	avg_rtt = 0.037000000476837,
	state = "Active",
	avg_jitter = 0.0029999986290932,
	min_jitter = 0
}

Player meta:

{
	fields = {
		["3d_armor_inventory"] = "return {\"3d_armor:chestplate_crystal 1 18560\", \"shields:shield_crystal 1 18560\", \"3d_armor:helmet_crystal 1 18560\", \"3d_armor:boots_crystal 1 16320\", \"3d_armor:leggings_crystal 1 18560\", \"\"}",
		played_time = "1130779",
		jointime = "1635266646",
		yl_commons_player_joined = "1637738310",
		["signslib:pos"] = "(-484,12,1463)",
		digged_nodes = "99603",
		bitten = "0",
		["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		partychat = "party",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 24, [\"x\"] = 6076, [\"z\"] = 5857}, [\"last_heal\"] = 1635970005, [\"last_death_portal\"] = 1637313242}",
		["stamina:level"] = "15",
		punch_count = "5594",
		arenalib_infobox_arenaID = "0",
		inflicted_damage = "96824",
		crafted = "2834",
		placed_nodes = "16840",
		xp = "87441",
		yl_commons_thankyou = "35",
		died = "31",
		hud_state = "on",
		repellant = "0",
		yl_commons_player_created = "1635266646"
	}
}

Log identifier


[MOD] yl_report log identifier = Wd1xr0T63J2eA0ZOjkqR7XkSKYQ0Rqo9

Profiler save:

profile-20211124T184447.json_pretty

Status:

# Server: version=5.4.1-yl, uptime=363466, max_lag=13.1108, clients={kilvbz, Shivnu, alexandre2005, Ozmodiar, ccady, Cutieplayz, Styxcolor, _DRAGON_, bizon, Bond007, Bla, Bailiff, Service, AliasAlreadyTaken}

Teleport command:

/teleport xyz 2193 15 1155

Compass command:

/give_compass Construction Wd1xr0T63J2eA0ZOjkqR7XkSKYQ0Rqo9 D2691E 2193 15 1155
Bla reports a bug: > [lag] opening/closing a castlegate produces atleast chatlag Player position: ``` { y = 14.5, x = 2192.9631347656, z = 1154.5809326172 } ``` Player look: ``` { y = 0.17175717651844, x = -0.98496109247208, z = -0.018737560138106 } ``` Player information: ``` { min_rtt = 0.035000000149012, max_rtt = 1.8730000257492, connection_uptime = 37620, max_jitter = 1.4700000286102, minor = 5, major = 5, ip_version = 6, formspec_version = 4, patch = 0, protocol_version = 39, serialization_version = 28, lang_code = "", version_string = "5.5.0-dev-02292e03e-dirty", avg_rtt = 0.037000000476837, state = "Active", avg_jitter = 0.0029999986290932, min_jitter = 0 } ``` Player meta: ``` { fields = { ["3d_armor_inventory"] = "return {\"3d_armor:chestplate_crystal 1 18560\", \"shields:shield_crystal 1 18560\", \"3d_armor:helmet_crystal 1 18560\", \"3d_armor:boots_crystal 1 16320\", \"3d_armor:leggings_crystal 1 18560\", \"\"}", played_time = "1130779", jointime = "1635266646", yl_commons_player_joined = "1637738310", ["signslib:pos"] = "(-484,12,1463)", digged_nodes = "99603", bitten = "0", ["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", partychat = "party", yl_church = "return {[\"last_death\"] = {[\"y\"] = 24, [\"x\"] = 6076, [\"z\"] = 5857}, [\"last_heal\"] = 1635970005, [\"last_death_portal\"] = 1637313242}", ["stamina:level"] = "15", punch_count = "5594", arenalib_infobox_arenaID = "0", inflicted_damage = "96824", crafted = "2834", placed_nodes = "16840", xp = "87441", yl_commons_thankyou = "35", died = "31", hud_state = "on", repellant = "0", yl_commons_player_created = "1635266646" } } ``` Log identifier ``` [MOD] yl_report log identifier = Wd1xr0T63J2eA0ZOjkqR7XkSKYQ0Rqo9 ``` Profiler save: ``` profile-20211124T184447.json_pretty ``` Status: ``` # Server: version=5.4.1-yl, uptime=363466, max_lag=13.1108, clients={kilvbz, Shivnu, alexandre2005, Ozmodiar, ccady, Cutieplayz, Styxcolor, _DRAGON_, bizon, Bond007, Bla, Bailiff, Service, AliasAlreadyTaken} ``` Teleport command: ``` /teleport xyz 2193 15 1155 ``` Compass command: ``` /give_compass Construction Wd1xr0T63J2eA0ZOjkqR7XkSKYQ0Rqo9 D2691E 2193 15 1155 ```
AliasAlreadyTaken was assigned by yourland-report 2021-11-24 18:44:48 +01:00
Styxcolor added the
1. kind/bug
label 2021-11-25 22:30:55 +01:00
Owner

it's a known bug, but still a bug.

it's a known bug, but still a bug.
Member

no idea what a good fix for this would look like, here's one idea:

  1. invoking a gate to move transforms the gate into an entity
  2. make the entity move
  3. when it gets to the target location, transform the entity back into nodes

note that you'd have to account for nodes that might be placed in the target location while the gate is in transit. i think an acceptable solution would be to just break the nodes and turn them into item entities.

this is, of course, not a trivial thing to do, and will also make lag, though probably noticably less.

no idea what a good fix for this would look like, here's one idea: 1. invoking a gate to move transforms the gate into an entity 2. make the entity move 3. when it gets to the target location, transform the entity back into nodes note that you'd have to account for nodes that might be placed in the target location while the gate is in transit. i think an acceptable solution would be to just break the nodes and turn them into item entities. this is, of course, not a trivial thing to do, and will also make lag, though probably noticably less.
flux added the
3. source/lag
label 2022-05-29 02:38:15 +02:00
Member

from what i can see, "moving a gate" involves "removing" and then "placing" every node in the gate, every step, even if the node at that location doesn't change. fixing that might help a lot.

from what i can see, "moving a gate" involves "removing" and then "placing" every node in the gate, every step, even if the node at that location doesn't change. fixing that might help a lot.
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#1093
No description provided.