it certainly sounds like it! resting respects everything in both addons, but auto-explore and running do not respect faster RRE. this seems to be the only conflict I've found so far. as I mentioned earlier, everything else works cleanly.Dracos wrote:Okay, I see a collision in both overriding the RUN_AUTO with different local functions. Patched locally.
Is that what you're running into? Investigating and testing around that, but if there's other visible misses, let me know.
Improved Auto-Explore and Rest
Moderator: Moderator
Re: Improved Auto-Explore and Rest
Re: Improved Auto-Explore and Rest
Okay, San0ix, based on:
[ENGINE] Setting requested FPS to 3 (333 ms)
[LOG] Resting starts...
[LOG] Norgan's skin returns to normal.
[LOG] #00ff00##UID
0#Talent Distortion Bolt is ready to use.
[ENGINE] Setting requested FPS to 60 (16 ms)
[LOG] Rested for 28 turns (stop reason: all resources and life at maximum).
I think it is working for rests for you. I don't see any Run examples in the log, but I'll fling up what's current and hopefully it fixes things, if not, we'll try again.
Edit:
New version up, give it a whirl.
[ENGINE] Setting requested FPS to 3 (333 ms)
[LOG] Resting starts...
[LOG] Norgan's skin returns to normal.
[LOG] #00ff00##UID
[ENGINE] Setting requested FPS to 60 (16 ms)
[LOG] Rested for 28 turns (stop reason: all resources and life at maximum).
I think it is working for rests for you. I don't see any Run examples in the log, but I'll fling up what's current and hopefully it fixes things, if not, we'll try again.
Edit:
New version up, give it a whirl.
ToME Tips - auto-generated spoilers for ToME. - someone else made. I find super awesome, so spreading as well.
Re: Improved Auto-Explore and Rest
very nice! thank you so much for this update!
Re: Improved Auto-Explore and Rest
Would it be possible to add an option to ignore very small amount of damage? I'm a Ghoul and want to use the Tree of Life but it damages me 2 points each turn and interrupts my auto exploring.
Re: Improved Auto-Explore and Rest
Hmm, very small damage should be ignored. Though maybe I put that in only for resting.
Share a log of the event and yeah, certainly.
Share a log of the event and yeah, certainly.
ToME Tips - auto-generated spoilers for ToME. - someone else made. I find super awesome, so spreading as well.
Re: Improved Auto-Explore and Rest
This is what the game log gives when I try to auto-explore with the Tree of Life equipped as a Ghoul:
Is there any other logs you need?Saving game...
Resting starts...
Rested for 0 turns (stop reason: all resources and life at maximum).
Saving done.
Ran for 2 turns (stop reason: taken damage).
Spiffy McGong III hits Spiffy McGong for 2 nature damage.
Re: Improved Auto-Explore and Rest
Nope. Will take a look 

ToME Tips - auto-generated spoilers for ToME. - someone else made. I find super awesome, so spreading as well.
Re: Improved Auto-Explore and Rest
How about don't equip the Tree of Life on an undead...
My feedback meter decays into coding. Give me feedback and I make mods.
Re: Improved Auto-Explore and Rest
Yeah, could be said, but then there's also a lot for saying "I don't care about these tiny traps in my way" when doing a high regen build as berserker.
Anyhow, both resting and explore now optionally have ignore small damage, both with safety margins where they'll always stop to make sure you don't just get yourself mauled to death.
Anyhow, both resting and explore now optionally have ignore small damage, both with safety margins where they'll always stop to make sure you don't just get yourself mauled to death.
ToME Tips - auto-generated spoilers for ToME. - someone else made. I find super awesome, so spreading as well.
Re: Improved Auto-Explore and Rest
This broke pretty badly with 1.4.0, I can't even start a new campaign with it active.
It spawned an error which I can easily reproduce, but I can't file the log file where it was recorded, if any -- how can I do that?
edit: Nevermind, I figured it out -- looks like it wasn't generating new text logs until I ran the game as admin. Here it is:
It spawned an error which I can easily reproduce, but I can't file the log file where it was recorded, if any -- how can I do that?
edit: Nevermind, I figured it out -- looks like it wasn't generating new text logs until I ran the game as admin. Here it is:
Code: Select all
Lua Error: /hooks/improved-restauto/load.lua:55: attempt to index field 'engine' (a nil value)
At [C]:-1 __index
At /hooks/improved-restauto/load.lua:55
At [string "return function(l, self, data) local ok=false..."]:1 triggerHook
At /mod/class/Game.lua:94 run
At /engine/Module.lua:1034 instanciate
At /engine/utils.lua:2221 showMainMenu
At /engine/init.lua:165
At [C]:-1 dofile
At /loader/init.lua:217
Re: Improved Auto-Explore and Rest
Thanks for the poke. I started working on this last weekend, ran into some trouble with it seeming to not quite process the init hook anymore.
I'll be trying to get this working again this weekend.
1.4 just happened to launch while I was EO bingin' so I have to look over that to get over here
I'll be trying to get this working again this weekend.
1.4 just happened to launch while I was EO bingin' so I have to look over that to get over here

ToME Tips - auto-generated spoilers for ToME. - someone else made. I find super awesome, so spreading as well.
Re: Improved Auto-Explore and Rest
Your mod is a tremendous help, especially on Celestial and Afflicted classes where the shorter rest times help conserve decaying resources -- to say nothing of how much it improves autoexplore behavior and sanity checks in general. Thank you for continuing to support it!Dracos wrote:Thanks for the poke. I started working on this last weekend, ran into some trouble with it seeming to not quite process the init hook anymore.
I'll be trying to get this working again this weekend.
1.4 just happened to launch while I was EO bingin' so I have to look over that to get over here
Re: Improved Auto-Explore and Rest
Okay, I 'think' I fixed the mod to work on 1.4.2 (at least without obvious trouble in a reasonable go bang myself up and rest run about) ... but right before I was going to upload ToME became enormously unstable, no matter whether addon was enabled or not or there or not. Even after a fresh wipe of pretty much everything. I have trouble proving its related though. There might just be something obviously dumb that I did (overfill config.settings perhaps?)
Anyhow, my tolerance for closing and reopening the game tonight has peaked. Placing this here, in case someone brave feels like giving a sanity check by trying it out (would appreciate actually), but it might be a few more days before I come back to this. Don't feel comfortable updating when Create New Character blows up 2 out of 3 times in.
Edit:
Rename to .teaa since for some reason uploading teaas isn't working tonight? Eh, just not my night. This probably has a nasty subtle bug in it
Anyhow, my tolerance for closing and reopening the game tonight has peaked. Placing this here, in case someone brave feels like giving a sanity check by trying it out (would appreciate actually), but it might be a few more days before I come back to this. Don't feel comfortable updating when Create New Character blows up 2 out of 3 times in.
Edit:
Rename to .teaa since for some reason uploading teaas isn't working tonight? Eh, just not my night. This probably has a nasty subtle bug in it

- Attachments
-
- tome-improved-restauto.zip
- (31.42 KiB) Downloaded 432 times
ToME Tips - auto-generated spoilers for ToME. - someone else made. I find super awesome, so spreading as well.
Re: Improved Auto-Explore and Rest
Challenge accepted. This will probably be the only time I could ever be called 'brave'Dracos wrote:Placing this here, in case someone brave feels like giving a sanity check by trying it out (would appreciate actually),

And...
Ran fine for me. Tried it with all of the other add ons I normally use with no issue. Tested Mana, Stamina and Equilibrium characters. Spammed abilities to use up resources and then rested. Triggered runes/infusions and Meditation to recover faster, rested through minor damage. Seems to be doing everything intended, and I had zero issues with creating or playing new characters with this enabled. I don't know what kind of instability you were running into, but it doesn't seem to be related to the add on.
I think it is safe to unleash on the ToME community. I will certainly be glad to have this back up and running
