flux reports: /area_xp_set_min - this comman ... #6217

Open
opened 2024-02-04 01:26:44 +00:00 by yourland-report · 10 comments

flux reports a bug:

/area_xp_set_min - this command can apparently be run by any player. do we want it accessible?

Player position:

{
	x = 1289,
	y = 47.700000762939,
	z = 624
}

Player look:

{
	x = -0.30788442492485,
	y = -0.72944635152817,
	z = -0.61083155870438
}

Player information:

{
	state = "Active",
	protocol_version = 42,
	connection_uptime = 10790,
	ip_version = 6,
	min_rtt = 0.16899999976158,
	avg_rtt = 0.17800000309944,
	min_jitter = 0,
	max_jitter = 3.6349999904633,
	avg_jitter = 0.0010000020265579,
	max_rtt = 3.8129999637604,
	lang_code = "",
	patch = 0,
	minor = 9,
	major = 5,
	formspec_version = 7,
	serialization_version = 29,
	version_string = "5.9.0-dev-454dd8576-dirty"
}

Player meta:

{
	fields = {
		played_time = "46727534",
		jointime = "1615351173",
		bitten = "0",
		hud_state = "off",
		yl_commons_thankyou = "375",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_party 1 2400\", \"3d_armor:leggings_rainbow 1 12624\", \"shields:shield_rainbow 1 12624\", \"3d_armor:chestplate_party 1 2400\", \"nether_mobs:dragon_boots 1 6280\", \"\"}",
		["petz:werewolf_clan_idx"] = "1",
		inflicted_damage = "6487098",
		["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}",
		["signslib:pos"] = "(1273,10,516)",
		["stamina:exhaustion"] = "65",
		["petz:werewolf"] = "0",
		hotbar_size = "16",
		["petz:lycanthropy"] = "1",
		punch_count = "327971",
		xp = "2341386",
		["stamina:poisoned"] = "no",
		["petz:werewolf_vignette_id"] = "20",
		partychat = "party",
		yl_commons_player_joined = "1706999228",
		repellant = "0",
		["stamina:level"] = "4",
		arenalib_infobox_arenaID = "0",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}",
		yl_church = "return {[\"last_death\"] = {[\"y\"] = 52, [\"z\"] = 214, [\"x\"] = 2810}, [\"last_death_portal\"] = 1692114993, [\"last_heal\"] = 1615504208}",
		yl_commons_player_created = "1615351173",
		["hud_manager:spawnit:hud_enabled"] = "y",
		digged_nodes = "1727760",
		placed_nodes = "488097",
		died = "101",
		crafted = "211643"
	}
}

Log identifier


[MOD] yl_report log identifier = OlNCk7rxzOYtoUD5HRi4u0ZPD4OyQlhr

Profiler save:

profile-20240204T012644.json_prettyEE

Status:

# Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 3h 17min 50s | max lag: 1.35s | clients (19/52): 0pksw, _ble_, AliasAlreadyTaken, Azelf, BLuOXide, bugbug, CapCat, flux, jackofthebean000, Jammy, JustShapesAndBeats, Kadax, Lupercus, poppyasdan, pups, Sandra, Service, STEALTH, uhhh

Teleport command:

/teleport xyz 1289 48 624

Compass command:

