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
r
romprod
Halfop
Posts: 49
Joined: Fri Oct 19, 2001 8:00 pm

Post by romprod »

Hi, I'm getting the following with both incith-google-v2.00a.tcl and incith-google-v2.00b.tcl I'm presuming it's a format change on google's website?

Code: Select all

[11:52:47] <user> !g weather chisinau
[11:52:51] <@bot> 1,390,000 results | Chisinau, Republic of Moldova Forecast : Weather Underground @ http://www.wunderground.com/global/stations/33815.html | BBC Weather | Chisinau International @ http://news.bbc.co.uk/weather/forecast/2180 | 10 Day Weather Forecast for Chisinau, Moldova - weather.com @ http://www.weather.com/weather/tenday/MDXX0001
M
Mabus4444
Halfop
Posts: 51
Joined: Mon Oct 30, 2006 7:40 pm

Post by Mabus4444 »

You sir are a genius. Everything works great now, order has been restored to the universe. :)
A
ALoGeNo
Voice
Posts: 3
Joined: Wed Aug 15, 2007 5:30 pm

Post by ALoGeNo »

thanks for your effort guys, that is an awesome work, works like a charm..

Thank you all. :D
r
rubin16
Voice
Posts: 1
Joined: Wed Mar 30, 2011 11:08 am

Post by rubin16 »

thank you for your efforts!

but I still have some problems with weather and ru.wikipedia:

Code: Select all

[19:10:52] <&rubin> !g .com weather Paris
[19:10:54] <&bestbotever> 107,000,000 results | 10 Day Weather Forecast for Paris, France - weather.com @ http://www.weather.com/weather/tenday/FRXX0076 | Paris Weather Forecast and Conditions @ http://www.weather.com/weather/today/Paris+France+FRXX0076 | BBC Weather | Paris @ http://news.bbc.co.uk/weather/forecast/40

Code: Select all

[19:11:28] <&rangil> !wikipedia .ru Moscow
[19:11:32] <&superstar> Википедия:Поиск — Википедия | Поле поиска присутствует на каждой странице Википедии, для поиска введите строку и нажмите «Ввод» на клавиатуре или кликните на значке лупы. При совпадении строки с названием статьи (возможно, с некоторыми вариациями заглавных букв) происходит переход к этой статье, иначе показываются результаты поиска строки в статьях. Для поиска строки, совпадающей с названием статьи
This links to search info page in ru.wikipedia, not search result itself, you can try it yourself:

http://ru.wikipedia.org/wiki/index.php? ... ext=Search

and bot gets content of link hidden in question mark in top right corner
n
neocratic
Voice
Posts: 15
Joined: Sun May 16, 2010 11:59 am

!g time country again messed up

Post by neocratic »

I upgraded this tcl file to latest one. !g time country trigger worked for few weeks , but it has stopped working now. When i fire that command [23:09] <~illusion> !g time nepal
[23:09] <+JoeSatriani> 203,000,000 results | Current local time in Nepal @ http://www.worldtimeserver.com/current_time_in_NP.aspx | Nepal Time Zone Converter Difference Calculator @ http://www.worldtimeserver.com/convert_time_in_NP.aspx | Current local time in Nepal Kathmandu @ http://www.timeanddate.com/worldclock/city.html?n=117 this output comes. Can you please fix this bug..
Thanks in advance :P
User avatar
pogue
Voice
Posts: 28
Joined: Sun May 17, 2009 3:56 am
Contact:

Re: !g time country again messed up

Post by pogue »

neocratic wrote:I upgraded this tcl file to latest one. !g time country trigger worked for few weeks , but it has stopped working now. When i fire that command [23:09] <~illusion> !g time nepal
[23:09] <+JoeSatriani> 203,000,000 results | Current local time in Nepal @ http://www.worldtimeserver.com/current_time_in_NP.aspx | Nepal Time Zone Converter Difference Calculator @ http://www.worldtimeserver.com/convert_time_in_NP.aspx | Current local time in Nepal Kathmandu @ http://www.timeanddate.com/worldclock/city.html?n=117 this output comes. Can you please fix this bug..
Thanks in advance :P
I don't have a direct solution, but, in the interim you could use speechles/incith's weather script which has a !time function too. I actually prefer it's time output to the google one.
Helpful Tools:
  • Notepad++: Windows Text Editor with TCL Syntax Highlighting
  • Pastebin TCL: For easy script collaboration
User avatar
Trixar_za
Op
Posts: 143
Joined: Wed Nov 18, 2009 1:44 pm
Location: South Africa
Contact:

Post by Trixar_za »

Something WEIRD happens when you use !time. I checked the output the script is getting and it's the Javascript code to work out the time! So I guess this makes grabbing the time is a little hard at the moment >.>
m
m0d
Voice
Posts: 1
Joined: Thu May 19, 2011 8:37 am

Bug report

Post by m0d »

Version: 2.0.0b

Seems Youtube has changed significantly enough to break the script and cause quite a bit of flooding:

Issuing:

!y blah

Results in no answer, but if followed by a !g test...

