alexandre2005 reports: Nether portal to go to the sho ... #6550

Closed
opened 2024-03-22 17:50:23 +00:00 by yourland-report · 2 comments

alexandre2005 reports a bug:

Nether portal to go to the showroom of old building competition is broken, it does not lead there but to the regular nether

Player position:

{
	y = 29623.5,
	z = -5358.9877929688,
	x = 10476.672851563
}

Player look:

{
	y = -0.6458575129509,
	z = -0.33084031939507,
	x = -0.68804997205734
}

Player information:

{
	max_rtt = 1.0349999666214,
	min_jitter = 0,
	max_jitter = 0.88499999046326,
	avg_jitter = 0.0010000001639128,
	connection_uptime = 2646,
	serialization_version = 29,
	patch = 0,
	minor = 8,
	formspec_version = 7,
	protocol_version = 42,
	major = 5,
	state = "Active",
	version_string = "5.8.0",
	avg_rtt = 0.028999999165535,
	lang_code = "",
	ip_version = 6,
	min_rtt = 0.026000000536442
}

Player meta:

{
	fields = {
		["stamina:poisoned"] = "no",
		yl_commons_thankyou = "73",
		["stamina:exhaustion"] = "29.5",
		played_time = "3700838",
		digged_nodes = "823303",
		placed_nodes = "372907",
		died = "191",
		crafted = "63080",
		yl_commons_player_created = "1620902771",
		jointime = "1620902771",
		bitten = "0",
		arenalib_infobox_arenaID = "0",
		["petz:old_override_table"] = "return {[\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"new_move\"] = true, [\"jump\"] = 1, [\"speed\"] = 1, [\"gravity\"] = 1}",
		["petz:werewolf_vignette_id"] = "19",
		punch_count = "48131",
		yl_commons_player_joined = "1711127182",
		["signslib:pos"] = "(1457,183,453)",
		["petz:lycanthropy"] = "0",
		["petz:werewolf_clan_idx"] = "2",
		partychat = "main",
		hud_state = "on",
		partypvp = "true",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		xp = "759295",
		["3d_armor_inventory"] = "return {\"shields:shield_crystal 1 19740\", \"petz:prince_north_coat 1 26460\", \"3d_armor:helmet_crystal 1 19740\", \"nether_mobs:dragon_boots 1 30480\", \"3d_armor:leggings_crystal 1 19740\", \"\"}",
		repellant = "0",
		yl_church = "return {[\"last_death\"] = {[\"z\"] = 422, [\"x\"] = 1437, [\"y\"] = 153}, [\"last_heal\"] = 1638658034, [\"last_death_portal\"] = 1699449157}",
		["petz:werewolf"] = "0",
		["stamina:level"] = "20",
		inflicted_damage = "590506"
	}
}

Log identifier


[MOD] yl_report log identifier = cxIeOIcY3PLHdvXUqpRrepdsGzcNrNsW

Profiler save:

profile-20240322T175023.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 6d 4h 21min 46s | max lag: 1.38s | clients (24/52): alexandre2005, AliasAlreadyTaken, Bailiff, Boot, Crazylad, Cryon, Davidsoft, flux, gianlp, hedwig, JACKOBY, joke15, kimberly12, laira, mahou, Murmel, nakama-ta, Nomtom, notzadok, playor, poppyasdan, pups, Service, Supercheese

Teleport command:

/teleport xyz 10477 29624 -5359

Compass command:

