!pzMZugIXJjzUMqmjPi:matrix.org

Code::Stats

36 Members
1 Servers

Load older messages


Timestamp Message
20 Jan 2019
09:43:11@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> I let you know
10:49:10@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> Morning :)
18:45:15@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> someone here? :)
18:45:25@tunnelmaster:matrix.orgtunnelmaster[discord] <Nicd> yep
18:45:42@tunnelmaster:matrix.orgtunnelmaster[discord] <Nicd> but if you have questions, it's better to ask them straight away and just wait for answer
18:46:11@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> Nicd-, this is what I got so far --> https://stackblitz.com/edit/angular-msvhc8 though get_next_level_xp isn't correct :S when I verify
18:48:48@tunnelmaster:matrix.orgtunnelmaster[discord] <Nicd> get_next_level_xp returns total XP needed to reach next level
18:48:49@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> I guess it should instead be if 'xp=8177' then formula that is correct to get percantage in progress--> its fine 8177/22 * 100 8177/37168=0,22 but then to get what remains I guess the formula would be instead 8177/22 * 100 8177/37168 - 8177=28991?
18:48:59@tunnelmaster:matrix.orgtunnelmaster[discord] <Nicd> so just subtract current XP from it
18:49:31@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> 28991 remains to next lvl?
18:50:17@tunnelmaster:matrix.orgtunnelmaster[discord] <Nicd> if get_next_level_xp returns 14400 and you have 8177 XP, then you need (14400 - 8177) XP to reach next level
18:50:17@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> since total is 37168 =100% is
18:50:27@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> Oh ok
18:50:59@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> hold on :)
19:02:20@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> this is an update --> https://stackblitz.com/edit/angular-msvhc8
19:02:31@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> can that really be right it's impossible?
19:02:44@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> I use as input 8177
19:03:01@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> TypeScript level 2 (8,177 XP)
19:03:16@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> oh I think you are actually right
19:03:19@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> my bad
19:03:21@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> :D
19:04:22@tunnelmaster:matrix.orgtunnelmaster[discord] <Nicd> that looks right to me
19:04:40@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> yeah you are right Nicd- :D:D
19:04:41@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> thanks
19:04:54@tunnelmaster:matrix.orgtunnelmaster[discord] <Nicd> but wrong level is shown
19:05:05@tunnelmaster:matrix.orgtunnelmaster[discord] <Nicd> it should be level 1, not level 2
19:05:26@tunnelmaster:matrix.orgtunnelmaster[discord] <Nicd> or err
19:05:54@tunnelmaster:matrix.orgtunnelmaster[discord] <Nicd> ah ignore that
19:10:19@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> ok
19:10:27@tunnelmaster:matrix.orgtunnelmaster[irc] <XsiSec> updated now --> https://stackblitz.com/edit/angular-msvhc8

Show newer messages


Back to Room List