This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

UNOFFICIAL incith-google 2.1x (Nov30,2o12)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

transacid wrote:there seems to be an error in the latest version, or i'm doing something wrong :)

Code: Select all

Tcl error [incith::google::public_message]: list must have an even number of elements
What changes did you make to the config?

Try making no changes at all, and see if that works. Because what this appears like is you've altered some config setting incorrectly. Paste your entire config section (just the config portion, not the entire script) here and I could show you what was wrong.
t
transacid
Voice
Posts: 12
Joined: Wed Aug 08, 2007 2:15 pm
Location: Hamburg / Germany
Contact:

Post by transacid »

speechles wrote:
transacid wrote:there seems to be an error in the latest version, or i'm doing something wrong :)

Code: Select all

Tcl error [incith::google::public_message]: list must have an even number of elements
What changes did you make to the config?

Try making no changes at all, and see if that works. Because what this appears like is you've altered some config setting incorrectly. Paste your entire config section (just the config portion, not the entire script) here and I could show you what was wrong.
here is a diff of what i changed: http://pastie.org/668947
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

transacid wrote:here is a diff of what i changed: http://pastie.org/668947
After making those exact same changes and rehashing everything works for me..
<speechles> !yt hello @hd
<sp33chy> 36,300 results
<sp33chy> Hi-Q - Hello, Say Hello (slide show (Hi-Q 2009 Produced by The Bombjack www.h) (3:49; 4 days ago; 11,840 views) @ http://youtube.com/watch?v=jaxSba73syE&hl=en
<sp33chy> Learning English - Lesson Two (Hello/G (In this lesson we look at the many ways) (7:47; 3 months ago; 160,989 views) @ http://youtube.com/watch?v=6f_FtzgL9y4&fmt=22&hl=en
<sp33chy> *RARE - Snow Leopard HELLO! (!!!WATCH THIS RARE FOOTAGE OF A SNOW LEO) (0:55; 1 month ago; 7,443 views) @ http://youtube.com/watch?v=0cCDqbiGvoQ&fmt=22&hl=en
<sp33chy> Zap Mama - Hello To Mama (Hello to Mama is the first single off) (3:58; 5 months ago; 11,177 views) @ http://youtube.com/watch?v=7dzGcN_eQv4&fmt=22&hl=en

<speechles> !trends 2009-10-25
<sp33chy> 1 marine corps marathon 2009, 2 daylight savings time 2009 fall back, 3 time change october 2009, 4 day light savings 2009, 5 brookville roadster, 6 san jose mercury news, 7 lyoto machida vs shogun rua fight video, 8 american pie band camp, 9 bob griese juan pablo montoya, 10 raising cain, 11 time new york, 12 ufc 104 torrent, 13 purgatory movie, 14 chrome shop mafia, 15
<sp33chy> rosanna al yami, 16 india vs australia live cricket streaming 2009, 17 ufc 104 post fight press conference, 18 wasim akram wife died, 19 crystle lightning, 20 atomic clock, 21 arielle kebbel, 22 four christmases, 23 dst 2009, 24 dream 12, 25 eastern standard time

<speechles> !gf nds in aus
<sp33chy> NDS Australia (AUS)
<sp33chy> 10/26 Blood Bowl
<sp33chy> 10/28 Bakugan Battle Brawlers, Bakugan Battle Brawlers (Collector's Edition)
<sp33chy> 10/29 Cars Race-O-Rama
<sp33chy> 11/04 Barbie and the Three Musketeers, Star Wars Battlefront: Elite Squadron
<sp33chy> 11/05 Girls Life Makeover, Rabbids Go Home, Women's Murder Club: Games of Passion, World of Zoo
<sp33chy> 11/10 Call of Duty: Modern Warfare: Mobilized
<sp33chy> 11/11 iCarly
<sp33chy> 11/12 Astro Boy: The Video Game, BEN 10: ALIEN FORCE Vilgax Attacks, C.O.P. The Recruit, Cooking Mama 3, Pokemon Mystery Dungeon: Explorers of Sky, SpongeBob's Truth or Square
<sp33chy> 11/19 Assassin's Creed II: Discovery, Cloudy With a Chance of Meatballs
What version of eggdrop are you using? and also, which version of tcl?
I'm using windrop 1.6.17 above, maybe this is the problem? I have friends using 1.6.19 and 1.6.18 just fine, which puzzles me. Maybe your eggdrop is <1.6.17 ??
t
transacid
Voice
Posts: 12
Joined: Wed Aug 08, 2007 2:15 pm
Location: Hamburg / Germany
Contact:

Post by transacid »

speechles wrote:
What version of eggdrop are you using? and also, which version of tcl?
I'm using windrop 1.6.17 above, maybe this is the problem? I have friends using 1.6.19 and 1.6.18 just fine, which puzzles me. Maybe your eggdrop is <1.6.17 ??

Code: Select all

eggdrop v1.6.19+ctcpfix

Code: Select all

tcl version 8.4.16
EDIT: oh actually eggdrop is linked against tcl 8.5.7
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

transacid wrote:
speechles wrote:
What version of eggdrop are you using? and also, which version of tcl?
I'm using windrop 1.6.17 above, maybe this is the problem? I have friends using 1.6.19 and 1.6.18 just fine, which puzzles me. Maybe your eggdrop is <1.6.17 ??

Code: Select all

eggdrop v1.6.19+ctcpfix

Code: Select all

tcl version 8.4.16
Can you possibly, post the results of .set errorInfo (note the large I this is important). If your bot replies with "What? Do you need .help?" you will need to enable this. Open eggdrop.conf and make sure both "unbind tcl.." and "unbind set.." are changed into "bind tcl..." and "bind set..." then save and .restart the bot.

Immediately after the bot gives that error message, on the partyline type .set errorInfo and paste the results. This will easily allow me to know where the problem stems from.
t
transacid
Voice
Posts: 12
Joined: Wed Aug 08, 2007 2:15 pm
Location: Hamburg / Germany
Contact:

Post by transacid »

that's odd, after binding these too things suddenly it works. is it save to let these be bound (i'm the only user of the bot)
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

transacid wrote:that's odd, after binding these too things suddenly it works. is it save to let these be bound (i'm the only user of the bot)
They will only allow (+n) users, owners, to use them. And as such, you being the only user of the bot. Unless you have a split personality disorder (jekyll/hyde) this should be fine. ;)
Last edited by speechles on Sun Oct 25, 2009 11:36 am, edited 1 time in total.
t
transacid
Voice
Posts: 12
Joined: Wed Aug 08, 2007 2:15 pm
Location: Hamburg / Germany
Contact:

Post by transacid »

speechles wrote:
transacid wrote:that's odd, after binding these too things suddenly it works. is it save to let these be bound (i'm the only user of the bot)
They will only allow (+n) users, owners, to use them. And as such, you being the only user of the bot. Unless you have a split personality disorder (jekyl/hyde) this should be fine. ;)
but still i wonder why it only works when allowing this. it worked before without these options
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

transacid wrote:
speechles wrote:
transacid wrote:that's odd, after binding these too things suddenly it works. is it save to let these be bound (i'm the only user of the bot)
They will only allow (+n) users, owners, to use them. And as such, you being the only user of the bot. Unless you have a split personality disorder (jekyl/hyde) this should be fine. ;)
but still i wonder why it only works when allowing this. it worked before without these options
I think it's more that you .restart'd the bot than anything else. Some lingering bad configuration change was left on your bot. Every config change you must .rehash your bot for them to have any affect. This is what I suspect was the case.
z
z0rc
Voice
Posts: 7
Joined: Mon Oct 13, 2008 9:41 am

Post by z0rc »

Script with UTF-8 hacked eggdrop works almost perfectly. There is still some issues with russian wikipedia/wikimedia:
<z0rc> !wiki .ja アニメ
<Kuro-sama> アニメ | アニメは、アニメーションの略語である。各種メディア (媒体)で提供されるアニメーション作品の総称として一般的に使用される。本項目では、日本で製作される商業用セルアニメーションについて解説する。 @ http://ja.wikipedia.org/wiki/%E3%82%A2% ... B%E3%83%A1

<z0rc> !wiki .ru russia
* bot doesn't reply

<z0rc> !wikim .lurkmore.ru гет
* bot doesn't reply