/give_compass Construction cxIeOIcY3PLHdvXUqpRrepdsGzcNrNsW D2691E 10477 29624 -5359
alexandre2005 reports a bug: > Nether portal to go to the showroom of old building competition is broken, it does not lead there but to the regular nether Player position: ``` { y = 29623.5, z = -5358.9877929688, x = 10476.672851563 } ``` Player look: ``` { y = -0.6458575129509, z = -0.33084031939507, x = -0.68804997205734 } ``` Player information: ``` { max_rtt = 1.0349999666214, min_jitter = 0, max_jitter = 0.88499999046326, avg_jitter = 0.0010000001639128, connection_uptime = 2646, serialization_version = 29, patch = 0, minor = 8, formspec_version = 7, protocol_version = 42, major = 5, state = "Active", version_string = "5.8.0", avg_rtt = 0.028999999165535, lang_code = "", ip_version = 6, min_rtt = 0.026000000536442 } ``` Player meta: ``` { fields = { ["stamina:poisoned"] = "no", yl_commons_thankyou = "73", ["stamina:exhaustion"] = "29.5", played_time = "3700838", digged_nodes = "823303", placed_nodes = "372907", died = "191", crafted = "63080", yl_commons_player_created = "1620902771", jointime = "1620902771", bitten = "0", arenalib_infobox_arenaID = "0", ["petz:old_override_table"] = "return {[\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"new_move\"] = true, [\"jump\"] = 1, [\"speed\"] = 1, [\"gravity\"] = 1}", ["petz:werewolf_vignette_id"] = "19", punch_count = "48131", yl_commons_player_joined = "1711127182", ["signslib:pos"] = "(1457,183,453)", ["petz:lycanthropy"] = "0", ["petz:werewolf_clan_idx"] = "2", partychat = "main", hud_state = "on", partypvp = "true", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", xp = "759295", ["3d_armor_inventory"] = "return {\"shields:shield_crystal 1 19740\", \"petz:prince_north_coat 1 26460\", \"3d_armor:helmet_crystal 1 19740\", \"nether_mobs:dragon_boots 1 30480\", \"3d_armor:leggings_crystal 1 19740\", \"\"}", repellant = "0", yl_church = "return {[\"last_death\"] = {[\"z\"] = 422, [\"x\"] = 1437, [\"y\"] = 153}, [\"last_heal\"] = 1638658034, [\"last_death_portal\"] = 1699449157}", ["petz:werewolf"] = "0", ["stamina:level"] = "20", inflicted_damage = "590506" } } ``` Log identifier ``` [MOD] yl_report log identifier = cxIeOIcY3PLHdvXUqpRrepdsGzcNrNsW ``` Profiler save: ``` profile-20240322T175023.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 6d 4h 21min 46s | max lag: 1.38s | clients (24/52): alexandre2005, AliasAlreadyTaken, Bailiff, Boot, Crazylad, Cryon, Davidsoft, flux, gianlp, hedwig, JACKOBY, joke15, kimberly12, laira, mahou, Murmel, nakama-ta, Nomtom, notzadok, playor, poppyasdan, pups, Service, Supercheese ``` Teleport command: ``` /teleport xyz 10477 29624 -5359 ``` Compass command: ``` /give_compass Construction cxIeOIcY3PLHdvXUqpRrepdsGzcNrNsW D2691E 10477 29624 -5359 ```
AliasAlreadyTaken was assigned by yourland-report 2024-03-22 17:50:23 +00:00
AliasAlreadyTaken added the
3. source/ingame
1. kind/bug
labels 2024-03-22 23:38:25 +00:00
Member

noting that one end of the portal is in the Playground @ around /teleport xyz 10477 11 -5359 and the other is in the Hall of Fame @ around /teleport xyz 10457 24895 -5368. there's a tunnel that's supposed to connect them @ /teleport xyz 10487 29773 -5366 but one of the portals there has been destroyed by wither explosions.

noting that one end of the portal is in the Playground @ around `/teleport xyz 10477 11 -5359` and the other is in the Hall of Fame @ around `/teleport xyz 10457 24895 -5368`. there's a tunnel that's supposed to connect them @ `/teleport xyz 10487 29773 -5366` but one of the portals there has been destroyed by wither explosions.
Member

i've created a snippet called "link_portals":

local playername = "rheo"

local portal1 = assert(worldedit.pos1[playername], "you must mark position 1 in the first portal using worldedit")
local meta1 = minetest.get_meta(portal1)
local pos11 = minetest.string_to_pos(meta1:get("p1"))
local pos12 = minetest.string_to_pos(meta1:get("p2"))
pos11, pos12 = pos11:sort(pos12)
local target1
if pos11.x == pos12.x then
 target1 = pos11:offset(0, 1, 1)
