--- Log opened Thu Aug 01 00:00:31 2013 20130801 00:06:35-!- Yukiria [~chatzilla@124.109.10.167] has joined #wesnoth-umc-dev 20130801 00:07:20-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 246 seconds] 20130801 00:07:38-!- Yukiria is now known as vultraz 20130801 00:39:35-!- vultraz [~chatzilla@124.109.10.167] has quit [Ping timeout: 245 seconds] 20130801 00:44:07-!- skyfaller [~skyfaller@wikipedia/Skyfaller] has quit [Remote host closed the connection] 20130801 02:04:07-!- irker433 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20130801 02:07:51-!- bumbadadabum [~bumba@d155109.upc-d.chello.nl] has quit [Ping timeout: 256 seconds] 20130801 02:55:04-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-umc-dev 20130801 03:12:02-!- irker383 [~irker@ai0867.net] has joined #wesnoth-umc-dev 20130801 03:12:02< irker383> NX-RPG: Charles Dang :master * 5df9125 / episode1/scenarios/05_01_Ambush_in_Wesmere.cfg: http://git.io/5Hwiag 20130801 03:12:03< irker383> NX-RPG: E1S5.1: integrate facing= attributes into AW_SPAWN_DIREWOLF macro 20130801 03:12:06< irker383> NX-RPG: Charles Dang :master * 435f6a4 / episode1/scenarios/05_01_Ambush_in_Wesmere.cfg: http://git.io/nc3waA 20130801 03:12:07< irker383> NX-RPG: E1S5.1: forgot side 6's no_leader=yes key 20130801 03:12:10< irker383> NX-RPG: Charles Dang :master * 8966217 / readme.md,lua/lp8/wesnoth-lp8: http://git.io/xRPPZQ 20130801 03:12:11< irker383> NX-RPG: Merge branch 'master' of github.com:Vultraz/NX-RPG 20130801 03:12:14< irker383> NX-RPG: Charles Dang :master * 191fe42 / .gitmodules: http://git.io/9J3dFw 20130801 03:12:15< irker383> NX-RPG: Removed .gitmodules file 20130801 03:12:18< irker383> NX-RPG: Charles Dang :master * 3956c00 / changelog.md: http://git.io/xSHFzQ 20130801 03:12:20< irker383> NX-RPG: Updated changelog (lp8 is no longer a submodule) 20130801 03:43:21< irker383> NX-RPG: Charles Dang :master * 6a11fdc / .gitignore: http://git.io/ZffHKA 20130801 03:43:22< irker383> NX-RPG: Ignore lua/lp8/wesnoth-lp8; it's it's own repo clone now 20130801 03:43:25< irker383> NX-RPG: Charles Dang :master * b2ba182 / episode1/scenarios/07_Fleeing_the_Swarm.cfg: http://git.io/cubm_Q 20130801 03:43:26< irker383> NX-RPG: E1S7: gave bat swarm the Swarm MAI 20130801 03:43:29< irker383> NX-RPG: Charles Dang :master * f959634 / episode1/scenarios/05_01_Ambush_in_Wesmere.cfg: http://git.io/kbNcdA 20130801 03:43:30< irker383> NX-RPG: E1S5.1: bunch of progress 20130801 04:01:30-!- shadowm_desktop [~ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-umc-dev 20130801 04:15:36< irker383> NX-RPG: Charles Dang :master * 4f56ef4 / episode1/scenarios/05_01_Ambush_in_Wesmere.cfg: http://git.io/S2fcfw 20130801 04:15:37< irker383> NX-RPG: E1S5.1 set a flag if you flee 20130801 04:15:40< irker383> NX-RPG: Charles Dang :master * 3d120cd / episode1/scenarios/05_02_Change_of_Plans.cfg: http://git.io/og5MsA 20130801 04:15:41< irker383> NX-RPG: E1S5.2: said some dialog a little differently if you fled in the previous scenario or not 20130801 06:33:34-!- ancestral [~ancestral@65-128-235-179.mpls.qwest.net] has joined #wesnoth-umc-dev 20130801 06:41:57< irker383> NX-RPG: 8573 :master * 60e2820 / lua/lp8/_main.cfg: http://git.io/yEyi6w 20130801 06:41:58< irker383> NX-RPG: lp8 loader: Clarify loadpath 2.1. 20130801 06:41:59< irker383> NX-RPG: 20130801 06:42:00< irker383> NX-RPG: Improve explicitness and verbosity, and thus, I hope, correctness. 20130801 07:45:24< irker383> NX-RPG: Charles Dang :master * 0bde634 / macros/rpg-utils.cfg: http://git.io/ue-Aqg 20130801 07:45:26< irker383> NX-RPG: Only show the spellcasting menu item on Niryone or Elynia 20130801 07:45:28< irker383> NX-RPG: Charles Dang :master * 85d2edf / lua/lp8/_main.cfg: http://git.io/KAU18w 20130801 07:45:29< irker383> NX-RPG: Merge branch 'master' of github.com:Vultraz/NX-RPG 20130801 07:45:32< irker383> NX-RPG: Charles Dang :master * be1adf9 / units/monsters/Northguard_Direwolf.cfg: http://git.io/JOh9IA 20130801 07:45:34< irker383> NX-RPG: Buffed Northguard Direwolf 20130801 07:45:36< irker383> NX-RPG: Charles Dang :master * 55e8197 / lua/gui/inventory.lua: http://git.io/AXS0gQ 20130801 07:45:37< irker383> NX-RPG: Fixed some loading bugs in inventory 20130801 08:23:44< irker383> NX-RPG: Charles Dang :master * deef286 / lua/gui/inventory.lua: http://git.io/WF8uJw 20130801 08:23:45< irker383> NX-RPG: Removed a dbms call 20130801 08:23:47-!- ancestral [~ancestral@65-128-235-179.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130801 08:23:48< irker383> NX-RPG: Charles Dang :master * ad5a22a / episode1/scenarios/05_01_Ambush_in_Wesmere.cfg: http://git.io/c1_VnQ 20130801 08:23:49< irker383> NX-RPG: E1S5.1: added some flavor text and corrected some typos 20130801 08:23:52< irker383> NX-RPG: Charles Dang :master * fafa51f / episode1/scenarios/ (2 files): http://git.io/_J2QOg 20130801 08:23:53< irker383> NX-RPG: Fixed usage of turn_number + x events by moving/adding a delayed_variable_substitution=no key 20130801 08:23:56< irker383> NX-RPG: Charles Dang :master * 7ccad30 / episode1/scenarios/06_Awakening_part_1.cfg: http://git.io/EtsT_g 20130801 08:23:57< irker383> NX-RPG: E1S6: changed [removal_command] of regen necklace to not filter on an id 20130801 08:51:42-!- Crendgrim_ [~quassel@g224213086.adsl.alicedsl.de] has joined #wesnoth-umc-dev 20130801 08:54:01< irker383> NX-RPG: Charles Dang :master * 856632f / episode1/menu.cfg: http://git.io/NPvqEg 20130801 08:54:03< irker383> NX-RPG: E1: corrected typo in description 20130801 08:54:05< irker383> NX-RPG: Charles Dang :master * bfa509d / episode1/scenarios/07_Fleeing_the_Swarm.cfg: http://git.io/JqZ9ZA 20130801 08:54:06< irker383> NX-RPG: E1S7: made scenario start at midday 20130801 08:55:12-!- Crendgrim [~quassel@g224212032.adsl.alicedsl.de] has quit [Ping timeout: 268 seconds] 20130801 08:56:01-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20130801 09:32:34-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-umc-dev 20130801 10:03:20-!- shadowm_desktop [~ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 245 seconds] 20130801 10:05:38-!- Octalot [~noct@host86-157-28-163.range86-157.btcentralplus.com] has joined #wesnoth-umc-dev 20130801 10:22:49< irker383> wesnoth-umc-dev: vultraz * r19087 /trunk/NX-Music/ (music/ambuscade.ogg _main.cfg): 20130801 10:22:50< irker383> wesnoth-umc-dev: NX-M: added Ambuscade (from AtS) 20130801 10:47:19< irker383> wesnoth-umc-dev: vultraz * r19088 /trunk/NX-Music/ (_main.cfg music/through_the_gates.ogg): 20130801 10:47:20< irker383> wesnoth-umc-dev: NX-M: added "Through the Gates" by Mattias Westlund 20130801 10:47:53< irker383> NX-RPG: Charles Dang :master * 071a375 / episode1/scenarios/01_Seer_and_Outlaw.cfg: http://git.io/N2kgHw 20130801 10:47:54< irker383> NX-RPG: E1S1: removed "scout" from side 5's recruitment pattern, as it has no unit of such usage on its recruit list 20130801 10:47:57< irker383> NX-RPG: Charles Dang :master * 3b2f04a / episode1/scenarios/01_Seer_and_Outlaw.cfg: http://git.io/dKtVnA 20130801 10:47:58< irker383> NX-RPG: E1S1: bumped caution on Aryon's side 20130801 10:48:01< irker383> NX-RPG: Charles Dang :master * b300ba1 / episode1/scenarios/05_01_Ambush_in_Wesmere.cfg: http://git.io/d2LMyQ 20130801 10:48:02< irker383> NX-RPG: E1S5.1: tweaked music 20130801 10:48:05< irker383> NX-RPG: Charles Dang :master * fec4d72 / about.cfg,changelog.md: http://git.io/SqCjcg 20130801 10:48:06< irker383> NX-RPG: Updated changelog and credits re new tracks 20130801 14:16:43-!- ancestral [~ancestral@65-128-235-179.mpls.qwest.net] has joined #wesnoth-umc-dev 20130801 14:21:49-!- ancestral [~ancestral@65-128-235-179.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130801 14:23:29-!- Crendgrim_ is now known as Crendgrim 20130801 16:46:30-!- Crendgrim [~quassel@g224213086.adsl.alicedsl.de] has quit [Quit: I'll be back in 1-2 weeks. See ya!] 20130801 16:54:16-!- irker383 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20130801 17:49:10-!- bumbadadabum [~bumba@d155109.upc-d.chello.nl] has joined #wesnoth-umc-dev 20130801 18:07:04-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20130801 18:15:20-!- ancestral [~ancestral@65-128-235-179.mpls.qwest.net] has joined #wesnoth-umc-dev 20130801 18:44:19-!- Octalot [~noct@host86-157-28-163.range86-157.btcentralplus.com] has quit [Ping timeout: 264 seconds] 20130801 18:58:19-!- irker035 [~irker@ai0867.net] has joined #wesnoth-umc-dev 20130801 18:58:19< irker035> NX-RPG: Charles Dang :master * 994fe86 / episode1/scenarios/01_Seer_and_Outlaw.cfg: http://git.io/TGq31w 20130801 18:58:19< irker035> NX-RPG: E1S1: removed obsolete objective note about village capture and fixed a space 20130801 18:58:21< irker035> NX-RPG: Charles Dang :master * e877ee3 / episode1/scenarios/00_Descry.cfg: http://git.io/VxYmBA 20130801 18:58:21< irker035> NX-RPG: E1S0: fixed typo in a message speaker key 20130801 18:58:24< irker035> NX-RPG: Charles Dang :master * 856b8b9 / episode1/scenarios/01_Seer_and_Outlaw.cfg: http://git.io/hpvEtw 20130801 18:58:25< irker035> NX-RPG: E1S1: made Eloryn's name translatable and gave him his missing id 20130801 18:58:28< irker035> NX-RPG: Charles Dang :master * b104000 / episode1/scenarios/01_Seer_and_Outlaw.cfg: http://git.io/nskMng 20130801 18:58:29< irker035> NX-RPG: E1S1: gave sides 2 and 3 some more gold on turn 10 20130801 19:17:39< irker035> NX-RPG: Charles Dang :master * c1d526b / episode1/scenarios/01_Seer_and_Outlaw.cfg: http://git.io/pOHGgw 20130801 19:17:39< irker035> NX-RPG: E1S1: reduced side 4's gold a little 20130801 19:33:08< irker035> NX-RPG: Charles Dang :master * 09797d6 / episode1/scenarios/01_Seer_and_Outlaw.cfg: http://git.io/cyW7Iw 20130801 19:33:09< irker035> NX-RPG: E1S1: moved a fencer that was causing problems with village ownership and Aryon's teleport strategy 20130801 20:17:17-!- ancestral [~ancestral@65-128-235-179.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130801 20:54:34-!- ancestral [~ancestral@65-128-235-179.mpls.qwest.net] has joined #wesnoth-umc-dev 20130801 21:31:19< AI0867> _8680_: I'm having serious trouble deciphering this: https://github.com/8573/wesnoth-lp8/blob/master/8680s_Lua_Pack/modifications.lua 20130801 21:31:51< _8680_> Er, yes… 20130801 21:32:11< AI0867> the single-character arguments and very short function names don't help much 20130801 21:32:19< _8680_> I believe I once tried compiling that to bytecode to make it more readable. 20130801 21:32:55< _8680_> Which parts do you want me to try to re-comprehend? 20130801 21:33:23< AI0867> [remove_object] 20130801 21:33:41< AI0867> I'm now somewhere in remove_effect 20130801 21:33:57< AI0867> which I see uses a local table of functions 20130801 21:34:19< AI0867> and then adjn 20130801 21:34:42< AI0867> and adjn is where I pretty much give up 20130801 21:35:37< AI0867> but the main thing is that simply removing the [object] from [modifications] is not enough? 20130801 21:35:59< AI0867> you then directly adjust the values to compensate for whatever the [object] did? 20130801 21:36:10< _8680_> I don’t think it’s enough. 20130801 21:36:28< _8680_> I don’t think I ever tested that though. vultraz? 20130801 21:36:33< AI0867> how about rebuilding (transform_unit)? 20130801 21:36:49< AI0867> that *should* ditch all direct modifications 20130801 21:36:59< AI0867> that is, everything not done through an [effect] somehow 20130801 21:37:10< _8680_> And then reapply the other [object]s? 20130801 21:37:14< AI0867> corret 20130801 21:37:19< AI0867> s/et/ect/ 20130801 21:37:58< _8680_> vultraz: Did we test whether simply removing the [object] from [modification] is enough to undo its effects? 20130801 21:38:09< _8680_> AI0867: I might try that, thanks. 20130801 21:38:10< vultraz> AI0867: just wondering, what's your curiosity with the functions? 20130801 21:38:32< _8680_> vultraz: Poor AI0867 seems to be trying to understand them. 20130801 21:38:45< AI0867> see src/unit.cpp:742 20130801 21:38:50< vultraz> _8680_: er...I don't think so. But I don't think it is, since remember, the [object] got deleted but the [ability] not, in the testcase 20130801 21:39:29< AI0867> I want to port [remove_object] to C++ 20130801 21:39:43< vultraz> ah 20130801 21:39:56< _8680_> Hm, rebuilding a unit from its type and objects would lose any direct modifications. 20130801 21:39:58< AI0867> but to make the tag more usable, I'd like to be able to use the id key to identify objects 20130801 21:40:10< AI0867> which runs into the object uniqueness issue 20130801 21:40:21< vultraz> AI0867: exactly what I want to do, but there's the id problem 20130801 21:40:56< AI0867> (actually, I didn't know a lua implementation existed until you pasted your WML using it) 20130801 21:41:05< _8680_> Discarding direct modifications could be acceptable in many usecases, but not in others, so I’d still want to retain my mess of a current implementation. 20130801 21:41:23< _8680_> (I’d want to retain the current implementation, not the mess.) 20130801 21:41:30< AI0867> ;) 20130801 21:41:42< AI0867> =P 20130801 21:42:23< _8680_> Anyway, `adjn` is “adjust numeric value”. 20130801 21:43:05< _8680_> It modifies a numeric attribute of a unit cfg. 20130801 21:44:21< _8680_> `t` (table?) is the unit (or other) cfg to operate upon. 20130801 21:44:41< _8680_> `k` is the key of the attribute. 20130801 21:45:15< _8680_> `v` is… the value to add or subtract? 20130801 21:45:50< _8680_> `r` (reverse?) determines whether to add or subtract `v` from `t[k]`. 20130801 21:47:24< _8680_> For brevity, `v` is allowed to be a cfg object, assumed to be that of an [effect] tag; if it is one, then value to add/subtract is assumed to be `v.increase`. 20130801 21:49:12< _8680_> The value that `v` has now is assumed to be the value of an increase=, increase_total=, etc. attribute of [effect]. 20130801 21:50:42< _8680_> `v` is parsed to extract its sign ('-', '+', or '') into `s`, its basic value (for lack of a better term) into `x`, and whether it is a percentage ( 20130801 21:51:15< _8680_> `v` is parsed to extract its sign ('-', '+', or '') into `s`, its basic value (for lack of a better term) into `x`, and whether it is a percentage into `p` (which may be '%' or ''). 20130801 21:51:40< _8680_> ^^s/.*// 20130801 21:52:50< _8680_> Then `x` is negated if `s` == '-', and `v` is assigned the current value of `t[k]`. 20130801 21:53:15< _8680_> Then, er… 20130801 21:55:28< _8680_> Oh, I see now (maybe). 20130801 21:57:04< _8680_> `r` is, fully, “reverse”; it doesn’t just determine whether to add or subtract, it also determines whether to… invert (or whatever the correct mathematical term is) a percentage. 20130801 21:59:21< _8680_> So… on that last line… some value is added to or subtracted from or multiplied with `t[k]` such that it (hopefully) is set to what its value would be without the [effect]. 20130801 21:59:55< _8680_> …Anything else? 20130801 22:57:19-!- Laela [50eb531b@gateway/web/freenode/ip.80.235.83.27] has quit [Ping timeout: 250 seconds] 20130801 22:58:00-!- ancestral [~ancestral@65-128-235-179.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20130801 23:27:23-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 240 seconds] 20130801 23:29:06-!- vultraz_laptop [~chatzilla@wesnoth/developer/vultraz] has quit [Ping timeout: 240 seconds] 20130801 23:33:37-!- ancestral [~ancestral@65-128-235-179.mpls.qwest.net] has joined #wesnoth-umc-dev --- Log closed Fri Aug 02 00:00:42 2013