ToME: the Tales of Maj'Eyal
http://forums.te4.org/

Improved Auto-Explore and Rest
http://forums.te4.org/viewtopic.php?f=50&t=44401
Page 3 of 7

Author:  Dracos [ Mon Feb 08, 2016 5:00 pm ]
Post subject:  Re: Improved Auto-Explore and Rest

That's good to know. Really wish I knew what was going on with char creation yesterday (It was basically failing 3 out of 4 times I went to character create).

Provided its working sanely tonight and I can get to the upload prompt, I'll try and upload it.

Author:  Dracos [ Fri Feb 12, 2016 2:17 am ]
Post subject:  Re: Improved Auto-Explore and Rest

Tried again with similar luck. Either its broken or something really doesn't want me to get to upload it :(

Author:  jenx [ Tue Feb 16, 2016 12:13 pm ]
Post subject:  Re: Improved Auto-Explore and Rest

because of invalid hash, using this addon means i can't play online and can't save chars to the vault :-(

can this be fixed please?

Author:  Dracos [ Sat Feb 27, 2016 5:18 am ]
Post subject:  Re: Improved Auto-Explore and Rest

Grawr. :( WIll be trying again this weekend. It just really would always explode these past tries when I went to upload.

Author:  Dracos [ Sat Feb 27, 2016 10:01 pm ]
Post subject:  Re: Improved Auto-Explore and Rest

Things are fixed. Wish I knew why it gave me trouble for so long but slowly putting it back together got something working minus a weird unused esp table.

Author:  nsrr [ Sat Feb 27, 2016 10:05 pm ]
Post subject:  Re: Improved Auto-Explore and Rest

Dracos wrote:
Things are fixed. Wish I knew why it gave me trouble for so long but slowly putting it back together got something working minus a weird unused esp table.


Glad to hear it, thanks for your work!

Author:  Dracos [ Sat Feb 27, 2016 11:53 pm ]
Post subject:  Re: Improved Auto-Explore and Rest

There's still a bug with option changing :( Fixing it.

Author:  Dracos [ Sun Feb 28, 2016 1:41 am ]
Post subject:  Re: Improved Auto-Explore and Rest

And that is now fixed.

Also added support for auto going into stealth (option controlled).

Blargh.

Author:  jenx [ Sun Feb 28, 2016 5:10 am ]
Post subject:  Re: Improved Auto-Explore and Rest

so, it is a valid addon now? the game sucks without this, i don't know why it isn't in the main code tbh.

Author:  Dracos [ Sun Feb 28, 2016 4:02 pm ]
Post subject:  Re: Improved Auto-Explore and Rest

Yeah, it is. Available off steam and te4.org as usual.

Author:  Dracos [ Wed Mar 02, 2016 2:52 pm ]
Post subject:  Re: Improved Auto-Explore and Rest

Question for other addon creators:
How do you safely reference talents in DLC? I'd like to add in support for the various healing and recovery inscriptions that are new in Embers, but I don't want to break the addon for folks who don't have embers.

Author:  astralInferno [ Wed Mar 02, 2016 3:34 pm ]
Post subject:  Re: Improved Auto-Explore and Rest

Hide the references to their talents inside an 'if' statement that looks for DLC stuff.
For example, my adventurer plus addon only loads the tinker stuff:

class:bindHook("ToME:load",
function(self, data)
if ActorTalents.talents_types_def["steamtech/automation"] then
Birther:loadDefinition("/data-adventurerplusaura/birth/classes/tinkerhero.lua")
end
end
)

Author:  nsrr [ Thu Mar 03, 2016 5:11 am ]
Post subject:  Re: Improved Auto-Explore and Rest

Unfortunately I have to report that I've traced a pretty serious bug to this add on :(

With the add on active sustain talents that drain steam (I didn't check for standard sustains, but most steam sustains are drains) do not deactivate when your steam hits zero. Now that I now what's causing it I will just avoid exploiting it until it can be fixed (although infinite rocket boots are very tempting...).

I think your superload of _M:act() in mod/class/actor is overwriting the one used by Embers to check for steam sustains:
Orcs wrote:
local act = _M.act
function _M:act()
local ret = act(self)

-- If resources are too low, disable sustains
if self.steam < 1 then
for tid, _ in pairs(self.sustain_talents) do
local t = self:getTalentFromId(tid)
if (t.sustain_steam or t.drain_steam) then
self:forceUseTalent(tid, {ignore_energy=true})
end
end
end
return ret
end


Hope this is helpful, and I appreciate your work.

Author:  Dracos [ Fri Mar 04, 2016 6:08 pm ]
Post subject:  Re: Improved Auto-Explore and Rest

Well, that's no good, and thanks for tracking that down. I'll take a look tomorrow at it.

Edit: Oddly enough, I never noticed. I think it's because I never let steam come close to zero.

Author:  Dracos [ Sun Mar 06, 2016 7:51 am ]
Post subject:  Re: Improved Auto-Explore and Rest

Fix published. Still doesn't support the new inscriptions though.

Page 3 of 7 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/