<z0rc> !wiki курчатов
<Kuro-sama> расположен в городе Курчатов Курской области на двупутной тепловозной линии Курск — Льгов.. Источник — «http://ru.wikipedia.org/wiki/%D0%9A%D1% ... 0%BE%D0%B2» Категория: Многозначные термины @ http://ru.wikipedia.org/wiki/%D0%9A%D1% ... 0%BE%D0%B2
* looks like wrong parsing
Also doesn't work youtube local search with non-latin symbols:
<z0rc> !yt .ru тарас
<Kuro-sama> http://ru.youtube.com/watch?v=TRvn6TKKbrM&hl=ru&fmt=18
<z0rc> !yt .ru taras
<Kuro-sama> Tuttāre Ture Svāhā / Om Tare Tut) (2:03; 1 год назад; Просмотров: 172475) @ http://ru.youtube.com/watch?v=NU1La7k-ajs&hl=ru&fmt=18 | United States of Tara's Main Title Seq (Animated main title sequence from Showti) (5:41; 7 мес. назад; Просмотров: 404739) @ http://ru.youtube.com/watch?v=ivFAuqpeaz4&hl=ru&fmt=18 | Taras Bulba (JL Thompson, 1962) The Ri (Cast: Taras Bulba: Yul Brynner Andrei) (1:06; 1
<Kuro-sama> год назад; Просмотров: 87014) @ http://ru.youtube.com/watch?v=yrrwzfAI5uU&hl=ru&fmt=18
And google books:
<z0rc> !gb .com pelevin
<@Kuro-sama> Google | The Yellow Arrow‎ (Victor Pelevin, Andrew Bromfield - Fiction - 1997 - 96 pages) @ http://books.google.com?id=HAayLgIMo_kC | Buddha's Little Finger‎ (Victor Pelevin - Fiction - 2001 - 352 pages) @ http://books.google.com?id=RooBAAAACAAJ | Omon Ra‎ (Viktor Pelevin, Andrew Bromfield - Fiction - 1998 - 153 pages) @ http://books.google.com?id=IVGKcYf_hr4C
<z0rc> !gb .ru pelevin
* bot doesn't reply
User avatar
Anahel
Halfop
Posts: 48
Joined: Fri Jul 03, 2009 6:18 pm
Location: Dom!

Post by Anahel »

Code: Select all

<tomek> !wiki .ru russia
<~Nekomimi> Russia — Википедия | Russia (русск. Россия)— термин, имеющий несколько значений: Russia (фильм)— фильм Киры Муратовой. Russia goodbye— песня Верки Сердючки. Наша Russia— российский комедийный телесериал. Руша (англ. Russia)— деревня в штате Огайо.  Источник — «http://ru.wikipedia.org/wiki/R
<tomek> !yt .ru тарас
<~Nekomimi> 75700 результаты | lisiy babai taras budni (Просто проверяем новенький ноут, а точне) (1:24; 6 дн. назад; Просмотров: 2) @ http://ru.youtube.com/watch?v=UhrI9hSq_rc&hl=ru&fmt=18 | Тарас Бульба. Трейлер к фильму. (Режиссер: Владимир Бортко В ролях: Богда) (2:03; 1 год назад; Просмотров: 382947) @ http://ru.youtube.com/watch?v=h
<tomek> !yt .ru taras
<~Nekomimi> 75200 результаты | Tara Lawson: The Real Life Paranormal (New Russian movie "Taras Bulba". Movie) (5:48; 1 год назад; Просмотров: 155240) @ http://ru.youtube.com/watch?v=fDJZGRoJTN0&hl=ru&fmt=18 | Тарас Бульба. Трейлер к фильму. (Режиссер: Владимир Бортко В ролях: Богда) (2:05; 1 год назад; Просмотров: 382947) @ http://ru.youtube.com/watch?v=hR0N4GCR1Cc&hl=ru
<~Nekomimi> год назад; Просмотров: 87014) @ http://ru.youtube.com/watch?v=yrrwzfAI5uU&hl=ru&fmt=18
<tomek> !gb .com pelevin
<~Nekomimi> Google  | The Yellow Arrow? (Victor Pelevin, Andrew Bromfield - Fiction - 1997 - 96 pages) @ http://books.google.com?id=HAayLgIMo_kC | Buddha's Little Finger? (Victor Pelevin - Fiction - 2001 - 352 pages) @ http://books.google.com?id=RooBAAAACAAJ | Omon Ra? (Viktor Pelevin, Andrew Bromfield - Fiction - 1998 - 153 pages) @ http://books.google.com?id=IVGKcYf_hr4C
<tomek> !wikim .lurkmore.ru гет
<~Nekomimi> Каждому сообщению на имиджбордах присваивается свой порядковый номер. Легендарный 3k-гет в разделе /b/ двача Гет (от англ. to get, получить) — «поимка» своим постом красивого или круглого номера, например 252525, 77777 или 100000. Видимо, сие как-то связано с фапаньем н
^^ my bot didnt have any problems with it

