[books] Books Mod

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

[books] Books Mod

by tinoesroho » Wed Feb 13, 2013 19:58

Hi!

Sorry to hear that it's broken. I don't maintain this mod, but you should check out it's modern successor: Bookex. Kaeza includes it as part of his mods collection - you can download it all as a zip, here. - tinoesroho


[hr]
[big]This mod is retired.[/big]
Stop! Before you decide to try out this mod, you should try:
- Mossmanniken's memorandum mod
Write on paper. Send letters by mail, or bottle!

+ Books Mod
Last edited by tinoesroho on Wed May 20, 2015 15:52, edited 2 times in total.
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Feb 13, 2013 20:07

i like it but can you also have it work with books themselves so you can make adventures using books as guides
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

User avatar
LorenzoVulcan
Member
 
Posts: 437
Joined: Mon Mar 12, 2012 06:46

by LorenzoVulcan » Wed Feb 13, 2013 20:09

Nice mod,really nice.
Developer of the BlockForge 2# Project!
Official thread: http://minetest.net/forum/viewtopic.php?pid=54290#p54290
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Feb 13, 2013 20:18

Well, its one of my mods and here is the original post: http://forum.minetest.net/viewtopic.php?pid=40337#p40337.
 

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

by Inocudom » Wed Feb 13, 2013 20:20

Bookshelves could be allowed to have three books.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Feb 13, 2013 20:25

we should write in books and then place them in book shelves
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

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

by Inocudom » Wed Feb 13, 2013 20:50

jojoa1997 wrote:we should write in books and then place them in book shelves


I don't know how that could work, but it is a good idea. Books could be written inside of and bookshelves could have slots specifically for them. This gives books and bookshelves a good reason to exist.
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

by tinoesroho » Wed Feb 13, 2013 21:01

@PilzAdam:

D'oh! Forgot to check that thread. I've edited the topic to redirect to the thread for downloads - hope you don't mind.
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11

by Josh » Thu Feb 14, 2013 01:56

I like the idea. Maybe the map mod could use some code from it. +1
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Feb 14, 2013 09:06

tinoesroho wrote:@PilzAdam:

D'oh! Forgot to check that thread. I've edited the topic to redirect to the thread for downloads - hope you don't mind.

No problem. The license is WTFPL. You can also add the download link to the first post and add something like "Dependencies: default" so it fits the forum guidelines.
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

by tinoesroho » Thu Feb 14, 2013 20:07

Done, and done!
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Thu Feb 14, 2013 20:29

Some notes:
-Use this to craft the pencil:
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
coal
stick
stick


-Use " | " to force a newline
Last edited by PilzAdam on Thu Feb 14, 2013 20:29, edited 1 time in total.
 

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

by Inocudom » Wed Mar 27, 2013 22:25

You should try to make the input box on the right page as big as the page itself. This will make it easier to edit the page.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Tue Apr 16, 2013 02:38

The download link is broken. Please updat
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

by tinoesroho » Tue Apr 16, 2013 23:54

The file you requested is here, it seems that omploader lost Pilz's file.
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Apr 17, 2013 00:10

tinoesroho wrote:The file you requested is here, it seems that omploader lost Pilz's file.
could you pleasse put the file somewhere else. I cant download on my pc and it says authorize download on my tablet. Maybe put it on dropbox
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

rarkenin
Member
 
Posts: 668
Joined: Tue Nov 20, 2012 20:48

by rarkenin » Wed Apr 17, 2013 00:39

jojoa1997 wrote:
tinoesroho wrote:The file you requested is here, it seems that omploader lost Pilz's file.
could you pleasse put the file somewhere else. I cant download on my pc and it says authorize download on my tablet. Maybe put it on dropbox


It works for me. What is the SPECIFIC error message?
Admin pro tempore on 0gb.us:30000. Ask me if you have a problem, or just want help.
This is a signature virus. Add me to your signature so that I can multiply.
Now working on my own clone, Mosstest.
I guess I'm back for some time.
 

User avatar
jojoa1997
Member
 
Posts: 2890
Joined: Thu Dec 13, 2012 05:11

by jojoa1997 » Wed Apr 17, 2013 00:54

