[Mod] Castles++ Rolling release [git] [castle]

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

[Mod] Castles++ Rolling release [git] [castle]

by philipbenr » Post

Latest update:

Added chandeliers, other formspec fixes

--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--

Castles Mod (++)

--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--

Quick-Summary:
This is a mod all about creating castles and their surroundings. Many of the nodes are used for the outer-walls, dungeons or decorations. There are some very nifty items in the mod as well, mainly an auto-crafter and ropebox

Download: https://github.com/minetest-mods/castle ... master.zip
...or browse the code: https://github.com/minetest-mods/castle
For the 0.4.15-compatible version (no hardware coloring), get this ZIP file.

License: MIT, LGPLv2.1 (crossbow code)
Spoiler
  • Walls, Corner-walls,
  • Castlestone Stairs and Slabs
  • Pillars
  • Jailbars
  • Hides
  • Arrowslits
  • Rubble (for between walls)
  • Doors
  • Chandeliers
  • Good bow and arrows
Spoiler
[*]More weapons
[*]More decorations
[*]More nodes
[*]Redone columns
[*]More doors
[*]Gatehouse mod
[*]Armor
[*]More magical items (mana, orbs, potions...)
[*]Crowns/capes/player decor
[*]Flags
[*]Books
[*]Brewery/Liquor (liquor effects? May be possible)
[*]Tannery?
[*]Guards?
[*]Player status (King, queen, etc.)?
[*]Foods?
[*]Horses/Livestock?
[*]Ruins?[/list]
Screenshots:

Image
Image
Image
Image
Image
Image
Image

More to come...

Anyhow, nothing new from other castles mod, but I'll get something going eventually. Just browse through that Coming Eventually spoiler to have a little glance into the future.

Feedback? Post it all. I want to hear what you think.

QuestionForNow: If you read my latest post, what do you think about all the updates/features.
Last edited by philipbenr on Thu May 19, 2016 23:41, edited 22 times in total.

User avatar
mimilus
Member
Posts: 75
Joined: Thu Mar 06, 2014 09:08
GitHub: mimilus
IRC: Mimilus
Location: France

