[Mod] Write on Paper [0.1.1] [memorandum]

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Tue Aug 27, 2013 12:51

Small update (0.0.5)
- you get the default paper if you rightclicked on the placed paper but didn't write anything (Zeg9 found an issue :D)

Noob 4 life!
My stuff
 

User avatar
DaN
Member
 
Posts: 82
Joined: Sat Apr 06, 2013 19:09

by DaN » Thu Oct 17, 2013 22:38

This mod is great! However...
Mossmanikin wrote:all whom made Minetest, modding and this mod possible

It should be all who made Minetest. QD tip for remembering this is who goes with he (or in this case, they) and whom goes with him (or them).
DaN H.
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Thu Oct 17, 2013 23:01

DaN wrote:This mod is great!

Thanks. :)

DaN wrote:However...
Mossmanikin wrote:all whom made Minetest, modding and this mod possible

It should be all who made Minetest. QD tip for remembering this is who goes with he (or in this case, they) and whom goes with him (or them).

Also thanks. Will change it.

Noob 4 life!
My stuff
 

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

by Element » Fri Oct 18, 2013 02:05

there should be a way to edit what you wrote
Join Me And My Team - thornfyregaming-mc.noip.me:25565

My Server Is 1.7.9
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Fri Oct 18, 2013 19:58

Element wrote:there should be a way to edit what you wrote


Maybe I'll add an eraser.

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Sat Oct 19, 2013 20:06

Update (0.0.6)

Eraser added. See first post for more info.

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Mon Oct 21, 2013 19:00

Update (0.0.8)

- Eraser works different.
- Message in a bottle.

Noob 4 life!
My stuff
 

User avatar
DaN
Member
 
Posts: 82
Joined: Sat Apr 06, 2013 19:09

by DaN » Tue Oct 22, 2013 01:11

Mossmanikin wrote:Update (0.0.6)

Eraser added. See first post for more info.

Mossmanikin wrote:Update (0.0.8)

- Eraser works different.
- Message in a bottle.


OMG You are awesome :D
I tried to make them editable but failed horribly...
DaN H.
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Tue Oct 22, 2013 13:48

DaN wrote:OMG You are awesome :D
I tried to make them editable but failed horribly...


Thanx :D

What exactly did you do to edit the letter and under which circumstances?
First leftclick and then rightclick, on the placed letter, while holding an eraser?
In multiplayer or singleplayer?
Was it a signed letter?
If so: did you spell the name right?

Noob 4 life!
My stuff
 

bentleysb
Member
 
Posts: 18
Joined: Sat Feb 09, 2013 02:18

by bentleysb » Thu Oct 31, 2013 17:24

I have encountered an error when I was getting the letter out of a bottle. I missed the block I was going to click on and instead left clicked in the air. Minetest then crashed. here is what you will want from the debug:
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
10:14:55: ACTION[ServerThread]: BSB uses memorandum:message, pointing at [nothing]
10:14:56: ERROR[main]: ServerError: LuaError: error: ...est-0.4.7\minetest-0.4.7\bin\..\mods\memorandum\init.lua:239: attempt to index field 'under' (a nil value)
10:14:56: ERROR[main]: stack traceback:

Hope you can fix this soon, I love this mod.
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Thu Oct 31, 2013 18:34

bentleysb wrote:I have encountered an error when I was getting the letter out of a bottle. I missed the block I was going to click on and instead left clicked in the air. Minetest then crashed. here is what you will want from the debug:
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
10:14:55: ACTION[ServerThread]: BSB uses memorandum:message, pointing at [nothing]
10:14:56: ERROR[main]: ServerError: LuaError: error: ...est-0.4.7\minetest-0.4.7\bin\..\mods\memorandum\init.lua:239: attempt to index field 'under' (a nil value)
10:14:56: ERROR[main]: stack traceback:

Hope you can fix this soon


Thanks for spotting that error. Should be fixed now.

bentleysb wrote:I love this mod.


Thank you. :)

-------------------

Update (0.0.9)
- bug fixed

Noob 4 life!
My stuff
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Thu Oct 31, 2013 21:52

What, no github repo for this one??? ;-)
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Fri Nov 01, 2013 20:27

VanessaE wrote:What, no github repo for this one??? ;-)


Not yet. :D

(But it will follow.)

Noob 4 life!
My stuff
 

