egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

UNOFFICIAL incith-google 2.1x (Nov30,2o12)
Goto page Previous  1, 2, 3 ... 53, 54, 55, 56, 57, 58  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Koo
Voice


Joined: 02 Apr 2010
Posts: 37

PostPosted: Thu Jun 28, 2012 1:46 pm    Post subject: Reply with quote

Can't wait for the fix for this script. Good luck and thank you speechles. Very Happy x3
Back to top
View user's profile Send private message
tommytom
Voice


Joined: 09 Sep 2011
Posts: 16

PostPosted: Tue Aug 14, 2012 6:02 pm    Post subject: Reply with quote

First post/title says sept 9th 2011 but the actual script at the URL is dated august 7th 2012 and v2.1x

It's a work in progress, but it's probably better than your current one that was from 2011 (if you didn't bother redownloading what you thought was not updated).

Anyways, I just fired it up and math and conversions don't work, but it's displaying more than one result now, so it's an improvement.

I will see about fixing the math/conversion stuff if I have time in another fork topic, but I can't make any promises. Work too much now.

Thanks for finding the time to update some of it. At least it's not untouched since 2011 (the way the first post looks).

Edit:
Seems Google doesn't want to serve "calc" or "answers" to "Lynx" or "Mozilla" UA strings (the script uses both) or at least the versions used. Would have to shove a new working UA in there (just for !g) or change ALL of them to use one working one. Not familiar enough with the script to edit it like that. It would end up just being my own hackery getting what I use working and nothing else (change UA and fix anything that breaks). Still, no time for all that either. I guess it will have to remain partially broken then. Pity.

Oh well. I will wait for the official unofficial update from Speechles.

Edit2:
Well that worked. Uncommented the answers section (lines 1447-1464) and set the ua (line 6621) to "Mozilla/5.0 (Windows; U; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)" and it magically worked (only tested !g 1+1 and !g 1 foot in meters). It would probably be better to just update the FireFox version in the UA though. Google seems to have dropped support for older browsers; I guess they can't be bothered to get the formatting correct for EVERY browser so they just don't display the "fancy" stuff to them.

Have no idea if updating the UA would break more stuff than it fixes. Attempt at your own risk or wait for Speechles to update the UA and affected code.

Edit3:
Tried an updated FireFox UA as well as Opera (my browser) and the script can't find the "answer" in it's current form and Fiddler2 just displays a redirect page. Looks like Google is moving to all JS/AJAX for modern browsers. Still, IE6 UA works (must still be pretty common). It might can be made to work with modern non-IE UAs, but you would have to sift through the JS stuff and likely have to update all the RegExs. Meh. This is disheartening.

Disabling "instant" might prevent the JS stuff, but it requires a persistent cookie.
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Wed Aug 15, 2012 3:11 pm    Post subject: Reply with quote

What are you on about? Dude, yawn, I already know all this. The problem is ENGLISH google.

Quote:
<speechles> !g .es 4 dollars in peso
<sp33chy> 4 U.S. dollars = 52.6849571 Mexican pesos

<speechles> !g .com/intl/hi 14 mph in feet per second
<sp33chy> 14 mph = 20.5333333 feet per second

<speechles> !g .com/intl/en 2 + 2
<sp33chy> 25,270,000,000 results | Poker Strategy - Two Plus Two Poker & Gaming Strategy @ http://www.twoplustwo.com/ | Two Plus Two Poker Forum - Poker Strategy Forums @ http://forumserver.twoplustwo.com/ | 2+2 (car body style) - Wikipedia, the free encyclopedia @ http://en.wikipedia.org/wiki/2+2_(car_body_style) | 2 + 2 = 5 - Wikipedia, the free encyclopedia @
<sp33chy> http://en.wikipedia.org/wiki/2_+_2_=_5 | ThinkGeek :: 2+2=5 @ http://www.thinkgeek.com/product/60f5/

<speechles> !g .com 4 pounds in euro
<sp33chy> 159,000,000 results | convert euros into pounds @ http://www.euroresidentes.com/Property/mortgages/currency-converter.htm | What is 4 pounds in Euro? - True Knowledge @ http://www.trueknowledge.com/q/what_is_4_pounds_in_euro | 4 GBP EUR - British Pound To Euro Currency Exchange @ http://gbp.cer24.com/eur/?q=4 | Convert Euros to Pound Sterling @
<sp33chy> http://www.advfn.com/currency-converter/euro-to-pound-sterling.html | How much is 4 Euros in pounds? - Evi @ http://www.evi.com/q/how_much_is_4_euros_in_pounds

<speechles> !g .com/intl/ru 4 pounds in euro
<sp33chy> 4 британских фунта = 5.10620982 евро


As you can see, I know exactly what is going on. Did you know all those ways to pull up searches existed in this script? Expect a new version soon that won't change the useragent and work correctly for calculation/conversions in english. This is very easy to me. Rushing things and over-explaining stuff isn't worth inflating this thread with anymore.

The CONSTANTLY EVOLVING script can be had by clicking the link below....
Incith:Google 2.1x
UPDATE: I fixed !images so it works again.. yay...

It shall never change versions. 2.1x is what you get now. You want to know whats new or changed. Um, run the script. It's too much of a hassle to update code and documentation anymore. Screw the docs. Wink

Btw, yawn.. It's boring talking about this script....
I am always on IRC at irc.efnet.net in #roms-isos If you have questions find me and ask them there. It doesn't make sense to post in this thread. You are talking things nobody cares about, unless its a new version update.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
norbert79
Voice


Joined: 06 May 2012
Posts: 4
Location: Hungary

PostPosted: Tue Sep 11, 2012 4:54 am    Post subject: Reply with quote

Excellent work, thank you, just found this update. Such scripts should use some central repository, it's annoying looking through forums all the time for finding the latest for one eggdrop script.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
shadrach
Halfop


Joined: 14 Dec 2007
Posts: 74

PostPosted: Wed Nov 21, 2012 2:41 pm    Post subject: Reply with quote

google search not working for me
Back to top
View user's profile Send private message MSN Messenger
ActionA
Voice


Joined: 21 Nov 2012
Posts: 1

PostPosted: Wed Nov 21, 2012 4:50 pm    Post subject: Reply with quote

yes, it's broken for everyone.

but i'll just leave this here....


03:45 < speechles> <ActionA> speechles: so it seems incith-google is borked?
03:45 < speechles> you missed the notice earlier ;P
03:46 < speechles> <speechles> http://ereader.kiczek.com/incith-google.tcl <<
03:46 < speechles> <speechles> you will notice !g and !f broke today, now they arent Wink
03:46 < speechles> <speechles> not released on egghelp forum yet, gonna wait for somebody to go, wtf.. its telling
me "derp." for google searches
Back to top
View user's profile Send private message
xREVx
Voice


Joined: 25 Jul 2007
Posts: 15

PostPosted: Fri Nov 23, 2012 1:51 pm    Post subject: Reply with quote

wtf.. its telling me "derp." for google searches

ok srsly now, it's giving me a HUGE url on google results :p

Quote:
<Me> !g apple
<LeBot> Apple @
http://www.apple.com/&rct=j&sa=U&ei=5LivUPTHAuiUywHy0YGQCA&ved=0CBsQFjAA&q=apple | Apple Inc. - Wikipedia, the free encyclopedia @
http://en.wikipedia.org/wiki/Apple_Inc.&rct=j&sa=U&ei=5LivUPTHAuiUywHy0YGQCA&ved=0CEQQFjAK&q=apple
Back to top
View user's profile Send private message
senate
Voice


Joined: 25 Nov 2012
Posts: 1

PostPosted: Sun Nov 25, 2012 11:33 am    Post subject: Reply with quote

The currency converter doesn't work in last version either..

Code:
<@x> !g 10 eur in usd
<@zxy> 575,000,000 results | USD to EUR - The Money Converter @ http://themoneyconverter.com/USD/EUR.aspx&rct=j | ECB: Euro exchange rates USD @ http://www.ecb.int/stats/exchange/eurofxref/html/eurofxref-graph-usd.en.html&rct=j | Convert Euros to US Dollars @ http://www.advfn.com/currency-converter/euro-to-us-dollar.html&rct=j | XE.com - USD/EUR Chart @
<@zxy> http://www.xe.com/currencycharts/?from=USD&to=EUR&rct=j | Exchange Rate Average (US Dollar, Euro) - X-Rates @ http://www.x-rates.com/average/?from=USD&to=EUR&amount=1&year=2012&rct=j
Back to top
View user's profile Send private message
TeknoJuce
Voice


Joined: 26 Nov 2012
Posts: 4

PostPosted: Mon Nov 26, 2012 3:08 am    Post subject: Reply with quote

<TeknoJuce> yeah theres a video of it on youtube as well automageek
<freeman-> meeeeep
<TeknoJuce> !yt aysculpture
<unLabBot> 615 results
<TeknoJuce> !youtube aysculpture
<unLabBot> 615 results
<TeknoJuce> :/
* TeknoJuce smacks the bot
<automageek> Smile
<ekiMmI> haha
<ekiMmI> fail
<ekiMmI> rename it
<ekiMmI> failbot
<ekiMmI> =P
<TeknoJuce> Sad

As well as I am trying to get dumping of logs working but not sure how this line is supposed to work for this script to prevent it from returning 1 or etc. so pub will release the chat to the log process as currently all I get is join/parts/status/etc just no public output was reading this thread here but not sure if this has been fixed ?

http://forum.egghelp.org/viewtopic.php?t=19144&highlight=pisg

Quote:

Actually... It's because of the test platform I use. Everything is tested on windrop 1.6.17 at first.

EGGDROP CHANGES - 1.6.18 wrote:
- Added support to MSGM, PUBM, NOTC, and WALL binds to support bound
procs returning 1 to prevent logging of the trigger message text.


So now, yeah it has a return 1 where it should be a return 0.
Code:
if {$::version < "1.6.18"} { return 1 } { return 0 }
Future versions of the script will include the code above to detect which value to return. The should fix the logging issue for all versions of eggdrop/windrop.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
norbert79
Voice


Joined: 06 May 2012
Posts: 4
Location: Hungary

PostPosted: Mon Nov 26, 2012 9:37 am    Post subject: Reply with quote

xREVx wrote:
wtf.. its telling me "derp." for google searches

ok srsly now, it's giving me a HUGE url on google results :p

Quote:
<Me> !g apple
<LeBot> Apple @
http://www.apple.com/&rct=j&sa=U&ei=5LivUPTHAuiUywHy0YGQCA&ved=0CBsQFjAA&q=apple | Apple Inc. - Wikipedia, the free encyclopedia @
http://en.wikipedia.org/wiki/Apple_Inc.&rct=j&sa=U&ei=5LivUPTHAuiUywHy0YGQCA&ved=0CEQQFjAK&q=apple


And I still get "derp.". Anyone taking a closer look at the problem already?
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
TeknoJuce
Voice


Joined: 26 Nov 2012
Posts: 4

PostPosted: Tue Nov 27, 2012 12:55 am    Post subject: Reply with quote

even though its misleading said here, yes "derp" is fixed but it's just not said in so many words. You just have to grab the script again from the same url there is no fan-fair or version change numbers when this script is updated norbert79 kinda confusing I know but meh it's up to the author how he likes to roll with the punches.

Only way for you to know what changed would be to use one of those text editors that auto compare files with old ones, winmerge etc.

http://ereader.kiczek.com/incith-google.tcl

.rehash your bot after you have dumped it in your scripts folder.
Back to top
View user's profile Send private message
norbert79
Voice


Joined: 06 May 2012
Posts: 4
Location: Hungary

PostPosted: Tue Nov 27, 2012 9:19 am    Post subject: Reply with quote

TeknoJuce wrote:
even though its misleading said here, yes "derp" is fixed but it's just not said in so many words. You just have to grab the script again from the same url there is no fan-fair or version change numbers when this script is updated norbert79 kinda confusing I know but meh it's up to the author how he likes to roll with the punches.

Only way for you to know what changed would be to use one of those text editors that auto compare files with old ones, winmerge etc.

http://ereader.kiczek.com/incith-google.tcl

.rehash your bot after you have dumped it in your scripts folder.


Actually this is the same script I am using, and this reports 'derp' for me, unless there have been some changes posted since.
Let me check this again, and compare to mine.

Update: Yes, thanks, it works, would be worth adding notes to the changelog section as well, so we can see the recent changes too and are not forced using 'diff' Smile Thank you!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
rogerw
Voice


Joined: 30 Nov 2012
Posts: 3

PostPosted: Fri Nov 30, 2012 12:56 am    Post subject: Links end up with &rct=j Reply with quote



As is apparent each of the links end with
Code:
$rct-j
on a Google search. I checked the thread for a problem similar to this, but didn't see it.

I'm using incith-google ver 2.1x on a Eggdrop v1.6.21

Only the Google search has this issue.

I didn't notice this problem with the examples posted in the thread.

So what could be wrong?
_________________
Roger
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Fri Nov 30, 2012 11:20 pm    Post subject: Reply with quote

norbert79 wrote:
Update: Yes, thanks, it works, would be worth adding notes to the changelog section as well, so we can see the recent changes too and are not forced using 'diff' Smile Thank you!


Touche!
Thanks for the feedback. I agree, lately this script is becoming less than spectacular. I expect to have some time in the coming week to address alot of the issues. All those broken triggers !youtube, !ebay, !review, etc need some love as do several others. I plan on updating the script eventually and you will see a new version soon ( and yes, the version number and date will change ). But for the moment, all thats been occuring with the script are parser updates. These are quite minor hence the script is stuck at version 2.1x atm.

http://ereader.kiczek.com/incith-google.tcl - updated today

This will correct the cruft left at the end of the urls specifically the &rct=j mentioned above. Be patient, a new super duper version is coming eventually. Don't give up hope... May the force be with you... always. ( disney ripped off lucas on that deal btw, at least imo ) Wink
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
darkunderdog
Voice


Joined: 01 Dec 2012
Posts: 2

PostPosted: Sat Dec 01, 2012 4:32 pm    Post subject: Reply with quote

any idea why this isn't working in channel and only private message with using the default script with no edits?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... 53, 54, 55, 56, 57, 58  Next
Page 54 of 58

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber