The unlockables

Any discussions regarding the spoilers present in ToME 4.x.x should be restricted to this forum

Moderator: Moderator

Post Reply
Message
Author
Final Master
Sher'Tul
Posts: 1022
Joined: Fri May 21, 2010 8:16 pm
Location: Inside the minds of all
Contact:

Re: The unlockables

#61 Post by Final Master »

Code: Select all

newAchievement{
	name = "Pyromancer",
	desc = [[Unlocked Archmage class and done over two million fire damage (with any item/talent/class).]],
	mode = "world",
	can_gain = function(self, who, dam)
		self.nb = (self.nb or 0) + dam
		return self.nb > 2000000 and profile.mod.allow_build.mage
	end,
	on_gain = function(_, src, personal)
		game:setAllowedBuild("mage_pyromancer", true)
	end,
}
newAchievement{
	name = "Cryomancer",
	desc = [[Unlocked Archmage class and done over two million cold damage (with any item/talent/class).]],
	mode = "world",
	can_gain = function(self, who, dam)
		self.nb = (self.nb or 0) + dam
		return self.nb > 2000000 and profile.mod.allow_build.mage
	end,
	on_gain = function(_, src, personal)
		game:setAllowedBuild("mage_cryomancer", true)
	end,
}
It's located at data/achievements/talents .
Final Master's Character Guides
Final Master's Guide to the Arena
Edge: Final Master... official Tome 4 (thread) necromancer.
Zonk: I'd rather be sick than on fire! :D

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: The unlockables

#62 Post by yufra »

Take a gander at modules/tome/data/achievements/talents.lua... but no tweaking! :D
<DarkGod> lets say it's intended

vstat
Wyrmic
Posts: 221
Joined: Sun Mar 06, 2005 5:15 pm

Re: The unlockables

#63 Post by vstat »

Maybe I didn't clarify my question enough, because I did see that. Where is self.nb information store cummulatively? In other words, where can I check and see how close (or in my case, far away) from the achievement.

And no, I won't be changing the source to cheat:)

yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Re: The unlockables

#64 Post by yufra »

Ah, gotcha... open the Lua console and look at the "world.achievement_data" table. For example:

Code: Select all

=world.achievement_data.PYROMANCER
<DarkGod> lets say it's intended

Hedrachi
Uruivellas
Posts: 606
Joined: Tue May 11, 2010 8:58 pm
Location: Ore uh gun, USA

Re: The unlockables

#65 Post by Hedrachi »

yufra wrote:Ah, gotcha... open the Lua console and look at the "world.achievement_data" table. For example:

Code: Select all

=world.achievement_data.PYROMANCER
Er... Lua console is cheat-mode only, isn't it? Is there any way planned to show unlock info like that through a keybind, or is this info viewed as "spoily" to the player?
Having satellite internet is a lot like relying on the processes described in those RFC's for your internet. Except, instead of needing to worry about statues interrupting your connection, this time you worry about the weather. I have satellite internet. Fun, no?

Zaive
Archmage
Posts: 313
Joined: Mon May 24, 2010 1:33 pm

Re: The unlockables

#66 Post by Zaive »

Dunno if this has already been said, but maybe at half-way to the unlock/achievement you could see what it is and how close you are to getting it under achievements. That way, you can kinda keep track without spoiling it to new people.

On another note, I probably would be well on my way to unlocking the cyromancer... if I hadn't been getting distracted by Dissidia final fantasy. >.>
Burb Lulls wrote:"FLURRYFLURRYFLURRYFLURRYFLURRYFLURRY"

Final Master
Sher'Tul
Posts: 1022
Joined: Fri May 21, 2010 8:16 pm
Location: Inside the minds of all
Contact:

Re: The unlockables

#67 Post by Final Master »

Can we maybe get this topic stickied as it seems to be a relatively popular and semi important topic on a good area of discussion?
Final Master's Character Guides
Final Master's Guide to the Arena
Edge: Final Master... official Tome 4 (thread) necromancer.
Zonk: I'd rather be sick than on fire! :D

Gwai
Sher'Tul
Posts: 1091
Joined: Wed Apr 27, 2005 1:55 pm

Re: The unlockables