Re: [Mod] Castles++ : Yet another fork [0.5] [castle] (Githu

by mimilus » Post

Cool castle mod

Hello did you look in my secret wall and doors lua files for making secret passage in walls ?

My github : https://github.com/mimilus/castle

I like the idea of secret wall for the castle maybe you could use it.

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Castles++ : Yet another fork [0.5] [castle] (Githu

by Inocudom » Post

If you will add mimilus's creations, then you better make this into a modpack.

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] Castles++ : Yet another fork [0.5] [castle] (Githu

by philipbenr » Post

I intend to remove the old pillars I made and add Glünggi's collumnia mod. I prefer that one much more.

Anyhow, my goal with this project is to revive my old castles mod. If you browse around, you will see that castles was originally made by me, Dan forked it, I worked on it with him, and he (sadly) left. :( Oh well. Still, I have found some other really nice mods that I think I will put in this mp. Dan's camo mod has the psuedo nodes that you can walk through. Anyway, I will add secret passageways and something of the sort.

I also made the recipe a bit awkward, so I think some of them I will change..

Thanks for looking.

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Castles++ : Yet another fork [0.5] [castle] (Githu

by Inocudom » Post

mimilus wrote:Cool castle mod

Hello did you look in my secret wall and doors lua files for making secret passage in walls ?

My github : https://github.com/mimilus/castle

I like the idea of secret wall for the castle maybe you could use it.
Mimilus, we have a problem:

Code: Select all

17:57:36: ERROR[main]: ========== ERROR FROM LUA ===========
17:57:36: ERROR[main]: Failed to load and run script from 
17:57:36: ERROR[main]: /home/derek/.minetest/mods/castle/init.lua:
17:57:36: ERROR[main]: ...etest/bin/../games/minetest_game/mods/doors/init.lua:32: attempt to index field 'groups' (a nil value)
17:57:36: ERROR[main]: stack traceback:
17:57:36: ERROR[main]: 	...etest/bin/../games/minetest_game/mods/doors/init.lua:32: in function 'register_door'
17:57:36: ERROR[main]: 	/home/derek/.minetest/mods/castle/castle_doors.lua:10: in main chunk
17:57:36: ERROR[main]: 	[C]: in function 'dofile'
17:57:36: ERROR[main]: 	/home/derek/.minetest/mods/castle/init.lua:30: in main chunk
17:57:36: ERROR[main]: ======= END OF ERROR FROM LUA ========
17:57:36: ERROR[main]: Server: Failed to load and run /home/derek/.minetest/mods/castle/init.lua
17:57:36: ERROR[main]: ModError: ModError: Failed to load and run /home/derek/.minetest/mods/castle/init.lua

User avatar
mimilus
Member
Posts: 75
Joined: Thu Mar 06, 2014 09:08
GitHub: mimilus
IRC: Mimilus
Location: France

Re: [Mod] Castles++ : Yet another fork [0.5] [castle] (Githu

by mimilus » Post

which standart game do you use ?

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Castles++ : Yet another fork [0.5] [castle] (Githu

by Inocudom » Post

Base game of the latest development version of Minetest and Carbone in the latest development version of Freeminer. Failed in both of them.

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Castles++ : Yet another fork [0.5] [castle] (Githu

by Inocudom » Post

CraigyDavi has a fork of darkage:
viewtopic.php?p=150997#p150997
It might be of interest to you, since it too deals with castles.

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] Castles++ : Yet another fork [0.5] [castle] (Githu

by philipbenr » Post

Yes, I am interested. Very much so. Forgot to add that to the Coming eventually section.

Right now, I am having problems with git on my computer, so I might be going over to Bitbucket from github; I am going to try to use mercurial, which is nicer, and hopefully works.

Edit:
I:
As for the workbench:
When you place it, I intend to have an npc standing next to it, 'mining it'. This is to achieve the effect that he is working on the workbench and is producing the objects on it. I love the idea and really want to do it, but it would take me a while because I don't know much about the npc mod. Anyhow, what do you think about the idea?

II:
I will be putting some releases of the mod in my dropbox and just use that until I have finished everything else.

Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Mod] Castles++ : Yet another fork [0.5] [castle]

by Minetestforfun » Post

Thank you for your work !

A modpack is a good idea for an "all-in-one" castle decorations ! :)
Last edited by Minetestforfun on Wed Aug 20, 2014 00:14, edited 1 time in total.

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [Mod] Castles++ : Yet another fork [0.5] [castle]

by Inocudom » Post

Might it be possible for you to post this modpack in the Freeminer forums too? Not much happens there these days.

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] Castles++ : Yet another fork [0.5] [castle]

by philipbenr » Post

Sure. I've noticed, in fact. After I do gardening decor. That is top on priority list.

Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Mod] Castles++ : Yet another fork [0.5] [castle]

by Minetestforfun » Post

Hi,

i've a problem with your mod (my server runs 0.4.10 latest dev version) :

Code: Select all

02:10:04: ERROR[main]: ========== ERROR FROM LUA ===========
02:10:04: ERROR[main]: Failed to load and run script from
02:10:04: ERROR[main]: /home/quentinbd/minetest/bin/../mods/castles/init.lua:
02:10:04: ERROR[main]: ...home/quentinbd/minetest/bin/../mods/castles/init.lua:1: attempt to concatenate a nil value
02:10:04: ERROR[main]: stack traceback:
02:10:04: ERROR[main]:  ...home/quentinbd/minetest/bin/../mods/castles/init.lua:1: in main chunk
02:10:04: ERROR[main]: ======= END OF ERROR FROM LUA ========
02:10:04: ERROR[main]: Server: Failed to load and run /home/quentinbd/minetest/bin/../mods/castles/init.lua
02:10:04: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/quentinbd/minetest/bin/../mods/castles/init.lua

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] Castles++ : Yet another fork [0.5] [castle]

by philipbenr » Post

Go find a version of old minetest game and get the doors mod out of that. The new minetest game (formerly minetest next) has a bad version of doors. In other words, I wrote this mod with the old doors as a dependency, and will only use that one for now. I might look into adding the new doors later, but I have something special coming out. It'll be here this weekend.

Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Mod] Castles++ : Yet another fork [0.5] [castle]

by Minetestforfun » Post

I can't take an old version of "doors" mod, sorry :)

I haven't see any commit after your last message, this fork can be very insterresting. Are you Still working on that fork ?

Xanthin
Member
Posts: 126
Joined: Fri Mar 07, 2014 14:05
GitHub: Xanthin
IRC: Xanthin
In-game: Xanthin
Location: Germany

Re: [Mod] Castles++ : Yet another fork [0.5] [castle]

by Xanthin » Post

Hello Minetestforfun,

just tested this version and got the same error like you. I solved this issue by renaming the mods folder from "catles" to "castle" cause the debug complains about this:

Code: Select all

dofile(minetest.get_modpath("castle").."/pillars.lua")
and so on. You see, in the code the original mod name is used (castle) instead of the new name (castles).

When I did this, a new error occured and is about what philipbenr said.

Code: Select all

09:19:45: ERROR[main]: ========== ERROR FROM LUA ===========
09:19:45: ERROR[main]: Failed to load and run script from 
09:19:45: ERROR[main]: ...\minetest-0.4.10-e5b4748-win32\bin\..\mods\castle\init.lua:
09:19:45: ERROR[main]: ...748-win32\bin\..\games\minetest_game\mods\doors\init.lua:21: attempt to index field 'groups' (a nil value)
09:19:45: ERROR[main]: stack traceback:
09:19:45: ERROR[main]: 	...748-win32\bin\..\games\minetest_game\mods\doors\init.lua:21: in function 'register_door'
09:19:45: ERROR[main]: 	...inetest-0.4.10-e5b4748-win32\bin\..\mods\castle\init.lua:204: in main chunk
09:19:45: ERROR[main]: ======= END OF ERROR FROM LUA ========
I solved this issue by changing in the init.lua

Code: Select all

doors:register_door("castle:oak_door", {
and

Code: Select all

doors:register_door("castle:jail_door", {
into

Code: Select all

doors.register_door("castle:oak_door", {
and

Code: Select all

doors.register_door("castle:jail_door", {
.

Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Mod] Castles++ : Yet another fork [0.5] [castle]

by Minetestforfun » Post

@Xanthin
Ok, thank you very much !
I've rename the mod castle, and i've now the init.lua problem

i've copied and pasted your code for change the two lines you quote, but they are no changes with the initial line and after-change line you quote

i steel have the error init.lua

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] Castles++ : Yet another fork [0.5] [castles]

by philipbenr » Post

First, yes, I am still very excited about working on this mod, so (duh) I am still working on it.

Yes, I am sorry for all the bugs, but I think that everything will be changed in time. For the doors, I will found the door api in the minetest_game the file "game_api.txt"

Also I have gotten halfway through changing the mod into a modpack, so there will be no more problems with dofile anymore...

Finally, I am saying this; All my mods are officially slowed, which means they are going to be moving at a slower development rate. I am going into my sophomore year of highschool, where I am taking a few advanced classes (Pre-calculus and Chemistry. Most everybody else is taking Algebra 2 and Biology.) and doing after school robotics (FRC robotics program) I'm sorry, but the development will be really slow, and I will seldom have time to work on this, as well as my other mod/packs and my subgame.

Xanthin
Member
Posts: 126
Joined: Fri Mar 07, 2014 14:05
GitHub: Xanthin
IRC: Xanthin
In-game: Xanthin
Location: Germany

Re: [Mod] Castles++ : Yet another fork [0.5] [castles]

by Xanthin » Post

@ philipbenr
Much success for your highschool. (hehe, have to confess that I am a "most everybody", also took Biology but no! Mathematics and was nevertheless, a few years later, faced in my biology studies with both XD). Tyt and I am curious what you will add further.

@ Minetestforfun
I just tested it again. I dont know what else could be wrong. It´s just about changing the colon infront of "register_door" into a simple point because it was changed in the game as you can see here https://github.com/minetest/minetest_ga ... 5c178a8L28.

pheonixfire
Member
Posts: 94
Joined: Sun Oct 21, 2012 06:25
In-game: pheonix
Location: Australia

Re: [Mod] Castles++ : Yet another fork [0.5] [castles]

by pheonixfire » Post

with the changes by Xanthin, I got castles mod to work with
Fess's 0.4.10-dev, commit d7364d65ac build

pheonixfire

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] Castles++ : Yet another fork [0.5] [castles]

by philipbenr » Post

Cool. I will take a look at that version. Also I will try and change the colons and get the whole thing finished as a modpack. and since I didn't have internet this last weekend, I will try and do that this next weekend.

User avatar
balthazariv
Member
Posts: 214
Joined: Mon Apr 07, 2014 15:48
Contact:

Re: [Mod] Castles++ : Yet another fork [0.5] [castles]

by balthazariv » Post

Thanks Xanthin for error correction and Philipbenr for the work to keep your mod update.

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] Castles++ : Yet another fork [0.5] [castles]

by philipbenr » Post

I'm sorry. All my mods are suck. That is mostly because I don't get the time to do anything with them.
Just about every single mod I have posted is very very underdone and half baked. This is the best one mainly because Dan helped me out with it. But other than that, I do not have not many good mods. :(
Bad day if you could tell, but half of it is true.

Minetestforfun
Member
Posts: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: MinetestForFun
Location: On earth
Contact:

Re: [Mod] Castles++ : Yet another fork [0.5] [castles]

by Minetestforfun » Post

philipbenr, would not it be better if you join the project of the mod "darkage (improved)" ?
Because the "contains" and "comes" sections are the same :)

User avatar
philipbenr
Member
Posts: 1897
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: [Mod] Castles++ : Yet another fork [0.5] [castles]

by philipbenr » Post

Sorry, just a really bad morning. Anyhow, it's the weekend, and If I might get something done. I will get the doors stuff down, and finish the modpack transfer. I am also using Glunggi's columnia. That one has some nice aspects (more pillars, smart crafting recipes)

Also, I hope to add in the chandeliers as well. Anyhow, here is what I am thinking. I am just going to take the set of nodeboxes I have already made, add in a idea similar to RHR's lantern mod. (Small lanterns) Anyhow, I am just going to use worldedit, make a .mts schematic, and just use that instead of busting my brain trying to code it. I will also have streetlight schematics and maybe do some instabuild towers.

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests