--- Log opened Fri Feb 25 00:00:22 2011 20110225 00:26:57-!- Blueblaze [~Blueblaze@adsl-99-148-245-203.dsl.hstntx.sbcglobal.net] has joined #wesnoth-umc-dev 20110225 00:35:10-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-umc-dev 20110225 00:35:11-!- Rei2 [ayanami@unaffiliated/shadowmaster/bot/rei2] has joined #wesnoth-umc-dev 20110225 00:35:13-!- mode/#wesnoth-umc-dev [+v Rei2] by ChanServ 20110225 00:47:30-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [] --- Log opened Fri Feb 25 01:13:16 2011 20110225 01:13:27-!- lobby [~wesnoth@wesnoth/bot/lobby] has joined #wesnoth-umc-dev 20110225 01:13:27-!- Topic for #wesnoth-umc-dev: Wesnoth-UMC-Dev Project discussion and support channel | http://wesnoth-umc-dev.ai0867.net | Staff: AI0867, Espreon, shadowmaster | Blog: http://wesnoth-umc-dev.ai0867.net/blog/ | IRC logs: http://irclogs.wesnoth.org, http://irclogs.ai0867.net 20110225 01:13:27-!- Topic set by umcreg [] [Sat Jan 8 23:05:24 2011] 20110225 01:13:27[Users #wesnoth-umc-dev] 20110225 01:13:27[@ChanServ] [+shikadibot] [ esr ] [ loonycyborg ] [ shadowmaster] 20110225 01:13:27[+CIA-41 ] [+wesbot ] [ fendrin] [ mysticX ] [ Vorpal ] 20110225 01:13:27[+janebot ] [ AI0867 ] [ Gambit ] [ noy ] [ vultraz ] 20110225 01:13:27[+loonybot] [ Blueblaze ] [ iwaim__] [ porty ] 20110225 01:13:27[+Rei2 ] [ Espreon ] [ lobby ] [ shadowm_laptop] 20110225 01:13:27-!- Irssi: #wesnoth-umc-dev: Total of 23 nicks [1 ops, 0 halfops, 6 voices, 16 normal] 20110225 01:13:28-!- Home page for #wesnoth-umc-dev: http://wesnoth-umc-dev.ai0867.net 20110225 01:13:46-!- Channel #wesnoth-umc-dev created Mon Mar 31 16:51:24 2008 20110225 01:14:55-!- Irssi: Join to #wesnoth-umc-dev was synced in 98 secs 20110225 01:22:38-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has quit [Quit: Zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz] 20110225 01:22:58-!- loonybot [~loonybot@wesnoth/bot/loonybot] has quit [Remote host closed the connection] 20110225 01:59:48-!- porty [~quassel@pc-74-249-120-200.cm.vtr.net] has quit [Read error: Connection reset by peer] 20110225 02:00:36-!- PetePorty [~quassel@pc-74-249-120-200.cm.vtr.net] has joined #wesnoth-umc-dev 20110225 02:11:29-!- Rei2 [ayanami@unaffiliated/shadowmaster/bot/rei2] has quit [Read error: Connection reset by peer] 20110225 02:11:45-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Read error: Connection reset by peer] 20110225 02:11:59-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-umc-dev 20110225 02:12:23-!- Rei2 [ayanami@unaffiliated/shadowmaster/bot/rei2] has joined #wesnoth-umc-dev 20110225 02:12:26-!- mode/#wesnoth-umc-dev [+v Rei2] by ChanServ 20110225 02:41:28<+CIA-41> wesnoth-umc-dev: grickit * r8890 /branches/irc-bots/Gambot/processors/plugins/conversation/quotes.txt: More updates to quotes. 20110225 02:55:51-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Quit: Lost terminal] 20110225 02:55:51-!- Rei2 [ayanami@unaffiliated/shadowmaster/bot/rei2] has quit [Quit: Lost terminal] 20110225 03:05:47-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Ping timeout: 246 seconds] 20110225 03:07:02-!- Gambit [~Gambit@wesnoth/developer/grickit] has quit [Ping timeout: 240 seconds] 20110225 03:07:42-!- Gambit [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-umc-dev 20110225 03:08:53-!- Rei2 [ayanami@unaffiliated/shadowmaster/bot/rei2] has joined #wesnoth-umc-dev 20110225 03:08:56-!- mode/#wesnoth-umc-dev [+v Rei2] by ChanServ 20110225 03:09:00-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-umc-dev 20110225 03:17:36-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20110225 03:17:39-!- mode/#wesnoth-umc-dev [+v janebot] by ChanServ 20110225 03:18:15-!- Rei2 [ayanami@unaffiliated/shadowmaster/bot/rei2] has quit [Read error: Connection reset by peer] 20110225 03:18:33-!- Rei2 [ayanami@unaffiliated/shadowmaster/bot/rei2] has joined #wesnoth-umc-dev 20110225 03:18:36-!- mode/#wesnoth-umc-dev [+v Rei2] by ChanServ 20110225 04:37:18-!- mysticX [kwrkws@178.73.198.130] has quit [Quit: other challenges await..] 20110225 04:42:33-!- un214 [~un214@75.45.1.223] has joined #wesnoth-umc-dev 20110225 04:50:22-!- un214 [~un214@75.45.1.223] has quit [Remote host closed the connection] 20110225 05:13:56-!- Grickit [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-umc-dev 20110225 05:14:33-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Ping timeout: 240 seconds] 20110225 05:14:51-!- Gambit [~Gambit@wesnoth/developer/grickit] has quit [Read error: Connection reset by peer] 20110225 05:15:56-!- Grickit is now known as Gambit 20110225 05:33:04-!- Gambit [~Gambit@wesnoth/developer/grickit] has quit [] 20110225 07:57:08-!- Blueblaze [~Blueblaze@adsl-99-148-245-203.dsl.hstntx.sbcglobal.net] has quit [Quit: Blueblaze] 20110225 07:59:30-!- PetePorty [~quassel@pc-74-249-120-200.cm.vtr.net] has quit [Remote host closed the connection] 20110225 08:15:02-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20110225 08:59:27-!- fendrin [~fabi@88-134-128-112-dynip.superkabel.de] has quit [Remote host closed the connection] 20110225 09:01:21-!- fendrin [~fabi@88-134-128-112-dynip.superkabel.de] has joined #wesnoth-umc-dev 20110225 09:08:02-!- fendrin [~fabi@88-134-128-112-dynip.superkabel.de] has quit [Remote host closed the connection] 20110225 09:09:29-!- fendrin [~fabi@88-134-128-112-dynip.superkabel.de] has joined #wesnoth-umc-dev 20110225 09:50:33-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110225 10:18:26-!- fendrin [~fabi@88-134-128-112-dynip.superkabel.de] has quit [Remote host closed the connection] 20110225 10:19:41-!- fendrin [~fabi@88-134-128-112-dynip.superkabel.de] has joined #wesnoth-umc-dev 20110225 10:30:16-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 246 seconds] 20110225 10:30:23-!- Rei2 [ayanami@unaffiliated/shadowmaster/bot/rei2] has quit [Ping timeout: 260 seconds] 20110225 10:41:59-!- vultraz [~chatzilla@124.109.10.174] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203074432]] 20110225 10:42:37-!- vultraz [~chatzilla@124.109.10.174] has joined #wesnoth-umc-dev 20110225 12:02:13-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has joined #wesnoth-umc-dev 20110225 12:06:30< vultraz> zookeeper: i do have an example of reading attacks off units: the SXRPG sell weapons 20110225 12:12:43< zookeeper> and? 20110225 12:13:34< vultraz> i would follow what it says, but it's full of variables that i can understand 20110225 12:14:31< zookeeper> luckily not variables that you can't understand :P 20110225 12:16:05< vultraz> http://wesnoth.pastebin.com/a7MFrjy0 that's what it looks like 20110225 12:16:48< zookeeper> yeah, it looks horrible. 20110225 12:20:12< vultraz> and? 20110225 12:20:42< zookeeper> and nothing. i just said it looks horrible? 20110225 12:21:02< vultraz> i think those variables in the middle are the reading 20110225 12:22:15< vultraz> but i don't know where he gets his values or names 20110225 12:23:32< zookeeper> uh 20110225 12:23:53< zookeeper> {VARIABLE name_$weaponsell_j $weaponsell.attack[$weaponsell_i].name} 20110225 12:24:02< zookeeper> he's getting the name from $weaponsell.attack[$weaponsell_i].name 20110225 12:36:52< vultraz> but exactly what do all those variables DO 20110225 12:37:47< zookeeper> i have no idea what you're asking. variables don't DO anything, they just hold values. 20110225 12:38:18< vultraz> well, what are they holding, then 20110225 12:39:26< zookeeper> ... 20110225 12:39:56< zookeeper> what kind of a value you'd guess $weaponsell.attack[$weaponsell_i].name might have? maybe the number of hexes adjacent to a spearman in 2,3? 20110225 12:40:07< zookeeper> or maybe a name of an attack? 20110225 12:42:35< zookeeper> $weaponsell.attack[$weaponsell_i].name <- what's weaponsell? it's a stored unit which is a WML array. what's $weaponsell.attack[$weaponsell_i]? it's the nth [attack] tag inside that array, where n = $weaponsell_i. what's $weaponsell.attack[$weaponsell_i].name? it's the value of the name= key inside that [attack] tag. 20110225 12:42:51< zookeeper> make sense? 20110225 12:48:54< vultraz> so $weaponsell is calling up the stored unit 20110225 12:50:01< zookeeper> weaponsell is the variable holding the stored unit 20110225 12:50:09< zookeeper> $weaponsell.name is the name of that unit 20110225 12:50:11< zookeeper> etc 20110225 12:50:27< vultraz> and $weaponsell.attack is the unit's attacks 20110225 12:51:11< zookeeper> no, $weaponsell.attack doesn't mean anything because .attack points to an array of tags, not a key 20110225 12:51:27< zookeeper> variable substitution can only deal with keys 20110225 12:52:04< zookeeper> $weaponsell or $weaponsell.attack or $weaponsell.attack[1] don't have a value, they're not keys 20110225 12:52:51< zookeeper> whereas $weaponsell.name has a value, the name of the unit, and $weaponsell.attack[1].damage also has a value, the damage of the second attack of that unit 20110225 12:53:04< vultraz> oh 20110225 12:53:24< vultraz> so it's sorta like folders within folders 20110225 12:53:36< zookeeper> i guess 20110225 12:54:46-!- loonybot [~loonybot@46.138.77.200] has joined #wesnoth-umc-dev 20110225 12:54:46-!- loonybot [~loonybot@46.138.77.200] has quit [Changing host] 20110225 12:54:46-!- loonybot [~loonybot@wesnoth/bot/loonybot] has joined #wesnoth-umc-dev 20110225 12:54:49-!- mode/#wesnoth-umc-dev [+v loonybot] by ChanServ 20110225 12:55:18-!- loonycyborg [~sergey@wesnoth/developer/loonycyborg] has joined #wesnoth-umc-dev 20110225 12:57:19< vultraz> if weaponsell is the variable's name, what is _I 20110225 12:57:42< zookeeper> weaponsell_i is a different variable 20110225 12:58:04< zookeeper> it's used for iterating through each attack 20110225 12:58:17< zookeeper> it holds the index of the attack we're currently doing something with 20110225 13:09:37-!- fendrin [~fabi@88-134-128-112-dynip.superkabel.de] has quit [Remote host closed the connection] 20110225 13:10:55-!- fendrin [~fabi@88-134-128-112-dynip.superkabel.de] has joined #wesnoth-umc-dev 20110225 13:53:42-!- mysticX [jromb@178.73.198.130] has joined #wesnoth-umc-dev 20110225 14:33:58-!- Gambit [~Gambit@wesnoth/developer/grickit] has joined #wesnoth-umc-dev 20110225 14:37:04-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20110225 14:37:06-!- mode/#wesnoth-umc-dev [+v janebot] by ChanServ 20110225 15:20:32-!- fendrin [~fabi@88-134-128-112-dynip.superkabel.de] has quit [Remote host closed the connection] 20110225 15:21:52-!- fendrin [~fabi@88-134-128-112-dynip.superkabel.de] has joined #wesnoth-umc-dev 20110225 16:22:43-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20110225 16:45:09-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110225 17:26:21-!- mysticX [jromb@178.73.198.130] has quit [Quit: other challenges await..] 20110225 17:30:39-!- PetePorty [~quassel@pc-74-249-120-200.cm.vtr.net] has joined #wesnoth-umc-dev 20110225 17:57:35-!- zookeeper [~l@wesnoth/developer/zookeeper] has quit [Ping timeout: 240 seconds] 20110225 18:00:49-!- zookeeper [~l@wesnoth/developer/zookeeper] has joined #wesnoth-umc-dev 20110225 18:10:39-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20110225 18:13:35-!- noy_ [~Noy@s207-81-152-50.bc.hsia.telus.net] has joined #wesnoth-umc-dev 20110225 18:13:35-!- noy_ [~Noy@s207-81-152-50.bc.hsia.telus.net] has quit [Changing host] 20110225 18:13:35-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20110225 18:17:23-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 276 seconds] 20110225 18:17:24-!- noy_ is now known as noy 20110225 18:47:09-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110225 18:49:56-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20110225 18:50:37-!- noy_ [~Noy@207.81.152.50] has joined #wesnoth-umc-dev 20110225 18:50:37-!- noy_ [~Noy@207.81.152.50] has quit [Changing host] 20110225 18:50:37-!- noy_ [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20110225 18:54:58-!- noy [~Noy@wesnoth/developer/noy] has quit [Ping timeout: 260 seconds] 20110225 18:54:58-!- noy_ is now known as noy 20110225 19:17:44-!- nHarzilei [harzi@camelot.germanistik.fu-berlin.de] has joined #wesnoth-umc-dev 20110225 19:17:46< nHarzilei> hi 20110225 19:17:55< Gambit> Hello 20110225 20:18:57-!- mysticX [wyrruq@178.73.198.130] has joined #wesnoth-umc-dev 20110225 20:34:02-!- PetePorty [~quassel@pc-74-249-120-200.cm.vtr.net] has quit [Remote host closed the connection] 20110225 20:40:56-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110225 20:45:27-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20110225 20:47:54-!- noy [~Noy@wesnoth/developer/noy] has quit [Client Quit] 20110225 20:58:37-!- shadowm_laptop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-umc-dev 20110225 20:58:54-!- Rei2 [ayanami@unaffiliated/shadowmaster/bot/rei2] has joined #wesnoth-umc-dev 20110225 20:58:57-!- mode/#wesnoth-umc-dev [+v Rei2] by ChanServ 20110225 21:10:15<+CIA-41> wesnoth-umc-dev: elvish-hunter * r8891 /trunk/Wesnoth_Lua_Pack/ (changelog wml-tags.lua): Removed [transform_unit] now committed in core 20110225 21:19:11-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has quit [Ping timeout: 240 seconds] 20110225 21:23:34-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20110225 21:41:19-!- noy [~Noy@wesnoth/developer/noy] has quit [Quit: noy] 20110225 21:49:50< vultraz> hi Gambit 20110225 21:49:57< Gambit> Hello 20110225 21:53:00-!- PetePorty [~pete@wesnoth/translator/PetePorty] has joined #wesnoth-umc-dev 20110225 22:03:26< vultraz> hey zookeeper, those SXRPG sellweapons variables i was asking about? I think i'm figuring them out 20110225 22:08:42< vultraz> finally 20110225 22:13:39-!- noy [~Noy@wesnoth/developer/noy] has joined #wesnoth-umc-dev 20110225 22:42:55-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has joined #wesnoth-umc-dev 20110225 23:11:04-!- Blueblaze [~Blueblaze@adsl-99-148-245-203.dsl.hstntx.sbcglobal.net] has joined #wesnoth-umc-dev 20110225 23:49:54-!- thespaceinvader [~chatzilla@wesnoth/artist/thespaceinvader] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.13/20101203075014]] --- Log closed Sat Feb 26 00:00:05 2011