elseif pos11.z == pos12.z then
 target1 = pos11:offset(1, 1, 0)
end

local portal2 = assert(worldedit.pos2[playername], "you must mark position 2 in the second portal using worldedit")
local meta2 = minetest.get_meta(portal2)
local pos21 = minetest.string_to_pos(meta2:get("p1"))
local pos22 = minetest.string_to_pos(meta2:get("p2"))
pos21, pos22 = pos21:sort(pos22)
local target2
if pos21.x == pos22.x then
 target2 = pos21:offset(0, 1, 1)
elseif pos21.z == pos22.z then
 target2 = pos21:offset(1, 1, 0)
end

local va1 = VoxelArea(pos11, pos12)
for i in va1:iterp(pos11, pos12) do
 local p = va1:position(i)
 local meta = minetest.get_meta(p)
 meta:set_string("target", minetest.pos_to_string(target2))
end

local va2 = VoxelArea(pos21, pos22)
for i in va2:iterp(pos21, pos22) do
 local p = va2:position(i)
 local meta = minetest.get_meta(p)
 meta:set_string("target", minetest.pos_to_string(target1))
end

to use this,

  1. both portals must be active
  2. mark any position in the frame of one portal with worldedit's pos1
  3. mark any position in the frame of the other portal with worldedit's pos2
  4. make sure the playername on the first line is correct
  5. run the snippet
  6. run //rst so that you don't accidentally do something else w/ worldedit on that region

caveat: the other portals that the two portals were previously connected to will not be disconnected - they'll still send players where they did previously.

the playground is now connected to the hall of fame though. we could also use this to connect the netherlands portal directly from the surface to the city, if we wanted to.

i've created a snippet called "link_portals": ```lua local playername = "rheo" local portal1 = assert(worldedit.pos1[playername], "you must mark position 1 in the first portal using worldedit") local meta1 = minetest.get_meta(portal1) local pos11 = minetest.string_to_pos(meta1:get("p1")) local pos12 = minetest.string_to_pos(meta1:get("p2")) pos11, pos12 = pos11:sort(pos12) local target1 if pos11.x == pos12.x then target1 = pos11:offset(0, 1, 1) elseif pos11.z == pos12.z then target1 = pos11:offset(1, 1, 0) end local portal2 = assert(worldedit.pos2[playername], "you must mark position 2 in the second portal using worldedit") local meta2 = minetest.get_meta(portal2) local pos21 = minetest.string_to_pos(meta2:get("p1")) local pos22 = minetest.string_to_pos(meta2:get("p2")) pos21, pos22 = pos21:sort(pos22) local target2 if pos21.x == pos22.x then target2 = pos21:offset(0, 1, 1) elseif pos21.z == pos22.z then target2 = pos21:offset(1, 1, 0) end local va1 = VoxelArea(pos11, pos12) for i in va1:iterp(pos11, pos12) do local p = va1:position(i) local meta = minetest.get_meta(p) meta:set_string("target", minetest.pos_to_string(target2)) end local va2 = VoxelArea(pos21, pos22) for i in va2:iterp(pos21, pos22) do local p = va2:position(i) local meta = minetest.get_meta(p) meta:set_string("target", minetest.pos_to_string(target1)) end ``` to use this, 1. both portals must be active 1. mark any position in the frame of one portal with worldedit's pos1 1. mark any position in the frame of the other portal with worldedit's pos2 1. make sure the playername on the first line is correct 1. run the snippet 1. run `//rst` so that you don't accidentally do something else w/ worldedit on that region caveat: the other portals that the two portals were previously connected to will not be disconnected - they'll still send players where they did previously. the playground is now connected to the hall of fame though. we could also use this to connect the netherlands portal directly from the surface to the city, if we wanted to.
flux closed this issue 2024-03-25 20:33:52 +00:00
flux added the
5. result/fixed
label 2024-03-25 20:36:15 +00:00
AliasAlreadyTaken was unassigned by flux 2024-03-25 20:36:17 +00:00
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#6550
No description provided.