I've been using this mod for a while now. In several worlds. There are pleanty of blue water dragons to fight when I'm near to bodies of water, and I've probably killed about 30 already. But there hasn't been even one single drop. What could cause that? A mod conflict?
You’re right, that’s not a mod conflict, just a mistake in one of the files. The drop wasn’t set up correctly, so the Water Dragons aren’t dropping anything right now. The new version will work. Thanks for pointing it out!
Thank you for your replies and cooperation. Can I ask about Draconis? I know it's not your mod, but I belive your mod's based on it right? Draconis is having the same isses that I asked you about for your mod. I asked about this on the Draconis page, but they havn't replied for a long time. Can you give me some insight on how I could fix this issue in the Draconis mod? Maybe I need to change something in the init.lua file?
Yeah, that bug happens in Draconis too. To fix it, open api/mount.lua and find this part in waterdragon.attach_player(self, player)
function waterdragon.attach_player(self, player)
if not player
or not player:get_look_horizontal()
or not player:is_player() then
return
end
Right before if not player, just add this:
if not self.object or not self.object:get_pos() then
return
end
Without that check, the game crashes when the Dragon isn’t fully loaded or its position is nil.
As for ElCeejo — yeah, he hasn’t been updating or replying for a long time now. I’ve sent some pull requests with bugfixes myself, but there’s a lot left broken. So if you’re using Draconis, expect to patch a few things manually like this.
Hi, Thanks for all of your help. Since ElCeejo isn't active on his mod currently I've decided to leave that mod out of my worlds for now. But my prior issue of the Water Dragons not dropping anything on death has returned. The only thing I've directly changed about your mod is to change the lable = in mod.conf to "Water Dragons". And I've added a lot of other mods. So, I suspect a mod conflict again... but I thought I'd ask you again just in case. I tried updating to your newest version, but I'm still not getting drops from killed dragons.
Thank you for sharing this. That is strange, because I have tested the latest version and it works fine on my end. It might indeed be a mod conflict. Could you please tell me which type of Dragon you killed and what were the last steps or incidents before you noticed the bug?
Just in case: this is my official account — I previously replied under the name “Homiak”, but I go by Scottii now.
It's been going on for a while for me. The red, the blue and the green dragons. None drop anything, ever. I mean, they don't drop anything at all now, but they did for a while after you'd fixed the issue previously. I'm going to make a new test world and enable a few mods as possible to see if the dragons are dropping loot that way, and if they are, I'll start testing mod combinations to see if I can find anytying. I'll let you know what i find. Thank you very much for your fast reply.
Thanks for checking into it — and for planning to test in a clean world, that really helps. Just to clarify, in my mod there are only three Dragon colours: grey, blue, and light blue. So if you're seeing red or green ones, they might be coming from another mod, or possibly a texture override. Let me know what you find — I appreciate you taking the time to dig into this, and thanks again for the quick feedback.
Looks like those dragons were still from Draconis. I still had it turned on. I've completely removed Draconis from the mods folder now, and now I'm not seeing any dragons. I created a test world, My only active mods are GC_sprint, 3d_armor, your mod and creatura. Draconis listed cratura as a dependancy, but your doesn't, but I turned it on because after finding a waterdragon nest in my new test world, I didn't see any dragons after running around the nest for a couple of minetest days. I tried physically removing the majority of the other mods from the mods folder, just in case that unlikely solution could help, and I tried reverting graphics and effects settings back to defaults. I tried updating Luanti to the latest too... This seems like an unusual problem. If the mod's working for you and everyone else, then the problem should be local, but I can't think of what else to try. Any thoughts?
Thanks — that gives me a clearer picture. I’ll test the same setup on my end too, just in case. And actually, this might be tied to a long-standing issue that’s been showing up from time to time. I really appreciate all the detail you’re providing — thank you again. I’ll let you know if I find anything from my side.
I think I have now fixed the issue. I tested it with the same mods you mentioned (GC_sprint, 3d_armor, creatura), and I was able to reproduce the bug. It turned out to be a missing condition in the spawn logic that only happened under certain combinations. Should be working now. Please let me know if the Dragons still don’t appear on your end after updating - I will be releasing the working version tomorrow.
Well, I don't know. I haven't seen the new version yet on Content DB so I grabbed it from your github repository. Same issue. I don't have any spawns. But that's even if I turn off all of the other mods. so the only active mod is yours. I'm not sure how that could happen.. Could the issue be somehow machine specific too?
That’s strange… I’ve been testing the mod on an older version of Minetest (5.8.0) and unfortunately I can’t update beyond that at the moment. It’s possible that something in newer Luanti versions changed the way spawning works. I’ll look into making it compatible, but if you can, please let me know which exact version you’re using — that might help narrow it down. Thanks.
Thanks, that would be really helpful. If it works on 5.8.0, then I’ll know the issue is related to changes in newer versions, and I can work on a fix for them.
Ok, let me try and detail what I found while I can still remember. My resuts aren't what I expected and they're a little bit confusing to me. I got 5.8.0 ready on my machine and copyed my dragond test world over to it from 5.10.0. I went into the game and walked around the dragon nest that I'd previously found for a while (pure water dragon eggs in the nest). Nothin, no spawns. So I thought I'd go find another nest. I found a second nest (pure water dragon eggs in the nest). Two dragons were spawned in the nest the moment I came close to it.
I exited the game, made a backup of this world from luanti 5.10.0 and copied the world from 5.8.0 into 5.10.0. I wanted to see if I'd still see the dragons flying around. I did. I saw them, I fought them and I killed them. And when they died, they just fell to the ground and stayed there. I exited the game and reloaded the game, but the dead dragons were still there, and still dead. No drops. I took screenshots of the dead dragons, but I'm not sure I can send them to you here.
I went back to Luanti 5.8.0 using the version of the world that was already there. I reloaded the world, fought the dragons and killed. them. The result was the same. The fell to the ground dead and stayed there. They didn't despawn and there wasn't any drops.
Part 2
While I was still in Luanti 5.8.0 I went looking for another nest and found one with rare water dragon eggs. Again, as soon as I came close to the nest, two dragons spawned in the nest. And again, when I killed them, the dropped to the ground without despawning and without giving any drops. I recoreded the coordinates of that next, and reloaded the world that I had in 5.10.0 to try to go to those same coordinates and see what would happen when i found the nest fresh in that version of Luanti. But there wasn't a nest there. I guess nest generation isn't tied to anything that would cause their locations to be consistant between multiple copys of the same world that were explored independantly. So, I went looking for another nest. found another nest with rare water dragon eggs. Tow dragons were spawned with the nest and I had the same experiences with those dragons when I killed them.
I've never seen any other dragons spawn in any of those new nests. How often should dragons be spawning in them?
I tried makeing a fresh world in 5.8.0. I found that nests were way more common and were often close enough to each other that I could see two or three of them from one vanage point. But they still didn't despawn or drop anything when they were killed. And the very last nest didn't seem to want to spawn it's customary two dragons.
I hope some of this is useful.
And thank your for all of your attention and help for what still could be a more or less local issue for me... maybe.
Thank you very much for such detailed testing and for taking the time to try different versions.
Sorry for the misunderstanding — to get anything from a dead Dragon (it must be laying dead on the ground, as you said), you need to right-click it multiple times to get all of the drops.
The number of Dragons in a nest is random — it can be 1 or 2.
I’ll check what exactly was happening in your case and how it’s possible that there were always 2 Dragons in all of your cases.
Ahhh, that's vital info. I'm beginning to think that I'd ever encountered one of your dragons before, and it'd always been dragons from other mods. But I went back and checked a student invintory and confirmed that they had drops that included scottish dragon scales. Do the Scottish dragons give their drops outright? And thank you too for continuing with me through all of this.
Yes, the Scottish Dragons give their drops immediately upon death, without needing right-clicks.
Thank you again for carefully checking and confirming this — it really helps me a lot.
And also thank you for sticking with all these tests and details.
Can I ask? where are Scottish dragons generally supposed to be encountered? Can they be anywhere? What kind of spawn rate? I'm glad my efforts were helpful to you. At some point I'd like to gain some skill with LUA so that I can pass it on to my students, but at this point I'm still very green with it.
Of course! Scottish Dragons can spawn near trees or close to snow.
Their spawn rate can be adjusted in the settings, but generally, the longer you stay near trees, the more likely Scottish Dragons are to spawn.
I've been using this mod for a while now. In several worlds. There are pleanty of blue water dragons to fight when I'm near to bodies of water, and I've probably killed about 30 already. But there hasn't been even one single drop. What could cause that? A mod conflict?
You’re right, that’s not a mod conflict, just a mistake in one of the files. The drop wasn’t set up correctly, so the Water Dragons aren’t dropping anything right now. The new version will work. Thanks for pointing it out!
Your welcome!
Are you saying I should download the new version right now, or is that something I need to wait a while for it to be released?
I'll be releasing a new version tomorrow, so you'll be able to download it then.
Thank you for your replies and cooperation. Can I ask about Draconis? I know it's not your mod, but I belive your mod's based on it right? Draconis is having the same isses that I asked you about for your mod. I asked about this on the Draconis page, but they havn't replied for a long time. Can you give me some insight on how I could fix this issue in the Draconis mod? Maybe I need to change something in the init.lua file?
Yeah, that bug happens in Draconis too. To fix it, open api/mount.lua and find this part in waterdragon.attach_player(self, player)
function waterdragon.attach_player(self, player) if not player or not player:get_look_horizontal() or not player:is_player() then return end
Right before if not player, just add this:
if not self.object or not self.object:get_pos() then return end
Without that check, the game crashes when the Dragon isn’t fully loaded or its position is nil.
As for ElCeejo — yeah, he hasn’t been updating or replying for a long time now. I’ve sent some pull requests with bugfixes myself, but there’s a lot left broken. So if you’re using Draconis, expect to patch a few things manually like this.
Please, let me know if you hit more issues.
Hi, Thanks for all of your help. Since ElCeejo isn't active on his mod currently I've decided to leave that mod out of my worlds for now. But my prior issue of the Water Dragons not dropping anything on death has returned. The only thing I've directly changed about your mod is to change the lable = in mod.conf to "Water Dragons". And I've added a lot of other mods. So, I suspect a mod conflict again... but I thought I'd ask you again just in case. I tried updating to your newest version, but I'm still not getting drops from killed dragons.
Thanks.
Thank you for sharing this. That is strange, because I have tested the latest version and it works fine on my end. It might indeed be a mod conflict. Could you please tell me which type of Dragon you killed and what were the last steps or incidents before you noticed the bug?
Just in case: this is my official account — I previously replied under the name “Homiak”, but I go by Scottii now.
It's been going on for a while for me. The red, the blue and the green dragons. None drop anything, ever. I mean, they don't drop anything at all now, but they did for a while after you'd fixed the issue previously. I'm going to make a new test world and enable a few mods as possible to see if the dragons are dropping loot that way, and if they are, I'll start testing mod combinations to see if I can find anytying. I'll let you know what i find. Thank you very much for your fast reply.
Thanks for checking into it — and for planning to test in a clean world, that really helps. Just to clarify, in my mod there are only three Dragon colours: grey, blue, and light blue. So if you're seeing red or green ones, they might be coming from another mod, or possibly a texture override. Let me know what you find — I appreciate you taking the time to dig into this, and thanks again for the quick feedback.
Looks like those dragons were still from Draconis. I still had it turned on. I've completely removed Draconis from the mods folder now, and now I'm not seeing any dragons. I created a test world, My only active mods are GC_sprint, 3d_armor, your mod and creatura. Draconis listed cratura as a dependancy, but your doesn't, but I turned it on because after finding a waterdragon nest in my new test world, I didn't see any dragons after running around the nest for a couple of minetest days. I tried physically removing the majority of the other mods from the mods folder, just in case that unlikely solution could help, and I tried reverting graphics and effects settings back to defaults. I tried updating Luanti to the latest too... This seems like an unusual problem. If the mod's working for you and everyone else, then the problem should be local, but I can't think of what else to try. Any thoughts?
Thanks — that gives me a clearer picture. I’ll test the same setup on my end too, just in case. And actually, this might be tied to a long-standing issue that’s been showing up from time to time. I really appreciate all the detail you’re providing — thank you again. I’ll let you know if I find anything from my side.
no problem. let me know if there's anything else I can provide.
I think I have now fixed the issue. I tested it with the same mods you mentioned (GC_sprint, 3d_armor, creatura), and I was able to reproduce the bug. It turned out to be a missing condition in the spawn logic that only happened under certain combinations. Should be working now. Please let me know if the Dragons still don’t appear on your end after updating - I will be releasing the working version tomorrow.
awesome!!
If you install the new version, it should work. If not, please let me know.
Well, I don't know. I haven't seen the new version yet on Content DB so I grabbed it from your github repository. Same issue. I don't have any spawns. But that's even if I turn off all of the other mods. so the only active mod is yours. I'm not sure how that could happen.. Could the issue be somehow machine specific too?
That’s strange… I’ve been testing the mod on an older version of Minetest (5.8.0) and unfortunately I can’t update beyond that at the moment. It’s possible that something in newer Luanti versions changed the way spawning works. I’ll look into making it compatible, but if you can, please let me know which exact version you’re using — that might help narrow it down. Thanks.
ok, I'll hunt down an older version. 5.8.0 if I can find it, and try that. I've been using 5.10. 0 on a daily basis, but I did try 5.12.0 breifly too.
Thanks, that would be really helpful. If it works on 5.8.0, then I’ll know the issue is related to changes in newer versions, and I can work on a fix for them.
Ok, let me try and detail what I found while I can still remember. My resuts aren't what I expected and they're a little bit confusing to me. I got 5.8.0 ready on my machine and copyed my dragond test world over to it from 5.10.0. I went into the game and walked around the dragon nest that I'd previously found for a while (pure water dragon eggs in the nest). Nothin, no spawns. So I thought I'd go find another nest. I found a second nest (pure water dragon eggs in the nest). Two dragons were spawned in the nest the moment I came close to it.
I exited the game, made a backup of this world from luanti 5.10.0 and copied the world from 5.8.0 into 5.10.0. I wanted to see if I'd still see the dragons flying around. I did. I saw them, I fought them and I killed them. And when they died, they just fell to the ground and stayed there. I exited the game and reloaded the game, but the dead dragons were still there, and still dead. No drops. I took screenshots of the dead dragons, but I'm not sure I can send them to you here.
I went back to Luanti 5.8.0 using the version of the world that was already there. I reloaded the world, fought the dragons and killed. them. The result was the same. The fell to the ground dead and stayed there. They didn't despawn and there wasn't any drops.
Part 2 While I was still in Luanti 5.8.0 I went looking for another nest and found one with rare water dragon eggs. Again, as soon as I came close to the nest, two dragons spawned in the nest. And again, when I killed them, the dropped to the ground without despawning and without giving any drops. I recoreded the coordinates of that next, and reloaded the world that I had in 5.10.0 to try to go to those same coordinates and see what would happen when i found the nest fresh in that version of Luanti. But there wasn't a nest there. I guess nest generation isn't tied to anything that would cause their locations to be consistant between multiple copys of the same world that were explored independantly. So, I went looking for another nest. found another nest with rare water dragon eggs. Tow dragons were spawned with the nest and I had the same experiences with those dragons when I killed them.
I've never seen any other dragons spawn in any of those new nests. How often should dragons be spawning in them?
I tried makeing a fresh world in 5.8.0. I found that nests were way more common and were often close enough to each other that I could see two or three of them from one vanage point. But they still didn't despawn or drop anything when they were killed. And the very last nest didn't seem to want to spawn it's customary two dragons.
I hope some of this is useful.
And thank your for all of your attention and help for what still could be a more or less local issue for me... maybe.
Thank you very much for such detailed testing and for taking the time to try different versions. Sorry for the misunderstanding — to get anything from a dead Dragon (it must be laying dead on the ground, as you said), you need to right-click it multiple times to get all of the drops. The number of Dragons in a nest is random — it can be 1 or 2. I’ll check what exactly was happening in your case and how it’s possible that there were always 2 Dragons in all of your cases.
Ahhh, that's vital info. I'm beginning to think that I'd ever encountered one of your dragons before, and it'd always been dragons from other mods. But I went back and checked a student invintory and confirmed that they had drops that included scottish dragon scales. Do the Scottish dragons give their drops outright? And thank you too for continuing with me through all of this.
Yes, the Scottish Dragons give their drops immediately upon death, without needing right-clicks. Thank you again for carefully checking and confirming this — it really helps me a lot. And also thank you for sticking with all these tests and details.
Can I ask? where are Scottish dragons generally supposed to be encountered? Can they be anywhere? What kind of spawn rate? I'm glad my efforts were helpful to you. At some point I'd like to gain some skill with LUA so that I can pass it on to my students, but at this point I'm still very green with it.
Of course! Scottish Dragons can spawn near trees or close to snow. Their spawn rate can be adjusted in the settings, but generally, the longer you stay near trees, the more likely Scottish Dragons are to spawn.