Spongeboi reports: my bones ... #3919

Open
opened 2023-03-03 04:10:08 +00:00 by yourland-report · 2 comments

Spongeboi reports a bug:

my bones

Player position:

{
	x = 2041.8199462891,
	y = 9,
	z = 1230.4660644531
}

Player look:

{
	x = 0.099801152944565,
	y = 0.17708472907543,
	z = 0.97912240028381
}

Player information:

{
	major = 5,
	version_string = "5.5.1",
	protocol_version = 40,
	formspec_version = 5,
	state = "Active",
	max_rtt = 4.8540000915527,
	minor = 5,
	min_rtt = 0.33700001239777,
	avg_rtt = 0.36700001358986,
	min_jitter = 0,
	lang_code = "",
	avg_jitter = 0.21999999880791,
	connection_uptime = 318,
	serialization_version = 29,
	patch = 1,
	max_jitter = 4.441999912262,
	ip_version = 6
}

Player meta:

{
	fields = {
		inflicted_damage = "71170",
		arenalib_infobox_arenaID = "0",
		xp = "27440",
		jointime = "1673742113",
		played_time = "216731",
		died = "38",
		repellant = "0",
		digged_nodes = "23248",
		["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}",
		yl_commons_player_created = "1673742113",
		yl_commons_player_joined = "1677816333",
		crafted = "3330",
		punch_count = "3849",
		yl_commons_thankyou = "4",
		yl_church = "return {[\"last_death_portal\"] = 1677816440, [\"last_death\"] = {[\"x\"] = 2039, [\"y\"] = 10, [\"z\"] = 1249}, [\"last_heal\"] = 1676579447}",
		["stamina:level"] = "16",
		["stamina:poisoned"] = "no",
		hud_state = "on",
		["ocean_build.last_warning"] = "1.67646e+09",
		["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}",
		["ocean_build.ocean_built"] = "1",
		placed_nodes = "3912",
		["stamina:exhaustion"] = "120.5",
		bitten = "0"
	}
}

Log identifier


[MOD] yl_report log identifier = oOQYJTAWa0pZgbKO7DmRsYTSPAdK6cjn

Profiler save:

profile-20230303T041008.json_prettyEE

Status:

# Server: version: 5.6.1-yl | game: Minetest Game | uptime: 23h 18s | max lag: 2.76s | clients (17/52): 9T9, AliasAlreadyTaken, AmazingAnubis, Bailiff, BibaBoba, daydream, Diorx, ElMentas, flux, HorusDamocles, mrminer, paneg, Service, shanish3, Spongeboi, WarHound, Xonon

Teleport command:

/teleport xyz 2042 9 1230

Compass command:

/give_compass Construction oOQYJTAWa0pZgbKO7DmRsYTSPAdK6cjn D2691E 2042 9 1230
Spongeboi reports a bug: > my bones Player position: ``` { x = 2041.8199462891, y = 9, z = 1230.4660644531 } ``` Player look: ``` { x = 0.099801152944565, y = 0.17708472907543, z = 0.97912240028381 } ``` Player information: ``` { major = 5, version_string = "5.5.1", protocol_version = 40, formspec_version = 5, state = "Active", max_rtt = 4.8540000915527, minor = 5, min_rtt = 0.33700001239777, avg_rtt = 0.36700001358986, min_jitter = 0, lang_code = "", avg_jitter = 0.21999999880791, connection_uptime = 318, serialization_version = 29, patch = 1, max_jitter = 4.441999912262, ip_version = 6 } ``` Player meta: ``` { fields = { inflicted_damage = "71170", arenalib_infobox_arenaID = "0", xp = "27440", jointime = "1673742113", played_time = "216731", died = "38", repellant = "0", digged_nodes = "23248", ["unified_inventory:bags"] = "return {\"unified_inventory:bag_large\", \"unified_inventory:bag_large\"}", yl_commons_player_created = "1673742113", yl_commons_player_joined = "1677816333", crafted = "3330", punch_count = "3849", yl_commons_thankyou = "4", yl_church = "return {[\"last_death_portal\"] = 1677816440, [\"last_death\"] = {[\"x\"] = 2039, [\"y\"] = 10, [\"z\"] = 1249}, [\"last_heal\"] = 1676579447}", ["stamina:level"] = "16", ["stamina:poisoned"] = "no", hud_state = "on", ["ocean_build.last_warning"] = "1.67646e+09", ["3d_armor_inventory"] = "return {\"\", \"\", \"\", \"\", \"\", \"\"}", ["ocean_build.ocean_built"] = "1", placed_nodes = "3912", ["stamina:exhaustion"] = "120.5", bitten = "0" } } ``` Log identifier ``` [MOD] yl_report log identifier = oOQYJTAWa0pZgbKO7DmRsYTSPAdK6cjn ``` Profiler save: ``` profile-20230303T041008.json_prettyEE ``` Status: ``` # Server: version: 5.6.1-yl | game: Minetest Game | uptime: 23h 18s | max lag: 2.76s | clients (17/52): 9T9, AliasAlreadyTaken, AmazingAnubis, Bailiff, BibaBoba, daydream, Diorx, ElMentas, flux, HorusDamocles, mrminer, paneg, Service, shanish3, Spongeboi, WarHound, Xonon ``` Teleport command: ``` /teleport xyz 2042 9 1230 ``` Compass command: ``` /give_compass Construction oOQYJTAWa0pZgbKO7DmRsYTSPAdK6cjn D2691E 2042 9 1230 ```
AliasAlreadyTaken was assigned by yourland-report 2023-03-03 04:10:08 +00:00
AliasAlreadyTaken added the
4. step/help wanted
label 2023-03-03 12:40:49 +00:00
flux added the
3. source/ingame
1. kind/other
labels 2023-03-03 17:11:14 +00:00
Member
2023-03-02 20:09:19: <Spongeboi> no my bones are gone in arena
2023-03-02 20:09:44: <flux> Spongeboi: in the arena? off, do a /bug, maybe you can get your items refunded. but the arena can reset and delete bones

see #3062 for discussion about the general issue, this is about refunding Spongeboi's items

``` 2023-03-02 20:09:19: <Spongeboi> no my bones are gone in arena 2023-03-02 20:09:44: <flux> Spongeboi: in the arena? off, do a /bug, maybe you can get your items refunded. but the arena can reset and delete bones ``` see #3062 for discussion about the general issue, this is about refunding Spongeboi's items

Phant0m had the same issue. This is a script to restore the items via log entry and command block:

import re
import sys

def transform_log_entries(input_file):
    pattern = re.compile(r'added ItemStack\("([^"]+)"')

    with open(input_file, 'r') as f:
        for line in f:
            line = line.strip()
            if line and not line.isspace():
                match = pattern.search(line)
                if match:
                    item_name = match.group(1)  # Extract the first (and only) capturing group
                    print(f'giveme {item_name}')
                else:
                    print(f'Not Matched: {line}')

if __name__ == "__main__":
    if len(sys.argv) != 2:
        print("Usage: python3 script.py <input_file>")
        sys.exit(1)

    input_file = sys.argv[1]
    print(f"Processing file: {input_file}")
    transform_log_entries(input_file)
Phant0m had the same issue. This is a script to restore the items via log entry and command block: ```python import re import sys def transform_log_entries(input_file): pattern = re.compile(r'added ItemStack\("([^"]+)"') with open(input_file, 'r') as f: for line in f: line = line.strip() if line and not line.isspace(): match = pattern.search(line) if match: item_name = match.group(1) # Extract the first (and only) capturing group print(f'giveme {item_name}') else: print(f'Not Matched: {line}') if __name__ == "__main__": if len(sys.argv) != 2: print("Usage: python3 script.py <input_file>") sys.exit(1) input_file = sys.argv[1] print(f"Processing file: {input_file}") transform_log_entries(input_file) ```
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#3919
No description provided.