ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Thu Sep 19, 2019 12:11 am

All times are UTC




Post new topic Reply to topic  [ 174 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 12  Next
Author Message
 Post subject: Re: The unlockables
PostPosted: Thu Oct 07, 2010 11:17 pm 
Offline
Sher'Tul

Joined: Fri May 21, 2010 8:16 pm
Posts: 1022
Location: Inside the minds of all
Code:
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


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Fri Oct 08, 2010 12:41 am 
Offline
Perspiring Physicist

Joined: Tue Jul 13, 2010 2:53 pm
Posts: 1332
Take a gander at modules/tome/data/achievements/talents.lua... but no tweaking! :D

_________________
Quote:
<DarkGod> lets say it's intended


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Fri Oct 08, 2010 1:31 am 
Offline
Wyrmic

Joined: Sun Mar 06, 2005 5:15 pm
Posts: 221
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:)


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Fri Oct 08, 2010 2:08 am 
Offline
Perspiring Physicist

Joined: Tue Jul 13, 2010 2:53 pm
Posts: 1332
Ah, gotcha... open the Lua console and look at the "world.achievement_data" table. For example:
Code:
=world.achievement_data.PYROMANCER

_________________
Quote:
<DarkGod> lets say it's intended


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Fri Oct 08, 2010 3:52 pm 
Offline
Uruivellas

Joined: Tue May 11, 2010 8:58 pm
Posts: 606
Location: Ore uh gun, USA
yufra wrote:
Ah, gotcha... open the Lua console and look at the "world.achievement_data" table. For example:
Code:
=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?


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Fri Oct 08, 2010 4:00 pm 
Offline
Archmage

Joined: Mon May 24, 2010 1:33 pm
Posts: 307
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"


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Tue Oct 12, 2010 8:18 pm 
Offline
Sher'Tul

Joined: Fri May 21, 2010 8:16 pm
Posts: 1022
Location: Inside the minds of all
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


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Thu Oct 21, 2010 12:22 am 
Offline
Sher'Tul

Joined: Wed Apr 27, 2005 1:55 pm
Posts: 1091
yufra wrote:
Ah, gotcha... open the Lua console and look at the "world.achievement_data" table. For example:
Code:
=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!)


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Thu Oct 21, 2010 1:35 am 
Offline
Uruivellas

Joined: Tue May 11, 2010 8:58 pm
Posts: 606
Location: Ore uh gun, USA
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:
=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?


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Thu Oct 21, 2010 1:48 am 
Offline
Sher'Tul

Joined: Wed Apr 27, 2005 1:55 pm
Posts: 1091
Thanks!


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Thu Oct 21, 2010 2:57 pm 
Offline
Sher'Tul

Joined: Wed Apr 27, 2005 1:55 pm
Posts: 1091
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?


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Thu Oct 21, 2010 3:15 pm 
Offline
Sher'Tul

Joined: Wed Apr 27, 2005 1:55 pm
Posts: 1091
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.


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Thu Oct 21, 2010 3:18 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10241
Location: Angolwen
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 ;)


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Thu Oct 21, 2010 3:18 pm 
Offline
Master of Eyal

Joined: Wed Jul 24, 2002 9:26 pm
Posts: 10241
Location: Angolwen
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 ;)


Top
 Profile  
 
 Post subject: Re: The unlockables
PostPosted: Thu Oct 21, 2010 3:22 pm 
Offline
Sher'Tul

Joined: Wed Apr 27, 2005 1:55 pm
Posts: 1091
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)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 174 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 12  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group