#68 Post by Gwai »

yufra wrote:Ah, gotcha... open the Lua console and look at the "world.achievement_data" table. For example:

Code: Select all

=world.achievement_data.PYROMANCER
Okay, I think I am being dense here, but how do I do that? Where do I go to find world.achievement_data? (Ironic that it would be much easier, at least for me, to cheat and unlock the class than it is to see how close I am to doing so legally!)

Hedrachi
Uruivellas
Posts: 606
Joined: Tue May 11, 2010 8:58 pm
Location: Ore uh gun, USA

Re: The unlockables

#69 Post by Hedrachi »

To enable cheat mode...
Shoob in a general discussions thread wrote:To enable it add a file named "tome.cheat.cfg" in your HOME/.t-engine/4.0/settings/ directory with the following line:
tome.cheat = true. (highlight if you *have* to know, otherwise ignore)
(highlight to read)

Then to enable the lua console...
The keybind list wrote:"Ctrl-l" (Ell, not Eye)
Then in the lua console...

Code: Select all

=world.achievement_data.PYROMANCER
(replace PYROMANCER with any class that requires an unlock for that class unlock data)
Having satellite internet is a lot like relying on the processes described in those RFC's for your internet. Except, instead of needing to worry about statues interrupting your connection, this time you worry about the weather. I have satellite internet. Fun, no?

Gwai
Sher'Tul
Posts: 1091
Joined: Wed Apr 27, 2005 1:55 pm

Re: The unlockables

#70 Post by Gwai »

Thanks!

Gwai
Sher'Tul
Posts: 1091
Joined: Wed Apr 27, 2005 1:55 pm

Re: The unlockables

#71 Post by Gwai »

Now that I'm checking regularly, I am beginning to distrust how the unlocking works. I started a fire-obsessed archmage and got him to at least level 8 before completely casual playing killed him. Then when I checked my unlock, it said I had only done a couple hundred fire damage. Erm, I used flame to kill almost every single monster thus far. I definitely did more than a couple hundred damage. I thought dying did not reset this anymore?

Gwai
Sher'Tul
Posts: 1091
Joined: Wed Apr 27, 2005 1:55 pm

Re: The unlockables

#72 Post by Gwai »

Indeed, tested:

[LOG] Gwai killed Gwai!
[THREAD] registering table: 0E609C10 userdata: 0E60A718 1
[THREAD] Thread join 1 table: 0E609C10
[ONLINE PROFILE] async rpc called http://te4.org/lua/profilesrpc.ws/SetConfigs
326 frames in 10.021 seconds = 32.5317 FPS
[LOG] #LIGHT_BLUE#You resurrect! CHEATER !
[LOG] Gwai stops burning.
findFreeGrid using 40 6
[MOVE] actor moved without a starting position Gwai 40 6
[CHAT] loaded welcome table: 14E201C0
[CHAT] loaded jewelry table: 14E1E4B0
[CHAT] loaded artifact_jewelry table: 14E1B198
[CHAT] loaded quest table: 14E20508
[LOG] #LIGHT_GREEN#Personal New Achievement: Unstoppable!
66 ticks in 10.191 seconds = 6.4763 TPS
[CHAT] selected Sorry I have to go! nil nil
Lua Error: /engine/HotkeysDisplay.lua:158: attempt to index local 'o' (a nil value)
At [C]:-1
At /engine/HotkeysDisplay.lua:158 onMouse
At /mod/class/Game.lua:858 fct
At /engine/Mouse.lua:51

and just to clarify, error caused by trying to check my pyromancer progress after killing self.

darkgod
Master of Eyal
Posts: 10747
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: The unlockables

#73 Post by darkgod »

Hum weird, you do not kill tome process do you ?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

darkgod
Master of Eyal
Posts: 10747
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: The unlockables

#74 Post by darkgod »

Hum ? I do not understand what's the log supposed to show?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Gwai
Sher'Tul
Posts: 1091
Joined: Wed Apr 27, 2005 1:55 pm

Re: The unlockables

#75 Post by Gwai »

It shows that death resets all progress toward unlocking the pyromancer class. (And that doing damage to yourself could be a Really cheesy way to make progress. :D)

Post Reply