Thedarksoldier wrote:where do i get phython and numpy on windows
4aiman wrote:What about updating the map every day? (IDK the real one or the in-game one)
4aiman wrote:why not use minetest.show_formspec
4aiman wrote:A file with the date of creation is good :)
4aiman wrote:Also, does minetest.override_item() work after some time ingame? (simple redefinition with minetest.register(':modmane:itemname') doesn't)
4aiman wrote:Then something like dynamic images load should be proposed to be added to the engine
4aiman wrote:I just asked if you could possibly try to use it.
4aiman wrote:Also: I somehow missed the question about the ground level. Do you still need a way to do it?
linushsao wrote:some problem happen to me,i'm sure that no map generated...(unknown node name?)...
Saving to: /home/linus/.minetest/mods/mapit/textures/stable.png
/home/sss/.minetest/worlds/world1
world1
Traceback (most recent call last):
File "minetestmapper-numpy.py", line 1086, in <module>
main()
File "minetestmapper-numpy.py", line 1072, in main
world.generate_sector_list()
File "minetestmapper-numpy.py", line 503, in generate_sector_list
legacy_sector_scan(args, sectors_xmin, sector_xmax, sector_zmin, sector_zmax)
NameError: global name 'sectors_xmin' is not defined
minetest@srv-nya:~/.minetest/mods/mapit$ ./MapWorlds.sh
/home/minetest/.minetest/worlds/world
world
Result image (w=592 h=672) will be written to /home/minetest/.minetest/mods/mapit/textures/world.png
Error at (-23,3,-28): 'buffer' does not have the buffer interface
Traceback (most recent call last):
File "minetestmapper-numpy.py", line 626, in generate_map_info
f = db.get(ps)
File "minetestmapper-numpy.py", line 436, in get
return BytesIO(r[0])
TypeError: 'buffer' does not have the buffer interface
Block data: Traceback (most recent call last):
File "minetestmapper-numpy.py", line 1086, in <module>
main()
File "minetestmapper-numpy.py", line 1081, in main
world.generate_map_info(str_to_uid)
File "minetestmapper-numpy.py", line 788, in generate_map_info
for c in r[0]:
NameError: global name 'r' is not defined
Carnildo wrote:If you attempt to create a new world with MapIt active, Minetest will crash. This is because MapIt creates an empty "map.sqlite" file, which Minetest can't handle. I've modified my copy of MapIt to exit if the "map.sqlite" file isn't present, but there's got to be a better solution.
dgm5555 wrote:Sorry, now uploaded...
21:45:11: ERROR[main]: ========== ERROR FROM LUA ===========
21:45:11: ERROR[main]: Failed to load and run script from
21:45:11: ERROR[main]: C:\Games\Minetest\bin\..\mods\mapit\init.lua:
21:45:11: ERROR[main]: C:\Games\Minetest\bin\..\mods\mapit\init.lua:36: attempt to index local 'outfile' (a nil value)
21:45:11: ERROR[main]: stack traceback:
21:45:11: ERROR[main]: C:\Games\Minetest\bin\..\mods\mapit\init.lua:36: in function 'file_copy'
21:45:11: ERROR[main]: C:\Games\Minetest\bin\..\mods\mapit\init.lua:63: in function 'updateMap'
21:45:11: ERROR[main]: C:\Games\Minetest\bin\..\mods\mapit\init.lua:118: in main chunk
21:45:11: ERROR[main]: ======= END OF ERROR FROM LUA ========
21:45:11: ERROR[main]: Server: Failed to load and run C:\Games\Minetest\bin\..\mods\mapit\init.lua
21:45:11: ERROR[main]: ModError: ModError: Failed to load and run C:\Games\Minetest\bin\..\mods\mapit\init.lua
mapit: Updated map for C:\Games\Minetest\bin\..\worlds\mapittest2
16:46:29: ERROR[main]: generateImage(): Could not load image "C:\Games\Minetest\bin\..\worlds\mapittest2_thumb.png" while building texture
16:46:29: ERROR[main]: generateImage(): Creating a dummy image for "C:\Games\Minetest\bin\..\worlds\mapittest2_thumb.png"
16:46:30: ERROR[main]: generateImage(): Could not load image "C:\Games\Minetest\bin\..\worlds\mapittest2.png" while building texture
16:46:30: ERROR[main]: generateImage(): Creating a dummy image for "C:\Games\Minetest\bin\..\worlds\mapittest2.png"
16:46:34: ERROR[main]: generateImage(): Could not load image "C:\Games\Minetest\bin\..\worlds\mapittest2_thumb.png" while building texture
16:46:34: ERROR[main]: generateImage(): Creating a dummy image for "C:\Games\Minetest\bin\..\worlds\mapittest2_thumb.png"
16:46:34: ERROR[main]: generateImage(): Could not load image "C:\Games\Minetest\bin\..\worlds\mapittest2_thumb.png" while building texture
16:46:34: ERROR[main]: generateImage(): Creating a dummy image for "C:\Games\Minetest\bin\..\worlds\mapittest2_thumb.png"
16:46:40: WARNING: Undeclared global variable "name" accessed at C:\Games\Minetest\bin\..\mods\mapit\init.lua:167
nil
singleplayer
userdata: 0x02803c28
16:46:40: ERROR[main]: ServerError: C:\Games\Minetest\bin\..\mods\mapit\init.lua:1218: C:\Games\Minetest\bin\..\mods\mapit/textures/C:\Games\Minetest\bin\..\worlds\mapittest2.png: Invalid argument
16:46:40: ERROR[main]: stack traceback:
16:46:40: ERROR[main]: [C]: in function 'assert'
16:46:40: ERROR[main]: C:\Games\Minetest\bin\..\mods\mapit\init.lua:1218: in function 'parse_png'
16:46:40: ERROR[main]: C:\Games\Minetest\bin\..\mods\mapit\init.lua:233: in function 'generateMapStrings'
16:46:40: ERROR[main]: C:\Games\Minetest\bin\..\mods\mapit\init.lua:161: in function 'map_handler_maptool'
16:46:40: ERROR[main]: C:\Games\Minetest\bin\..\mods\mapit\init.lua:156: in function <C:\Games\Minetest\bin\..\mods\mapit\init.lua:155>
Users browsing this forum: No registered users and 27 guests