rarkenin wrote:
jojoa1997 wrote:
tinoesroho wrote:The file you requested is here, it seems that omploader lost Pilz's file.
could you pleasse put the file somewhere else. I cant download on my pc and it says authorize download on my tablet. Maybe put it on dropbox


It works for me. What is the SPECIFIC error message?
It was the downloading with mediafire where the problem was. Though i got it now. Media fire is weird with android somethimes
Coding;
1X coding
3X debugging
12X tweaking to be just right
 

clarksallador
Member
 
Posts: 57
Joined: Sun Sep 30, 2012 03:18

by clarksallador » Thu Apr 18, 2013 14:59

Sorry but i have this problem:
22:58:01: ERROR[main]: ServerError: LuaError: error: ...test-0.4.6\bin\..\games\survival\mods\books\init.lua:117: bad argument #1 to 'get_node' (table expected, got nil)
22:58:01: ERROR[main]: stack traceback:
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

by tinoesroho » Fri Apr 19, 2013 00:57

It looks like the method used to check if the pencil hit the bookshelf isn't working properly in 0.4.6. This _should_ fix it. I just don't know if it will- I use only 0.4.5. Let me know how this works!

Books, for 0.4.6
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

clarksallador
Member
 
Posts: 57
Joined: Sun Sep 30, 2012 03:18

by clarksallador » Fri Apr 19, 2013 11:10

still got this problem
19:07:51: ERROR[main]: =======END OF ERROR FROM LUA ========
19:07:51: ERROR[main]: Server: Failed to load and run D:\minetest-0.4.6\bin\..\games\survival\mods\books\init.lua
19:07:51: ERROR[main]: ModError: Failed to load and run D:\minetest-0.4.6\bin\..\games\survival\mods\books\init.lua
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Fri Apr 19, 2013 12:17

clarksallador wrote:still got this problem
19:07:51: ERROR[main]: =======END OF ERROR FROM LUA ========
19:07:51: ERROR[main]: Server: Failed to load and run D:\minetest-0.4.6\bin\..\games\survival\mods\books\init.lua
19:07:51: ERROR[main]: ModError: Failed to load and run D:\minetest-0.4.6\bin\..\games\survival\mods\books\init.lua

You should post the error message above the "END OF ERROR FROM LUA".
 

LazyJ
Member
 
Posts: 479
Joined: Wed Sep 12, 2012 12:29

by LazyJ » Sat Sep 28, 2013 22:29

This mod is very useful for keeping build notes at the project sites.

I noticed that it stores the text in the log very much like sign text is stored.

Is it possbile to update this mod to create plain-text files for each "book" and store them in a "book" sub-folder? The text files names created by a title field in the "book" screen and a scroll bar for long text entries?

I've tried kaeza's wiki mod. It's a good mod and useful when used as inteneded but it has a limited number of wiki-pages and the pages aren't site specific like the "books" bookshelves are.

The "books" bookshelf next to a cottage contains build notes, reminders, specs, instructions, adventure story segment, mystery story clue, etc. particular to that specific cottage.

The wiki mod opens to a main page where you have to figure out which subpage referrs to this cottage among a dozen or more other cottages which doesn't work well when looking for design details of a specific build.

If you are creating a story map, the wiki mod shows everything in the story. No searching for clues. Spoilers are too easily found. Why bother traveling to different sections of the map as you follow along the story line when the whole story is there in the wiki mod? These are areas where the "Books" mod has advantages over the wiki mod.

Hopefully these will give other's ideas on how the "Books" mod can be used and improved.
Last edited by LazyJ on Sat Sep 28, 2013 22:36, edited 1 time in total.
.: Minetest 0.4.14 ~ Linux Mint ~ A moka pot, a French press, a dirty coffee cup, and a spoiled-rotten kitty :.
Visit our Minetest server at: LinuxGaming2.com, port 30000
Screenshots, overview maps, and server info at: http://forum.minetest.net/viewtopic.php?f=10&t=5684
My blog: http://lazyjminetest.blogspot.com/
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

by tinoesroho » Sun Sep 29, 2013 02:14

Mossmanikin's Memo Mod would be excellent, combined with a modified Prestibags mod, and the bookshelf inventory code.

