Page 4 of 4

Re: [Game] LegendofMinetest [v2]

PostPosted: Sun Mar 12, 2017 18:00
by azekill_DIABLO
I'm impressed doomed. Your capacity to do pretty textures and great games is far beyond all i can do.

Re: [Game] LegendofMinetest [v2]

PostPosted: Sun Mar 12, 2017 20:59
by D00Med
Thankyou :) toby109tt did a lot of work with the models and textures too.

Re: [Game] LegendofMinetest [v2]

PostPosted: Mon Mar 13, 2017 12:00
by azekill_DIABLO
Still too high for me ;)

Re: [Game] LegendofMinetest [v2]

PostPosted: Tue Mar 14, 2017 18:51
by toby109tt
D00Med wrote:Thankyou :) toby109tt did a lot of work with the models and textures too.

Yeh XD

Re: [Game] LegendofMinetest [v2]

PostPosted: Mon Mar 20, 2017 21:18
by D00Med
Update:
I've attempted to improve performance a bit.
>Long grass and flowers now use a lbm instead of an abm to spawn butterflies and dragonflies.
>mobs spawn less frequently
>Snow won't fall over sand and desert sand.
>a few texture improvements
>fixed a bug with the dust weather

Re: [Game] LegendofMinetest [v2]

PostPosted: Mon Mar 27, 2017 11:48
by fifi31
Hello, I have a problem with your subgame.
When I gain experience, for example when I kill a monster, the game crash and it writes :
"Runtime error from mod 'experience' in callback environment_Step(): ...minetest/games/LegendofMinetest/mods/experience/init.lua:114: attempt to compare string with number
stack traceback:
...minetest/games/LegendofMinetest/mods/experience/init.lua:114: in function <...minetest/games/LegendofMinetest/mods/experience/init.lua:99>
/usr/share/minetest/builtin/game/register.lua:412: in function </usr/share/minetest/builtin/game/register.lua:392>"

I use minetest on Fedora 25. Do you have an idea of why I have this bug ?

Thank you

Re: [Game] LegendofMinetest [v2]

PostPosted: Mon Mar 27, 2017 20:07
by D00Med
What version of minetest are you using? I don't really understand what the problem is, but I have seen a similar error with the experience mod before.

Re: [Game] LegendofMinetest [v2]

PostPosted: Tue Mar 28, 2017 03:11
by lightseer
fifi31 I had that bug and reported it and fixed it by adding a conversion called 'tonumber()' to the experience module like this:

I edited the experience mod. Edit the init.lua file in the mod 'experience'.

Edited the line (currently line 112) that looked like this: experience = xp:read("*l")
Changed that line to this: experience = tonumber(xp:read("*l"))
The server was able to proceed.

Re: [Game] LegendofMinetest [v2]

PostPosted: Tue Mar 28, 2017 04:11
by D00Med
thankyou very much :)

Re: [Game] LegendofMinetest [v2]

PostPosted: Tue Mar 28, 2017 10:12
by fifi31
I'm using Minetest 0.4.15

lightseer, I already tried this, but the problem is still here. Did you recompile init.lua or do anything like this?

Re: [Game] LegendofMinetest [v2]

PostPosted: Tue Mar 28, 2017 20:18
by D00Med
I have no idea what's causing the problem then, I'm using the same version and it worked fine for me, both before and after lightseer's change. Are you using any mods that might be causing problems?

Re: [Game] LegendofMinetest [v2]

PostPosted: Tue Mar 28, 2017 23:10
by lightseer
No I only made a change to the file. I think the lua compiles every time you run the game, and I did not need to recompile minetest either. The versions of Lua on my system are 5.1 and 5.2 and I am running Ubuntu 16.04 with minetest 0.4.15 running in place. Its not installed from packages.

Re: [Game] LegendofMinetest [v2]

PostPosted: Wed Mar 29, 2017 14:36
by fifi31
It worked ! It was my fault, I changed the "init.lua" in experience in my repository in "/usr/share/minetest" but not in "$HOME/.minetest".

Thank you two :)

Re: [Game] LegendofMinetest [v2]

PostPosted: Wed Mar 29, 2017 15:23
by lightseer
*scratch this comment please. Wrong area.*

Re: [Game] LegendofMinetest [v2]

PostPosted: Wed Mar 29, 2017 22:48
by ClaudiusMinimus
I have had the game crash several times with this error. I am running your latest update on 0.4.15

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
ERROR[Main]: ServerError: Runtime error from mod 'weather_pack' in callback environment_Step(): ....minetest/games/LegendofZelda/mods/weather_pack/dust.lua:12: attempt to compare number with nil
2017-03-29 16:43:38: ERROR[Main]: stack traceback:
2017-03-29 16:43:38: ERROR[Main]:    ....minetest/games/LegendofZelda/mods/weather_pack/dust.lua:12: in function 'add_rain_particles'
2017-03-29 16:43:38: ERROR[Main]:    ....minetest/games/LegendofZelda/mods/weather_pack/dust.lua:70: in function <....minetest/games/LegendofZelda/mods/weather_pack/dust.lua:56>
2017-03-29 16:43:38: ERROR[Main]:    /app/share/minetest/builtin/game/register.lua:412: in function </app/share/minetest/builtin/game/register.lua:392>

Re: [Game] LegendofMinetest [v2]

PostPosted: Wed Mar 29, 2017 22:55
by ClaudiusMinimus
The game won't start unless I set: enable_weather = false

Re: [Game] LegendofMinetest [v2]

PostPosted: Thu Mar 30, 2017 03:34
by D00Med
Are you sure it's the latest? I think I fixed that a couple of weeks ago

Re: [Game] LegendofMinetest [v2]

PostPosted: Thu Mar 30, 2017 15:43
by ClaudiusMinimus
D00Med wrote:Are you sure it's the latest? I think I fixed that a couple of weeks ago


I just did a git pull and here are the results, which show your changes of only a few hours ago, but the weather mod is already up to date.

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
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 7 (delta 5), reused 7 (delta 5), pack-reused 0
Unpacking objects: 100% (7/7), done.
From https://github.com/D00Med/LegendofMinetest
   da14666..c0a0c41  master     -> origin/master
Updating da14666..c0a0c41
Fast-forward
 mods/experience/init.lua    | 2 +-
 mods/hyrule_mapgen/init.lua | 7 ++-----
 2 files changed, 3 insertions(+), 6 deletions(-)


So unless I'm missing something here, I was running your latest update.
Thank you,
CM

PS: I don't know if this makes a difference, but I am playing in server/client mode, because this is a family server.

Also, a separate issue, I can no longer collect hearts.

Re: [Game] LegendofMinetest [v2]

PostPosted: Thu Mar 30, 2017 20:42
by D00Med
Ok, I will have a look

Re: [Game] LegendofMinetest [v2]

PostPosted: Sat Apr 01, 2017 02:08
by lightseer
ClaudiusMinimus have you tried it with fewer graphics options in the settings menu? I have nothing checked in my menu, and I do not get that error. I do not have 3D clouds checked. Maybe you can fix it that way?