--- Log opened Sun Mar 16 00:00:58 2014 20140316 00:25:43-!- spoffy [~spoffy@host81-159-195-99.range81-159.btcentralplus.com] has quit [Ping timeout: 264 seconds] 20140316 00:42:56-!- bagzie [~bag@85-76-32-7-nat.elisa-mobile.fi] has quit [] 20140316 00:50:01-!- Duthlet [~Duthlet@wesnoth/mp-mod/Duthlet] has quit [Quit: leaving] 20140316 00:53:08-!- Immac [be353e6b@gateway/web/freenode/ip.190.53.62.107] has quit [Ping timeout: 245 seconds] 20140316 01:04:36-!- kex [~kex@89.205.75.19] has quit [Remote host closed the connection] 20140316 01:15:35-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has joined #wesnoth-dev 20140316 01:19:23-!- mjs-de [~mjs-de@f049066088.adsl.alicedsl.de] has quit [Remote host closed the connection] 20140316 01:27:11-!- wesbot changed the topic of #wesnoth-dev to: 1.12 branch created | string+feature freeze active on 1.12 | 229 bugs, 353 feature requests, 28 patches | Logs: http://irclogs.wesnoth.org | Alternate logs: http://wesnoth.debian.net | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20140316 01:32:12-!- justinzane [~justinzan@tiny.justinzane.com] has quit [] 20140316 01:33:46-!- justinzane [~justinzan@tiny.justinzane.com] has joined #wesnoth-dev 20140316 01:36:31-!- cib0 [~cib@p20030067CE5CD701267703FFFEE75B84.dip0.t-ipconnect.de] has quit [Ping timeout: 264 seconds] 20140316 01:39:52-!- sachith500 [~kvirc@112.134.200.222] has joined #wesnoth-dev 20140316 01:52:25-!- jchb [~jb@174-125-81-141.dyn.centurytel.net] has quit [Ping timeout: 240 seconds] 20140316 02:09:18-!- justinzane [~justinzan@tiny.justinzane.com] has quit [Ping timeout: 240 seconds] 20140316 02:17:16-!- stikonas_ [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20140316 02:19:02-!- justinzane [~justinzan@tiny.justinzane.com] has joined #wesnoth-dev 20140316 02:23:10-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 02:27:29-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 240 seconds] 20140316 02:29:43-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has joined #wesnoth-dev 20140316 02:35:09< sachith500> hmm 20140316 02:35:20< sachith500> my questionnaire makes me sound like an undead fanboi 20140316 02:41:08< EliDupree> sachith500: Don't worry, we know you're still alive 20140316 02:41:21< sachith500> ;D 20140316 02:41:31 * sachith500 gnaws on some brains. 20140316 02:41:58-!- happygrue [~happygrue@wesnoth/developer/wintermute] has quit [Ping timeout: 252 seconds] 20140316 02:45:53-!- knotwork [~markm@unaffiliated/knotwork] has quit [Ping timeout: 245 seconds] 20140316 02:50:31-!- stikonas [~gentoo@cpc18-sgyl27-2-0-cust35.18-2.cable.virginm.net] has joined #wesnoth-dev 20140316 02:50:31-!- stikonas [~gentoo@cpc18-sgyl27-2-0-cust35.18-2.cable.virginm.net] has quit [Changing host] 20140316 02:50:31-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140316 02:54:02< Aishiko> sachith500, your lucky questionnaires make me sound like an anti-social shut in 20140316 02:54:17< sachith500> ahh it wasn't too bad 20140316 02:54:24< sachith500> I copied yours and edited it ;) 20140316 02:54:38-!- sachith500 [~kvirc@112.134.200.222] has quit [Read error: Connection reset by peer] 20140316 02:55:36-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20140316 02:56:04-!- sachith500 [~kvirc@112.134.200.222] has joined #wesnoth-dev 20140316 02:57:34< Aishiko> ..... so your saying I sound like an undead fanboi? your lucky your not here that would require me to Gibbs you. 20140316 02:58:05< sachith500> hahaha 20140316 02:58:21< sachith500> I love undead tho 20140316 02:58:22< sachith500> so cool 20140316 02:58:23< sachith500> :\ 20140316 02:58:38< EliDupree> literally 20140316 02:58:43< sachith500> hahaha 20140316 02:58:47< Espreon> Indeed... 20140316 03:02:59-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Ping timeout: 240 seconds] 20140316 03:40:37-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has joined #wesnoth-dev 20140316 03:44:43< Aishiko> I've moved to my desktop however I keep getting this error: http://pastebin.com/aUZgSQuB I do have excute permission, have not modified the file and am on a bash 4.2.45 shell, and I'm not finding a lot of answers as to why its behaving this way. 20140316 03:48:06< shadowm> Aishiko: What does ls -l ~/wesnoth/utils/autorevision show? 20140316 03:49:00< Aishiko> -rwxr-xr-x 1 username username 17098 Mar 15 23:31 utils/autorevision 20140316 03:49:16< shadowm> Is it part of a noexec filesystem mount? 20140316 03:49:49< Aishiko> it shouldn't be but, I'm not sure how to chcek (I've never had to before) 20140316 03:51:01< shadowm> Easiest way to tell: echo -ne '#!/bin/sh\necho Hello world\n' > ~/wesnoth/utils/exec-test && chmod a+x ~/wesnoth/utils/exec-test && ~/wesnoth/utils/exec-test 20140316 03:51:39< shadowm> I mean, the alternative is to check mount's output. 20140316 03:51:55< shadowm> Also, what happens in you run ~/wesnoth/utils/autorevision yourself? 20140316 03:52:11< shadowm> (Okay, that last one is the easiest way to tell.) 20140316 03:52:30< shadowm> "usage: ./autorevision {-t output-type | -s symbol} [-o cache-file [-f] ] [-V]" Et cetera. 20140316 03:52:33< Aishiko> manually try to run it I get "-rwxr-xr-x 1 phoenix phoenix 17098 Mar 15 23:31 utils/autorevision" 20140316 03:52:53< shadowm> No, that's ls -l's output. 20140316 03:53:52< Aishiko> bash: ./utils/autorevision: Permission denied, errrr terminal wasn't letting me use the keyboard shortcut to copy 20140316 03:54:25-!- sachith500 [~kvirc@112.134.200.222] has quit [Ping timeout: 240 seconds] 20140316 03:54:26< shadowm> Do you have some mandatory access control mechanism configured there or something? (selinux, etc.) 20140316 03:54:58< Aishiko> no, I've not added anything like that 20140316 03:55:52< shadowm> Is utils searchable? 20140316 03:56:33< Aishiko> yes and that echo command got me a /wesnoth/utils/exec-test: Permission denied 20140316 03:56:33< shadowm> `ls -l ~/wesnoth | grep utils` 20140316 03:57:20< Aishiko> drwxr-xr-x 7 xxxx xxxx 4096 Mar 15 23:48 utils 20140316 03:57:42-!- Ivanovic_ [~ivanovic@x2f5082f.dyn.telefonica.de] has joined #wesnoth-dev 20140316 03:58:10< shadowm> What platform is this again? 20140316 03:58:33< Aishiko> linux 64bit 20140316 03:58:53< shadowm> That doesn't tell me anything. ;) Debian != Fedora, for example. 20140316 03:59:40< Aishiko> Gentoo 20140316 03:59:56< shadowm> Well, I'm out of ideas anyway. 20140316 04:00:25< Aishiko> I think your right that its a exec issue, since it failed the exec-test 20140316 04:00:34< shadowm> 00:56:32 yes and that echo command got me a /wesnoth/utils/exec-test: Permission denied 20140316 04:00:39< shadowm> You missed the tilde. 20140316 04:00:59-!- Ivanovic_ [~ivanovic@x2f5082f.dyn.telefonica.de] has quit [Changing host] 20140316 04:00:59-!- Ivanovic_ [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20140316 04:01:02-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 252 seconds] 20140316 04:01:05< Aishiko> I ran it in the local directory 20140316 04:01:10< shadowm> That's not a very good test if you attempt to write to a path that doesn't exist and lies right in the root of the filesystem where normal users can't normally write. 20140316 04:01:51-!- Ivanovic_ is now known as Ivanovic 20140316 04:01:56< shadowm> But right, you said you can't run autorevision directly either. 20140316 04:02:43< Aishiko> when I rerun it, it says its a directory and then prints the previous line 20140316 04:03:13< shadowm> What is a directory? 20140316 04:04:32< Aishiko> sorry paraphrasing again "bash: ~/wesnoth/: Is a directory" 20140316 04:05:00< shadowm> You really should get in the habit of pasting the entire prompt and output sequences in pastebin rather than attempting to filter out information. 20140316 04:05:19< Coffee_irc> Aishiko: you don't have to bash wesnoth 20140316 04:05:23< shadowm> It's not like there are password prompts with echo involved. 20140316 04:06:29< shadowm> Anyway, not being able to see exactly what's going on, and assuming your system is configured to use the default Linux access control mechanism the only other possibilities I can think of at this time are: noexec mount, /bin/sh not executable. 20140316 04:06:53< shadowm> But if /bin/sh weren't executable you'd be able to run pretty much nothing. 20140316 04:06:53-!- Gambit [~derek@wesnoth/developer/grickit] has quit [Read error: Connection reset by peer] 20140316 04:08:03< Aishiko> I found the issue thank you for the help shadowm, basically somehow the filesystem got make noexec 20140316 04:08:09< Coffee_irc> Aishiko: are you running this on ntfs? 20140316 04:08:35< shadowm> So, ~/wesnoth is the mount, or /home is the mount? 20140316 04:08:44< Aishiko> ext3 Coffee_irc 20140316 04:09:01< Aishiko> ~/wesnoth is the mont 20140316 04:09:04< Aishiko> mount 20140316 04:09:12< shadowm> Ah, that explains everything. :) 20140316 04:10:27< Aishiko> so I need to remount it with the right permssions 20140316 04:11:22< shadowm> Is it a symbolic link to something that got mounted by some medium hotplug service, or a system mount from /etc/fstab? 20140316 04:11:34-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 04:12:11< Aishiko> it was a fstab mount, I didn't tell it to include exec and so it excluded it, first time I've ever had a filesystem issue like this 20140316 04:15:59-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 240 seconds] 20140316 04:18:25-!- Delfinisko [~Delfinisk@ip-85.163.173.10.o2inet.sk] has joined #wesnoth-dev 20140316 04:18:30< Delfinisko> hello everyone 20140316 04:18:45< shadowm> Hi. 20140316 04:18:51< Coffee_irc> hello 20140316 04:18:55< Delfinisko> how can i trigger an event, when unit comes to one of the hexes close by? 20140316 04:19:00< Aishiko> Coffee_irc, when you say "bash wesnoth" are you referring to the shell environment or something else? 20140316 04:19:10< Coffee_irc> hehe, just being snarky :P 20140316 04:19:40< Delfinisko> right now, it happens when unit go to: 20140316 04:19:41< Delfinisko> [filter] 20140316 04:19:41< Delfinisko> x,y=51,16 20140316 04:19:41< Delfinisko> [/filter] 20140316 04:20:05< Delfinisko> and i like to create a 5x5 region or something like that 20140316 04:20:34< Aishiko> Coffee_irc, ohh because in my mind, it that possibility, your pissed I don't trust the community here, or I had totaly missed something 20140316 04:20:55< shadowm> [filter] [filter_location] x,y=51,16 radius=5 [/filter_location] [/filter] would match units on locations within a 5 hex radius from 51,16. 20140316 04:21:11< Delfinisko> so simply? wow :) 20140316 04:21:15< shadowm> Delfinisko: But if you need a rectangular area you'll have to figre out the corners yourself. 20140316 04:21:38< Coffee_irc> Aishiko: sorry, I haven't posted useful information on irc for a while now :P 20140316 04:21:42< shadowm> Since I said 'radius' I'm obviously referring to a circular area instead. 20140316 04:22:13< shadowm> Delfinisko: The important thing to keep in mind here is that [filter_location] has to go within [filter] like that. 20140316 04:22:22< Aishiko> Coffee_irc, its Okay, I am a little paranoid but I have valid reasons to be 20140316 04:22:47< shadowm> [filter_location] in a Standard Unit Filter denotes a Standard Location Filter for the set of locations where units should be matched. 20140316 04:23:43< shadowm> You can read more about Standard Unit Filters here: http://wiki.wesnoth.org/StandardUnitFilter , and Standard Location Filters here: http://wiki.wesnoth.org/StandardLocationFilter 20140316 04:24:03< Delfinisko> for example, everything from x,y 49,14 to x,y 53,18 will be fine 20140316 04:24:51< shadowm> If you need a rectangular area with those corners then using a coordinate range like [filter] x=49-53 y=14-18 [/filter] will suffice. 20140316 04:26:14-!- irker887 [~irker@ai0867.net] has joined #wesnoth-dev 20140316 04:26:14< irker887> wesnoth: David Mikos wesnoth:1.12 5282e2b760f4 / / (19 files in 2 dirs): Khalifate melee attack sound timings fix. http://git.io/MS8Oog 20140316 04:26:14< irker887> wesnoth: David Mikos wesnoth:1.12 a080ee5ee468 / changelog src/about.cpp src/gui/widgets/text.cpp src/sound.cpp: Merge branch '1.12' of github.com:wesnoth/wesnoth into 1.12 http://git.io/u3XCAg 20140316 04:27:21 * shadowm goes back to not being here. 20140316 04:27:25-!- gfgtdf [~chatzilla@f054063237.adsl.alicedsl.de] has quit [Remote host closed the connection] 20140316 04:38:43< irker887> wesnoth: David Mikos wesnoth:master f5323b627ccb / / (19 files in 2 dirs): Khalifate melee attack sound timings fix. http://git.io/lFSZTg 20140316 04:46:34< irker887> wesnoth: David Mikos wesnoth:1.12 531af4c95429 / data/core/units/khalifate/ (Ghazi.cfg Khalid.cfg Shuja.cfg): Workaround for slows+attack sound bug with Ghazi line to be fixed in 1.13 http://git.io/Q8VTzQ 20140316 04:48:54-!- jchb [~jb@174-125-81-141.dyn.centurytel.net] has joined #wesnoth-dev 20140316 04:55:14-!- jchb [~jb@174-125-81-141.dyn.centurytel.net] has quit [Ping timeout: 240 seconds] 20140316 05:08:51-!- pyromancer2 [~pyromance@pool-173-63-201-238.nwrknj.fios.verizon.net] has quit [Ping timeout: 252 seconds] 20140316 05:26:44-!- Delfinisko [~Delfinisk@ip-85.163.173.10.o2inet.sk] has left #wesnoth-dev [] 20140316 05:43:38-!- vorobeez [~firsov@85.142.148.12] has joined #wesnoth-dev 20140316 05:47:02< iceiceice> question: does anyone know anything up-to-date about this bug? https://gna.org/bugs/?18829 20140316 05:55:39< Aishiko> so basically its not identifing properly at this point that one player is an AI for the remote users? 20140316 05:56:24< Aishiko> it makes sense as from the remote player's point of view there is not real difference in a player or ai on the other end they are both network players 20140316 05:56:56< iceiceice> aishiko: i agree that it "makes sense" from the remote players point of view 20140316 05:57:06< iceiceice> and i dont actually know what the correct intended behavior is 20140316 05:57:18< iceiceice> anonymissimus has speculated that it might be a bug, 20140316 05:57:27< iceiceice> since there is this "NETWORK_AI" controller type in team.cpp 20140316 05:57:37-!- tomreyn [~tomreyn@megaglest/team/tomreyn] has quit [Quit: tomreyn] 20140316 05:58:05< Aishiko> iceiceice, I would think that since there is a "network_ai" value that isn't being sent to the remote players so the remote players just go with the default of "network" as in person 20140316 05:58:52< iceiceice> aishiko: so the fact that network_ai isn't used / isn't always used underlies a bunch of annoying bugs 20140316 05:59:03< iceiceice> for instance in WML you get OOS if you every query the controller type of an ai side: 20140316 05:59:04< iceiceice> http://forums.wesnoth.org/viewtopic.php?f=21&t=33952 20140316 05:59:15< iceiceice> and today there was a bug related to loading a save game: 20140316 05:59:24-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 05:59:32< iceiceice> https://gna.org/bugs/?21797 20140316 06:00:43< iceiceice> actually i think that this network vs. network_ai issue is maybe the main reason for this guideline: 20140316 06:00:43< iceiceice> http://forums.wesnoth.org/viewtopic.php?f=15&t=34363 20140316 06:00:55< iceiceice> Tips for safely reloading MP campaign games: 20140316 06:00:55< iceiceice> -Make sure the original host reloads the game. 20140316 06:02:44< iceiceice> i think that currently the server does send messages around when sides are droided / undroided but i'm not really sure about that 20140316 06:03:00< iceiceice> so i'm also not sure why we don't make the controllers network_ai, there may be some reason 20140316 06:03:26< iceiceice> i'm basically trying to figure out if anyone actually looked into this in the source ever 20140316 06:03:38-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 240 seconds] 20140316 06:03:58< iceiceice> in the however many years (>3?) that this has been a bug 20140316 06:04:30< Aishiko> iceiceice, what I can recommend is follow the code, figure out what gets called first and then follow it, and you might get an ahh! moment I know I have a few times when I did that 20140316 06:05:14< iceiceice> aishiko: i know how to debug it myself -- what i'm asking right now is if *someone else* has already done that and found a bigger problem, so i don't waste my time 20140316 06:05:38< Aishiko> ohhh sorry iceiceice 20140316 06:06:05< Aishiko> I have on occasion over looked the simple answer looking for a bigger issue 20140316 06:09:29< Aishiko> it would be nice if people that looked in on a patch and then go "whoa this bigger then I thought, I'll leave it for someone else" would share what they found 20140316 06:11:46-!- ancestral [~ancestral@75-161-229-57.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20140316 06:22:11< iceiceice> y i guess since we are pretty decentralized alot of that info goes nowhere... 20140316 06:22:17< iceiceice> no way to get it but ask on irc afaik 20140316 06:22:54< Aishiko> True 20140316 06:30:08-!- incredible [dfbf5ac6@gateway/web/freenode/ip.223.191.90.198] has joined #wesnoth-dev 20140316 06:36:28-!- incredible [dfbf5ac6@gateway/web/freenode/ip.223.191.90.198] has quit [Ping timeout: 245 seconds] 20140316 06:44:39-!- Goracore [~Miranda@p5B008001.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140316 06:50:15-!- sachith500 [~kvirc@61.245.172.31] has joined #wesnoth-dev 20140316 06:53:29-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has quit [Ping timeout: 240 seconds] 20140316 06:57:31-!- Goracore [~Miranda@p5B008001.dip0.t-ipconnect.de] has quit [Ping timeout: 264 seconds] 20140316 06:58:11-!- Aishiko_laptop [~unknown@cpe-065-191-176-226.nc.res.rr.com] has joined #wesnoth-dev 20140316 07:11:36< irker887> wesnoth: Chris Beck wesnoth:1.12 7f2ca9e84412 / src/playmp_controller.cpp: blindfold_enabled => skip_replay enabled, in playmp_controller http://git.io/iKPdpg 20140316 07:11:38< irker887> wesnoth: Chris Beck wesnoth:1.12 2beded88a2db / src/multiplayer_connect_engine.cpp: workaround for bug #21797 http://git.io/LOEApg 20140316 07:11:40< irker887> wesnoth: Chris Beck wesnoth:1.12 e6473a58d7c4 / / (37 files in 12 dirs): Merge branch '1.12' of https://github.com/wesnoth/wesnoth into 1.12 http://git.io/24gx1g 20140316 07:11:54< irker887> wesnoth: Chris Beck wesnoth:master af383e8ebb01 / src/multiplayer_connect_engine.cpp: workaround for bug #21797 http://git.io/C8xZog 20140316 07:11:56< irker887> wesnoth: Chris Beck wesnoth:master db153ed19c53 / src/playmp_controller.cpp: blindfold_enabled => skip_replay enabled, in playmp_controller http://git.io/TXMyIw 20140316 07:11:58< irker887> wesnoth: Chris Beck wesnoth:master ce06371a9988 / / (41 files in 11 dirs): Merge branch 'master' of https://github.com/wesnoth/wesnoth http://git.io/C5uBHQ 20140316 07:13:05-!- trademark [~trademark@nsg93-8-88-175-59-164.fbx.proxad.net] has joined #wesnoth-dev 20140316 07:27:13-!- wesbot changed the topic of #wesnoth-dev to: 1.12 branch created | string+feature freeze active on 1.12 | 228 bugs, 354 feature requests, 28 patches | Logs: http://irclogs.wesnoth.org | Alternate logs: http://wesnoth.debian.net | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20140316 07:28:07-!- sachith500 [~kvirc@61.245.172.31] has quit [Ping timeout: 264 seconds] 20140316 07:39:26-!- Gallaecio [~quassel@84.120.219.74.dyn.user.ono.com] has quit [Quit: No Ping reply in 180 seconds.] 20140316 07:39:41-!- Gallaecio [~quassel@84.120.219.74.dyn.user.ono.com] has joined #wesnoth-dev 20140316 07:44:23-!- neXyon [~neXyon@85-127-121-191.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20140316 07:47:03-!- eldruz [~eldruz@lav35-1-82-236-137-179.fbx.proxad.net] has joined #wesnoth-dev 20140316 07:47:48-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 07:51:59-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 240 seconds] 20140316 08:04:46< irker887> wesnoth: Nils Kneuper wesnoth:master 78df2160d64d / / (10 files in 9 dirs): updated Scottish Gaelic translation http://git.io/-cxgTg 20140316 08:04:48< irker887> wesnoth: Nils Kneuper wesnoth:1.12 47071335a9eb / / (10 files in 9 dirs): updated Scottish Gaelic translation http://git.io/ZhdRKg 20140316 08:06:10-!- leyyin [~leyyin@89.137.118.41] has joined #wesnoth-dev 20140316 08:07:30-!- sachith500 [~kvirc@61.245.163.14] has joined #wesnoth-dev 20140316 08:07:48-!- Matei [~razvan@141.85.225.214] has joined #wesnoth-dev 20140316 08:08:34-!- leyyin [~leyyin@89.137.118.41] has left #wesnoth-dev ["Leaving"] 20140316 08:08:47-!- leyyin [~leyyin@89.137.118.41] has joined #wesnoth-dev 20140316 08:22:19-!- iceiceice [~chris@cpe-66-108-20-80.nyc.res.rr.com] has quit [Ping timeout: 264 seconds] 20140316 08:23:53-!- knotwork [~markm@unaffiliated/knotwork] has joined #wesnoth-dev 20140316 08:26:30< Coffee_irc> ping Jetrel 20140316 08:31:12-!- lipkab [~the_new_l@host-91-147-212-189.biatv.hu] has joined #wesnoth-dev 20140316 08:38:29-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20140316 08:42:06-!- neXyon [~neXyon@85-127-121-191.dynamic.xdsl-line.inode.at] has quit [Quit: bye] 20140316 08:52:36< Jetrel> kinda busy, but if you've got questions, feel free. 20140316 08:52:40-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Remote host closed the connection] 20140316 08:53:03< Coffee_irc> Jetrel: about the lich chill tempest animation 20140316 08:53:27< Coffee_irc> I made a candidate animation based on the new dark adept animation http://filebin.ca/1FgfKJlUilXO 20140316 08:54:05< Coffee_irc> I think there was talk about creating a different animation at one stage in the past 20140316 08:54:11-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has quit [Ping timeout: 252 seconds] 20140316 08:54:20< Coffee_irc> but that would require a new set of images 20140316 08:54:21-!- Ivanovic [~ivanovic@x2f4ca3f.dyn.telefonica.de] has joined #wesnoth-dev 20140316 08:54:43< Jetrel> what's the file type on that? 20140316 08:54:45-!- Ivanovic [~ivanovic@x2f4ca3f.dyn.telefonica.de] has quit [Changing host] 20140316 08:54:45-!- Ivanovic [~ivanovic@wesnoth/developer/ivanovic] has joined #wesnoth-dev 20140316 08:54:53< Coffee_irc> Jetrel: ogg? 20140316 08:54:59< Coffee_irc> will run with vlc or suchlike 20140316 08:55:23< Jetrel> Looks good to me, for now 20140316 08:55:29< Coffee_irc> oh, I fogrot the .ogg ending 20140316 08:55:35-!- mjs-de [~mjs-de@f048176061.adsl.alicedsl.de] has joined #wesnoth-dev 20140316 08:55:53< Coffee_irc> I think we need to do something to differentiate it from the dark adept animation 20140316 08:56:20 * sachith500 perks up at the mention of undead. 20140316 08:56:58< Coffee_irc> the animation halo here is 2 of the DA animations, in a helix flight path 20140316 08:59:22< Coffee_irc> Jetrel: if you think it is a good idea I can run it past bumbadadabum (who helped me with the DA animation) and tweak it for commit 20140316 08:59:56< Jetrel> Sure. 20140316 09:00:01< Jetrel> Okay, I'm afk for real, now. 20140316 09:00:04< Coffee_irc> cheers :) 20140316 09:00:16-!- leyyin [~leyyin@89.137.118.41] has left #wesnoth-dev ["Leaving"] 20140316 09:04:48< Coffee_irc> seen bumbadadabum? 20140316 09:05:05-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth-dev 20140316 09:06:20< Coffee_irc> sigh, why do irc commands never work for me? 20140316 09:12:14< fendrin> wesbot: seen bumbadadabum? 20140316 09:12:14< wesbot> fendrin: The person with the nick bumbadadabum last spoke 10d 23h ago. 6h 9m ago was here and on the channel #wesnoth-umc-dev with the message: Ping timeout: 240 seconds 20140316 09:12:34< Coffee_irc> thanks fendrin 20140316 09:15:09< sachith500> wesbot seen happygrue 20140316 09:15:09< wesbot> sachith500: The person with the nick happygrue last spoke 1d 6h ago. 6h 33m ago was here and on the channels #wesnoth and #wesnoth-umc-dev with the message: Ping timeout: 252 seconds 20140316 09:15:51< Coffee_irc> thanks sachith500, I caught up with happygrue earlier about the kehalifate attack sound timings 20140316 09:16:11< Coffee_irc> *khalifate 20140316 09:16:18< sachith500> oh I want him to review my proposal a bit :P 20140316 09:16:39< sachith500> was wondering when he was on last 20140316 09:16:44< sachith500> guess I'll get him tomorrow 20140316 09:16:54< Coffee_irc> apparently it is his wife's birthday so he might be not available much today 20140316 09:17:00< sachith500> oh cool 20140316 09:17:01< sachith500> np 20140316 09:17:07< sachith500> not in a great hurry 20140316 09:17:09< sachith500> ;D 20140316 09:28:24-!- thunderstruck [~zaibotren@cpc13-sgyl31-2-0-cust696.18-2.cable.virginm.net] has joined #wesnoth-dev 20140316 09:35:59-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 09:40:25-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 240 seconds] 20140316 09:42:18-!- sachith500 [~kvirc@61.245.163.14] has quit [Ping timeout: 240 seconds] 20140316 09:44:39-!- lipkab [~the_new_l@host-91-147-212-189.biatv.hu] has quit [Remote host closed the connection] 20140316 09:47:04-!- vorobeez [~firsov@85.142.148.12] has quit [Quit: Lost terminal] 20140316 09:55:31-!- Goracore [~Miranda@p5B008001.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140316 09:58:29-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 240 seconds] 20140316 10:00:21-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20140316 10:15:12-!- spoffy [~spoffy@host81-159-195-99.range81-159.btcentralplus.com] has joined #wesnoth-dev 20140316 10:17:00-!- Duthlet [~Duthlet@wesnoth/mp-mod/Duthlet] has joined #wesnoth-dev 20140316 10:26:26-!- qwebirc99606 [75c417b8@gateway/web/freenode/ip.117.196.23.184] has joined #wesnoth-dev 20140316 10:26:45< qwebirc99606> hello 20140316 10:27:30< Aishiko> hi qwebirc99606 20140316 10:28:51< spoffy> Evening :P 20140316 10:32:05-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20140316 10:34:03-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has joined #wesnoth-dev 20140316 10:34:10< Coffee_irc> ping bumbadadabum 20140316 10:37:18-!- qwebirc99606 [75c417b8@gateway/web/freenode/ip.117.196.23.184] has quit [Ping timeout: 245 seconds] 20140316 10:45:11-!- cib0 [~cib@p20030067CE5CD701267703FFFEE75B84.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140316 10:47:13-!- Goracore [~Miranda@p5B008001.dip0.t-ipconnect.de] has quit [Quit: Goracore] 20140316 10:55:30< bumbadadabum> Coffee_irc: pong 20140316 10:56:06< Coffee_irc> bumbadadabum: I've been playing with making an animation for the lich chill tempest again 20140316 10:56:12< bumbadadabum> ah cool 20140316 10:56:21< Coffee_irc> http://filebin.ca/1FgfKJlUilXO/Lichchilltempestanimation 20140316 10:56:27< Coffee_irc> ^this is what I've got 20140316 10:57:09< Coffee_irc> you might need to add .ogg to the end of the filename 20140316 10:57:39< Coffee_irc> if you reckon it is good I could do with a hand to tweak the WML 20140316 10:58:03< Coffee_irc> the idea is that it is 2 times the dark adept animation, but in a helix shape 20140316 10:58:14< Coffee_irc> and slightly slowed down for effect 20140316 11:01:59-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 240 seconds] 20140316 11:02:31< vultraz> I like it 20140316 11:02:38< Coffee_irc> :) 20140316 11:04:50-!- irker887 [~irker@ai0867.net] has quit [Quit: transmission timeout] 20140316 11:08:31-!- Jetrel_ [~Jetrel@c-75-73-180-126.hsd1.mn.comcast.net] has joined #wesnoth-dev 20140316 11:10:56-!- Jetrel [~Jetrel@c-75-73-180-126.hsd1.mn.comcast.net] has quit [Ping timeout: 255 seconds] 20140316 11:16:39< Coffee_irc> this is the WML I am using: http://pastebin.com/VVbgTVrq 20140316 11:24:07-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 11:28:25-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 240 seconds] 20140316 11:31:38-!- spoffy [~spoffy@host81-159-195-99.range81-159.btcentralplus.com] has quit [Ping timeout: 240 seconds] 20140316 11:33:30-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has joined #wesnoth-dev 20140316 11:45:44< Coffee_irc> with a bit of tweaking (to make more comparable to necromancer attack, etc.) I got http://pastebin.com/CJncqYZs 20140316 11:47:36-!- Gambit [~derek@wesnoth/developer/grickit] has joined #wesnoth-dev 20140316 11:48:44-!- knotwork [~markm@unaffiliated/knotwork] has quit [Read error: Connection reset by peer] 20140316 11:49:21-!- knotwork [~markm@unaffiliated/knotwork] has joined #wesnoth-dev 20140316 11:50:38-!- Matei [~razvan@141.85.225.214] has quit [Remote host closed the connection] 20140316 11:50:42-!- stikonas [~gentoo@cpc18-sgyl27-2-0-cust35.18-2.cable.virginm.net] has joined #wesnoth-dev 20140316 11:50:42-!- stikonas [~gentoo@cpc18-sgyl27-2-0-cust35.18-2.cable.virginm.net] has quit [Changing host] 20140316 11:50:42-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140316 11:54:07< Coffee_irc> the animation looks like: http://filebin.ca/1FhgHyp3drp1/Lichvsnecro.ogg 20140316 11:55:16< Aishiko> Coffee_irc, I know it might be hard to do but can you create an animation so we can see the new/proposed version and the current version side by side? 20140316 11:56:19< Coffee_irc> Aishiko: the current version is like in the video (the lich would play the same animation as necro) 20140316 11:56:39< Aishiko> ahhh okay, I'm following now 20140316 11:57:00< Coffee_irc> the new animation distinguishes the chill tempest from the chill wave attack 20140316 12:01:50< Aishiko> I have to agree with you that having them look different would be better then leaving it as is 20140316 12:11:45< Coffee_irc> bumbadadabum: http://pastebin.com/Mus2AW89 20140316 12:13:07< Coffee_irc> if you've got some time could you have a look at that animation? 20140316 12:13:40< Coffee_irc> I ran this past Jetrel_ and he seems to be okay with committing a new chill tempest animation 20140316 12:25:14-!- vernon_ [~quassel@catv-89-133-164-152.catv.broadband.hu] has joined #wesnoth-dev 20140316 12:25:42-!- neXyon [~neXyon@85-127-121-191.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20140316 12:27:13-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has quit [Ping timeout: 240 seconds] 20140316 12:36:50-!- bagzie [~bag@85-76-175-15-nat.elisa-mobile.fi] has joined #wesnoth-dev 20140316 12:53:54-!- happygrue [~happygrue@wesnoth/developer/wintermute] has joined #wesnoth-dev 20140316 13:12:12-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 13:16:38-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 240 seconds] 20140316 13:29:38-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has quit [Ping timeout: 240 seconds] 20140316 13:31:35-!- EdB [~edb@85.69.242.6] has joined #wesnoth-dev 20140316 13:35:49-!- sachith500 [~kvirc@112.135.11.154] has joined #wesnoth-dev 20140316 13:58:42-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Quit: Konversation terminated!] 20140316 14:06:09-!- neXyon_ [~neXyon@85-127-54-83.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20140316 14:09:31-!- neXyon [~neXyon@85-127-121-191.dynamic.xdsl-line.inode.at] has quit [Ping timeout: 264 seconds] 20140316 14:12:16-!- aquileia [4e2ad392@gateway/web/freenode/ip.78.42.211.146] has joined #wesnoth-dev 20140316 14:15:45< aquileia> I want to erase a part of an UTF-8 encoded string. The current algorithm converts to UTF-16, erases, and converts back. Would the following be preferable? http://pastebin.com/LL4nbccF 20140316 14:16:48< aquileia> Or is this a) unnecessary optimization b) less efficient ? 20140316 14:17:14< aquileia> I don't think b) applies, but... 20140316 14:18:02< aquileia> And as to the context: The text_box saves in UTF-8 but operates in UTF-16 20140316 14:19:28< aquileia> Or perhaps even in UCS-2 as AI0867 pointed out... 20140316 14:21:16-!- tomreyn [~tomreyn@megaglest/team/tomreyn] has joined #wesnoth-dev 20140316 14:24:50< aquileia> Oh, an by the way... I probably have to add the string in the signature 20140316 14:25:02< aquileia> s/an/and 20140316 14:26:42-!- stikonas [~gentoo@cpc18-sgyl27-2-0-cust35.18-2.cable.virginm.net] has joined #wesnoth-dev 20140316 14:26:42-!- stikonas [~gentoo@cpc18-sgyl27-2-0-cust35.18-2.cable.virginm.net] has quit [Changing host] 20140316 14:26:42-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140316 14:27:25< aquileia> another option would be a u8index(st::string str, unsigned int i) function 20140316 14:28:25< aquileia> then it would simplify to text.erase(u8index(start), u8index(end)) 20140316 14:29:58< _8680_> How is converting to UTF-16 for that an optimization? 20140316 14:29:59< aquileia> and the function could be recycled for similar purposes (could be a nice addition to 'utils') 20140316 14:30:35< aquileia> _8680_: It currently converts to UTF-16, I'd like to change that 20140316 14:31:19< aquileia> Or perhaps I misunderstood? 20140316 14:32:44< aquileia> At least I can't imagine that a full conversion is less work than adapting indexes... 20140316 14:33:01< _8680_> Neither would I. 20140316 14:33:35< _8680_> At least not for a string of the length that a user might reasonably be expected to enter into a text field. 20140316 14:33:39< aquileia> Currently we use wide_string tmp = utils::string_to_wstring(get_value()); 20140316 14:34:08< aquileia> and then erase on that string 20140316 14:34:55-!- jck_ [542c951a@gateway/web/freenode/ip.84.44.149.26] has joined #wesnoth-dev 20140316 14:35:01< aquileia> but that will have to change anyhow as it seems that this might use UCS-2 instead of UTF-8 20140316 14:35:31 * aquileia hopes he understood AI0867 correctly 20140316 14:36:22< aquileia> * instead of UTF-16 20140316 14:37:27< aquileia> it seems there are two options: a) convert to UTF-32 b) do a little index manipulation 20140316 14:37:43< jck_> Hello everybody. I am currently trying to run the wesnoth server (version 1.10, i.e. last stable release) in a dualstack IPv4/IPv6 network, but wesnothd only binds to an IPv4 socket, but not to an IPv6 socket. The manpage does not show any specific IPv6 related options. Could anybody give me a hint how to make the server process bind to an IPv6 socket as well? 20140316 14:42:12< shadowm> jck_: You can't, at least not without using some extra layer outside of wesnothd to tunnel IPv6 traffic to IPv4. 20140316 14:42:47< jck_> shadowm: Thanks for the info. Are there any plans for native IPv6 support? 20140316 14:43:01< shadowm> The reason is that wesnothd currently uses SDL_net, which only supports IPv4. 20140316 14:43:56< shadowm> There have been plans to reengineer wesnothd to use Boost.asio since a few years and thus benefit from things like IPv6 support, but evidently that's not progressed as fast as one would consider ideal. 20140316 14:46:31< aquileia> _8680_ , AI0867 : Would you agree to add http://pastebin.com/ssrsyrRM to utils? 20140316 14:47:31< shadowm> aquileia: You might want to include the function's return type instead of assuming int. 20140316 14:47:52< aquileia> Oh, thanks 20140316 14:48:24< aquileia> I didn't spend too much time on it yet as I don't know if it's wanted 20140316 14:48:37< shadowm> We have a utf8_string typedef. While it resolves to std::string, I find that that kind of semantic annotation encourages more thoughtful coidng. 20140316 14:48:42< _8680_> I have no authority over what changes are accepted into the Battle for Wesnoth sourcebase. 20140316 14:48:44< shadowm> Coding. 20140316 14:49:17< _8680_> However, I do see some issues with that, in addition to the missing return type. 20140316 14:49:55< _8680_> (1) You use post-incrementation where pre-incrementation would be more appropriate. 20140316 14:50:12< shadowm> Oh yeah that won't compile. 'this' does not name a variable, etc. 20140316 14:50:43< aquileia> shadowm, _8680_ : Like I said it's raw... 20140316 14:50:48< _8680_> (2) I’d say that inner structure with the bitwise operations deserves more comments. 20140316 14:51:29< aquileia> I agree to all three changes 20140316 14:52:15< _8680_> Also, s/ACII-7/US-ASCII/. 20140316 14:52:17< shadowm> Sure, I just mentioned the return type because in C you can apparently omit the return type and the compiler happily assumes int. 20140316 14:54:43-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has joined #wesnoth-dev 20140316 14:55:23-!- vernon_ [~quassel@catv-89-133-164-152.catv.broadband.hu] has quit [Read error: Connection reset by peer] 20140316 14:59:05-!- neXyon_ is now known as neXyon 20140316 15:00:24-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 15:00:38< aquileia> _8680_, shadowm, AI0867: New version addressing the named issues http://pastebin.com/vxJNbMYJ 20140316 15:01:38< aquileia> oh, except the data type... 20140316 15:04:59-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 240 seconds] 20140316 15:05:04< aquileia> but utf8_string seems not to be used in the current GUI2 code, it uses std::string for UTF-8 20140316 15:05:39< _8680_> Why do you only check two bits? 20140316 15:06:20< aquileia> I check the first, third and fourth bit 20140316 15:07:34< aquileia> the second is needed for other purposes (to denote we see the first byte of a multi-byte character) 20140316 15:08:02< aquileia> as I only check those, the second bit will always be set 20140316 15:08:27< aquileia> for debug purposes, that might be checked as well... 20140316 15:08:45< _8680_> That seems too general of a routine to assume that the input will be well-formed. 20140316 15:09:16-!- pyromancer2 [~pyromance@pool-173-63-201-238.nwrknj.fios.verizon.net] has joined #wesnoth-dev 20140316 15:09:41< aquileia> Well, if it isn't it will pretty much guarantee to throw out_of_bonds 20140316 15:10:48< aquileia> but in this case I agree with shadowm - I'll make the data type an utf8_string 20140316 15:11:12< aquileia> I suppose the assumption is ok then? 20140316 15:13:30< _8680_> Personally, I would implement the whole inner `if` structure as `i += count_leading_ones(str[i])`, where `count_leading_ones` is a wrapper around a compiler builtin (where available, which is on GCC and Clang at least) which would be a wrapper around a single count-leading-zeros instruction. 20140316 15:13:58< _8680_> `count_leading_ones(str[i]) - 1`, rather. 20140316 15:14:03< aquileia> the problem is - this won't work for ASCII 20140316 15:14:34< aquileia> there you have 0 leading ones but one char 20140316 15:14:47< aquileia> s/char/byte 20140316 15:14:49-!- jck_ [542c951a@gateway/web/freenode/ip.84.44.149.26] has quit [] 20140316 15:14:52< _8680_> Hm, `std::max(count_leading_ones(str[i]) - 1, 0)`. 20140316 15:15:23< _8680_> Or `[…], 1)`. 20140316 15:15:59< aquileia> Isn't that too much of a performance hit? 20140316 15:16:06< _8680_> Apologies for the semi-rubber-duck debugging. 20140316 15:17:07< _8680_> `count_leading_zeros` is only one instruction, but I guess `std::max` could be expensive. 20140316 15:17:39< _8680_> I don’t know whether it would matter though. 20140316 15:17:44< aquileia> so... the first bitwise check + count_leading_ones ? 20140316 15:18:00< _8680_> …Oh, yes, that should work. 20140316 15:18:54< _8680_> Though I don’t know whether that would really be less expensive than `std::max`. 20140316 15:18:55< aquileia> Unfortunately I'm a C++ beginner, so I lack the knowledge to implement that count_leading_ones wrapper... 20140316 15:19:11< aquileia> _8680_: For ASCII chars, yes 20140316 15:19:50< aquileia> And most users will use latin alphabets 20140316 15:20:43< _8680_> The problem is the cost of `<` compared to `&`? 20140316 15:22:18< _8680_> I don’t know whether that would be all that significant, but I don’t see a problem with the `&` version. 20140316 15:22:23< aquileia> I think & is a single processor cycle 20140316 15:24:18 * _8680_ tries to read an Intel optimization manual. 20140316 15:24:42< _8680_> But continue on with `&`, I think it should be fine. 20140316 15:26:32< shadowm> ... 20140316 15:26:50< aquileia> _8680_: Just for reference, this is the MSVC implementation of std::min http://pastebin.com/SLFhUn7K 20140316 15:28:46< aquileia> Whoa... I think it calls http://pastebin.com/JSXEjVFt 20140316 15:29:25< aquileia> Even Microsoft shouldn't be that inefficient... 20140316 15:29:48-!- daniwa [415ee84d@gateway/web/cgi-irc/kiwiirc.com/ip.65.94.232.77] has joined #wesnoth-dev 20140316 15:29:52< _8680_> What… is that? 20140316 15:30:47< aquileia> In MSVS you can click on a function to see it's definition - and that's where I ended up 20140316 15:32:30< aquileia> At least if I didn't misclick 20140316 15:33:26< aquileia> So Windows users should see quite a difference between std::max() and & ... 20140316 15:34:11< aquileia> Not that we were that important... 20140316 15:34:17< _8680_> Okay, use `&`. It’s fine by me. 20140316 15:34:30< aquileia> Ok 20140316 15:35:07< aquileia> And... who volonteers for count_leading_ones? 20140316 15:35:37< _8680_> I guess I can do it. 20140316 15:35:50< aquileia> Thanks! 20140316 15:36:31< aquileia> Sorry, I'm pretty much useless for those things right now 20140316 15:38:31< shadowm> This must be part of really time-critical code. 20140316 15:40:09< aquileia> Not really... 20140316 15:40:30< Aishiko> either that or excessive or premature optimization shadowm 20140316 15:40:45-!- jchb [~jb@174-125-81-141.dyn.centurytel.net] has joined #wesnoth-dev 20140316 15:41:38< aquileia> But my bitwise version wasn't good enough, so... 20140316 15:43:19< _8680_> …There is no count-leading-ones, only count-leading-zeros. I guess I can use count-leading-sign-bits, though. 20140316 15:44:43< aquileia> _8680_: ^ shadowm had an objection... 20140316 15:45:31< shadowm> I don't see any objections from shadowm myself, but perhaps it's because I'm not reading between lines. 20140316 15:46:17 * Aishiko doesn't see any objections either 20140316 15:47:10< Aishiko> However that might be because I'm looking into seeing if replacing sdl_net with boost.asio would be a decent gsoc proposal for me to try 20140316 15:48:47< _8680_> However count-leading-ones is implemented, splitting things into distinct functions with obvious purposes is good for maintainability. 20140316 15:49:05< _8680_> What file/namespace would be appropriate for a count-leading-ones function? 20140316 15:49:15< Aishiko> _8680_, I can't tell you how often I see that being ignored in class every day! 20140316 15:50:27< shadowm> Aishiko: A developer did/is doing stuff for wesnothd in a private branch since years, that's all I know about it. We had some mixed results with a similar GSoC project some years ago. 20140316 15:51:04< shadowm> The arguments on both sides seem questionable to me, so I'll refrain from providing further details about that project at this time. 20140316 15:52:13< Aishiko> well lets just say my networking professors would agree with you on the ipv6 20140316 15:52:34< shadowm> Agree with me on what about IPv6? 20140316 15:53:59< Aishiko> great idea really harder then it should be to get it working 20140316 15:54:25< shadowm> Oh, IPv6 support wasn't really the greatest concern at that time, I think. 20140316 15:54:43< aquileia> http://pastebin.com/YbV9FBn6 20140316 15:54:45< aquileia> http://pastebin.com/YbV9FBn6 20140316 15:54:50< aquileia> ... http://pastebin.com/YbV9FBn6 20140316 15:55:19< aquileia> Currently I'm at http://pastebin.com/YbV9FBn6 20140316 15:55:28< aquileia> oh, sorry 20140316 15:55:41< aquileia> I thought it didn't post these 20140316 15:55:54< Aishiko> yeah I was thinking of thanking you for the spam in IRC for my spam sandwich but I'll not go there 20140316 15:56:49< Aishiko> but aquileia isn't it a pain and slightly embarrassing when that happens? at least it feels that way to me 20140316 15:58:10< _8680_> aquileia: Isn’t your `for`-loop’s condition backward? 20140316 15:58:12< aquileia> embarassing yes, but your comment relieved me from the pain as I had to grin 20140316 16:00:07< aquileia> What's wrong with 'chr==index'? 20140316 16:01:25< _8680_> Isn’t a `for`-loop’s condition a “while” condition, not an “until” condition? Or am I really that rusty? 20140316 16:02:12< aquileia> That is embarassing... 20140316 16:02:35< aquileia> Thanks 20140316 16:03:31< Aishiko> about as bad as me suggesting using a range in switch statement instead of nested if else statements.... 20140316 16:04:14< _8680_> At least GCC/Clang support that. 20140316 16:04:40< aquileia> I hope that's the last fix other than ading the namespace... http://pastebin.com/dXvrZbTK 20140316 16:04:40< _8680_> I doubt we support any compiler where `for`-loops have “until” conditions. 20140316 16:05:19< aquileia> _8680_: rub it in... yes, I'm useless 20140316 16:05:35< _8680_> Now, I didn’t say that. 20140316 16:05:45< aquileia> But I did 20140316 16:05:47-!- daniwa [415ee84d@gateway/web/cgi-irc/kiwiirc.com/ip.65.94.232.77] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] 20140316 16:06:42< AI0867> aquileia: it's still 'ASCII', not 'ACII' 20140316 16:07:16< aquileia> I had fixed that... it somehow got reverted 20140316 16:07:34< AI0867> I haven't seen it fixed in any of your pastebins 20140316 16:07:42< AI0867> you just changed ACII-7 to US-ACII 20140316 16:07:49< aquileia> yes, it was directly reverted 20140316 16:08:09-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 16:08:52< AI0867> as for the optimization questions. Will this function be called a lot? If not, don't bother 20140316 16:09:08< AI0867> Just make sure it works and is readable 20140316 16:10:14< aquileia> But... it IS readable 20140316 16:10:46< aquileia> assuming count_leading_ones exists 20140316 16:12:25< _8680_> Which file/namespace is appropriate to put count_leading_ones in? 20140316 16:13:29< aquileia> I don't assume you ask me... 20140316 16:15:19< AI0867> yes, _8680_ has a point there that it's more clear what's happening 20140316 16:15:23-!- ancestral [~ancestral@63.92.240.233] has joined #wesnoth-dev 20140316 16:15:54< AI0867> but don't worry about helper functions being too inefficient unless you know that efficiency is important here 20140316 16:16:05< sachith500> hey soliton, happygrue you guys busy? :) 20140316 16:16:22< AI0867> _8680_: utils? 20140316 16:16:47< AI0867> maybe just make it private to the module 20140316 16:16:48< shadowm> There's a utils namespace, and there's a util namespace. 20140316 16:16:52< _8680_> src/utils? 20140316 16:17:06< AI0867> shadowm: that sounds like a problem to be fixed 20140316 16:17:20< AI0867> _8680_: src/serialization/string_utils.?pp ? 20140316 16:17:23< _8680_> I don’t see why such a general function as count_leading_ones should be private. 20140316 16:17:36< shadowm> Not my problem, I abhor doing code standarization fixes in code that has no formal standards. 20140316 16:17:59< sachith500> :D 20140316 16:18:03< shadowm> It's like building a house without a blueprint. 20140316 16:18:17< _8680_> I don’t see that it’s a string utility, specifically. 20140316 16:18:35< aquileia> That's what I thought as well 20140316 16:18:47< AI0867> well, that's what you're using it for =P 20140316 16:19:02< _8680_> util.?pp seems more appropriate. 20140316 16:19:56-!- bumbadadabum [~bumbadada@d155109.upc-d.chello.nl] has joined #wesnoth-dev 20140316 16:23:36-!- DCW [~Thunderbi@cpc66863-finc15-2-0-cust393.4-2.cable.virginmedia.com] has joined #wesnoth-dev 20140316 16:24:58< aquileia> shadowm: By the way, is there a specific reason to have both util and utils? 20140316 16:25:46-!- neXyon [~neXyon@85-127-54-83.dynamic.xdsl-line.inode.at] has quit [Quit: bye] 20140316 16:27:52-!- ancestral [~ancestral@63.92.240.233] has quit [Quit: i go nstuf kthxbai] 20140316 16:28:07< shadowm> aquileia: Yes. 20140316 16:28:28< shadowm> It's called "nobody has bothered to fix it". 20140316 16:28:52< aquileia> Somehow I saw that coming. 20140316 16:30:07< aquileia> There might be a point for a TrivialCoding page... 20140316 16:31:00< shadowm> The thing is that changes like that are bothersome and disrupt private work, so they are best announced in advance. 20140316 16:34:05< aquileia> Well, perhaps utils::u8index will call util::count_leading_ones, but that's fine 20140316 16:35:01< _8680_> I was putting count_leading_ones in the global namespace, as most of utils.hpp seems to be. 20140316 16:35:09< aquileia> ah, ok 20140316 16:35:30< _8680_> Where should I look to see how the unit testing stuff works? 20140316 16:35:40< _8680_> I’d like to have unit tests for this. 20140316 16:56:42-!- kex [~kex@89.205.75.19] has quit [Remote host closed the connection] 20140316 16:57:50< timotei> _8680_: src/tests 20140316 17:07:14< happygrue> hi sachith500 I am but I have a few minutes now 20140316 17:07:16< happygrue> what's up? 20140316 17:07:28< sachith500> oh hey :D 20140316 17:07:35< sachith500> wasn't expecting you online today 20140316 17:07:40< sachith500> heard it was your wife's bday :) 20140316 17:07:54< sachith500> yeah 20140316 17:07:58< happygrue> Yesterday actually, but today is a bit busy too with other stuff 20140316 17:08:04< sachith500> oh cool 20140316 17:08:12< sachith500> well I updated most of the stuff on the wiki page 20140316 17:08:17< happygrue> ah, great 20140316 17:08:21< sachith500> so you can take a look when you're not too busy too 20140316 17:08:26< sachith500> but what i wanted to ask about was 20140316 17:08:39< sachith500> how do you guys think the data will be stored in the DB? 20140316 17:08:43< sachith500> as in 20140316 17:09:03< sachith500> it should store individual stats as much as possible right? 20140316 17:09:09< sachith500> as opposed to aggregated stats? 20140316 17:09:28< sachith500> what I mean is, stuff like for a game, details about each unit type etc? 20140316 17:10:00< sachith500> so that the analysis can be done seperately? 20140316 17:10:13< sachith500> through queries etc? 20140316 17:11:37< happygrue> Yes, as storing the most basic form of the data is ideal as much as possible, as we can imagine the system will continue to be refined/improved/changed in the future. 20140316 17:12:16< sachith500> great 20140316 17:12:20< sachith500> that's what I thought too 20140316 17:12:21-!- iceiceice [~chris@cpe-66-108-20-80.nyc.res.rr.com] has joined #wesnoth-dev 20140316 17:12:26< happygrue> And yes, I imagine scenario authors (or myself) wanting to get various types of information via queries regarding a certain map 20140316 17:12:34< happygrue> or say, "orcs vs undead on map X" 20140316 17:12:35< sachith500> cool 20140316 17:12:39< sachith500> exactly 20140316 17:12:39< happygrue> that kind of thing 20140316 17:12:41< sachith500> or combinations 20140316 17:12:51< sachith500> orcs + undead vs undead + undead 20140316 17:12:57< sachith500> I was also thinking 20140316 17:12:57< happygrue> sure 20140316 17:13:00< happygrue> also good 20140316 17:13:04< sachith500> about having leaders 20140316 17:13:07< sachith500> in a seperate table 20140316 17:13:17< happygrue> that could also be interesting 20140316 17:13:18-!- DCW [~Thunderbi@cpc66863-finc15-2-0-cust393.4-2.cable.virginmedia.com] has quit [Ping timeout: 240 seconds] 20140316 17:13:18< sachith500> thought it'd provide interesting analysis 20140316 17:13:21< sachith500> yeah 20140316 17:13:28< sachith500> it would have low priority I guess 20140316 17:13:34< sachith500> compared to races/units 20140316 17:13:45< happygrue> one project which I hope to work on next development cycle is working on the ideas in the Alternate Era (unique leaders for each faction) 20140316 17:13:57< happygrue> so storing leaders seperately is great 20140316 17:13:59-!- thunderstruck [~zaibotren@cpc13-sgyl31-2-0-cust696.18-2.cable.virginm.net] has quit [Quit: leaving] 20140316 17:14:03< sachith500> oh cool 20140316 17:14:15< happygrue> but yes, it's a lower priority than more basic info still 20140316 17:14:20< sachith500> true 20140316 17:14:30< happygrue> as long as the basics are there then it is easier to expand in the future 20140316 17:14:37< sachith500> yeah 20140316 17:14:50< sachith500> also I was thinking of reusing a lot of the stuff 20140316 17:14:52< sachith500> already there 20140316 17:14:56< sachith500> on the game side of things 20140316 17:14:59< happygrue> not time for more than a skim, but regarding the resign button, make sure it's also saving a replay of the game in the final state 20140316 17:15:02< sachith500> I mean, stuff like damage dealt 20140316 17:15:03< sachith500> etc 20140316 17:15:09< sachith500> ah 20140316 17:15:17< happygrue> I think it may already be grabbing the last autosave for the replay archive 20140316 17:15:33< happygrue> but it would be good to include a replay that goes up to and INCLUDES the actual resigning. 20140316 17:15:43< sachith500> aha 20140316 17:15:48< sachith500> good point 20140316 17:16:06< happygrue> I can't recall actually, it might just do that already, but worth checking. 20140316 17:16:17< sachith500> all right 20140316 17:16:34< sachith500> also 20140316 17:16:38< sachith500> about player stats 20140316 17:16:48< sachith500> what do you think about having a number 20140316 17:16:50< sachith500> for each player 20140316 17:16:56< sachith500> and not exposing it in any way? 20140316 17:17:27< sachith500> I think it'd be a useful stat to have for comparing for example races 20140316 17:17:36< sachith500> you can sort of use the player's stats as a weighing factor 20140316 17:18:01< sachith500> with player stat collection being controversial 20140316 17:18:05< sachith500> wanted to run it by you 20140316 17:18:22< happygrue> that is an interesting idea, but I need to think on it and it's complicated. Perhaps if it were 100% not traceable to players... I need to think about it. 20140316 17:18:28< happygrue> afk again for a bit, I'll take more of a look at the wiki and ponder that. 20140316 17:18:32< happygrue> later :D 20140316 17:18:34< sachith500> sure thing 20140316 17:18:36< sachith500> thanks a bunch 20140316 17:18:37< sachith500> :D 20140316 17:18:56< sachith500> I'll keep updating the wiki over the next few days 20140316 17:18:58< sachith500> cya 20140316 17:23:15-!- DCW1 [~Thunderbi@cpc66863-finc15-2-0-cust393.4-2.cable.virginmedia.com] has joined #wesnoth-dev 20140316 17:27:29< _8680_> timotei: Thanks. 20140316 17:29:09< _8680_> src/tests/test_util.cpp:64 — What. That seems like a rather wide margin of error. Shouldn’t it use epsilon? 20140316 17:31:49< aquileia> I might be ignorant - but why do we need those lexical_cast s at all if boost has the same functionality? 20140316 17:33:13< aquileia> And that part of boost is already a dependency... 20140316 17:33:30-!- sachith500 [~kvirc@112.135.11.154] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 20140316 17:34:39< shadowm> The lexical_cast functions in util.?pp predate the introduction of the first Boost dependency. 20140316 17:35:11 * shadowm doesn't really kn 20140316 17:35:47< shadowm> ... know a lot about any Boost libraries besides Boost.foreach, really. 20140316 17:36:09< aquileia> Then it _might_ be time to channge sth. ? 20140316 17:36:36< shadowm> I just kind of implied I have no idea. 20140316 17:36:40< aquileia> I mean the functions 20140316 17:39:52< aquileia> I just asked because their test (that _8680_ referenced) would be obsolete as well in that case 20140316 17:42:24< aquileia> By the way, I just tested the old version of u8index to make sure it works: http://ideone.com/MxYF54 20140316 17:42:30-!- stikonas [~gentoo@wesnoth/translator/stikonas] has quit [Read error: No route to host] 20140316 17:42:41-!- stikonas [~gentoo@cpc18-sgyl27-2-0-cust35.18-2.cable.virginm.net] has joined #wesnoth-dev 20140316 17:42:41-!- stikonas [~gentoo@cpc18-sgyl27-2-0-cust35.18-2.cable.virginm.net] has quit [Changing host] 20140316 17:42:41-!- stikonas [~gentoo@wesnoth/translator/stikonas] has joined #wesnoth-dev 20140316 17:45:24-!- neXyon [~neXyon@85-127-54-83.dynamic.xdsl-line.inode.at] has joined #wesnoth-dev 20140316 17:59:50-!- anonymissimus [~chatzilla@HSI-KBW-149-172-228-192.hsi13.kabel-badenwuerttemberg.de] has joined #wesnoth-dev 20140316 18:00:54< anonymissimus> wesbot: bug #18829 20140316 18:00:54< wesbot> Bug #18829 Assigned to: None Status: None Priority: 5 - Normal 20140316 18:00:55< wesbot> Summary: ai sides show up as "controller=network" on remote clients 20140316 18:00:55< wesbot> Original submission: In a mp game on the server with 2 human players and 1 ai, 20140316 18:00:57< wesbot> for player 1's (human, host) BfW instance:side[1].controller -> "human"side 20140316 18:01:00< wesbot> URL: http://gna.org/bugs/?18829 20140316 18:01:23-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 18:02:01< aquileia> shadowm: Currently, from 353 lines mentioning lexical_cast I count 38 to only 322 use 20140316 18:02:42< aquileia> Currently, from 353 lines mentioning lexical_cast I count 38 times boost, 284 times calls and the rest is definition/test 20140316 18:04:24< aquileia> Except for ai/ pretty much everything else uses the lexical casts from Wesnoth 20140316 18:04:44< anonymissimus> wesbot: bug #21797 20140316 18:04:44< wesbot> Bug #21797 Assigned to: Chris Beck Status: In Progress Priority: 5 - Normal 20140316 18:04:47< wesbot> Summary: Saving and loading in multiplayer creates side with no controller 20140316 18:04:50< wesbot> Original submission: Start a multiplayer game on 2p - Silverhead Crossing with 20140316 18:04:53< wesbot> client A. Have client B join. Don't move any units; simply have client B save t 20140316 18:04:56< wesbot> URL: http://gna.org/bugs/?21797 20140316 18:04:59< wesbot> Attached file (1st): http://gna.org/bugs/download.php?file_id=20340 20140316 18:05:37-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 240 seconds] 20140316 18:05:41-!- ancestral [~ancestral@63.92.240.233] has joined #wesnoth-dev 20140316 18:09:32< aquileia> If there is really no reason for having an own implementation, we could just let util.hpp and lexical_cast.hpp use inlined calls to boost 20140316 18:14:00< aquileia> shadowm: Somehow, Wesnoth's lexical_cast uses other boost functions... That's unusual... 20140316 18:17:43-!- DCW1 [~Thunderbi@cpc66863-finc15-2-0-cust393.4-2.cable.virginmedia.com] has quit [Remote host closed the connection] 20140316 18:17:55-!- ancestral [~ancestral@63.92.240.233] has quit [Quit: i go nstuf kthxbai] 20140316 18:23:41-!- ancestral [~ancestral@63.92.240.233] has joined #wesnoth-dev 20140316 18:25:30-!- Appleman1234 [~Appleman1@rrcs-97-79-164-178.sw.biz.rr.com] has quit [Ping timeout: 252 seconds] 20140316 18:27:20< iceiceice> anonymissimus: regarding 18829: do we know what the "intended behavior" is? 20140316 18:28:02< iceiceice> i mean suppose i go find where the client receives server messages about droids, and switch controllers to network_ai... 20140316 18:28:21< iceiceice> do we know if that will cause other things to break?? 20140316 18:30:33-!- Appleman1234 [~Appleman1@rrcs-97-79-164-178.sw.biz.rr.com] has joined #wesnoth-dev 20140316 18:36:43< anonymissimus> iceiceice: I don't at least 20140316 18:37:27< anonymissimus> i just assume from the presence of the network_ai in that enum and everywhere that it should be used, but I've never seen that happen 20140316 18:37:52< iceiceice> i know that in thunderstruck's refactor he generally assumed network_ai would be used 20140316 18:38:00< iceiceice> but thats only in the mp_connect dialogs i think 20140316 18:38:13< anonymissimus> well, then that assumption was wrong 20140316 18:38:27< iceiceice> yes thats why i pushed a "workaround" 20140316 18:38:27< anonymissimus> probably 20140316 18:38:33< iceiceice> yesterday 20140316 18:38:57< anonymissimus> perhaps the client doesn't even receive that info 20140316 18:39:11< iceiceice> i'm pretty sure the server sounds out messages when a side is droided / undroided 20140316 18:39:25< iceiceice> but i'm not sure if there are legitimate "droid" messages or just chat messages 20140316 18:39:28< anonymissimus> thats different, such sides are human_ai 20140316 18:39:34-!- ancestral [~ancestral@63.92.240.233] has quit [Quit: i go nstuf kthxbai] 20140316 18:39:42< anonymissimus> or human again when undroided 20140316 18:39:42< iceiceice> i'm pretty sure you get them even in networked mp 20140316 18:39:50< iceiceice> e.g. even if you are a player and the host, not you, droids a side 20140316 18:40:52< iceiceice> i dont know if there are only chat messages though or if there are also "controller_change" messages that we simply ignore 20140316 18:41:06< iceiceice> it seems like not a very good idea to try to parse chat messages 20140316 18:41:35-!- daniwa [415ee84d@gateway/web/cgi-irc/kiwiirc.com/ip.65.94.232.77] has joined #wesnoth-dev 20140316 18:41:41< anonymissimus> iceiceice: so are you "involution" ? I would prefer people using only one nick/name/whatever 20140316 18:41:48< iceiceice> yes 20140316 18:41:55< iceiceice> i tried to register iceiceice on gna 20140316 18:42:11< iceiceice> but it lost my registration email and i couldn't find it or request another 20140316 18:44:19< aquileia> _8680_: I have to go now, but I'll read the logs 20140316 18:44:22< aquileia> Bye 20140316 18:44:52-!- aquileia [4e2ad392@gateway/web/freenode/ip.78.42.211.146] has quit [Quit: Page closed] 20140316 18:45:57< anonymissimus> is there a way to cherry-pick without checking out the target branch btw ? or a way to transfer commits from a branch I'm currently on and keeping the current branch ? so a rebuild can be avoided 20140316 18:46:41< iceiceice> i think you can rebase --onto? 20140316 18:47:43-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Read error: Operation timed out] 20140316 18:50:56-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20140316 18:54:29-!- Appleman1234 [~Appleman1@rrcs-97-79-164-178.sw.biz.rr.com] has quit [Remote host closed the connection] 20140316 18:55:42< iceiceice> anonymissimus: 20140316 18:55:50< iceiceice> i think we can potentially make a patch in here: https://github.com/wesnoth/wesnoth/blob/master/src/playturn.cpp#L185 20140316 18:56:25-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has quit [Ping timeout: 240 seconds] 20140316 18:58:09< iceiceice> here's e.g. the "do_droid" function corresponding to :droid command 20140316 18:58:09< iceiceice> https://github.com/wesnoth/wesnoth/blob/master/src/menu_events.cpp#L2644 20140316 18:58:33< iceiceice> and here's the "chang_controller" function that it (and other control change functions) use to request the server to change controller 20140316 18:58:34< iceiceice> https://github.com/wesnoth/wesnoth/blob/master/src/menu_events.cpp#L3309 20140316 19:05:46< iceiceice> here's where the server does some of the processing of these messages: 20140316 19:05:46< iceiceice> https://github.com/wesnoth/wesnoth/blob/master/src/server/game.cpp#L366 20140316 19:06:34-!- Nostromus [~Thunderbi@e179233187.adsl.alicedsl.de] has joined #wesnoth-dev 20140316 19:08:31< iceiceice> here's where i guess server decides what to tell the clients about it: https://github.com/wesnoth/wesnoth/blob/master/src/server/game.cpp#L435 20140316 19:09:41< iceiceice> yea so it appears i guess the server is telling everyone to make it a network_ai... 20140316 19:09:42< iceiceice> https://github.com/wesnoth/wesnoth/blob/master/src/server/game.cpp#L464 20140316 19:15:35< zookeeper> vultraz, ohh, wiki updating. awesome. 20140316 19:15:40 * zookeeper drowns vultraz in cookies 20140316 19:16:14< vultraz> oh good, I'm hungry :D 20140316 19:26:07< iceiceice> question: what is the status of mp-compatibility in 1.12? 20140316 19:26:21< iceiceice> did we already decide to break it for the next version or was that the previous version 20140316 19:27:11-!- wesbot changed the topic of #wesnoth-dev to: 1.12 branch created | string+feature freeze active on 1.12 | 229 bugs, 354 feature requests, 28 patches | Logs: http://irclogs.wesnoth.org | Alternate logs: http://wesnoth.debian.net | Don't paste on IRC! Use a pastebin: http://pastebin.com | http://imagebin.org 20140316 19:27:32< iceiceice> *release i mean 20140316 19:32:34-!- gfgtdf [~chatzilla@f054063237.adsl.alicedsl.de] has joined #wesnoth-dev 20140316 19:42:01-!- daniwa [415ee84d@gateway/web/cgi-irc/kiwiirc.com/ip.65.94.232.77] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] 20140316 19:42:08< iceiceice> anonymissimus: 20140316 19:42:21< iceiceice> so actually i find in testing that when you droid a side, it becomes controller by "network_ai" appropriately 20140316 19:42:32< iceiceice> its only when a side is configured as ai at the start of scenario that we have problems 20140316 19:46:24-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 19:46:31-!- Nostromus [~Thunderbi@e179233187.adsl.alicedsl.de] has quit [Quit: Nostromus] 20140316 19:52:03-!- NETio [~NETio@184.20.3.19] has quit [Read error: Connection reset by peer] 20140316 19:57:12-!- exciton [chuck-the-@89.208.170.132] has quit [Read error: Connection reset by peer] 20140316 20:06:15-!- RiftWalker [~androirc@129.59.115.25] has joined #wesnoth-dev 20140316 20:10:22-!- RiftWalker [~androirc@129.59.115.25] has quit [Remote host closed the connection] 20140316 20:10:35-!- RiftWalker [~androirc@129.59.115.25] has joined #wesnoth-dev 20140316 20:11:08-!- shadowm_desktop [ignacio@wesnoth/developer/shadowmaster] has quit [Ping timeout: 252 seconds] 20140316 20:14:07< Ivanovic> guys, for those waiting for a release today: no release today 20140316 20:14:27< Ivanovic> just look at the number of changes and fixes, do you really think this is enough for a new beta release? 20140316 20:14:40< Ivanovic> lets see how it looks next week 20140316 20:19:17< anonymissimus> impose a freeze on trunk ? :P 20140316 20:19:45< anonymissimus> or only sdl 2 changes and gsoc sudent commits allowed ? 20140316 20:20:58-!- timotei [~timotei@wesnoth/developer/timotei] has quit [Ping timeout: 240 seconds] 20140316 20:22:03-!- timotei [~timotei@wesnoth/developer/timotei] has joined #wesnoth-dev 20140316 20:22:57< iceiceice> Ivanovic: do you know if we broke mp compatibility in this release or just the previous release? I can't remember 20140316 20:24:48< anonymissimus> iceiceice: mp compatibility should be kept with the beginning of teh beta series 20140316 20:25:12< iceiceice> yes but we already decided to break it i remember by updating khalifate stats 20140316 20:25:25< anonymissimus> iceiceice: but we're not in hard freeze yet...I think it's tolerable until the actual release of an 1.12 20140316 20:25:41-!- trewe [~trewe@174.70.108.93.rev.vodafone.pt] has joined #wesnoth-dev 20140316 20:26:01< iceiceice> anonymissimus: ok 20140316 20:26:37< anonymissimus> there will probably be some "rc" versions before an 1.12, that's "hard freeze" then 20140316 20:31:00< anonymissimus> iceiceice: it will mean that the mp server will have to be rebuilt and restarted though (perhaps) or at least its version requirement has to increased 20140316 20:31:44< iceiceice> yes 20140316 20:32:14< iceiceice> although i'm not sure what exactly has to change for this fix though... its a little opaque how exactly the start of level occurs 20140316 20:32:34< iceiceice> i had thought that the host generates the WML for the level when start game is clicked and send it to the clients... 20140316 20:32:40-!- Fortescue_ is now known as Fortescue 20140316 20:32:47< gfgtdf> anonymissimus: so we can break mp compability during during 1.12 beta ? 20140316 20:33:13< iceiceice> but i guess actually the server holds most of it once the multiplayer_wait dialog happens 20140316 20:33:22< iceiceice> and when you click start you only tell the server to "start_game" 20140316 20:33:34< iceiceice> so i'm not sure where the ai controller type is getting screwed up 20140316 20:34:09-!- Octalot [~noct@31.185.149.167] has joined #wesnoth-dev 20140316 20:34:11-!- EdB [~edb@85.69.242.6] has quit [Quit: Konversation terminated!] 20140316 20:36:04-!- vernon [~quassel@catv-89-133-164-152.catv.broadband.hu] has joined #wesnoth-dev 20140316 20:37:06< anonymissimus> gfgtdf: don't take my word as the last one, you have to ask Soliton, Ivanovic or some high auhtority, but juding from the past, yes 20140316 20:37:43< anonymissimus> ofc only if neccessary for a fix or with a good reason 20140316 20:38:56< gfgtdf> anonymissimus: but if i have a patch that breaks mp & replays, would it be better to put it in 1.12 beta ot 1.13 ? 20140316 20:39:12-!- RiftWalker [~androirc@129.59.115.25] has quit [Remote host closed the connection] 20140316 20:39:24-!- RiftWalker [~androirc@129.59.115.25] has joined #wesnoth-dev 20140316 20:40:30< iceiceice> gfgtdf: if it fixes a significant bug then i guess its better to put it in both and sooner rather than later, since we already broke mp compatibility and replays anyways by changing khalifate stats quite recently 20140316 20:40:45< iceiceice> and i also plan to fix 18829 today 20140316 20:41:00< iceiceice> but i also am not a "high authority" :) 20140316 20:41:29-!- daniwa [415ee84d@gateway/web/cgi-irc/kiwiirc.com/ip.65.94.232.77] has joined #wesnoth-dev 20140316 20:43:08< iceiceice> yes we haven't released those changes yet: https://github.com/wesnoth/wesnoth/blob/master/changelog#L17 20140316 20:43:14-!- Nostromus [~Thunderbi@e179233187.adsl.alicedsl.de] has joined #wesnoth-dev 20140316 20:43:31< gfgtdf> iceiceice i think changing khalifate static doesnt break replays because in 1.10 khalifate didn't even exist 20140316 20:44:04< anonymissimus> gfgtdf: if your patch adds any features it would have to go in 1.13; other than that it depends on how important it is 20140316 20:44:15-!- Nostromus [~Thunderbi@e179233187.adsl.alicedsl.de] has quit [Client Quit] 20140316 20:44:24< iceiceice> gfgtdf: but it did in 1.11 20140316 20:44:32< iceiceice> and we did it in 1.12 branch also: https://github.com/wesnoth/wesnoth/blob/1.12/changelog#L17 20140316 20:44:34< anonymissimus> I'd say; but during beta series it's not yet critical 20140316 20:45:17< iceiceice> replays with khalifate from e.g. 1.11.6 are probably broken now if they have rami or sari 20140316 20:45:32< iceiceice> and clients from then wont be compatible with 1.12 clients now 20140316 20:46:27< iceiceice> shadowm and wintermute discussed this on irc iirc 20140316 20:47:41< gfgtdf> hm i still would call that a minor issue, since it only effects "khalifate testing" replays. 20140316 20:48:27< anonymissimus> gfgtdf: you could, however, be very clever and cloak your features as bug fixes, or include some bugfix aspects into your patch in order to squeeze it into 1.12 ;) 20140316 20:51:47-!- bagz1e [~bag@85-76-177-120-nat.elisa-mobile.fi] has joined #wesnoth-dev 20140316 20:54:06-!- Duthlet_ [~Duthlet@p4FC5FF96.dip0.t-ipconnect.de] has joined #wesnoth-dev 20140316 20:55:19-!- bagzie [~bag@85-76-175-15-nat.elisa-mobile.fi] has quit [Write error: Broken pipe] 20140316 20:55:28-!- zookeeper2 [~lmsnie@37.35.27.57] has joined #wesnoth-dev 20140316 21:03:05-!- exciton [chuck-the-@95.72.130.50] has joined #wesnoth-dev 20140316 21:03:18< daniwa> Hey guys, if someone was interested in the google summer of code program who would get in touch with? 20140316 21:04:20< AI0867> anyone and everyone? 20140316 21:05:49< daniwa> that's awesome 20140316 21:06:22< daniwa> I was really wondering how the ai was implemented as that's whats nearest to what I know 20140316 21:07:34< daniwa> trying to have a quick feel for it 20140316 21:08:39-!- RiftWalker [~androirc@129.59.115.25] has quit [Remote host closed the connection] 20140316 21:08:39-!- RiftWalker [~androirc@129.59.115.25] has joined #wesnoth-dev 20140316 21:09:13< daniwa> anyone :( 20140316 21:11:35-!- boucman [~rosen@wesnoth/developer/boucman] has joined #wesnoth-dev 20140316 21:13:27< AI0867> aquileia, _8680_: static int byte_size_from_utf8_first(unsigned char ch) <-- in src/serialization/string_utils.cpp 20140316 21:13:59< AI0867> daniwa: well, there's a fairly complicated framework located in src/ai/ 20140316 21:14:49< daniwa> I'm guessing the main guys behind it aren't online 20140316 21:15:00< daniwa> I'll keep looking around in there 20140316 21:15:03< AI0867> not right now, I think 20140316 21:15:17< Coffee_irc> bumbadadabum: I figure I should commit the chill tempest halo animation 20140316 21:15:33< bumbadadabum> I haven't actually had the time to look at it sorry 20140316 21:15:35< bumbadadabum> exams... 20140316 21:15:40< Coffee_irc> bumbadadabum: ok 20140316 21:15:44< Coffee_irc> np 20140316 21:16:17< Coffee_irc> good luck with exams :) 20140316 21:18:25-!- iceiceice [~chris@cpe-66-108-20-80.nyc.res.rr.com] has quit [Excess Flood] 20140316 21:21:07-!- Duthlet [~Duthlet@wesnoth/mp-mod/Duthlet] has quit [Write error: Broken pipe] 20140316 21:21:07-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Write error: Broken pipe] 20140316 21:21:37-!- iceiceice_ [~chris@cpe-66-108-20-80.nyc.res.rr.com] has joined #wesnoth-dev 20140316 21:23:29-!- irker537 [~irker@ai0867.net] has joined #wesnoth-dev 20140316 21:23:29< irker537> wesnoth: David Mikos wesnoth:1.12 0fa9a0b59885 / / (4 files in 3 dirs): Chill tempest animation for lich/ancient lich. http://git.io/WwG-Wg 20140316 21:23:31< irker537> wesnoth: David Mikos wesnoth:1.12 f6d38a75c6e8 / / (12 files in 10 dirs): Merge branch '1.12' of github.com:wesnoth/wesnoth into 1.12 http://git.io/evtoXQ 20140316 21:23:43< irker537> wesnoth: David Mikos wesnoth:master 19c78e87b457 / / (4 files in 3 dirs): Chill tempest animation for lich/ancient lich. http://git.io/r_aTEA 20140316 21:23:45< irker537> wesnoth: David Mikos wesnoth:master fcaf8b3fc755 / / (12 files in 10 dirs): Merge branch 'master' of github.com:wesnoth/wesnoth-old http://git.io/pbv_AQ 20140316 21:26:04-!- aquileia [4e2ad392@gateway/web/freenode/ip.78.42.211.146] has joined #wesnoth-dev 20140316 21:26:57< aquileia> AI0867, _8680_ : I'm just here for a few minutes... I changed my implementation to use byte_size_from_utf8_first(str[i]) 20140316 21:27:35< aquileia> But I see issues with it, so I'd reimplement it with _8680_'s new function 20140316 21:28:34< aquileia> e.g. if I understand correctly, it accepts invalid UTF-8 without throwing an exception 20140316 21:28:44< iceiceice_> anonymissimus: 20140316 21:29:24< iceiceice_> i think i understand 18829 now 20140316 21:30:32< aquileia> in this case it may as well be maintainable by using count_leading_ones 20140316 21:32:19-!- Duthlet_ is now known as Duthlet 20140316 21:32:46-!- Duthlet [~Duthlet@p4FC5FF96.dip0.t-ipconnect.de] has quit [Changing host] 20140316 21:32:46-!- Duthlet [~Duthlet@wesnoth/mp-mod/Duthlet] has joined #wesnoth-dev 20140316 21:33:13-!- anonymissimus [~chatzilla@HSI-KBW-149-172-228-192.hsi13.kabel-badenwuerttemberg.de] has quit [Quit: ChatZilla 0.9.90.1 [Firefox 12.0/20120423122928]] 20140316 21:33:33< happygrue> iceiceice_: I agree with you, if it means fixing a major bug that is breaking compatibility then doing it sooner rather than later is better 20140316 21:33:58< happygrue> worst case is it needs to get fixed sometime AFTER stable is released (that has happened, and it's much much worse than doing it now) 20140316 21:34:25< happygrue> or the whole thing can be reverted, but IMO it's better to get it fixed now. 20140316 21:34:41< iceiceice_> so there's potentially a few ways to fix it now, one might require server change / small change to how the server interprets "scenario_diff" signals 20140316 21:34:50< iceiceice_> we could also change the host so that it doesn't use that message anymore 20140316 21:35:02< iceiceice_> i'm not sure if the latter would break mp compatibiltiy, it might not 20140316 21:35:11< iceiceice_> but i think as it stands scenario_diff is not safe to use 20140316 21:35:47< happygrue> That I don't know. 20140316 21:36:49-!- RiftWalker [~androirc@129.59.115.25] has quit [Remote host closed the connection] 20140316 21:37:03-!- RiftWalker [~androirc@129.59.115.25] has joined #wesnoth-dev 20140316 21:37:19< iceiceice_> i'm still confirming the details... if anyone has an opinion on how this should be fixed, feel free to chime in, otherwise i'll just do whatever i think makes the most sense 20140316 21:42:34< aquileia> http://pastebin.com/hkT8jH9g 20140316 21:44:13-!- exciton [chuck-the-@95.72.130.50] has quit [Read error: Connection reset by peer] 20140316 21:47:05-!- aquileia [4e2ad392@gateway/web/freenode/ip.78.42.211.146] has quit [Quit: Page closed] 20140316 21:48:16< gfgtdf> im actions/move.cpp is the variable report_extra_hex_ ever used ? 20140316 21:49:32-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20140316 21:49:37-!- exciton [chuck-the-@89.208.170.132] has quit [Read error: Connection reset by peer] 20140316 21:53:07-!- kex [~kex@89.205.75.19] has quit [Remote host closed the connection] 20140316 21:53:42-!- kex [~kex@89.205.75.19] has joined #wesnoth-dev 20140316 21:54:35-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20140316 21:56:24-!- exciton [chuck-the-@89.208.170.132] has quit [Read error: Connection reset by peer] 20140316 21:58:07-!- kex [~kex@89.205.75.19] has quit [Ping timeout: 264 seconds] 20140316 21:59:34-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20140316 22:01:21-!- Aishiko [~Aishiko@cpe-065-191-176-226.nc.res.rr.com] has quit [Remote host closed the connection] 20140316 22:02:16< iceiceice_> hey is there a reason that 1.12 and 1.13 replays aren't on the server? 20140316 22:02:17-!- exciton [chuck-the-@89.208.170.132] has quit [Read error: Connection reset by peer] 20140316 22:02:19< iceiceice_> it would help for debugging 20140316 22:03:38-!- RiftWalker [~androirc@129.59.115.25] has quit [Ping timeout: 240 seconds] 20140316 22:05:40< happygrue> Soliton: ^ 20140316 22:06:18< happygrue> probably they just didn't get updated in the replay grabbing code after the version was incremented. 20140316 22:06:25-!- eldruz [~eldruz@lav35-1-82-236-137-179.fbx.proxad.net] has quit [Ping timeout: 240 seconds] 20140316 22:07:55-!- gfgtdf_ [~chatzilla@f054132134.adsl.alicedsl.de] has joined #wesnoth-dev 20140316 22:09:33-!- exciton [chuck-the-@89.208.170.132] has joined #wesnoth-dev 20140316 22:09:59-!- gfgtdf [~chatzilla@f054063237.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 20140316 22:10:06-!- gfgtdf_ is now known as gfgtdf 20140316 22:10:31-!- aquileia [4e2ad392@gateway/web/freenode/ip.78.42.211.146] has joined #wesnoth-dev 20140316 22:10:47< aquileia> minor improvment http://pastebin.com/8fxTdTk6 20140316 22:10:59-!- aquileia [4e2ad392@gateway/web/freenode/ip.78.42.211.146] has quit [Client Quit] 20140316 22:11:14< iceiceice_> happygrue: do you think that means they are in 1.11 folder or just gone/ 20140316 22:11:39< iceiceice_> i guess i can check this 20140316 22:13:03-!- Aishiko [~Aishiko@cpe-065-191-176-226.nc.res.rr.com] has joined #wesnoth-dev 20140316 22:13:11< iceiceice_> also is there anyone familiar with the server code for a game online? this block of code (and comments) seem very bizarre: https://github.com/wesnoth/wesnoth/blob/master/src/server/game.cpp#L183 20140316 22:19:52< iceiceice_> ok nm i guess it makes sense if it only affects the replay... 20140316 22:21:38-!- justinzane [~justinzan@tiny.justinzane.com] has quit [] 20140316 22:30:33< _8680_> AI0867: Oh. I suppose I ought to have inquired as to whether we already had such a thing. 20140316 22:33:05< gfgtdf> wesbot: seen jamit 20140316 22:33:05< wesbot> gfgtdf: The person with the nick jamit last spoke 13d 21h ago. 13d 21h ago they left with the message: Quit: Leaving. 20140316 22:37:34-!- jb__ [~jb@174-125-81-141.dyn.centurytel.net] has joined #wesnoth-dev 20140316 22:43:57-!- Netsplit *.net <-> *.split quits: gfgtdf, jchb, stikonas, Ivanovic, Fortescue, vultraz, iceiceice_, mjs-de 20140316 22:44:48-!- Netsplit over, joins: iceiceice_, stikonas, mjs-de, Ivanovic, vultraz, Fortescue 20140316 22:46:14-!- gfgtdf [~chatzilla@f054132134.adsl.alicedsl.de] has joined #wesnoth-dev 20140316 22:47:30< _8680_> aquileia: Well, yes, it is functional for strings containing code-points UTF-8–encoded as sequences of up to six octets, while the standards currently only allow sequences of up to four octets. 20140316 22:49:49< _8680_> I, personally, would support compatibility with six-octet sequences, but that’s a decision for the developers to make. 20140316 22:56:44-!- zookeeper2 [~lmsnie@37.35.27.57] has quit [Ping timeout: 252 seconds] 20140316 23:08:57-!- boucman [~rosen@wesnoth/developer/boucman] has quit [Remote host closed the connection] 20140316 23:10:24-!- kex [~kex@78.157.29.205] has joined #wesnoth-dev 20140316 23:17:12< iceiceice_> wesbot: seen thunderstruck? 20140316 23:17:12< wesbot> iceiceice_: The person with the nick thunderstruck last spoke 1d 3h ago. 6h 3m ago was here and on the channel #wesnoth with the message: 20140316 23:18:41< happygrue> iceiceice_: Soliton may the best to ask about server code. And there was some talk on IRC about how MP games work several days ago with Soliton and sachith500. I think you are correct and it just treats everything as a replay but I don't really know. 20140316 23:18:53-!- kex [~kex@78.157.29.205] has quit [] 20140316 23:18:59< iceiceice_> happygrue: i think i'm not actually going to end up chanigng the server code, 20140316 23:19:10< iceiceice_> just make the host never use the "[scenario_diff]" message 20140316 23:19:22< iceiceice_> currently it is only used because sometimes we need to shuffle sides 20140316 23:19:23< happygrue> as for if the games are still there, I also don't know. They may be saved somewhere and it's just the archiving them in folders bit that isn't happening, or maybe they are just lost for the moment. 20140316 23:19:34< happygrue> okay 20140316 23:19:40< iceiceice_> i think i'm just going to refactor the shuffle sides code so that it doesnt need ot do that 20140316 23:19:49< happygrue> I'll have some time a little later tonight if you have something specific you'd like tested 20140316 23:19:49< iceiceice_> and instead uses the [change_controller] and [change_faction] messages 20140316 23:20:00< iceiceice_> because those are safe and already give us this functionality 20140316 23:20:20< iceiceice_> idk im going to read through again but i think thats the simplest fix 20140316 23:20:50< iceiceice_> potentially we could deprecate [scenario_diff] if it works out that way 20140316 23:21:38-!- kex [~kex@78.157.29.205] has joined #wesnoth-dev 20140316 23:24:40< iceiceice_> Soliton: am i correct to understand that this means that in any replay on the server, every side will be controlled by "human"? https://github.com/wesnoth/wesnoth/blob/master/src/server/game.cpp#L183 20140316 23:25:14< iceiceice_> (note that it's not actually related to any bugs afaik or to my fix, its just a curiosity) 20140316 23:28:07-!- Octalot [~noct@31.185.149.167] has quit [Ping timeout: 264 seconds] 20140316 23:38:38-!- jb__ [~jb@174-125-81-141.dyn.centurytel.net] has quit [Ping timeout: 240 seconds] 20140316 23:39:38-!- trademark [~trademark@nsg93-8-88-175-59-164.fbx.proxad.net] has quit [Ping timeout: 252 seconds] 20140316 23:45:21-!- daniwa [415ee84d@gateway/web/cgi-irc/kiwiirc.com/ip.65.94.232.77] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] 20140316 23:56:30-!- mjs-de [~mjs-de@f048176061.adsl.alicedsl.de] has quit [Remote host closed the connection] --- Log closed Mon Mar 17 00:00:16 2014