look at this post and do what speechles wrote:

http://forum.egghelp.org/viewtopic.php?p=90356#90356
s
shadrach
Halfop
Posts: 74
Joined: Fri Dec 14, 2007 6:29 pm

Post by shadrach »

Mininova search seems to have stopped working.
OK it's working now. :roll:
Last edited by shadrach on Tue Nov 03, 2009 1:40 pm, edited 1 time in total.
z
z0rc
Voice
Posts: 7
Joined: Mon Oct 13, 2008 9:41 am

Post by z0rc »

I'm stupid. Just lowered the split_length and problem was fixed. But there is still some misparsing with wiki's non-english disambiguation pages.
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

<speechles> !g .nl weer:amsterdam
<sp33chy> Weer voor Amsterdam: 5 °C, Actueel: Overwegend bewolkt, Wind: NO - 13 km/h; Luchtvochtigheid: 100%; za: Kans op regen (12°C|3°C); zo: Hier en daar zonnig (9°C|3°C); ma: Hier en daar zonnig (9°C|5°C)
<speechles> !g .de wetter:stuttgart
<sp33chy> Wetter für Stuttgart: 4 °C, Aktuell: Meistens bewölkt, Wind: N mit 11 km/h; Feuchtigkeit: 87%; Sa.: Vereinzelt regen (8°C|0°C); So.: Teils sonnig (8°C|1°C); Mo.: Vereinzelt schnee (9°C|-1°C)
<speechles> !g .fr temps:paris
<sp33chy> Météo à Paris: 7 °C, Actuellement : Nuageux dans l'ensemble, Vent : NE 14 km/h; Humidité : 87 %; dim.: Brouillard (2°C|9°C); lun.: Brouillard (5°C|11°C); mar.: Brouillard (2°C|10°C)
This is one of the new features now supported. Depending on the regional server your on, you can now get fully multilanguage supported weather. This was recently added by google, and now supported by this script. Also have corrected the way wikipedia/wikimedia #anchor subtag lookup's are performed. They are no longer detected using looping whiles which can hang the bot. It's performed now with an inline regexp and a foreach iterating over this. The foreach loop cannot produce an endless loop like the nested while could. This makes wikipedia/wikimedia anchor/toc lookups much faster. Also corrected various things here and there which I've since forgotten what they even were. There are still some problems with total results showing and a few other minor problems, but for the most part everything here works as intended.

Get the new script here: Incith:Google v1.9.9v .. Most important, have a fun.. :P
z0rc wrote:I'm stupid. Just lowered the split_length and problem was fixed. But there is still some misparsing with wiki's non-english disambiguation pages.
I can't visit every page (mediawiki/wikipedia/etc/etc/endless-list-of-sites-here/etc) in every language (insert huge list here of languages) so without knowing what your query was it's not possible for me to duplicate this. This should support 99.999% of mediawiki enabled wiki sites, as well as supporting wikipedia itself with additional features. When I see it for myself I can correct it within both procedures, until then I can only slant my head slightly left, and go.. hmmm ...
shadrach wrote:
Mininova search seems to have stopped working.
OK it's working now. :roll:
BREIN/MPAA/RIAA/ESA are currently causing disruption in their, um.. "service".. This will result in that part of the script occasionally returning time-outs, or no replies, misreporting the amounts of seeds/peers, and other issues. This is unavoidable due their situation. Once they fix this, the script is fixed in this regard. Enjoy it while it lasts, and be aware this uses the "suprnova" template, so adapting it to any site using this template (piratebay,mininova,etc) a rather trivial task. It may involve more than changing the url, because sometimes they re-arrange the table listing the rows, so the capture group ordering needs to be adjusted for this. Other than that, the template is used on most of the larger torrent sites search page.
z
z0rc
Voice
Posts: 7
Joined: Mon Oct 13, 2008 9:41 am

Post by z0rc »

without knowing what your query was it's not possible for me to duplicate this.

Code: Select all

!wiki .ru курчатов
Bot is patched for UTF-8 and dirty_encode is 1.
Post Reply