User avatar
Bas080
Member
 
Posts: 398
Joined: Mon May 21, 2012 15:54
GitHub: bas080
IRC: bas080
In-game: bas080

by Bas080 » Sun Nov 10, 2013 02:25

This could work better if paper was a node and used the drawtype that ladder also uses. That way you can stick it the the wall or ceiling too.
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Sat Dec 21, 2013 17:56

Bas080 wrote:This could work better if paper was a node and used the drawtype that ladder also uses. That way you can stick it the the wall or ceiling too.


Sorry for late response.
I thought about that too, maybe I'll change it.

Btw: mod's on GitHub now.

Noob 4 life!
My stuff
 

User avatar
SegFault22
Member
 
Posts: 870
Joined: Mon May 21, 2012 03:17

by SegFault22 » Sat Dec 21, 2013 19:21

Awesome mod. I have a suggestion: add Wax seals, so that we can seal closed the more important/royal letters, and the letter can not be opened without breaking the seal, making it obvious that the message has been intercepted.
Resources are abundant; only money is scarce. People should not have to work hard and remain poor just to pay for the needs of survival.
Society can thrive without money - but only if productive members of society are rewarded for being productive.
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Sat Dec 21, 2013 20:10

SegFault22 wrote:Awesome mod. I have a suggestion: add Wax seals, so that we can seal closed the more important/royal letters, and the letter can not be opened without breaking the seal, making it obvious that the message has been intercepted.


Thank you. :)
Yeah, a wax seal would be a nice feature. I'm not sure how to do that yet, but I'll see what I can do.

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Thu Dec 26, 2013 19:34

Write on Paper 0.1.0
- One can pin a letter at a wall (eye level or higher)


To place a letter at a wall there has to be a node which you could build to (e.g. air, flower) below, otherwise it will be placed on the ground.
If you place a letter too high above your head it floats in the air.
I wish I would've found a simpler and cleaner way to combine the features of facedir and wallmounted. I'm open for suggestions to improve the code.

First texture for a wax seal is there, but unused. Not sure how to implement it yet.

Noob 4 life!
My stuff
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

by Krock » Thu Dec 26, 2013 20:31

Mossmanikin wrote:I wish I would've found a simpler and cleaner way to combine the features of facedir and wallmounted.

There should be a drawtype, "ladderlike" or however it was called... it worked fine for ladders, then why not here too?
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Thu Dec 26, 2013 21:35

Krock wrote:There should be a drawtype, "ladderlike" or however it was called... it worked fine for ladders, then why not here too?


Yeah, it's called "signlike", used it here.
But didn't want to miss the ability to be able to rotate a letter horizontally depending on the direction the player looks when placing it on the ground. With "signlike" and "wallmounted" only this doesn't seem to be possible.
That's why I used two nodes: one with "signlike" and "wallmounted", the other one with "nodebox" and "facedir".

Noob 4 life!
My stuff
 

User avatar
VanessaE
Member
 
Posts: 3894
Joined: Sun Apr 01, 2012 12:38
GitHub: VanessaE
IRC: VanessaE
In-game: VanessaEzekowitz

by VanessaE » Fri Dec 27, 2013 02:00

Actually if you just use nodebox + facedir, you can rotate it to sit against the wall OR floor (or ceiling) quite easily. Facedir/param2 values go from 0 to 23, just experiment until you find the right values.

The Lua API tries to explain it, but look at the dirs1{} and dirs2{} tables used by the rotate_and_place() function in builtin/misc_helpers.lua for hints on how it *really* works.
You might like some of my stuff:
Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (16-512px)
Tips (BTC): 13LdcdUFcNCFAm7HfvAXh5GHTjCnnQj6KE
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Fri Dec 27, 2013 02:21

VanessaE wrote:Actually if you just use nodebox + facedir, you can rotate it to sit against the wall OR floor (or ceiling) quite easily. Facedir/param2 values go from 0 to 23, just experiment until you find the right values.

The Lua API tries to explain it, but look at the dirs1{} and dirs2{} tables used by the rotate_and_place() function in builtin/misc_helpers.lua for hints on how it *really* works.


Thank you, Vanessa. :)
I'll experiment with it.

Noob 4 life!
My stuff
 

User avatar
Mossmanikin
Member
 
Posts: 599
Joined: Sun May 19, 2013 16:26

