[Mod] MapIt [1.2] [mapit] – another mapping mod

nvrsbr
Member
 
Posts: 51
Joined: Fri Jun 05, 2015 19:42

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by nvrsbr » Mon Jun 15, 2015 17:07

This mod still work?
Any other good Map mods out there?
 

An_dz
New member
 
Posts: 5
Joined: Sun Jun 14, 2015 16:47
GitHub: An-dz

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by An_dz » Tue Jun 16, 2015 07:31

I've created a fork which works on Windows and Python 3. https://github.com/An-dz/mapit

The fork should work on any OS and with Python 2.7 too.

I used Python 3.3, Numpy 1.9.2 and Pillow 2.8.2 for Py3.3

The problem with Windows is that your test for worldPath checked for / (slash), but Windows uses \ (backslash)
 

nvrsbr
Member
 
Posts: 51
Joined: Fri Jun 05, 2015 19:42

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by nvrsbr » Tue Jun 16, 2015 14:42

An_dz wrote:I've created a fork which works on Windows and Python 3. https://github.com/An-dz/mapit

The fork should work on any OS and with Python 2.7 too.

I used Python 3.3, Numpy 1.9.2 and Pillow 2.8.2 for Py3.3

The problem with Windows is that your test for worldPath checked for / (slash), but Windows uses \ (backslash)


Cool but I get this message and no map.

8:40:49: ERROR[main]: generateImage(): Could not load image "World_1.png" while building texture
08:40:49: ERROR[main]: generateImage(): Creating a dummy image for "World_1.png"


Do I need to install Python for this to work?
 

An_dz
New member
 
Posts: 5
Joined: Sun Jun 14, 2015 16:47
GitHub: An-dz

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by An_dz » Tue Jun 16, 2015 15:17

nvrsbr wrote:Do I need to install Python for this to work?

Of course, and numpy and Pillow. I added the links in my post (You can try using Python 3.4 or 2.7, but I tested on 3.3)
 

nvrsbr
Member
 
Posts: 51
Joined: Fri Jun 05, 2015 19:42

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by nvrsbr » Tue Jun 16, 2015 15:32

An_dz wrote:
nvrsbr wrote:Do I need to install Python for this to work?

Of course, and numpy and Pillow. I added the links in my post (You can try using Python 3.4 or 2.7, but I tested on 3.3)


How the heck do you install Numpy 1.9.2?
 

An_dz
New member
 
Posts: 5
Joined: Sun Jun 14, 2015 16:47
GitHub: An-dz

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by An_dz » Tue Jun 16, 2015 18:35

You can use the installers here.
 

nvrsbr
Member
 
Posts: 51
Joined: Fri Jun 05, 2015 19:42

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by nvrsbr » Wed Jun 17, 2015 00:24

An_dz wrote:You can use the installers here.


Still get same error as above.
 

An_dz
New member
 
Posts: 5
Joined: Sun Jun 14, 2015 16:47
GitHub: An-dz

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by An_dz » Wed Jun 17, 2015 01:22

Have you installed Pillow and Numpy for the same Python version?
Have you installed the x86 version of all the python stuff?
Is that the only error in your log?
What's your Python version?
What's your OS?
 

dgm5555
Member
 
Posts: 244
Joined: Tue Apr 08, 2014 19:45

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by dgm5555 » Thu Jun 18, 2015 07:22

Thanks Andre,
I've updated the repo, and added the numpy link to the 1st post.
What changes did you make for Pillow? - the minetestmapper script still seems to ref PIL.
 

An_dz
New member
 
Posts: 5
Joined: Sun Jun 14, 2015 16:47
GitHub: An-dz

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by An_dz » Thu Jun 18, 2015 15:17

None, it could run with Pillow easily. Maybe the only required change was the forced int of the values for the area?
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by amadin » Fri Jul 03, 2015 14:07

One of the most relevant to me mods, but i see a big problems:
1) Players don't have privileges to use /give or /giveme (you must add instruction about this in section "Display the map");
2) If player press "reMap" and re-enter the server then an image of map not change, image change only if i restart server. So maybe you need write in description to Mapit about fully explored map before using this mod?
3) Why map doesn't have a recipe?
I do not know how hard it is to do, but without realtime redrawing the map (for example with the timeout by 5-10 seconds) i see no reason to add "Mapit" on my server.
Maybe it makes sense to write to the developers so they added possibility to generating full map by mapgen at once?
 

User avatar
mrob27
Member
 
Posts: 21
Joined: Sun Sep 27, 2015 13:32
GitHub: mrob27

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by mrob27 » Thu Oct 08, 2015 15:00

Tsumi wrote:
Hi,
on python 2.7.3, running MapWorlds.sh i get this error: […]
Error at (-23,3,-28): 'buffer' does not have the buffer interface

That is fixed by one edit to minetestmapper-numpy.py: find the place where it says "return BytesIO(r[0])" and change it to say "return BytesIO(bytes(r[0]))".
 

User avatar
Doriphore
Member
 
Posts: 22
Joined: Mon Nov 11, 2013 20:21

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by Doriphore » Thu Jan 14, 2016 18:26

I don't know if other people experienced this, but I have a problem with mapit.
I explore a lot, but when I go further than around +/-2000 (North/south - Weat/East), the map doesn't draw any more.

I run minetest 0.4.13 on linux.

Any idea ?
 

User avatar
mrob27
Member
 
Posts: 21
Joined: Sun Sep 27, 2015 13:32
GitHub: mrob27

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by mrob27 » Thu Jan 14, 2016 19:23

Doriphore wrote:I don't know if other people experienced this, but I have a problem with mapit.
I explore a lot, but when I go further than around +/-2000 (North/south - Weat/East), the map doesn't draw any more.

The mod uses minetestmapper-numpy.py, which is discussed in this thread: viewtopic.php?f=14&t=8730

That script has a built-in default limit of exactly the size you noticed:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
  --region XMIN XMAX ZMIN ZMAX
                        set the bounding x,z coordinates for the map (units
                        are nodes, default = -2000 2000 -2000 2000)

so I think the mod just needs to be changed a bit to pass the "--region" parameter to the script.
 

User avatar
Doriphore
Member
 
Posts: 22
Joined: Mon Nov 11, 2013 20:21

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by Doriphore » Thu Jan 14, 2016 21:00

Thanks for this, now I understand (and might do something about it)
 

casio33
Member
 
Posts: 38
Joined: Sun Jan 17, 2016 08:36

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by casio33 » Sun Jan 17, 2016 08:41

Hi, the mod sounds great, but it doesn't work on my computer.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
2016-01-17 09:38:34: ERROR[main]: ======= END OF ERROR FROM LUA ========
2016-01-17 09:38:34: ERROR[main]: Server: Failed to load and run C:\minetest-0.4.13\bin\..\mods\mapit2\init.lua
2016-01-17 09:38:34: ERROR[main]: ModError: ModError: Failed to load and run C:\minetest-0.4.13\bin\..\mods\mapit2\init.lua
2016-01-17 09:38:34: ERROR[main]: Error from Lua:
2016-01-17 09:38:34: ERROR[main]: C:\minetest-0.4.13\bin\..\mods\mapit2\init.lua:50: attempt to concatenate local 'curModPath' (a nil value)
2016-01-17 09:38:34: ERROR[main]: stack traceback:
2016-01-17 09:38:34: ERROR[main]:    C:\minetest-0.4.13\bin\..\mods\mapit2\init.lua:50: in function 'updateMap'
2016-01-17 09:38:34: ERROR[main]:    C:\minetest-0.4.13\bin\..\mods\mapit2\init.lua:118: in main chunk


What is the problem?
 

Martno
Member
 
Posts: 77
Joined: Thu May 28, 2015 07:09

Re: [Mod] MapIt [1.2] [mapit] – another mapping mod

by Martno » Fri Jan 22, 2016 14:22

Casio33: It seems that you should rename the folder to mapit.
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Generated map is not from my world.

by amadin » Fri Jan 22, 2016 18:37

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
ImportError: No module named sqlite3


Is this normal if i use leveldb? Generated map is not from my world.

Full log:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
OpenBLAS : Your OS doesn't support AVX. Use Nehalem kernels.
Traceback (most recent call last):
  File "/mnt/sda3/minetest-master-13/minetest-rivergen/bin/../mods/mapit/minetestmapper-numpy.py", line 1090, in <module>
    main()
  File "/mnt/sda3/minetest-master-13/minetest-rivergen/bin/../mods/mapit/minetestmapper-numpy.py", line 1076, in main
    world.generate_sector_list()
  File "/mnt/sda3/minetest-master-13/minetest-rivergen/bin/../mods/mapit/minetestmapper-numpy.py", line 483, in generate_sector_list
    self.db = get_db(args)
  File "/mnt/sda3/minetest-master-13/minetest-rivergen/bin/../mods/mapit/minetestmapper-numpy.py", line 410, in get_db
    return SQLDB(args.world_dir + "map.sqlite")
  File "/mnt/sda3/minetest-master-13/minetest-rivergen/bin/../mods/mapit/minetestmapper-numpy.py", line 416, in __init__
    import sqlite3
ImportError: No module named sqlite3
mapit: Updated map for world
 

Previous

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 27 guests