Search found 8 matches

by loosewheel
Wed Feb 24, 2021 18:18
Forum: WIP Mods
Topic: [Mod] Utility for drops with large metadata[v0.1.1][lwdrops]
Replies: 0
Views: 50

[Mod] Utility for drops with large metadata[v0.1.1][lwdrops]

Utility to store large item metadata strings to file/s when dropped, which usually causes a server crash "String too long for serializeString". An on_destroy handler is also supported, called when a dropped item is about to be destroyed (permanently removed from the world). Storage can be ...
by loosewheel
Tue Feb 23, 2021 04:00
Forum: Problems
Topic: crash - String too long for serializeString
Replies: 6
Views: 118

Re: crash - String too long for serializeString

@Krock here is the output from gdb: GNU gdb (Ubuntu 8.1.1-0ubuntu1) 8.1.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the ex...
by loosewheel
Tue Feb 23, 2021 03:48
Forum: Problems
Topic: crash - String too long for serializeString
Replies: 6
Views: 118

Re: crash - String too long for serializeString

@AiTechEye, I byte encoded the book data instead of using a serialised table. I can get a max of 5 pages. I seem to be able to put about 12kb in the metadata before this error occurs. The items that have disk space are way to big to reduce. I store the disk data in a file from the on_drop handler, a...
by loosewheel
Mon Feb 22, 2021 05:09
Forum: Problems
Topic: crash - String too long for serializeString
Replies: 6
Views: 118

crash - String too long for serializeString

Game was hosted over LAN. Crash occurred when the item was dropped (Q key). When dropped in host machine: 2021-02-22 13:48:44: ACTION[Server]: loosewheel uses lwcomputers:book, pointing at [nothing] 2021-02-22 13:48:50: ERROR[Server]: An unhandled exception occurred: String too long for serializeStr...
by loosewheel
Sat Feb 20, 2021 12:42
Forum: WIP Mods
Topic: [Mod] Computers [0.1.7] [lwcomputers]
Replies: 1
Views: 274

Example robot program

Robot farming program https://i.ibb.co/3rqqRWS/farmdims.png local args = { ... } local crops = { ["farming:barley_7"] = { sow = "farming:seed_barley" }, ["farming:beanpole_5"] = { sow = "farming:beans" }, ["farming:beetroot_5"] = { sow = "farmi...
by loosewheel
Tue Feb 16, 2021 09:46
Forum: Modding Discussion
Topic: Item removal from world
Replies: 2
Views: 55

Re: Item removal from world

Thank you.
by loosewheel
Mon Feb 15, 2021 02:55
Forum: Modding Discussion
Topic: Item removal from world
Replies: 2
Views: 55

Item removal from world

Is it possible to detect when an item is disposed of? That is when it's trashed or is removed from the world after being dropped. Not when a node is dug or an item is dropped.
by loosewheel
Mon Dec 28, 2020 03:15
Forum: WIP Mods
Topic: [Mod] Computers [0.1.7] [lwcomputers]
Replies: 1
Views: 274

[Mod] Computers [0.1.7] [lwcomputers]

LWComputers provides programmable computers and robots, floppy disks, printers and a digilines controlled mesecon power switch. https://i.ibb.co/NyP5BbS/screenshot.png https://i.ibb.co/T8LbQMm/screenshot-2.png Version 0.1.7 Minetest Version This mod was developed on version 5.3.0 Dependencies defaul...