by Mossmanikin » Fri Jan 03, 2014 01:04

Write on Paper 0.1.1
- Removed 2 nodes
- Letters can be pinned to a wall below eye level

Messages aren't lost, but some old letters are rotated incorrectly.
+ Screens

This can be "easily" fixed by picking them up and placing them again (hope nobody used letters as wallpapers).

Noob 4 life!
My stuff
 

User avatar
DaN
Member
 
Posts: 82
Joined: Sat Apr 06, 2013 19:09

by DaN » Mon Mar 31, 2014 17:55

Mossmanikin wrote:Write on Paper 0.1.1
- Removed 2 nodes
- Letters can be pinned to a wall below eye level

Messages aren't lost, but some old letters are rotated incorrectly.
[spoiler=Screens]
https://dl.dropboxusercontent.com/s/88dtt05ssmo2i2k/screenshot_97392227.png
https://dl.dropboxusercontent.com/s/45cgz0ci51d6lmv/screenshot_97659081.png
[/spoiler]
This can be "easily" fixed by picking them up and placing them again (hope nobody used letters as wallpapers).


Wallpapers... hmm... nah.
DaN H.
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

by philipbenr » Tue Apr 01, 2014 01:14

DaN wrote:
Mossmanikin wrote:Write on Paper 0.1.1
- Removed 2 nodes
- Letters can be pinned to a wall below eye level

Messages aren't lost, but some old letters are rotated incorrectly.
[spoiler=Screens]
https://dl.dropboxusercontent.com/s/88dtt05ssmo2i2k/screenshot_97392227.png
https://dl.dropboxusercontent.com/s/45cgz0ci51d6lmv/screenshot_97659081.png
[/spoiler]
This can be "easily" fixed by picking them up and placing them again (hope nobody used letters as wallpapers).


Wallpapers... hmm... nah.


Doesn't quite fit my style...
"The Foot is down!"
 

User avatar
vitaminx
Member
 
Posts: 49
Joined: Tue Dec 30, 2014 15:08
GitHub: vitaminx

Re: [Mod] Write on Paper [0.1.1] [memorandum]

by vitaminx » Mon Mar 02, 2015 15:54

Hi, my server crashed yesterday with:

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
09:24:36: ERROR[main]: ERROR: An unhandled exception occurred: ...est-server/.minetest/mods/memorandum/memorandum/init.lua:75: attempt to concatenate field 'text' (a nil value)
09:24:36: ERROR[main]: stack traceback:
09:24:36: ERROR[main]:  ...est-server/.minetest/mods/memorandum/memorandum/init.lua:75: in function <...est-server/.minetest/mods/memorandum/memorandum/init.lua:63>


I know there's an issue open @Github already, but no fix since 6 months.
Could anyone please look at it?

ty, vitaminx
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Write on Paper [0.1.1] [memorandum]

by Krock » Mon Mar 02, 2015 18:26

vitaminx wrote:Could anyone please look at it?

Just extend the following lines:

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
63   on_receive_fields = function(pos, formname, fields, sender)
+         if not (fields.text and fields.signed) then
+            return
+         end
64      local meta = minetest.get_meta(pos)
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
vitaminx
Member
 
Posts: 49
Joined: Tue Dec 30, 2014 15:08
GitHub: vitaminx

Re: [Mod] Write on Paper [0.1.1] [memorandum]

by vitaminx » Tue Mar 03, 2015 08:57

Hi, thanks for the fix, I've opened a pull request for the author.
Meanwhile you can get the fixed repository here:
https://github.com/vitaminx/memorandum
 

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

Re: [Mod] Write on Paper [0.1.1] [memorandum]

by amadin » Sat Jul 04, 2015 05:42

vitaminx wrote:Hi, thanks for the fix, I've opened a pull request for the author.
Meanwhile you can get the fixed repository here:
https://github.com/vitaminx/memorandum

Your fix work but:
01:41:05: WARNING: Assignment to undeclared global "mssg" inside a function at .../games/minetest_game/mods/memorandum/memorandum/init.lua:126.
01:41:05: WARNING: Assignment to undeclared global "sgnd" inside a function at .../games/minetest_game/mods/memorandum/memorandum/init.lua:127.
And server was crashed then player used lastic (eraser).
 

Previous

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 36 guests

cron