Quantcast
Download
(2 Kb)
Download
Updated: 03/01/20 03:43 PM
Pictures
File Info
Compatibility:
Harrowstorm (5.3.4)
Dragonhold (5.2.5)
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Updated:03/01/20 03:43 PM
Created:02/27/20 08:02 PM
Monthly downloads:118
Total downloads:1,160
Favorites:7
MD5:
Auto Read
Version: 1.0.3
by: Momotaur [More]
This is a simple addon that allows you to auto read books. Instead of having to close books manually, now you don't even have to see them at all! Who reads anyways? Not me!

This addon's functionality is available elsewhere, but why install an addon that does more than what you need it to? Now you can don't have to worry about your load screens being bogged down by this, that, and the other thing that 'addon xyz' gives you when all you wanted was to speed read!

Changelog:

v1.0.3 - Fixed Minion install error

v1.0.2 - Tidied up code and commented much more. Made addon description more... descriptive.

v1.0.1 - It actually works now!

v1.0.0 - First Version! It sorta works...
Optional Files (0)


Post A Reply Comment Options
Unread 03/11/20, 11:37 AM  
baldylox

Forum posts: 3
File comments: 42
Uploads: 0
testing this addon as i speed run by book cases and this is faster than opening and changes pages or moving.

BUT you CANNOT open the Shrine of Mara....
Report comment to moderator  
Reply With Quote
Unread 03/02/20, 01:36 PM  
Momotaur
 
Momotaur's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
@Baertram, I reinstalled the addon from Minion when I got @BigM's comment and I found that there was actually an error somewhere between the install and ESO loading that caused the addon to straight-up not work, (which I fixed) that I think was the specific issue they were talking about.

Other than the error, I totally agree with you. This addon saves like, 2 seconds of time for a given user. Manually closing a book is a minor inconvenience, at worst, but it was a minor inconvenience that I didn't feel like dealing with! :P

I was using "No, Thank You!" (one of the many other addons that offer this functionality) to handle this need, but for some reason it throws a whole bunch of errors whenever I use it, so I made this addon instead of trying to fix it (lol). I like this addon more (totally unbiased opinion), anyways, because I only ever used this one function from that addon, and now it's way smaller! Besides the other, larger addons that offer this functionality, the other addon that you (@Baertram) keep referencing, "SpeedFarmer," is not maintained anymore, so this is now the only up-to-date addon that fills this purpose (and only this purpose!).
Report comment to moderator  
Reply With Quote
Unread 03/02/20, 09:51 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3095
File comments: 3719
Uploads: 63
I think BigM wanted to say the addon is no benefit cuz if the book opens he pressed once w to step forward ingame and the book closes This is vanilla UI and no addons are needed for this to happen.

The benefit here is that the book does not open anymore (at least SpeedFarmer handled it this way) and you just used the "Use" key and the book was read. So you save a bit of a time.
No feedback though was given if it worked so you had to assume it
Last edited by Baertram : 03/02/20 at 09:52 AM.
Report comment to moderator  
Reply With Quote
Unread 03/01/20, 03:45 PM  
Momotaur
 
Momotaur's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Minion install error

@BigM, Yes, you are correct. There seems to have been an issue, either with Minion installing the addon, or with ESO reading the addon, but I believe I have fixed it now. Thank you for bringing the problem to my attention, and thank you for using Auto Read!
Report comment to moderator  
Reply With Quote
Unread 03/01/20, 01:33 PM  
BigM
 
BigM's Avatar

Forum posts: 15
File comments: 366
Uploads: 0
Maybe am confused. Book opens, I hit W to go forward book closes. Been doing this for ages.

To me addon does nothing.
Report comment to moderator  
Reply With Quote
Unread 02/29/20, 12:41 PM  
Momotaur
 
Momotaur's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 1
Addon Coding Tips

@Baertram, thank you for the tips on my code, I appreciate it a lot! This is my first addon, so I greatly appreciate the help! Version 1.0.2 will be out soon with these changes in mind!

@amber1019, thanks for checking out my addon! As Baertram said, this is an addon that reads and closes books automatically. I already know that this isn't a unique addon, but this is an addon that is able to be used on it's own, as-is (and is like, 3 kb). I have like, a hundred addons active at any given time, so I like to make sure that I don't have overlap between them. If you're like me - or you just hate reading - then this is the addon for you!
Report comment to moderator  
Reply With Quote
Unread 02/28/20, 05:53 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3095
File comments: 3719
Uploads: 63
It closes the books automatically.
Same like e.g. SpeedFarmer
Report comment to moderator  
Reply With Quote
Unread 02/28/20, 04:57 AM  
amber1019
Addon Addict
 
amber1019's Avatar
Premium Member

Forum posts: 92
File comments: 412
Uploads: 0
Sorry......... what does this addon do exactly?
Report comment to moderator  
Reply With Quote
Unread 02/27/20, 08:23 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3095
File comments: 3719
Uploads: 63
Thanks and welcome to addon coding.
You should put the other events (except event_add_on_loaded) into your event_add_on_loaded callback function (AutoRead.OnAddOnLoaded) in order to let them register first as your addon was loaded properly!

Else they could try to trigger stuff before your addon even reached event_add_on_loaded and stuff was setup properly.

Lua Code:
  1. -------------
  2. -- Actions --
  3. -------------
  4.  
  5. local function HideBook(eventCode, bookTitle, body)
  6.     SCENE_MANAGER:Push("hudui")
  7.     Print("%s", bookTitle)
  8.     hide = true
  9. end
  10.  
  11. local function HideCursor(eventCode, hidden)
  12.     if (hide) then
  13.         if (hidden) then
  14.             SCENE_MANAGER:Push("hud")
  15.             hide = false
  16.         end
  17.     end
  18. end
  19.  
  20. ----------
  21. -- Init --
  22. ----------
  23. function AutoRead.OnAddOnLoaded(event, addonName)
  24.     if addonName == AutoRead.name then
  25.         EVENT_MANAGER:UnregisterForEvent(AutoRead.name, EVENT_ADD_ON_LOADED)
  26.         Print("Initialized...")
  27.  
  28.         EVENT_MANAGER:RegisterForEvent(AutoRead.name, EVENT_SHOW_BOOK, HideBook)
  29.         EVENT_MANAGER:RegisterForEvent(AutoRead.name, EVENT_RETICLE_HIDDEN_UPDATE, HideCursor)
  30.     end
  31. end
  32. ...
  33. ---------------------
  34. -- Event Registers --
  35. ---------------------
  36.  
  37. EVENT_MANAGER:RegisterForEvent(AutoRead.name, EVENT_ADD_ON_LOADED, AutoRead.OnAddOnLoaded)

And this will create some weird entries in your table AutoRead:
Lua Code:
  1. AutoRead = { name, version }
  2. AutoRead.name = "AutoRead"
  3. AutoRead.version = 2

Code:
AutoRead = {
[1] = "AutoRead",
[2] = 2
["name"] = "AutoRead",
["version"] = 2
}
You should maybe change the first line to:
AutoRead = { }
Last edited by Baertram : 02/27/20 at 08:28 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: