17:25.12 | *** join/#waruidev purl (i=ibot@rikers.org) |
17:25.12 | *** topic/#waruidev is http://waruidev.pastey.net/ | http://forums.curseforge.com/forumdisplay.php?f=6 and http://war.mmoui.com/forums | See http://thewarwiki.com/ for API info | Create WAR addons on http://war.curseforge.com/ and http://war.mmoui.com | WHA Mod Author Group: http://tinyurl.com/wha-mods | (22:44:20) God left the room (Kicked by Aiiane (Aiiane)). | Consider helping sick kids: http://war.mmoui.com/forums/showthread.php?t=56 |
17:55.57 | *** join/#waruidev Computerpunk (n=IceChat7@92.83.66.230) |
18:34.02 | Computerpunk | :3 |
18:34.07 | Computerpunk | So silent in here nowadays. |
18:38.55 | Aes[entfernt] | ^^hi all |
18:43.24 | Aes[entfernt] | do i need a different careerid table for scenarios ? ... or is there a way to get the old careerids for all sc players ? |
19:58.08 | *** join/#waruidev purl (i=ibot@rikers.org) |
19:58.08 | *** topic/#waruidev is http://waruidev.pastey.net/ | http://forums.curseforge.com/forumdisplay.php?f=6 and http://war.mmoui.com/forums | See http://thewarwiki.com/ for API info | Create WAR addons on http://war.curseforge.com/ and http://war.mmoui.com | WHA Mod Author Group: http://tinyurl.com/wha-mods | (22:44:20) God left the room (Kicked by Aiiane (Aiiane)). | Consider helping sick kids: http://war.mmoui.com/forums/showthread.php?t=56 |
20:03.41 | Computerpunk | Aiiane: About macros, someone's asking me if it's possible to do a /script cast smth |
20:16.16 | *** join/#waruidev ratty2 (n=Dirty_Ra@cpc1-cmbg1-0-0-cust772.cmbg.cable.ntl.com) |
20:20.03 | Aiiane | Computerpunk: it's not |
20:20.37 | Aiiane | ckknight: RoM is not 'hip' |
20:20.42 | ckknight | hehe |
20:23.47 | Computerpunk | Yes, it's not hip. xD |
20:23.55 | Computerpunk | It's 100%-ish copy of WoW. |
20:27.48 | ratty2 | Aiiane, does giving a pet a command need a keystroke, or would it be possible to create a mod that checked if the pet was in range for Run Away, Farty Squig and Tastes like chicken and if it goes out of that range get it to return to you? |
20:29.00 | Aiiane | pet commands don't need keystrokes. |
20:29.19 | Aiiane | however, I don't believe you can rangecheck pet abilities |
20:29.53 | ratty2 | it's not pet abilities, it's abilities that you can use that need a pet in a certain range. |
20:30.16 | ratty2 | they grey out the same as attack powers when the pet is out of range |
20:32.09 | ratty2 | I find it really annoying if I need to runaway and I can't fire my power because my pet is somewhere humping a Bright Wizards leg. |
20:36.01 | *** join/#waruidev Computerpunk2 (n=IceChat7@92.82.174.78) |
20:49.01 | *** join/#waruidev TecnoBrat (n=tecnobra@tecnobrat.com) |
21:34.11 | Daegalus | oh aiiane, through some hackery and apparently a really messed up regex that i have no clue how its working, i got my little regex issue solved, now i gotta figure out how to pull the video :P |
21:34.41 | Daegalus | if you saw my regex, you would probably want to commit seppuku |
21:40.46 | Computerpunk | regex?o_O |
21:40.54 | nicoli_s | regular expression |
21:41.01 | nicoli_s | the most powerful computing tool known to mankind |
21:43.49 | Daegalus | nicoli_s: and i suck at it, took me 4 hours last night to get a somewhat working regex for what i needed |
21:44.05 | Daegalus | and even then it wasn't perfect and had to play some comparison matching with if statements afterwards |
21:44.36 | nicoli_s | i can understand that, it took me a long time before i was anything but pathetic with regexes |
21:45.04 | nicoli_s | for so long i was at the point where i could make them given enough time, but if i didnt comment them, good fucking luck figuring out what they mean the next day |
21:45.25 | Computerpunk | ./wants to learn |
21:47.01 | Computerpunk | Hey nico, will you give me some tutorials one of these days?:3 |
21:47.54 | Daegalus | Computerpunk: if you can figure out the following regex and how it exactly works. You will know more than me. Since i only assume i know how it works |
21:47.55 | Daegalus | (?=<a href="http://www\.crunchyroll\.com/library/(.+?)" title="(.+?)">(.+?) <img src="http://img1\.cdn\.crunchyroll\.com/i/icons/video\.png" alt="Image" /></a>) |
21:48.16 | Daegalus | and it doesnt even work the way i want it to |
21:48.41 | Daegalus | but it was close enough to work for me |
21:48.47 | Daegalus | nicoli_s: check that regex above :P |
21:49.14 | *** join/#waruidev Exxxx (n=Ex@c-75-68-219-64.hsd1.vt.comcast.net) |
21:49.42 | Computerpunk | Hmm |
21:49.48 | Exxxx | Hi guys, it's not possible to get an addon to play mp3's right? |
21:49.50 | Computerpunk | It goes for the url |
21:50.18 | Exxxx | Or any other sound files for that matter ... |
21:50.20 | Computerpunk | and text gets some value if it's not specified |
21:50.28 | Computerpunk | and shows an image, and if not, the text image. |
21:50.31 | Daegalus | Exxxx: no |
21:50.39 | nicoli_s | def computerpunk |
21:50.41 | Daegalus | unless its default built in game sounds |
21:50.51 | Computerpunk | :D |
21:51.05 | Exxxx | Ah, thank you Daegalus. |
21:51.34 | Computerpunk | Amirite? |
21:51.34 | Computerpunk | o-O |
21:51.45 | Daegalus | actually what that regex does is return 3 values for me. the end of the link, the title, and the random whatever for hte 3rd one. the problem is, i needed it to match only lines that have that image after them. otherwise the ones without the image would not have any videos in them. |
21:52.03 | Aiiane | nicoli_s: the most powerful computing tool, and also the most powerful obfuscation tool |
21:52.25 | Computerpunk | Yeah. |
21:52.31 | Daegalus | so in the end i found out that the ones that go thte image, evaluated the 3rd value properly to = the 2nd value, while the ones without the image, had the 3rd value include a bunch of html in it, so 2nd and 3rd were not equal |
21:53.22 | Daegalus | ya, my regex is really messed up |
21:54.07 | Computerpunk | I don't get any piece of info you're giving me |
21:54.10 | Computerpunk | it's probably a bit late for me. |
21:54.15 | Computerpunk | 1 AM. |
21:56.19 | Daegalus | Computerpunk: http://pastebin.com/m75e961c7 that is my python function, and the stuff at the bottom is example input |
21:58.55 | Daegalus | like i said, really bad code/regex but i got past that, now i need to figure out how to pull the video, which now requires me to go ask the XBMC forums |
22:00.28 | Computerpunk | o_o |
22:00.35 | Computerpunk | ./slap |
22:08.53 | *** join/#waruidev ratty1 (n=Dirty_Ra@cpc1-cmbg1-0-0-cust772.cmbg.cable.ntl.com) |
22:14.11 | Computerpunk | I'm off. |
22:14.11 | Computerpunk | Cya |
22:23.51 | nicoli_s | daegalus, one regex hint is using .*? which will match anything up until the next character |
22:24.30 | nicoli_s | so you could change it to (?=<a href="http://www\.crunchyroll\.com/library/(.+?)" title="(.+?)">(.+?).*?</a>) |
22:25.27 | Daegalus | ya, but i still need it to match the <img> tag, i want it to only evalute patterns that have an image tag after the 3rd text |
22:26.03 | Daegalus | i want a really exact match. |
22:26.31 | Daegalus | but thanks for the tip nicoli_s, i will use that from now on when i need to do that |
22:28.57 | nicoli_s | well then you can do (?=<a href="http://www\.crunchyroll\.com/library/(.+?)" title="(.+?)">(.+?) <img.*?/></a>) |
22:30.43 | Daegalus | hmm ok, but wouldn't that be the same as having the full image tag there? since its the same image |
22:31.18 | Daegalus | the problem with that, is that the first part still matches, and pulls info, regardless if it matches the image tag after or not, and it screws up some stuff |
22:31.41 | nicoli_s | so do you need that exact image url in it? |
22:32.32 | Daegalus | it doesnt matter, the problem si that it still matches lines without the image after it, regardless if i have the image tag there or not |
22:34.22 | nicoli_s | you working with xbmc on the pc or xbox? |
22:34.27 | Daegalus | pc |
22:35.41 | Daegalus | ok, your last regex works identically to what my current one does |
22:35.59 | Daegalus | hmmm, if you had Rad Software Regular Expression Designer, i would give you the sample data so you could see what i mean |
22:36.49 | nicoli_s | well can you send me an example of what line you are trying to match? |
22:37.32 | Daegalus | i'll pm it to you, its only an excerpt of aobut 4000 anime on one page |
22:37.45 | Daegalus | or better, i will pastebin it so length doesnt get cut |
22:37.45 | nicoli_s | k |
22:38.24 | Daegalus | http://pastebin.com/f4b4293b |
22:38.25 | Daegalus | there |
22:38.50 | Daegalus | http://www.radsoftware.com.au/regexdesigner/ thats what imusing to test it for better display o fhow it matches |
22:39.30 | Daegalus | pretty much this is the page im parsing: http://www.crunchyroll.com/library/IndexAnime |
22:40.21 | Daegalus | and i only need hte ones with the little TVs next ot them because those are the only ones they have videos for. so pretty much cuts out like 90% of the stuff there if it works properly |
22:40.56 | Daegalus | but as of now, its reading the entire pages anime, instead of the 93 that have tvs next to them |
22:51.47 | nicoli_s | i dunno daegalus, thats a toughie, i played around with it a little but couldnt get it to work right either |
22:52.50 | Daegalus | hehe, ya, dont worry, with the one im using, i noticed that only for ones with the video image, do the 2nd and 3rd value actually = each other. The ones that dont, the 3rd one has the name, but a bunch of html gibberish after it too. |
22:53.30 | Daegalus | so i just made it add only ones where 2nd and 3rd value = |
23:02.27 | Skitskraj | Do you fellows have any strong argument on which lua editor is "best"? |
23:04.42 | nicoli_s | hex workshop ftw |
23:06.40 | Repo | 10squared: 03Aiiane * r212 / (2 files in 2 directories): CHANGED: Slight optimization tweak for warband updates, should help a tiny bit on the 'hitch' when people are added/removed/moved in a warband. |
23:06.44 | Repo | FIXED: The option to disable a particular type of status indicator should now be available as one of the drop-down options for that indicator's position. |
23:07.16 | Repo | 10squared: 03Aiiane * r214 / (3 files in 1 directory): Added tag 3.6.4 for changeset 321c65cab12d |
23:07.18 | Daegalus | nicoli_s: ? O.o i just use Notepad++ i find it the best scripting editor |
23:07.24 | Repo | CHANGED: Slight optimization tweak for warband updates, should help a tiny bit on the 'hitch' when people are added/removed/moved in a warband. |
23:07.33 | Repo | FIXED: The option to disable a particular type of status indicator should now be available as one of the drop-down options for that indicator's position. |
23:08.18 | Skitskraj | any arguments as to why they are best? |
23:09.35 | nicoli_s | oh i was kidding |
23:10.27 | Daegalus | just usuability |
23:10.34 | Skitskraj | ok =P thats why the screenshots looked very bizzare for me maybe =P |
23:10.46 | Daegalus | but i am leet, i code in 1s and 0s directly to the processor |
23:11.30 | Skitskraj | for me it takes a few days, and that goes directly to the trash bin =S |
23:13.03 | Skitskraj | can notepad++ highlight the warhammer api? |
23:13.29 | Daegalus | if you create syntax highlights for it, yes |
23:13.54 | Daegalus | but you have to do it manually. nothing atm can highlight war API except hte usual funtion/variable/ etc highlights |
23:14.32 | Skitskraj | ok. and that should be simply to copy the definition file here http://www.thewarwiki.com/wiki/API:TextpadSyntaxDefinition right? |
23:15.05 | Skitskraj | ok |
23:26.49 | Skitskraj | is curse down, or is it my network thats spooking? |
23:27.30 | vidhar | has anyone seen mroffline recently and knows, what he is currently doing :P? |
23:27.58 | WikkiFizzle | ~seen MrOffline |
23:28.00 | purl | mroffline <n=opera@e179092034.adsl.alicedsl.de> was last seen on IRC in channel #waruidev, 4d 10h 10m 55s ago, saying: 'it's a pain -.-'. |
23:28.27 | vidhar | oh, thanks :D |
23:28.44 | nicoli_s | Skitskraj we are having some problems at curse |
23:29.36 | Skitskraj | oh, that even sounded like insider info =O |
23:30.04 | nicoli_s | it is, the dev whos fixing it is right behind ,e |
23:30.07 | nicoli_s | me* |
23:30.57 | Skitskraj | ok =) |
23:32.04 | Skitskraj | and now he solved it I see =) |
23:32.15 | Skitskraj | or she |
23:32.27 | nicoli_s | he |
23:34.37 | vidhar | congratulations on getting a definitve gender ;) |
23:34.43 | vidhar | and with that i am off, good night :> |
23:34.51 | Skitskraj | hehe =P nn |
23:35.07 | *** part/#waruidev vidhar (i=opera@f051029212.adsl.alicedsl.de) |
23:36.49 | Skitskraj | to update a function once every minute, what would be the most efficient way? |
23:39.22 | nicoli_s | keep a counter in onupdate |
23:40.34 | Skitskraj | ok, so addons like zTimeLib doesn't offer me anything good`? |
23:41.28 | nicoli_s | never heard of that one, but its pretty simple functionality, no need to use a lib when it can be done easy enough yourself |
23:43.12 | Skitskraj | ye, I found how to do it on the warwiki, but thought I didn't wanna run the function every fram when I only need one run per minute... |
23:45.21 | Aiiane | either way /something/ is getting run every frame |
23:46.17 | Skitskraj | ok |