mrminer reports: suggestion: A block that lets ... #3975

Open
opened 2023-03-12 06:04:40 +00:00 by yourland-report · 9 comments

mrminer reports a bug:

suggestion: A block that lets to choose from some preset soundtracks to play in a radius arround the block. it could really add to some builds. (SFX would really add to a waterfall build instead of the default "trickling" sound of water)

Player position:

{
	z = 306.10699462891,
	x = 2940.7749023438,
	y = 70.5
}

Player look:

{
	z = 0.015982551500201,
	x = -0.8804150223732,
	y = -0.47393456101418
}

Player information:

{
	minor = 6,
	min_rtt = 0.11100000143051,
	avg_rtt = 0.1169999986887,
	min_jitter = 0,
	max_jitter = 1.8820000886917,
	avg_jitter = 0.0029999986290932,
	connection_uptime = 3063,
	patch = 1,
	state = "Active",
	max_rtt = 2.0090000629425,
	lang_code = "",
	formspec_version = 6,
	protocol_version = 41,
	major = 5,
	version_string = "5.6.1",
	serialization_version = 29,
	ip_version = 6
}

Player meta:

{
	fields = {
		played_time = "2571452",
		yl_commons_thankyou = "52",
		punch_count = "18631",
		["petz:werewolf_clan_idx"] = "1",
		arenalib_infobox_arenaID = "0",
		["stamina:level"] = "11",
		["petz:werewolf"] = "0",
		["stamina:poisoned"] = "no",
		["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 8700\", \"3d_armor:chestplate_crystal 1 8700\", \"3d_armor:leggings_crystal 1 8700\", \"3d_armor:boots_crystal 1 8700\", \"shields:shield_crystal 1 8700\", \"\"}",
		placed_nodes = "28719",
		died = "551",
		["petz:werewolf_vignette_id"] = "19",
		crafted = "11794",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		partychat = "party",
		["ocean_build.last_warning"] = "1.6733e+09",
		["ocean_build.forbidden"] = "true",
		["ocean_build.ocean_built"] = "12",
		hud_state = "on",
		digged_nodes = "84968",
		yl_church = "return {[\"last_death_portal\"] = 1678418212, [\"last_heal\"] = 1677356984, [\"last_death\"] = {[\"z\"] = 1631, [\"x\"] = 2342, [\"y\"] = -23845}}",
		["stamina:exhaustion"] = "95",
		yl_commons_player_created = "1646186882",
		yl_commons_player_joined = "1678598045",
		repellant = "0",
		jointime = "1646186882",
		bitten = "0",
		["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"jump\"] = 1.5, [\"gravity\"] = 1, [\"sneak_glitch\"] = false, [\"speed\"] = 2, [\"sneak\"] = true}",
		xp = "35154",
		["signslib:pos"] = "(2244,-164,1409)",
		inflicted_damage = "382892",
		["petz:lycanthropy"] = "0"
	}
}

Log identifier


[MOD] yl_report log identifier = ndCTJEl3SPrUuWY0HoyYn5AVf9cfV9f1

Profiler save:

profile-20230312T060440.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 3d 18h 31min 41s | max lag: 2.47s | clients (20/52): 9T9, AliasAlreadyTaken, Alinia, Aniana, Azelf, Bastrabun, Bishiro, Bla, daydream, EggsAreCool, Ernesto, evil123, hotgar, jackofthebean000, labrat, MarchHare, mrminer, niceride, NodeBreaker, Service

Teleport command:

/teleport xyz 2941 71 306

Compass command:

/give_compass Construction ndCTJEl3SPrUuWY0HoyYn5AVf9cfV9f1 D2691E 2941 71 306
mrminer reports a bug: > suggestion: A block that lets to choose from some preset soundtracks to play in a radius arround the block. it could really add to some builds. (SFX would really add to a waterfall build instead of the default "trickling" sound of water) Player position: ``` { z = 306.10699462891, x = 2940.7749023438, y = 70.5 } ``` Player look: ``` { z = 0.015982551500201, x = -0.8804150223732, y = -0.47393456101418 } ``` Player information: ``` { minor = 6, min_rtt = 0.11100000143051, avg_rtt = 0.1169999986887, min_jitter = 0, max_jitter = 1.8820000886917, avg_jitter = 0.0029999986290932, connection_uptime = 3063, patch = 1, state = "Active", max_rtt = 2.0090000629425, lang_code = "", formspec_version = 6, protocol_version = 41, major = 5, version_string = "5.6.1", serialization_version = 29, ip_version = 6 } ``` Player meta: ``` { fields = { played_time = "2571452", yl_commons_thankyou = "52", punch_count = "18631", ["petz:werewolf_clan_idx"] = "1", arenalib_infobox_arenaID = "0", ["stamina:level"] = "11", ["petz:werewolf"] = "0", ["stamina:poisoned"] = "no", ["3d_armor_inventory"] = "return {\"3d_armor:helmet_crystal 1 8700\", \"3d_armor:chestplate_crystal 1 8700\", \"3d_armor:leggings_crystal 1 8700\", \"3d_armor:boots_crystal 1 8700\", \"shields:shield_crystal 1 8700\", \"\"}", placed_nodes = "28719", died = "551", ["petz:werewolf_vignette_id"] = "19", crafted = "11794", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", partychat = "party", ["ocean_build.last_warning"] = "1.6733e+09", ["ocean_build.forbidden"] = "true", ["ocean_build.ocean_built"] = "12", hud_state = "on", digged_nodes = "84968", yl_church = "return {[\"last_death_portal\"] = 1678418212, [\"last_heal\"] = 1677356984, [\"last_death\"] = {[\"z\"] = 1631, [\"x\"] = 2342, [\"y\"] = -23845}}", ["stamina:exhaustion"] = "95", yl_commons_player_created = "1646186882", yl_commons_player_joined = "1678598045", repellant = "0", jointime = "1646186882", bitten = "0", ["petz:old_override_table"] = "return {[\"new_move\"] = true, [\"jump\"] = 1.5, [\"gravity\"] = 1, [\"sneak_glitch\"] = false, [\"speed\"] = 2, [\"sneak\"] = true}", xp = "35154", ["signslib:pos"] = "(2244,-164,1409)", inflicted_damage = "382892", ["petz:lycanthropy"] = "0" } } ``` Log identifier ``` [MOD] yl_report log identifier = ndCTJEl3SPrUuWY0HoyYn5AVf9cfV9f1 ``` Profiler save: ``` profile-20230312T060440.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 3d 18h 31min 41s | max lag: 2.47s | clients (20/52): 9T9, AliasAlreadyTaken, Alinia, Aniana, Azelf, Bastrabun, Bishiro, Bla, daydream, EggsAreCool, Ernesto, evil123, hotgar, jackofthebean000, labrat, MarchHare, mrminer, niceride, NodeBreaker, Service ``` Teleport command: ``` /teleport xyz 2941 71 306 ``` Compass command: ``` /give_compass Construction ndCTJEl3SPrUuWY0HoyYn5AVf9cfV9f1 D2691E 2941 71 306 ```
AliasAlreadyTaken was assigned by yourland-report 2023-03-12 06:04:40 +00:00
AliasAlreadyTaken added the
1. kind/enhancement
label 2023-03-12 06:09:21 +00:00
Member

environmentally predicated soundtracks are cool

environmentally predicated soundtracks are cool

I guess the digistuff:noteblock already does the trick.

I guess the digistuff:noteblock already does the trick.
Member

I guess the digistuff:noteblock already does the trick.

that doesn't have too many sounds that'd be useful for environmental stuff though?

> I guess the digistuff:noteblock already does the trick. that doesn't have too many sounds that'd be useful for environmental stuff though?
flux added the
3. source/art
label 2023-03-13 16:46:33 +00:00
Member

that doesn't have too many sounds that'd be useful for environmental stuff though?

That's right. If there were more sounds they could be added I guess? Pandorabox has a block that sets such sounds.

> that doesn't have too many sounds that'd be useful for environmental stuff though? That's right. If there were more sounds they could be added I guess? Pandorabox has a block that sets such sounds.

It should be easy to add more sounds:
https://cheapiesystems.com/git/digistuff/tree/noteblock.lua#n8

Or an upstream PR adding support for more mods:
https://cheapiesystems.com/git/digistuff/tree/nbsounds.lua

It should be easy to add more sounds: https://cheapiesystems.com/git/digistuff/tree/noteblock.lua#n8 Or an upstream PR adding support for more mods: https://cheapiesystems.com/git/digistuff/tree/nbsounds.lua
Member

It should be easy to add more sounds:

maybe just an API for registering new sounds?

> It should be easy to add more sounds: maybe just an API for registering new sounds?

Yes, it's an api to register new sounds: each soundfile which is added with that function can be played with the noteblock.

Yes, it's an api to register new sounds: each soundfile which is added with that function can be played with the noteblock.

quick and dirty example to add all the sounds from here:

https://notabug.org/TenPlus1/ambience/src/master/sounds

if minetest.get_modpath("ambience") and minetest.get_modpath("digistuff") then
    local ambience_sounds = {
        "bats",
        "beach",
        "beach_2",
        "bird1",
        "bird2",
        "bluejay",
        "canadianloon2",
        "cardinal",
        "coyote",
        "craw",
        "crestedlark",
        "cricket",
        "deer",
        "desertwind",
        "drippingwater1",
        "drippingwater2",
        "frog",
        "gull",
        "hornedowl",
        "icecrack",
        "jungle_day_1",
        "jungle_night_1",
        "jungle_night_2",
        "lava",
        "peacock",
        "river",
        "robin",
        "scuba",
        "seagull",
        "waterfall",
        "wind",
        "wolves"
    }

    for _, sound in ipairs(ambience_sounds) do
        -- digistuff.register_nb_sound(sound, sound)
        digistuff.register_nb_sound("ambience_"..sound, sound)
    end
end
quick and dirty example to add all the sounds from here: https://notabug.org/TenPlus1/ambience/src/master/sounds ```lua if minetest.get_modpath("ambience") and minetest.get_modpath("digistuff") then local ambience_sounds = { "bats", "beach", "beach_2", "bird1", "bird2", "bluejay", "canadianloon2", "cardinal", "coyote", "craw", "crestedlark", "cricket", "deer", "desertwind", "drippingwater1", "drippingwater2", "frog", "gull", "hornedowl", "icecrack", "jungle_day_1", "jungle_night_1", "jungle_night_2", "lava", "peacock", "river", "robin", "scuba", "seagull", "waterfall", "wind", "wolves" } for _, sound in ipairs(ambience_sounds) do -- digistuff.register_nb_sound(sound, sound) digistuff.register_nb_sound("ambience_"..sound, sound) end end ```

Writing in-favor of having the noteblock respond to more and different sound sets (determined by the type of node under it). If you want to get real weird, you can have sound sets that are unique to Your Land and are only possible with non-craftable unobtanium items as the node under the noteblock.

Writing in-favor of having the noteblock respond to more and different sound sets (determined by the type of node under it). If you want to get real weird, you can have sound sets that are unique to Your Land and are only possible with non-craftable unobtanium items as the node under the noteblock.
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 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#3975
No description provided.