--- Log opened Sun Apr 01 00:00:27 2012 20120401 00:06:10-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 260 seconds] 20120401 00:11:43<+CIA-16> wesnoth-umc-dev: spookymagician * r14064 /trunk/Unwelcome_Guests_Series/ (maps/UGS_B.map progress.TXT): updated UG2 map. 20120401 00:19:31< SpoOkyMagician> vultraz oO you didnt tell me you were playing sx... >.> *observes game* 20120401 00:19:55< SpoOkyMagician> oh observer 20120401 00:19:59< SpoOkyMagician> nvm 20120401 01:51:38-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20120401 03:21:11-!- atomicbomb [~quassel@125.164.90.245] has joined #wesnoth-umc-dev 20120401 03:31:27-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Ping timeout: 246 seconds] 20120401 03:58:30< SpoOkyMagician> vultraz: around? 20120401 03:58:37< SpoOkyMagician> vultraz_laptop: around? 20120401 04:03:12< SpoOkyMagician> eh nevermind 20120401 04:03:16-!- SpoOkyMagician [~chatzilla@74-141-242-243.dhcp.insightbb.com] has quit [Quit: later] 20120401 04:30:15-!- vultraz [~chatzilla@124.109.10.221] has quit [Ping timeout: 246 seconds] 20120401 04:31:02-!- vultraz_laptop [~chatzilla@124.109.10.221] has quit [Ping timeout: 265 seconds] 20120401 05:03:18-!- Gambit [~gambit@wesnoth/developer/grickit] has quit [Quit: Some balls are held for charity and some for fancy dress. But when they're held for pleasure, they're the balls that I like best.] 20120401 05:27:30-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Disconnected by services] 20120401 05:28:42-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-umc-dev 20120401 05:49:13-!- vultraz_laptop [~chatzilla@124.109.10.221] has joined #wesnoth-umc-dev 20120401 06:11:34-!- vultraz [~chatzilla@124.109.10.221] has joined #wesnoth-umc-dev 20120401 06:26:59-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 252 seconds] 20120401 06:48:31-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-umc-dev 20120401 07:08:27<+CIA-16> wesnoth-umc-dev: vultraz * r14065 /trunk/NX-RPG/lua/item_pickup.lua: NX: combined effect and descpription labels, as Espreon suggested 20120401 07:09:28<+CIA-16> wesnoth-umc-dev: vultraz * r14066 /trunk/NX-RPG/lua/item_pickup.lua: NX: buttons should be title case 20120401 07:19:32<+CIA-16> wesnoth-umc-dev: vultraz * r14067 /trunk/NX-RPG/part1/scenarios/01_Awakening.cfg: NX: merged effect and description tags for the key and improved said text 20120401 07:59:14-!- ancestral [~ancestral@97-127-62-183.mpls.qwest.net] has joined #wesnoth-umc-dev 20120401 08:05:15-!- csarmi [csarmi@92-249-148-209.pool.digikabel.hu] has quit [] 20120401 08:25:42<+CIA-16> wesnoth-umc-dev: doofus-01 * r14068 /trunk/Tales_of_the_Setting_Sun/ (3 files in 2 dirs): some fixes to tavern scenario. Adding alternative captain portrait (unrelated) 20120401 08:31:13<+CIA-16> wesnoth-umc-dev: vultraz * r14069 /trunk/NX-RPG/part1/scenarios/01_Awakening.cfg: NX: improved the key description a bit more 20120401 08:40:30-!- vultraz [~chatzilla@124.109.10.221] has quit [Ping timeout: 246 seconds] 20120401 08:41:49-!- vultraz_laptop [~chatzilla@124.109.10.221] has quit [Ping timeout: 252 seconds] 20120401 08:51:48-!- vultraz_laptop [~chatzilla@124.109.10.221] has joined #wesnoth-umc-dev 20120401 09:18:20<+CIA-16> wesnoth-umc-dev: shikadilord * r14070 /trunk/After_the_Storm/lua/gui.lua: 20120401 09:18:20<+CIA-16> wesnoth-umc-dev: AtS: implement [transient_message] WML action 20120401 09:18:20<+CIA-16> wesnoth-umc-dev: The dialog definition used by this Lua implementation is a much simpler 20120401 09:18:20<+CIA-16> wesnoth-umc-dev: version of mainline's gui2/ttransient_message dialog definition in 1.10. 20120401 09:18:20<+CIA-16> wesnoth-umc-dev: Frankly, I have no idea why I did this. 20120401 09:23:34-!- vultraz [~chatzilla@124.109.10.221] has joined #wesnoth-umc-dev 20120401 09:29:30-!- Crendgrim [~crend@77-22-112-72-dynip.superkabel.de] has joined #wesnoth-umc-dev 20120401 09:41:50-!- ancestral [~ancestral@97-127-62-183.mpls.qwest.net] has quit [Quit: i go sleeps kthxbai] 20120401 09:53:19-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20120401 10:24:14<+CIA-16> wesnoth-umc-dev: shikadilord * r14071 /trunk/After_the_Storm/lua/gui.lua: 20120401 10:24:14<+CIA-16> wesnoth-umc-dev: AtS: implement [show_image] WML action 20120401 10:24:14<+CIA-16> wesnoth-umc-dev: This displays an image on a popup dialog. 20120401 10:26:02-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [] 20120401 10:46:31<+CIA-16> wesnoth-umc-dev: shikadilord * r14072 /trunk/After_the_Storm/lua/gui.lua: AtS: simplify GUI2 Lua calls 20120401 10:47:10-!- Filar [~Filar@dgf174.neoplus.adsl.tpnet.pl] has joined #wesnoth-umc-dev 20120401 11:05:57<+CIA-16> wesnoth-umc-dev: vultraz * r14073 /trunk/NX-RPG/lua/inventory.lua: NX: removed 'Effect type' column in the items list. It was just put there a 2 months or so back when I was trying to fill space ;) . Also added some (unused, VERY WIP) code for the multipages 20120401 11:10:59<+CIA-16> wesnoth-umc-dev: vultraz * r14074 /trunk/NX-RPG/lua/inventory.lua: NX: removed the 'All Items' option from the category list. MIGHT restore later 20120401 11:28:41-!- Filar [~Filar@dgf174.neoplus.adsl.tpnet.pl] has quit [Quit: Ex-Chat] 20120401 11:29:20-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120401 11:31:35-!- atomicbomb [~quassel@125.164.90.245] has quit [Ping timeout: 260 seconds] 20120401 13:20:00-!- Filar [~Filar@dgf174.neoplus.adsl.tpnet.pl] has joined #wesnoth-umc-dev 20120401 13:20:16-!- loonybot [~loonybot@46.138.73.65] has joined #wesnoth-umc-dev 20120401 13:20:16-!- loonybot [~loonybot@46.138.73.65] has quit [Changing host] 20120401 13:20:16-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-umc-dev 20120401 13:20:18-!- mode/#wesnoth-umc-dev [+v loonybot] by ChanServ 20120401 13:30:52<+CIA-16> wesnoth-umc-dev: vultraz * r14075 /trunk/NX-RPG/lua/inventory.lua: NX: removed the Take button. Instead, the Give button's value will change based on currently selected category 20120401 13:49:46-!- Filar [~Filar@dgf174.neoplus.adsl.tpnet.pl] has quit [Quit: Ex-Chat] 20120401 13:55:26-!- vultraz_laptop_ [~chatzilla@124.109.10.221] has joined #wesnoth-umc-dev 20120401 13:55:33-!- vultraz_laptop [~chatzilla@124.109.10.221] has quit [Read error: Connection reset by peer] 20120401 13:55:46-!- vultraz_laptop_ is now known as vultraz_laptop 20120401 14:50:34-!- vultraz_laptop [~chatzilla@124.109.10.221] has quit [Ping timeout: 245 seconds] 20120401 14:52:32-!- vultraz_laptop [~chatzilla@124.109.10.221] has joined #wesnoth-umc-dev 20120401 15:12:25-!- Filar [~Filar@dgf174.neoplus.adsl.tpnet.pl] has joined #wesnoth-umc-dev 20120401 15:15:46-!- Gambit [~gambit@wesnoth/developer/grickit] has joined #wesnoth-umc-dev 20120401 15:28:21-!- vultraz_laptop [~chatzilla@124.109.10.221] has quit [Ping timeout: 248 seconds] 20120401 16:58:32-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-umc-dev 20120401 17:10:30-!- Filar [~Filar@dgf174.neoplus.adsl.tpnet.pl] has quit [Quit: Ex-Chat] 20120401 17:18:13< vultraz> Crendgrim: *ping* 20120401 17:18:38< Crendgrim> vultraz: pong 20120401 17:19:27< vultraz> ;) 20120401 17:19:47< Crendgrim> vultraz: what's up? 20120401 17:20:19< vultraz> do you know a way to quickly iterate over a bunch of wml arrays in lua? 20120401 17:21:31< vultraz> humm 20120401 17:21:34< vultraz> actually... 20120401 17:21:38 * vultraz looks at code 20120401 17:21:41< Crendgrim> vultraz: helper.child_range 20120401 17:21:54< Crendgrim> vultraz: or what do you try to do? 20120401 17:23:35< vultraz> hum 20120401 17:23:37< vultraz> hang on 20120401 17:24:43< vultraz> http://pastebin.com/M6PMGrpK 20120401 17:24:53< vultraz> basically every new item gets in like this: 20120401 17:25:10< vultraz> Rhyan.items[0].(itemstats) 20120401 17:25:17< vultraz> then the next item is 20120401 17:25:28< vultraz> Rhyan.items[1].(itemstats) 20120401 17:25:40< vultraz> there's also potions[0] and weapons[0] 20120401 17:26:01< vultraz> so I want to look at all three categories 20120401 17:26:14< vultraz> looking in any of the id= s match cfg.id 20120401 17:28:02< Crendgrim> hm 20120401 17:29:27< vultraz> if* 20120401 17:29:47< Crendgrim> I would have looked through all array one by one.. 20120401 17:31:11< vultraz> hum 20120401 17:31:48< vultraz> like what I did, but one for each section? 20120401 17:32:19< Crendgrim> I don't think there is an easy way to concatenate two tables in lua... though I might be wrong 20120401 17:33:14< vultraz> hum 20120401 17:35:24< vultraz> on a somewhat related note...I think I could maybe remove the weapons section from the check 20120401 17:35:57< vultraz> my plan was to have a unit's weapons available in the inventory 20120401 17:36:14< vultraz> for exchanging, etc 20120401 17:37:34< vultraz> but what about attacks like faerie fire 20120401 17:37:40< vultraz> that can't go in the inv 20120401 17:39:55< Crendgrim> even other attacks are quite hard to unequip, as I had to learn :( 20120401 17:41:30< vultraz> in fact... 20120401 17:41:46< vultraz> doesn't really make sense to have a section distinction at all... 20120401 17:41:55< vultraz> maybe I should just rename ITEMS to INVENTORY 20120401 17:42:01< vultraz> and delete POTIONS and WEAPONS 20120401 17:44:49< vultraz> 1) the categories are basically leftovers from a time when there 20120401 17:45:41< vultraz> 2) s hoping that being in a separate category would make those tems get groin teh inv 20120401 17:45:50< vultraz> WHAT 20120401 17:45:53< vultraz> DID I JUST TYPE 20120401 17:46:21< vultraz> those items be grouped together in the inv* 20120401 17:46:34< vultraz> gawd....freaking keyboard not workign right -_- 20120401 17:48:26< Crendgrim> get groin teh inv.. yeah 20120401 17:48:41< vultraz> :P 20120401 17:49:16< vultraz> of all the things this keyboard could've typed...it had to type that 20120401 17:50:10< Crendgrim> I guess you either need to clean your current one, or buy a new :p 20120401 17:50:23-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20120401 17:50:59< vultraz> well....I just cleaned it. I think it's mopre of the computer lagging and not putting in the letters 20120401 17:51:39< vultraz> more a problem* 20120401 17:54:41< Crendgrim> USB keyboard? 20120401 17:55:39< vultraz> yeah 20120401 17:55:57-!- Filar [~Filar@dgf174.neoplus.adsl.tpnet.pl] has joined #wesnoth-umc-dev 20120401 17:56:18< Crendgrim> are you sure you plugged it into a USB2 port? 20120401 17:56:32< Crendgrim> my PC, for example, also has a few USB 1.1 ports (whyever...) 20120401 17:57:01< vultraz> I think so... 20120401 18:06:16< vultraz> Crendgrim: anyway...do you think I should kill POTIONS and WEAPONS and put everything in ITEMS or INVENTORY? 20120401 18:07:58< Crendgrim> vultraz: I don't know how you set up your thing 20120401 18:14:00-!- loonybot [~loonybot@46.138.73.65] has joined #wesnoth-umc-dev 20120401 18:14:00-!- loonybot [~loonybot@46.138.73.65] has quit [Changing host] 20120401 18:14:00-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-umc-dev 20120401 18:14:02-!- mode/#wesnoth-umc-dev [+v loonybot] by ChanServ 20120401 18:14:27-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20120401 18:17:04<+CIA-16> wesnoth-umc-dev: shikadilord * r14076 /trunk/After_the_Storm/ (ai/fake/npc.cfg base-loader.cfg lua/npc.lua): AtS: rewrite NPC birds movement logic in Lua 20120401 18:17:31<+CIA-16> wesnoth-umc-dev: shikadilord * r14077 /trunk/After_the_Storm/ (changelog macros/items.cfg): AtS: healing glyphs no longer render affected units unable to attack on the same turn 20120401 18:21:38<+CIA-16> wesnoth-umc-dev: shikadilord * r14078 /trunk/After_the_Storm/ (changelog lua/npc.lua): 20120401 18:21:38<+CIA-16> wesnoth-umc-dev: AtS: use image modifications for the NPC birds MUF 20120401 18:21:38<+CIA-16> wesnoth-umc-dev: This fixes the problem in E2S9 where Shaxthal Worms change colors when 20120401 18:21:38<+CIA-16> wesnoth-umc-dev: moving. It was impossible to do this in WML because only Lua proxy units 20120401 18:21:38<+CIA-16> wesnoth-umc-dev: or whatever have an image_mods attribute from which information for the 20120401 18:21:38<+CIA-16> wesnoth-umc-dev: MUF action can be obtained. 20120401 18:23:16-!- ancestral [~ancestral@97-127-62-183.mpls.qwest.net] has joined #wesnoth-umc-dev 20120401 18:24:03<+CIA-16> wesnoth-umc-dev: shikadilord * r14079 /trunk/After_the_Storm/lua/npc.lua: AtS: set correct facing at the end of NPC bird movements 20120401 18:24:19<+CIA-16> wesnoth-umc-dev: shikadilord * r14080 /trunk/After_the_Storm/lua/npc.lua: AtS: comment out debug code 20120401 18:32:17<+CIA-16> wesnoth-umc-dev: shikadilord * r14081 /trunk/After_the_Storm/ai/fake/npc.cfg: AtS: remove unused macros 20120401 18:41:20-!- Filar [~Filar@dgf174.neoplus.adsl.tpnet.pl] has quit [Quit: Ex-Chat] 20120401 18:48:05-!- Blueblaze [~Blueblaze@adsl-99-158-46-32.dsl.hstntx.sbcglobal.net] has joined #wesnoth-umc-dev 20120401 18:55:29<+CIA-16> wesnoth-umc-dev: vultraz * r14082 /trunk/NX-RPG/lua/item_pickup.lua: NX: removed item sections. From now on all items will go into [unit.id][inventory]. Also added more quantity-related stuff 20120401 18:59:22< ancestral> vultraz: How's the item inventory project going? 20120401 18:59:32< ancestral> (or whatever you call it) 20120401 18:59:34< vultraz> good 20120401 18:59:46< ancestral> Do you have a screen shot of what it looks like? 20120401 19:00:08< vultraz> http://imagebin.org/206287 20120401 19:00:22< ancestral> Nice 20120401 19:01:10< vultraz> :) 20120401 19:01:27<+CIA-16> wesnoth-umc-dev: shikadilord * r14083 /trunk/After_the_Storm/ai/fake/npc.cfg: AtS: remove unused macro 20120401 19:01:44< ancestral> Anything functional yet? 20120401 19:01:56<+CIA-16> wesnoth-umc-dev: shikadilord * r14084 /trunk/After_the_Storm/lua/npc.lua: AtS: use wesnoth.current.side instead of retrieving $side_number in Lua 20120401 19:02:33<+CIA-16> wesnoth-umc-dev: shikadilord * r14085 /trunk/After_the_Storm/lua/npc.lua: AtS: fix NPC birds (or worms) changing variation during movement 20120401 19:03:09< vultraz> well... 20120401 19:03:12< vultraz> not really 20120401 19:03:18< vultraz> but I'm getting there 20120401 19:03:26< ancestral> Right on, keep it up :-D 20120401 19:06:00<+CIA-16> wesnoth-umc-dev: vultraz * r14086 /trunk/NX-RPG/lua/item_pickup.lua: NX: mysterious typo fix: 'thensvn' -> 'then' :P 20120401 19:09:11<+CIA-16> wesnoth-umc-dev: shikadilord * r14087 /trunk/After_the_Storm/changelog: 20120401 19:09:11<+CIA-16> wesnoth-umc-dev: AtS: update changelog 20120401 19:09:11<+CIA-16> wesnoth-umc-dev: This might be important later if there are regressions. 20120401 19:18:38-!- vultraz_laptop [~chatzilla@124.109.10.221] has joined #wesnoth-umc-dev 20120401 19:22:11<+CIA-16> wesnoth-umc-dev: vultraz * r14088 /trunk/NX-RPG/lua/ (inventory.lua item_pickup.lua): NX: items now diaplay actual quantity instead of placeholder '0'! Still a problem with getting another such item. Also made inv code work with r14082 20120401 19:29:19< vultraz> Crendgrim: how would I make this work? http://pastebin.com/MwqJJDLB 20120401 19:29:51< vultraz> what I want to do as add 1 to the item's quantity var is you have it 20120401 19:30:04< Crendgrim> hm 20120401 19:30:15< Crendgrim> what about using a local lua variable, and storing it inside the WML variable afterwards? 20120401 19:30:43< vultraz> well... 20120401 19:30:57< vultraz> if you have the items als determines if teh next part of teh code fires? 20120401 19:31:01< vultraz> .* 20120401 19:31:03< vultraz> the* 20120401 19:31:06< vultraz> so 20120401 19:31:14< vultraz> so I need this checking bit 20120401 19:33:13< Crendgrim> hm 20120401 19:33:44< Crendgrim> then you'd need to call get_variable("item_check_list.quantity") afterwards.. 20120401 19:33:55< Crendgrim> or the local variable won't get updated, I think 20120401 19:34:06< vultraz> hum.. 20120401 19:34:07< vultraz> well... 20120401 19:34:15< vultraz> the var structure is like this BTW 20120401 19:34:34< vultraz> $unit.id.inventory[i] 20120401 19:34:59< vultraz> so I wanna look through all of that 20120401 19:35:27< vultraz> and if one of it's i= s equals item's 20120401 19:35:32< vultraz> the* 20120401 19:35:50< Crendgrim> I don't understand. 20120401 19:35:59< vultraz> add one to it's 'quantity' var too 20120401 19:36:26< vultraz> id=* 20120401 19:38:34< vultraz> Crendgrim: http://imagebin.org/206321 20120401 19:39:16< vultraz> what I want it to do is look at every [inventory] block 20120401 19:39:24< vultraz> (each is a different index) 20120401 19:39:46< vultraz> and if that block.index's id= key is the same as the item you are picking up's id= key 20120401 19:40:00< vultraz> add 1 to that block/index's quantity= var 20120401 19:41:00< ancestral> ++ ? 20120401 19:41:53< vultraz> ? 20120401 19:41:56< vultraz> lua 20120401 19:42:13< Crendgrim> vultraz: well, you need to read it out, change it, and write it.. 20120401 19:42:27< vultraz> hum 20120401 19:42:40< vultraz> what exactly does helper.get_variable_array give? 20120401 19:43:06< Crendgrim> vultraz: do you have the Wesnoth Lua Pack installed? 20120401 19:43:17< Crendgrim> vultraz: if not, do so 20120401 19:43:47< Crendgrim> vultraz: then, include debug_utils.lua and run the debug_utils.dbms() function on the variable helper.get_variable_array returns, and you'll see for yourself 20120401 19:44:30< ancestral> I guess Lua doesn't have ++ 20120401 19:44:42< ancestral> You'd have to do n = n + 1 20120401 19:47:08< vultraz> I know that ;) 20120401 19:53:36-!- wesbot [~wesbot@wesnoth/bot/wesbot] has quit [Ping timeout: 244 seconds] 20120401 19:56:00-!- wesbot [~wesbot@wesnoth/bot/wesbot] has joined #wesnoth-umc-dev 20120401 19:56:03-!- mode/#wesnoth-umc-dev [+v wesbot] by ChanServ 20120401 20:04:55-!- vultraz_laptop [~chatzilla@124.109.10.221] has quit [Ping timeout: 260 seconds] 20120401 20:08:50-!- Filar [~Filar@dgf174.neoplus.adsl.tpnet.pl] has joined #wesnoth-umc-dev 20120401 20:10:48-!- Filarek_ [~Filar@dgf174.neoplus.adsl.tpnet.pl] has joined #wesnoth-umc-dev 20120401 20:11:01-!- Filarek_ [~Filar@dgf174.neoplus.adsl.tpnet.pl] has quit [Client Quit] 20120401 20:26:23<+CIA-16> wesnoth-umc-dev: shikadilord * r14089 /trunk/After_the_Storm/episode2/scenarios/08_And_then_there_was_Chaos.cfg: AtS E2S8: fix Elynia losing her leader icon during a cutscene 20120401 20:52:34-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20120401 21:31:31<+CIA-16> wesnoth-umc-dev: shikadilord * r14090 /trunk/After_the_Storm/images/units/fairies/ (dusk.png night-nymph.png nightshade-fire.png): AtS: fix shadow/ellipse alignment issues with the Dusk Faerie line's baseframes 20120401 22:06:32-!- vultraz [~chatzilla@124.109.10.221] has quit [Ping timeout: 260 seconds] 20120401 23:00:19<+CIA-16> wesnoth-umc-dev: doofus-01 * r14091 /trunk/Tales_of_the_Setting_Sun/images/portraits/captain-female-2.png: adding another alternate captain portrait 20120401 23:07:10-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 276 seconds] 20120401 23:08:30-!- Filar [~Filar@dgf174.neoplus.adsl.tpnet.pl] has quit [Quit: Ex-Chat] 20120401 23:12:34-!- Crendgrim [~crend@77-22-112-72-dynip.superkabel.de] has quit [Quit: ...] 20120401 23:37:20<+CIA-16> wesnoth-umc-dev: doofus-01 * r14092 /trunk/Tales_of_the_Setting_Sun/units/ancient-north/ (Captain2.cfg Captain3.cfg): wiring newer portraits in to unit files --- Log closed Mon Apr 02 00:00:27 2012