So, there's an idea, and it's quite quite feasible. In fact, I think it's quite doable as a modpack (memo, bookshelves, "prestibooks"). The only real work would be to override the default bookshelf with a 3x3 storage (not hard), and changing nodenames in prestibags, and then replace textures/have it override default:book

EDIT: I wasn't thinking too clearly when I wrote that. :-/ Work would have to be done on changing the formspec to a "reader", which would display the text from the slots.
Last edited by tinoesroho on Mon Sep 30, 2013 13:08, edited 1 time in total.
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

User avatar
Element
Member
 
Posts: 269
Joined: Tue Jun 11, 2013 00:27
IRC: Elementwing4962
In-game: Elementwing4962

by Element » Mon Sep 30, 2013 03:08

can you edit what you have already wrote...like delete what you have writen amd right something else--from my ipod
Join Me And My Team - thornfyregaming-mc.noip.me:25565

My Server Is 1.7.9
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

by tinoesroho » Mon Sep 30, 2013 13:03

Yeah, you can edit. Look in the "actionbar" beneath a post, to the right, and you should see Edit on your own. :-)
We are what we create.

I tinker and occasionally make (lousy) mods. Currently building an MMO subgame and updating mods. Pirate Party of Canada member. Sporadic author. 21 years old.

My github:
https://github.com/tinoesroho/
 

gamergardencat
Member
 
Posts: 55
Joined: Wed Oct 01, 2014 11:58

Re: [books] Books Mod

by gamergardencat » Tue Oct 14, 2014 15:56

10:47:21: ERROR[main]: ========== ERROR FROM LUA ===========
10:47:21: ERROR[main]: Failed to load and run script from
10:47:21: ERROR[main]: C:\Users\gamergardencat\Desktop\Workbench\MinetestMain\minetest-0.4.10-64bit\bin\..\mods\books\init.lua:
10:47:21: ERROR[main]: ...estMain\minetest-0.4.10-64bit\bin\..\mods\books\init.lua:121: unexpected symbol near 'then'

Lines 117-130
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
minetest.register_on_punchnode(function(pos, node, puncher)    
if node.name == "default:bookshelf" then
hit_with = puncher:get_wielded_item()            
if hit_with_name == "books:pencil" then
then
         local meta = minetest.env:get_meta(pointed_thing.under)
         meta:set_string("formspec", get_write_formspec(meta))
         meta:set_string("infotext", "Bookshelf (editable)")
         itemstack:add_wear(65535/50)
         return itemstack
      end
   end,
})

Misplaced then?
minetest.register_on_punchnode looks like old api. Or maybe not. http://dev.minetest.net/minetest.register_on_punchnode
superman slices a giant apple into 3 and hands it to guest220
 

gamergardencat
Member
 
Posts: 55
Joined: Wed Oct 01, 2014 11:58

Re: [books] Books Mod

by gamergardencat » Tue Oct 14, 2014 16:15

Replacement code.
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
minetest.register_on_punchnode(function(pos, node, puncher, pointed_thing)
   if puncher:get_wielded_item():get_name() == "default:bookshelf"
  then
    hit_with = puncher:get_wielded_item()
    if hit_with_name == "books:pencil"
    then
      local meta = minetest.env:get_meta(pointed_thing.under)
        meta:set_string("formspec", get_write_formspec(meta))
        meta:set_string("infotext", "Bookshelf (editable)")
        itemstack:add_wear(65535/50)
        return itemstack
    end
  end
end)

Image

I don't see how to write in it.
superman slices a giant apple into 3 and hands it to guest220
 

gumangel
Member
 
Posts: 23
Joined: Thu Jan 01, 2015 21:44
In-game: LaA

Re: [books] Books Mod

by gumangel » Thu Jan 01, 2015 21:47

i cant start a new line i press shift+(a specific key) to write | but is not working.beside that the mod is amazing!
 

tinoesroho
Member
 
Posts: 570
Joined: Fri Feb 17, 2012 21:55

Re: [books] Books Mod

by tinoesroho » Thu Jan 01, 2015 21:59

Hi!

Sorry to hear that it's broken. I don't maintain this mod, but you should check out it's modern successor: Bookex. Kaeza includes it as part of his mods collection - you can download it all as a zip, here.
 

Next

Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 10 guests