/give_compass Construction OlNCk7rxzOYtoUD5HRi4u0ZPD4OyQlhr D2691E 1289 48 624
flux reports a bug: > /area_xp_set_min - this command can apparently be run by any player. do we want it accessible? Player position: ``` { x = 1289, y = 47.700000762939, z = 624 } ``` Player look: ``` { x = -0.30788442492485, y = -0.72944635152817, z = -0.61083155870438 } ``` Player information: ``` { state = "Active", protocol_version = 42, connection_uptime = 10790, ip_version = 6, min_rtt = 0.16899999976158, avg_rtt = 0.17800000309944, min_jitter = 0, max_jitter = 3.6349999904633, avg_jitter = 0.0010000020265579, max_rtt = 3.8129999637604, lang_code = "", patch = 0, minor = 9, major = 5, formspec_version = 7, serialization_version = 29, version_string = "5.9.0-dev-454dd8576-dirty" } ``` Player meta: ``` { fields = { played_time = "46727534", jointime = "1615351173", bitten = "0", hud_state = "off", yl_commons_thankyou = "375", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_party 1 2400\", \"3d_armor:leggings_rainbow 1 12624\", \"shields:shield_rainbow 1 12624\", \"3d_armor:chestplate_party 1 2400\", \"nether_mobs:dragon_boots 1 6280\", \"\"}", ["petz:werewolf_clan_idx"] = "1", inflicted_damage = "6487098", ["unified_inventory:bags"] = "return {\"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\", \"water_life:croc_bag\"}", ["signslib:pos"] = "(1273,10,516)", ["stamina:exhaustion"] = "65", ["petz:werewolf"] = "0", hotbar_size = "16", ["petz:lycanthropy"] = "1", punch_count = "327971", xp = "2341386", ["stamina:poisoned"] = "no", ["petz:werewolf_vignette_id"] = "20", partychat = "party", yl_commons_player_joined = "1706999228", repellant = "0", ["stamina:level"] = "4", arenalib_infobox_arenaID = "0", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"sneak\"] = true, [\"sneak_glitch\"] = false, [\"jump\"] = 1.5, [\"speed\"] = 2, [\"gravity\"] = 1}", yl_church = "return {[\"last_death\"] = {[\"y\"] = 52, [\"z\"] = 214, [\"x\"] = 2810}, [\"last_death_portal\"] = 1692114993, [\"last_heal\"] = 1615504208}", yl_commons_player_created = "1615351173", ["hud_manager:spawnit:hud_enabled"] = "y", digged_nodes = "1727760", placed_nodes = "488097", died = "101", crafted = "211643" } } ``` Log identifier ``` [MOD] yl_report log identifier = OlNCk7rxzOYtoUD5HRi4u0ZPD4OyQlhr ``` Profiler save: ``` profile-20240204T012644.json_prettyEE ``` Status: ``` # Server: version: 5.7.0-yl-thx-tmm | game: Minetest Game | uptime: 3h 17min 50s | max lag: 1.35s | clients (19/52): 0pksw, _ble_, AliasAlreadyTaken, Azelf, BLuOXide, bugbug, CapCat, flux, jackofthebean000, Jammy, JustShapesAndBeats, Kadax, Lupercus, poppyasdan, pups, Sandra, Service, STEALTH, uhhh ``` Teleport command: ``` /teleport xyz 1289 48 624 ``` Compass command: ``` /give_compass Construction OlNCk7rxzOYtoUD5HRi4u0ZPD4OyQlhr D2691E 1289 48 624 ```
AliasAlreadyTaken was assigned by yourland-report 2024-02-04 01:26:44 +00:00

What does this do?

What does this do?
Member

What does this do?

it bans players from an area if they don't have a certain amount of XP. i knew this existed but thought it was an admin (or admin-like) command. it's used regularly on pandorabox, where xp_redo was developed, but i don't think your-land has ever used it.

> What does this do? it bans players from an area if they don't have a certain amount of XP. i knew this existed but thought it was an admin (or admin-like) command. it's used regularly on pandorabox, where xp_redo was developed, but i don't think your-land has ever used it.
flux added the
1. kind/bug
1. kind/enhancement
1. kind/balancing
1. kind/documentation
labels 2024-02-04 05:10:54 +00:00
Member

Is there a /area_xp_set_max too?

Is there a `/area_xp_set_max` too?
Member

Is there a /area_xp_set_max too?

There isn't. You can see them in /help under xp_redo mod.

> Is there a `/area_xp_set_max` too? There isn't. You can see them in `/help` under `xp_redo` mod.

So it’ similar to the /area_ban command but based on levels rather than per player. So what’s the issue about players having this command ?

So it’ similar to the /area_ban command but based on levels rather than per player. So what’s the issue about players having this command ?

Does this command work? And what happens when such a "banned" player enters the area?

Does this command work? And what happens when such a "banned" player enters the area?

If YL doesnt have a special version of that command it has nothing todo with ban.

With /area_xp_set_min you can set the minimum required XP to interact with an open area.
For example if you set it to 1000

  • for players <1000 XP its like a normal protected area
  • for >= 1000 XP its an protected but open area
If YL doesnt have a special version of that command it has nothing todo with ban. With `/area_xp_set_min` you can set the minimum required XP to interact with an open area. For example if you set it to 1000 - for players <1000 XP its like a normal protected area - for >= 1000 XP its an protected but open area

This command could have interesting uses, like creating a pro/noob shop, but I think if there's no cap you could probably exploit this to create an area that basically bans everyone from entering.

With /area_xp_set_min you can set the minimum required XP to interact with an open area.
For example if you set it to 1000

for players <1000 XP its like a normal protected area
for >= 1000 XP its an protected but open area

Could be an interesting way to create a "pro-only" farm if someone wants to lol

This command could have interesting uses, like creating a pro/noob shop, but I think if there's no cap you could probably exploit this to create an area that basically bans everyone from entering. > > With /area_xp_set_min you can set the minimum required XP to interact with an open area. > For example if you set it to 1000 > > for players <1000 XP its like a normal protected area > for >= 1000 XP its an protected but open area Could be an interesting way to create a "pro-only" farm if someone wants to lol
Member

i may have conflated this with the "xp gate" a bit in my description, whoops.

i may have conflated this with the "xp gate" a bit in my description, whoops.

Could be an interesting way to create a "pro-only" farm if someone wants to lol

I think the original intention may be to create open areas where experienced people can build together, without clueless newbies ruining the construction.

> Could be an interesting way to create a "pro-only" farm if someone wants to lol I think the original intention may be to create open areas where experienced people can build together, without clueless newbies ruining the construction.
Sign in to join this conversation.
No Milestone
No project
No Assignees
9 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#6217
No description provided.