Then it spews the buffer.
14:33 <@m0d> !y test
14:34 <@m0d> !g test
14:34 <@TMAnna> 1:09Add toAdded to queue Test Your Awareness: Do The Test How many passes does the team in white make? Test your awareness and Do the Test! TFL cycling safetly advert! Count the number of passes the White
... by dothetest| 3 years ago| 13,159,896 views 6:07Add toAdded to queue
14:34 <@TMAnna> Chemical Brothers ft Richard Ashcroft - The Test remember those days by soah69| 4 years ago| 2,837,605 views
2:10Add toAdded to queue Google Chrome Speed Tests These speed tests were filmed at actual web page rendering times. If you're interested in the
14:34 <@TMAnna> technical details, read on! Equipment used ... by googlechrome| 1 year ago| 4,743,187 views HD Klipovi
Alko test bakutan Ševa i Laki by nikola356470| 37 videos PLAYLIST
14:34 <@TMAnna> MOTORVISION TEST Renn-Scirocco mit Erdgas Patrick Simon testet VWs Rennwagen by motorvisiontest| 217 videos| 252 subscribers
CHANNEL 3:29Add toAdded to queue Retarded Tests If you don't watch this video, you're
14:34 <@TMAnna> retarded. See our videos a month earlier at www.collegehumor.com and follow us on http by collegehumor| 1 year ago| 2,889,121 views
5:12Add toAdded to queue Hearing Test Set your volume to regular settings, as if you were watching any YouTube movie. Watch Hearing Test and listen
Snipped - there is a lot more...
u
unknownsource
Voice
Posts: 2
Joined: Fri Jun 17, 2011 4:05 am

Post by unknownsource »

I *think* I may have found a bug with the images.google block. When setting

Code: Select all

variable link_only
to 0 - every other *.google function does do what it should be doing, which is to only show the link, except for images.google which does show the description even though we are set to 0.

Unfortunately I could not debug this issue with the Google images part of this script. If this is not to be expected, which I presume should not be, please let us know if there is a possible solution.

Cheers
Last edited by unknownsource on Fri Jun 17, 2011 6:14 pm, edited 1 time in total.
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

unknownsource wrote:Unfortunately I could not debug this issue with the Google images part of this script. If this is not to be expected, which I presume should not be, please us know if there is a possible solution.

Cheers[/code][/b]
Change this part, within the procedure images...

Code: Select all

        # add the search result
          append output "[descdecode $desc]$::incith::google::break${link}${incith::google::seperator}"
        }
To...

Code: Select all

        # add the search result
        if {$incith::google::link_only == 1} { 
          append output "${link}${incith::google::seperator}"
        } else {
          append output "[descdecode $desc]$::incith::google::break${link}${incith::google::seperator}"
        }
... and there are alot of issues with this script atm..
Expect an update soon. Very, very, soon. One that corrects things all over the place... ;D
u
unknownsource
Voice
Posts: 2
Joined: Fri Jun 17, 2011 4:05 am

Post by unknownsource »

speechles - Thank you very much! That little change of code did the trick. :)

Until then I will continue learning more Tcl from where I left off. Thank you very much for your awesome Tcl scripts, you rock!

Cheers
l
lee8oi
Halfop
Posts: 63
Joined: Sat Jun 04, 2011 2:05 pm
Location: Michigan,United States.
Contact:

Looking forward to the update.

Post by lee8oi »

Absolutely the best google script I've found even with the few bugs it has. I look forward to your update. Great work Speechles.
R
Robby
Voice
Posts: 4
Joined: Thu Jan 27, 2011 3:33 pm
Location: Belgium

Post by Robby »

Hello speechles, can you please also take a look at why I always have to set use_gzip to 0 again, rehash and set it back to 1 (and rehash again, of course) to get rid of the "data error" message? The bot does say "Incith:Google compression test successful, found zlib package! Gzip enabled.", so it does work, strange...

This situation presents itself everytime the bot is (re)started and somebody wants to use the script before I had the chance of doing the above steps, annoying strange bug...
P
PsySc0rpi0n
Voice
Posts: 15
Joined: Sun Dec 27, 2009 6:00 am

Post by PsySc0rpi0n »

Hi... I need some help...

I've used this

!google .uk sex pistols

The bot returned this:

Socket Error accessing 'http://www.google.uk/search?q=sex%20pis ... l&ie=utf-8' .. Does it exist?

and in the partyline returned this:

_Achmed_> [21:10:29] Tcl error [incith::google::public_message]: can't read "cid": no such variable

Cheers



edit;

I've just moticed that when i use the command !myspace blalblabla

the partyline returns

[21:40:35] Tcl error [incith::google::public_message]: can't read "cid": no such variable
S
Schucz
Voice
Posts: 2
Joined: Sun Aug 03, 2008 2:35 am

Post by Schucz »

Apparently I'm also experiencing the same issue:
Socket Error accessing 'http://www.google.com/search?q=test&saf ... l&ie=utf-8' .. Does it exist?
:roll:
Post Reply