--- Log opened Thu Aug 25 00:00:52 2016 20160825 00:01:26-!- ancestral [~ancestral@67-4-224-82.mpls.qwest.net] has joined #wesnoth 20160825 00:10:42-!- Shiki [~Shiki@141.39.226.227] has quit [Remote host closed the connection] 20160825 00:23:53-!- can-ned_food [~me@dynamic-acs-24-154-138-63.zoominternet.net] has joined #wesnoth 20160825 00:33:21< can-ned_food> seeing your 21;46 UTC comment DeFender. things like that have been used for comedic value. 20160825 00:34:48< celmin> 21:46 huh... 20160825 00:35:20< celticminstrel> This? 20160825 00:35:21< celticminstrel> [Aug 24@5:46:41pm] DeFender1031: meaning, in real life, if someone said "as you are well aware..." i'd probably interrupt three words later with "yeah, yeah, i know" 20160825 00:36:34< can-ned_food> yes that was it. but i've seen something like that as a joke in some comedies. Futurama did it a few times for sure. 20160825 00:36:53< celmin> Wouldn't surprise me... 20160825 00:37:14< can-ned_food> but that was mostly for “How does that work, Professor?” type tropes. 20160825 00:37:40< can-ned_food> Fry says, “Magic. Got it.” 20160825 00:38:02-!- DMG-LP [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has joined #wesnoth 20160825 01:06:57-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20160825 01:07:06-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth 20160825 01:29:31-!- ancestral [~ancestral@67-4-224-82.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160825 01:30:36-!- Dolus [~logan@72-24-8-28.cpe.cableone.net] has joined #wesnoth 20160825 01:30:43-!- Desum [~logan@72-24-8-28.cpe.cableone.net] has joined #wesnoth 20160825 01:31:59-!- Haldrik [~haldrik@unaffiliated/haldrik] has quit [Quit: Leaving] 20160825 02:08:54-!- DMG-LP [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has quit [Quit: Leaving] 20160825 02:22:40-!- DMG-LP [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has joined #wesnoth 20160825 02:33:10-!- ArneBab_ [~quassel@55d44c7e.access.ecotel.net] has joined #wesnoth 20160825 02:37:08-!- ArneBab [~quassel@55d452c8.access.ecotel.net] has quit [Ping timeout: 250 seconds] 20160825 03:21:32-!- Desum [~logan@72-24-8-28.cpe.cableone.net] has quit [Quit: Leaving] 20160825 03:28:45-!- can-ned_food [~me@dynamic-acs-24-154-138-63.zoominternet.net] has quit [Quit: Konversation terminated!] 20160825 03:42:03-!- Murgatroyd [~Vadatajs@63-152-66-240.cdrr.qwest.net] has joined #wesnoth 20160825 03:45:33-!- Vadatajs [~Vadatajs@63-152-66-240.cdrr.qwest.net] has quit [Ping timeout: 240 seconds] 20160825 04:14:18-!- celmin [~celticmin@unaffiliated/celticminstrel] has quit [Quit: And lo! The minstrel departs, to spread the music to the masses!] 20160825 04:18:54-!- Yberitrem [~Vadatajs@63-152-66-240.cdrr.qwest.net] has joined #wesnoth 20160825 04:22:03-!- Murgatroyd [~Vadatajs@63-152-66-240.cdrr.qwest.net] has quit [Ping timeout: 240 seconds] 20160825 04:31:54-!- TC02 [~quassel@venus.arosser.com] has quit [Ping timeout: 260 seconds] 20160825 04:35:18-!- TC02 [~quassel@venus.arosser.com] has joined #wesnoth 20160825 04:38:28-!- DMG-LP [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has quit [Quit: Leaving] 20160825 04:45:54-!- Murgatroyd [~Vadatajs@63-152-66-240.cdrr.qwest.net] has joined #wesnoth 20160825 04:49:03-!- Yberitrem [~Vadatajs@63-152-66-240.cdrr.qwest.net] has quit [Ping timeout: 240 seconds] 20160825 04:56:40-!- TC02 [~quassel@venus.arosser.com] has quit [Ping timeout: 250 seconds] 20160825 04:59:33-!- TC02 [~quassel@venus.arosser.com] has joined #wesnoth 20160825 05:09:16-!- Kwandulin [~Miranda@p200300760F0533BAE0D195ED29E808EF.dip0.t-ipconnect.de] has joined #wesnoth 20160825 05:50:11-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Read error: Connection reset by peer] 20160825 05:50:16-!- celmin [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20160825 06:44:01-!- TheJJ [~rofl@ipbcc36896.dynamic.kabel-deutschland.de] has quit [Quit: No Ping reply in 180 seconds.] 20160825 06:45:19-!- TheJJ [~rofl@ipbcc36896.dynamic.kabel-deutschland.de] has joined #wesnoth 20160825 07:01:40-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth 20160825 07:28:50-!- Kwandulin_2 [~Miranda@p200300760F05338DE0D195ED29E808EF.dip0.t-ipconnect.de] has joined #wesnoth 20160825 07:29:41-!- Kwandulin [~Miranda@p200300760F0533BAE0D195ED29E808EF.dip0.t-ipconnect.de] has quit [Ping timeout: 258 seconds] 20160825 07:31:34-!- Dolus [~logan@72-24-8-28.cpe.cableone.net] has quit [Ping timeout: 265 seconds] 20160825 07:33:01-!- Dolus [~logan@72-24-8-28.cpe.cableone.net] has joined #wesnoth 20160825 07:35:42-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 250 seconds] 20160825 07:39:13-!- ChipmunkV [~vova@static-89-94-113-91.axione.abo.bbox.fr] has joined #wesnoth 20160825 08:07:22-!- ChipmunkV [~vova@static-89-94-113-91.axione.abo.bbox.fr] has quit [Quit: ChipmunkV] 20160825 08:08:50-!- ChipmunkV [~vova@static-89-94-113-91.axione.abo.bbox.fr] has joined #wesnoth 20160825 08:21:28-!- celmin is now known as celmin|sleep 20160825 08:51:39-!- Ivanovic [~ivanovic@p4FC534B6.dip0.t-ipconnect.de] has joined #wesnoth 20160825 08:57:04-!- Haldrik [~haldrik@unaffiliated/haldrik] has joined #wesnoth 20160825 09:14:26-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Remote host closed the connection] 20160825 09:22:54-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth 20160825 09:34:04-!- hk238 [~kvirc@unaffiliated/hk238] has joined #wesnoth 20160825 09:40:48-!- Kwandulin_2 [~Miranda@p200300760F05338DE0D195ED29E808EF.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160825 10:13:12-!- Kwandulin [~Miranda@p200300760F05338D482C897403F8B0FB.dip0.t-ipconnect.de] has joined #wesnoth 20160825 11:01:08-!- Ivanovic [~ivanovic@p4FC534B6.dip0.t-ipconnect.de] has quit [Changing host] 20160825 11:01:08-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth 20160825 11:12:13-!- Shiki [~Shiki@141.39.226.227] has joined #wesnoth 20160825 12:19:16-!- vincent_` [~bip@vcheng.org] has joined #wesnoth 20160825 12:19:33-!- vincent_c [~bip@vcheng.org] has quit [Ping timeout: 250 seconds] 20160825 12:19:50-!- cyphase [~cyphase@unaffiliated/cyphase] has quit [Ping timeout: 250 seconds] 20160825 12:22:56-!- celmin|sleep [~celmin@unaffiliated/celticminstrel] has quit [Ping timeout: 258 seconds] 20160825 12:23:08-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20160825 12:25:03-!- cyphase [~cyphase@unaffiliated/cyphase] has joined #wesnoth 20160825 13:02:54-!- Narrat [~Narrat@p5B15DCFC.dip0.t-ipconnect.de] has joined #wesnoth 20160825 13:07:44-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: mattsc] 20160825 13:15:35-!- Kwandulin [~Miranda@p200300760F05338D482C897403F8B0FB.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160825 13:21:13-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth 20160825 13:46:33< DeFender1031> hey vultraz, you areound? having some gui issues 20160825 13:57:28< DeFender1031> nevermind, figured it out 20160825 14:41:49-!- DMG-WR0K [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has joined #wesnoth 20160825 14:42:30-!- Shiki [~Shiki@141.39.226.227] has quit [Quit: Verlassend] 20160825 14:49:40-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: mattsc] 20160825 14:53:45-!- Kwandulin [~Miranda@p200300760F05338D792A95B2E268729C.dip0.t-ipconnect.de] has joined #wesnoth 20160825 14:58:11-!- Dolus [~logan@72-24-8-28.cpe.cableone.net] has quit [Ping timeout: 258 seconds] 20160825 15:14:09-!- oldlaptop [~quassel@162.247.150.37] has quit [Ping timeout: 276 seconds] 20160825 15:15:02-!- oldlaptop [~quassel@162.247.150.37] has joined #wesnoth 20160825 15:16:56-!- hk238 [~kvirc@unaffiliated/hk238] has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria] 20160825 15:21:05-!- oldlaptop [~quassel@162.247.150.37] has quit [Ping timeout: 250 seconds] 20160825 15:22:13-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth 20160825 15:58:45-!- oldlaptop [~quassel@162.247.150.37] has joined #wesnoth 20160825 16:18:17-!- vincent_` is now known as vincent_c 20160825 16:26:57-!- DMG-WR0K [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has quit [Ping timeout: 250 seconds] 20160825 16:41:06-!- celmin [~celticmin@unaffiliated/celticminstrel] has joined #wesnoth 20160825 16:51:19-!- hk238 [~kvirc@unaffiliated/hk238] has joined #wesnoth 20160825 16:53:21-!- wario [~wario_@unaffiliated/wario] has joined #wesnoth 20160825 17:06:34< DeFender1031> what are (or where in code can I find) the calculations used to determine what color an HP or XP readout will be, as well as the exact color codes which are chosen? 20160825 17:07:17< celmin> I seem to recall that the unit class has functions that return these colours... 20160825 17:08:49< DeFender1031> i'm trying to reproduce that logic in lua 20160825 17:10:48< celmin> I see. 20160825 17:11:17< celmin> Accessors for the colours could be added to the unit proxy… though I guess that's not helpful for you. 20160825 17:12:21-!- Kwandulin [~Miranda@p200300760F05338D792A95B2E268729C.dip0.t-ipconnect.de] has quit [Ping timeout: 258 seconds] 20160825 17:13:39< DeFender1031> if you point me to the c++ code, i can probably figure it out 20160825 17:13:48-!- Kwandulin [~Miranda@p200300760F6F2FD3792A95B2E268729C.dip0.t-ipconnect.de] has joined #wesnoth 20160825 17:14:18< celmin> Well, if I'm right, the relevant files are src/unit/unit.?pp, but I could confirm first if you want. 20160825 17:14:20< DeFender1031> truth is, the only thing i don't really have a means to find without checking the code is the hp color logic 20160825 17:14:34< DeFender1031> a link would be helpful 20160825 17:15:20< celmin> https://github.com/wesnoth/wesnoth/blob/master/src/units/unit.cpp#L1027 20160825 17:15:28< DeFender1031> XP i'm pretty sure is white if within 8 points of advancing, and then several shades of blue depending on whether the unit is within 16 or 24 20160825 17:15:40< DeFender1031> though, when it gets purplized i'm not certain 20160825 17:15:49< DeFender1031> celmin, thanks 20160825 17:16:14< celmin> Wasn't purple if there's no further advancements available? (Excluding AMLAs.) 20160825 17:16:15< DeFender1031> celmin, perfect. 20160825 17:16:23< DeFender1031> celmin, not wuite 20160825 17:16:34< DeFender1031> i noticed that units with no advancements at all are still blue 20160825 17:16:45< celmin> I see. 20160825 17:16:57< DeFender1031> seems only units with no unit advancements and yes advancement tags are purple 20160825 17:17:07< DeFender1031> that might actually be a bug though 20160825 17:17:28< DeFender1031> not bothering to report it though, since that should never happen in practice 20160825 17:18:09< celmin> Huh, there's a special colour for hp > max 20160825 17:18:13< DeFender1031> is game_config::kill_experience hard coded? and if not, is there a way to check what it is from lua? 20160825 17:18:21< DeFender1031> odd 20160825 17:18:31< celmin> It might be in wesnoth.game_config? 20160825 17:18:36< DeFender1031> ah 20160825 17:18:39< DeFender1031> i'll look 20160825 17:19:10< DeFender1031> i'm trying to create as close a representation as possible to the unit preview pane in lua. 20160825 17:19:22< celmin> I see. 20160825 17:19:35< DeFender1031> (so that i can create a unit list view as similar to the recall list as possible) 20160825 17:19:44< celmin> Though I expect the unit preview pane itself will be exposed to Lua in 1.14. 20160825 17:20:04< DeFender1031> i actually already have it pretty dang close to the built-in one, all it's missing is the colors AFAICT 20160825 17:20:25< celmin> Actually, it would be possible to expose specific built-in dialogs to Lua. 20160825 17:20:44< DeFender1031> fine, but that's not true as of now 20160825 17:20:49< celmin> Right. 20160825 17:20:51< DeFender1031> and i'm doing stuff that needs this as of now 20160825 17:20:59< celmin> You're working in 1.12, right? 20160825 17:21:03< DeFender1031> yep 20160825 17:21:26< celmin> So if there are no advancements at all, the XP colour never changes, huh... 20160825 17:21:35< DeFender1031> besides, even if this stuff does become available before i'm done, it's still a fun exercise in creating custom dialogs. 20160825 17:21:41< celmin> Sure... 20160825 17:22:17< celmin> So white means that a kill will definitely level up, huh.. 20160825 17:22:19< DeFender1031> and yes, i'm seeing that in code. strange. 20160825 17:22:25< DeFender1031> yes. 20160825 17:22:42< DeFender1031> you say that like it's new to you 20160825 17:22:48< DeFender1031> even as a player i noticed that 20160825 17:22:52< DeFender1031> it's very useful 20160825 17:23:40< celmin> I knew white meant it was close to levelling, of course. 20160825 17:23:52< celmin> But not that it was specifically a kill away. 20160825 17:24:05< celmin> I guess if two kills if they're L0. 20160825 17:24:31< celmin> So the other colours also mean they're a kill away if it's a L2 or L3 unit, then... 20160825 17:26:13-!- DMG-WR0K [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has joined #wesnoth 20160825 17:30:03< DeFender1031> exactly 20160825 17:58:44-!- hk238 [~kvirc@unaffiliated/hk238] has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria] 20160825 18:09:31-!- Kwandulin [~Miranda@p200300760F6F2FD3792A95B2E268729C.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160825 18:13:45-!- Metamorphosis [97f20c95@gateway/web/freenode/ip.151.242.12.149] has joined #wesnoth 20160825 18:48:48-!- Kwandulin [~Miranda@p200300760F6F2FD3317EF1F1347E1175.dip0.t-ipconnect.de] has joined #wesnoth 20160825 19:01:56-!- Metamorphosis [97f20c95@gateway/web/freenode/ip.151.242.12.149] has quit [Quit: Page closed] 20160825 19:03:51-!- Shiki [~Shiki@141.39.226.227] has joined #wesnoth 20160825 19:04:47-!- Kwandulin [~Miranda@p200300760F6F2FD3317EF1F1347E1175.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160825 20:04:51-!- celmin [~celticmin@unaffiliated/celticminstrel] has quit [Ping timeout: 244 seconds] 20160825 20:27:35-!- celmin [~celticmin@unaffiliated/celticminstrel] has joined #wesnoth 20160825 20:46:52-!- ancestral [~ancestral@63.92.240.233] has joined #wesnoth 20160825 20:59:17-!- mystic_x [~X@unaffiliated/mysticx] has joined #wesnoth 20160825 21:06:14-!- Johannes13 [brain@unaffiliated/johannes13] has quit [Read error: Connection reset by peer] 20160825 21:27:20-!- ancestral [~ancestral@63.92.240.233] has quit [Quit: i go nstuf kthxbai] 20160825 21:41:59-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 244 seconds] 20160825 21:44:24-!- Appleman1234 [~Appleman1@KD036012026220.au-net.ne.jp] has quit [Ping timeout: 260 seconds] 20160825 21:50:03-!- Blukunfando [~bkf@82.158.13.45.dyn.user.ono.com] has quit [Ping timeout: 240 seconds] 20160825 22:01:27-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: So long and thanks for all the fish.] 20160825 22:02:49-!- DMG-WR0K [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has quit [Quit: gone.] 20160825 22:21:30-!- bumbadadabum [~bumbadada@wesnoth/developer/bumbadadabum] has joined #wesnoth 20160825 22:33:44-!- zachquest [~zachquest@162.216.46.96] has joined #wesnoth 20160825 22:35:15-!- zachquest [~zachquest@162.216.46.96] has quit [Client Quit] 20160825 22:35:28-!- zachquest [~zachquest@162.216.46.96] has joined #wesnoth 20160825 22:40:25-!- mystic_x [~X@unaffiliated/mysticx] has quit [Quit: Leaving.] 20160825 22:41:16-!- Appleman1234 [~Appleman1@KD036012030198.au-net.ne.jp] has joined #wesnoth 20160825 22:49:11-!- DMG-LP [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has joined #wesnoth 20160825 22:55:09-!- ChipmunkV [~vova@static-89-94-113-91.axione.abo.bbox.fr] has quit [Quit: ChipmunkV] 20160825 23:00:40-!- wario [~wario_@unaffiliated/wario] has quit [Quit: Leaving] 20160825 23:21:12-!- bumbadadabum [~bumbadada@wesnoth/developer/bumbadadabum] has quit [Ping timeout: 250 seconds] 20160825 23:50:31-!- Narrat [~Narrat@p5B15DCFC.dip0.t-ipconnect.de] has quit [Quit: They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.] --- Log closed Fri Aug 26 00:00:37 2016