Download
(26 Kb)
Download
Updated: 09/23/22 01:46 AM
Pictures
File Info
Compatibility:
Firesong (8.2.5)
Greymoor (6.0.5)
Updated:09/23/22 01:46 AM
Created:05/04/18 03:54 PM
Monthly downloads:252
Total downloads:42,232
Favorites:142
MD5:
Categories:Miscellaneous, Data Mods, Group, Guild & Friends, Info, Plug-in Bars, RolePlay, Utility Mods
Notebook 2018  Popular! (More than 5000 hits)
Version: 4.83
by: Phuein [More]
Gift me @phuein in-game, if you have extra crowns and appreciate my addons. (Ask me which DLC I didn't get yet!) Thank you!

This is a changed, updated, and fixed version of the addon Notebooks by Glen348 that is now outdated. There is only one notebook now, instead of three. I personally use Shift+F or F1 to display the notebook (KeyBindings -> User Interface -> Notebook.) /nb will also display it. And /nbs will display the settings menu.

New Japanese translation: https://www.esoui.com/downloads/info...anslation.html

Recommendations:
  • Backup your notes outside of the game! You can copy & paste them anywhere, like a .txt file or your Google Docs, or...

  • Back up your data file by copying it or with Google Drive Sync at:
    C:\Users\%USERNAME%\Documents\Elder Scrolls Online\live\SavedVariables\Notebook2018.lua

  • Before changing your character's name, back up its Notebook. [I haven't tested this myself, so please post in the comments if a name-change loses its Notebook or not.] (Shouldn't affect the Account-Wide Notebook.)

  • After writing meaningful changes to your Notebook, you must use /reloadui (in the chat) to immediately save them to file! Otherwise, there is a risk that a game-crash will lose all those changes.


This fork changes the following:
  • Fixed positioning of elements.

  • Fixed a bug with page options displaying incorrectly for new pages.

  • Improved default settings.

  • Using Escape now closes the notebook (as part of SCENE_MANAGER.)

  • Fixed and changed when confirmation dialogues appear. (Deleting will always request confirmation!)

  • Double clicking a word will only select that word. Please use Ctrl+A to select the whole page. (This can be changed in Settings.)

  • Fixed the Title and Page from showing and allowing writing, when there is no page selected.

  • The button in chat is now positioned better, and its position can be offset within limit.

  • The settings menu is now organized by categories.

  • Max characters per page is 1,900.
    NOTE: Unicode characters take extra space! And up to 3,000 characters can be displayed for editing purposes.

  • The Undo button has been removed. (Selecting any page will undo your changes.)

  • The info icon has been updated.

  • Fixed a visual issue with the z-index of page selection buttons.


And adds the following:
  • New Page Title now defaults to current time and date (or "New Page" if that fails.)

  • Page moving Up / Down buttons for sorting pages easily.

  • Text Formatting display mode that shows colors, images, and more. It's on by default when not editing the text.

  • An option in Settings for when Edit Mode is entered and exited (default is Clicking.)

  • An option in Settings to select a default New Page Title.

  • An Account-Wide mode that uses the same Notebook for all characters in your account. Its pages & settings are separate and do not affect the characters' pages & settings.
    NOTE: Each character has to activate it for itself.

  • An option in Settings to overwrite the Account-Wide Notebook with data from the current character's pages & settings.

  • An option in Settings to disable /read and /idle when opening and closing the Notebook.

  • An option in Settings for Line Selection with Tripleclick (Doubleclick+1).
    BUG: Doesn't work correctly with UTF/Unicode characters and some texts. Unfixable.

  • An option in Settings to change Text Selection highlight color.

  • Scrolling control (and fix) for Formatted and Edit Text modes.

  • An option in Settings to toggle Formatted Text Mode (colors, images) as an override (if you just want it off.)

  • An option in Settings to change the text color in the Notebook.

  • When editing a page, a character counter will display at the bottom-right.

  • An option in Settings to overwrite another account's Account-Wide or another character's Character-Wide Notebook (same account or another) on the same PC.
    WARNING: It is strongly recommended that you back up your notes before committing any overwrites. (Please report if this is working for you.)

  • A right-click menu to page selection.

  • A Send as Mail menu option that opens your Mail Send dialog, puts the page's title as the mail subject, and the page's content as the mail body. NOTE: Page title max-length has been set to match mail subject max-length. And the recipient field will not be changed in your mail.

  • Dividers between pages. To create a divider, just change a page's title to "---" (3 dashes) and when you save the page it will show. (The divider is also still a page, so it can have content.)

  • The Notebook will always load into the last selected page (even after logout.)

  • A Copy from Mail menu option that copies the subject and body of your currently selected mail item in your inbox, into the open page's title and text. NOTE: This does not also save the page for you. Option only available when right-clicking the current page.

  • An option in Settings to set the book's texture (style) between: Paper, Rubbing, and Skin.

  • An option in Settings to display the Notebook over other UI elements, to assist with taking notes, such as during quest dialogues. NOTE: Enabled by default.

  • A Copy Random Line page menu option that copies a random line from the page into the chatbox. NOTE: Will not pick the same line twice.

  • An option in Settings to make chat-links clickable inside the Notebook. NOTE: Enabled by default.

  • A Toggle Markup text menu option that toggles the new official Text Formatting (colors, images) mode. NOTE: My old method that allowed this is now hopefully redundant, and is disabled entirely.

  • Added a Russian translation. Thanks to user GJSmoker for improving it!

Originally Posted by Glen348 (with edits)
Virtual Notebook to keep track of everything you want to remember!
...allows you to create as many pages as you wish to write down.

Features:
• Change Title of Notebook
• Lockable/Draggable window
• Scrollable editbox
• Delete pages you don't need
• Undo changes (goes back to last saved)
• Optional confirmation upon New, Delete, Undo, and Save & option to turn them off.
• Chat window button for easy toggle and adjustable.
• Color tinting of the notebook cover & chat button.

Commands:
• /nb toggles the window on/off (or bind a key.)
• /nbs displays the settings.

Languages:
English = Default
German = Thanks to Corbie & Rhadek
French = Google Translate

Special Thanks To:
Seerah, for the base coding.
Circonian, for help with problem solving.


And here's all the extra special symbols I found that work in-game, a la notebook / chat.

АÀÁÂÃÄÅÅаàáâãäåØßВЪЬьъв♭
©СÇсÐЕЁÈÉÊË€ёеèéêë∈£
ОÖÒÓÔÕØФðòóôõöøо
КкНнÌÍÎÏı¿ŁłМм∩ИПЙÑпийñ
РÞр®ГгŠšТт∪ЦÙÚÛÜцüú ù û
ХхÝŸУ¥учýÿШЩшщ

!"#$%&'()*+,-./0123456789:
;<@ABCDEFGHIJKLMNOPQRSTU
VWXYZ[\]^_`abcdefghijkl
mnopqrstuvwxyz{|}~。「」、・ヲァィゥェォャュョッーアイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユ

¦°™♯×»«÷½¤§±²³´µ¶·Œœˆ%лЫыбфÆБэюяД ЖЗЛЧЭЮЯджз⌒♪♀♂∝≠√∋⊇⊆⊃⊂∇∮∭∬∫∂∞≡≪≫∠∟∃∀∵∴∨∧—“„†‡•… ̄◯¬←↑→ ↓〃ゕ乂メ【】『』”*°ø¤

ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじ
すずせぜそぞただちぢっつづてでとどなにぬねのは
ばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆ
ょよらりるれろゎわゐゑをんゔ゛゜ゝゞ

ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ①②③④⑤⑥⑦⑧⑨⑩
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.1
3kB
03/08/23 03:43 AM
Patch


Archived Files (37)
File Name
Version
Size
Uploader
Date
4.82
26kB
Phuein
03/16/21 06:12 PM
4.81
27kB
Phuein
12/20/20 08:06 PM
4.80
72kB
Phuein
12/20/20 07:05 PM
4.79
72kB
Phuein
05/21/20 06:08 PM
4.78
72kB
Phuein
08/21/19 10:35 AM
4.77
72kB
Phuein
08/19/19 01:08 PM
4.76
69kB
Phuein
08/19/19 01:20 AM
4.73
67kB
Phuein
07/24/19 05:48 PM
4.71
67kB
Phuein
07/09/19 03:43 PM
4.70
66kB
Phuein
06/12/19 03:33 PM
4.67
66kB
Phuein
06/12/19 12:12 AM
4.65
66kB
Phuein
06/04/19 05:30 PM
4.64
66kB
Phuein
05/30/19 11:18 PM
4.63
65kB
Phuein
05/28/19 03:08 PM
4.62
65kB
Phuein
05/25/19 10:45 AM
4.60
65kB
Phuein
05/21/19 10:25 PM
4.54
64kB
Phuein
05/07/19 11:44 AM
4.53
62kB
Phuein
03/30/19 12:37 AM
4.52
61kB
Phuein
03/16/19 04:01 PM
4.51
61kB
Phuein
09/09/18 01:11 AM
4.50
61kB
Phuein
09/05/18 04:50 PM
4.49
61kB
Phuein
08/16/18 12:20 PM
4.48
61kB
Phuein
08/12/18 10:00 PM
4.46
61kB
Phuein
07/11/18 12:17 AM
4.45
61kB
Phuein
06/28/18 09:14 PM
4.42
59kB
Phuein
06/27/18 06:09 PM
4.41
59kB
Phuein
06/14/18 09:03 PM
4.4
50kB
Phuein
06/14/18 12:23 AM
4.3
49kB
Phuein
06/05/18 04:55 PM
4.22
48kB
Phuein
06/03/18 11:09 PM
4.21
48kB
Phuein
06/02/18 03:49 PM
4.2
48kB
Phuein
06/02/18 01:11 AM
4.14
47kB
Phuein
05/22/18 10:44 PM
4.12
48kB
Phuein
05/17/18 12:08 PM
4.11
48kB
Phuein
05/13/18 01:01 PM
4.1
48kB
Phuein
05/11/18 10:08 AM
4.0
48kB
Phuein
05/04/18 03:54 PM


Post A Reply Comment Options
Unread 03/17/19, 07:18 AM  
term

Forum posts: 0
File comments: 32
Uploads: 0
Re: Re: Re: Re: Save File immediatelly

Phuein, thank you for the additional insight on the issue. I didn't realize I could do a /reloadui to save if necessary. Some days ago, I tried each of the versions and for me none saved their savedvariables files until I logged out. (However, I did not wait longer than 10 minutes or try the /reloadui). I also thought of the possibility other versions exist that are not currently available. In any case, it was interesting to see the evolution of the Notebook.

Thank you very much for your work.

Originally Posted by Phuein
VERY interesting conversation!
Report comment to moderator  
Reply With Quote
Unread 03/16/19, 01:57 AM  
Phuein
 
Phuein's Avatar
AddOn Author - Click to view AddOns

Forum posts: 132
File comments: 270
Uploads: 16
Re: Re: Re: Save File immediatelly

VERY interesting conversation!

TL;DR No changes are necessary. Addon updated with the Description section to make sure users know to backup their Notebook and to use /reloadui after writing meaningful changes.

This is my saving code, as followed by the actual game code and the official guide:

Code:
NBUI.db = ZO_SavedVars:New("NBUISVDB", 1, nil, NBUI.defaults)
It's an object that changes live, but only saves to disk (file) on logout or /reloadui and so on. This is by the game developers' design (with many complaints on the forums heh.)

And here is the old Notebooks code, for comparison:

Code:
NBUIDB = NBUIDB or {}
This uses the script's assumption (in the .txt) that NBUIDB (renamed in my version) is the file to use.

NOW, my assumption was that both methods should work the same. They both entirely rely on the game itself for loading and saving data. Also, my method allows for Account-Wide saving, which is cool. (And also versioning, which is less important here.)

HOWEVER, I never heard anyone say that the old Notebooks saves immediately! And I admit that curiosity gets the better of me. Can a second person confirm this? I'll do it myself in the coming days, unless somebody can deny this by testing the old version, too.

EDIT: So I just tried the old addon, and as expected it does not save immediately. The two addons save the same way - which means the game saves it in its own way.

I appreciate all the compliments and love hearing that people still enjoy my work!


EDIT: Some extra reading to catch up on new game updates shows that they have implemented a sort-of fix for this, which I haven't tested myself. Until I do, if anybody else does, please report back here! Sadly, I just tested it and other than doing a /reloadui, nothing else saved sooner (within a 10 minutes timespan.) Maybe it does save somehow, which is better than nothing, but I'll do two things:
  • Post on the forums to ask the game dev's to clarify their solution, or fix it.
  • Update this addon's description with a recommendation to do /reloadui after meaningful changes.

Quoting:

Addons will now auto-save their saved variables periodically while the game is running. If the addon's saved variables are too large (more than 50kb in size or more than 4ms to write) it will instead wait until the next load screen to do the work. An addon can request to be prioritized for saving, which is useful if you know that a change happened:

RequestAddOnSavedVariablesPrioritySave(addonName)

This function prioritizes the addon to be saved before non-prioritized addons. After a save, it will no longer be marked as a priority.

You may also disable auto saving for your addon by putting the following line at the top of your addon manifest file:

## DisableSavedVariablesAutoSaving 1
Last edited by Phuein : 03/16/19 at 04:20 PM.
Report comment to moderator  
Reply With Quote
Unread 03/09/19, 08:44 AM  
Aldaryon

Forum posts: 0
File comments: 4
Uploads: 0
Re: Re: Save File immediatelly

Originally Posted by term
...

I don't know how Glens version got around this. It seems saving immediately may not be possible.

If I am wrong, someone please correct me.

Originally Posted by Aldaryon
Glens version saves the notes file on save button press; i.e. immediately.
Your version saves on logout, which means, all changes are lost whenever the game crashes, which happens quite often.
Unfortunately, you are wrong . I am still using Glens version and it saves immediately. So I won't switch to this one until it does too.
Report comment to moderator  
Reply With Quote
Unread 03/08/19, 08:05 AM  
term

Forum posts: 0
File comments: 32
Uploads: 0
Re: Save File immediatelly

Did a little reading on the issue, and it seems the way data is written to the saved variables file is an ESO limitation because to do otherwise addons can be created that "cheat." Read that from some pretty knowledgeable authors, however that is old information. It seems to still be true since addons I use all update the saved variables file after I log out.

I don't know how Glens version got around this. It seems saving immediately may not be possible.

If I am wrong, someone please correct me.

Originally Posted by Aldaryon
Glens version saves the notes file on save button press; i.e. immediately.
Your version saves on logout, which means, all changes are lost whenever the game crashes, which happens quite often.
Report comment to moderator  
Reply With Quote
Unread 03/06/19, 09:38 AM  
boxanata

Forum posts: 0
File comments: 16
Uploads: 0
Dude, this is one of the coolest addons I have ever used. Seriously, thank you for keeping this up-to-date!
Report comment to moderator  
Reply With Quote
Unread 03/01/19, 07:32 PM  
term

Forum posts: 0
File comments: 32
Uploads: 0
Re: Save File immediatelly

You can immediately save a page at any time clicking an icon on the left side next to the pages title. That icon does not appear until you make a change to the page. I'm not sure if that's what you mean by saving your work. Question: If I save the page i am working on, and then the game crashes, does that mean my changes really aren't saved? If so, I never knew that.

To Phuein: Thank you for your work and I hope Notebook 2018 (2019) continues to be supported.

EDIT: I just checked my save file and you're right, my changes were not saved until I logged out. Thank you for raising the issue.

Originally Posted by Aldaryon
I really appreciate your work, reviving the outdated version by Glen348. You have fixed some annoying bugs and glitches. Thanks for that! But there is one thing that is worse... much worse, at least for me... and let me keep Glens version.

Glens version saves the notes file on save button press; i.e. immediately.
Your version saves on logout, which means, all changes are lost whenever the game crashes, which happens quite often.

Please consider an update on that.
However, nice work! Thank you.
Last edited by term : 03/01/19 at 07:58 PM.
Report comment to moderator  
Reply With Quote
Unread 02/28/19, 06:01 AM  
Aldaryon

Forum posts: 0
File comments: 4
Uploads: 0
Save File immediatelly

I really appreciate your work, reviving the outdated version by Glen348. You have fixed some annoying bugs and glitches. Thanks for that! But there is one thing that is worse... much worse, at least for me... and let me keep Glens version.

Glens version saves the notes file on save button press; i.e. immediately.
Your version saves on logout, which means, all changes are lost whenever the game crashes, which happens quite often.

Please consider an update on that.
However, nice work! Thank you.
Last edited by Aldaryon : 02/28/19 at 09:49 AM.
Report comment to moderator  
Reply With Quote
Unread 11/22/18, 11:59 AM  
Phuein
 
Phuein's Avatar
AddOn Author - Click to view AddOns

Forum posts: 132
File comments: 270
Uploads: 16
Originally Posted by unLeashed3k
All the ["text"] in the SavedVariables disappear for me when I logout/quit the game for just one character. All other characters the text remains. File size is 9KB currently if that has any bearing on why this happens.
Is that character using the Character-wide book or the Account-wide book? And those other characters?

Sounds like one might be overriding the other. If size was an issue, I'd expect it to cut-off, rather than empty out.
Report comment to moderator  
Reply With Quote
Unread 11/19/18, 07:57 AM  
unLeashed3k
AddOn Author - Click to view AddOns

Forum posts: 33
File comments: 12
Uploads: 1
All the ["text"] in the SavedVariables disappear for me when I logout/quit the game for just one character. All other characters the text remains. File size is 9KB currently if that has any bearing on why this happens.

They look like this now:

Code:
                [11] = 
                    {
                        ["text"] = "",
                        ["title"] = "6:02pm Sun', November 18, '18",
                    },
Seems /reloadui also does this but I haven't manually used that command for days.
Report comment to moderator  
Reply With Quote
Unread 09/13/18, 01:05 AM  
Phuein
 
Phuein's Avatar
AddOn Author - Click to view AddOns

Forum posts: 132
File comments: 270
Uploads: 16
Originally Posted by Leia
Works great.

Thank you for the new safety features (counter) and the really fast (WoW!) work on the problems and the implementing of a solution and updating.

m (_ _) m
Thanks! It's important to me to make sure it works as expected, much more than implementing new features. I take it more easy on the latter.
Report comment to moderator  
Reply With Quote
Unread 09/12/18, 08:56 AM  
Leia

Forum posts: 0
File comments: 48
Uploads: 0
Works great.

Thank you for the new safety features (counter) and the really fast (WoW!) work on the problems and the implementing of a solution and updating.

m (_ _) m
Report comment to moderator  
Reply With Quote
Unread 09/09/18, 09:49 PM  
Phuein
 
Phuein's Avatar
AddOn Author - Click to view AddOns

Forum posts: 132
File comments: 270
Uploads: 16
Originally Posted by RavenMind
Character count & refusal to save working great. Thanks for the update!
Thanks!
Report comment to moderator  
Reply With Quote
Unread 09/09/18, 03:54 AM  
RavenMind
 
RavenMind's Avatar

Forum posts: 6
File comments: 391
Uploads: 0
Character count & refusal to save working great. Thanks for the update!
Report comment to moderator  
Reply With Quote
Unread 09/09/18, 01:13 AM  
Phuein
 
Phuein's Avatar
AddOn Author - Click to view AddOns

Forum posts: 132
File comments: 270
Uploads: 16
To keep y'all in the loop, the addon is now updated. It has a counter at the bottom-right, and it prevents saving when over the limit. Details for this are at the addon description page.

I also added a guard, so there is no editing bug when trying to load a faulty page. [text]=nil will display as empty string "" and let you edit normally.
Report comment to moderator  
Reply With Quote
Unread 09/08/18, 11:33 PM  
Phuein
 
Phuein's Avatar
AddOn Author - Click to view AddOns

Forum posts: 132
File comments: 270
Uploads: 16
Okay, I got more info from the forums. Not conclusive, but I'll have to test it.

http://www.esoui.com/forums/showthre...5973#post35973

I'll test it soon and try to, at the very least, avoid false-saves! That's just unacceptable.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.