| View previous topic :: View next topic |
| Author |
Message |
Koo Voice
Joined: 02 Apr 2010 Posts: 37
|
Posted: Thu Jun 28, 2012 1:46 pm Post subject: |
|
|
Can't wait for the fix for this script. Good luck and thank you speechles. x3 |
|
| Back to top |
|
 |
tommytom Voice
Joined: 09 Sep 2011 Posts: 16
|
Posted: Tue Aug 14, 2012 6:02 pm Post subject: |
|
|
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 |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Wed Aug 15, 2012 3:11 pm Post subject: |
|
|
What are you on about? Dude, yawn, I already know all this. The problem is ENGLISH google.
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.
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 |
|
 |
norbert79 Voice

Joined: 06 May 2012 Posts: 4 Location: Hungary
|
Posted: Tue Sep 11, 2012 4:54 am Post subject: |
|
|
| 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 |
|
 |
shadrach Halfop
Joined: 14 Dec 2007 Posts: 74
|
Posted: Wed Nov 21, 2012 2:41 pm Post subject: |
|
|
| google search not working for me |
|
| Back to top |
|
 |
ActionA Voice
Joined: 21 Nov 2012 Posts: 1
|
Posted: Wed Nov 21, 2012 4:50 pm Post subject: |
|
|
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
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 |
|
 |
xREVx Voice
Joined: 25 Jul 2007 Posts: 15
|
Posted: Fri Nov 23, 2012 1:51 pm Post subject: |
|
|
wtf.. its telling me "derp." for google searches
ok srsly now, it's giving me a HUGE url on google results :p
|
|
| Back to top |
|
 |
senate Voice
Joined: 25 Nov 2012 Posts: 1
|
Posted: Sun Nov 25, 2012 11:33 am Post subject: |
|
|
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 |
|
 |
TeknoJuce Voice
Joined: 26 Nov 2012 Posts: 4
|
Posted: Mon Nov 26, 2012 3:08 am Post subject: |
|
|
<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>
<ekiMmI> haha
<ekiMmI> fail
<ekiMmI> rename it
<ekiMmI> failbot
<ekiMmI> =P
<TeknoJuce>
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 |
|
 |
norbert79 Voice

Joined: 06 May 2012 Posts: 4 Location: Hungary
|
Posted: Mon Nov 26, 2012 9:37 am Post subject: |
|
|
| xREVx wrote: | wtf.. its telling me "derp." for google searches
ok srsly now, it's giving me a HUGE url on google results :p
|
And I still get "derp.". Anyone taking a closer look at the problem already? |
|
| Back to top |
|
 |
TeknoJuce Voice
Joined: 26 Nov 2012 Posts: 4
|
Posted: Tue Nov 27, 2012 12:55 am Post subject: |
|
|
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 |
|
 |
norbert79 Voice

Joined: 06 May 2012 Posts: 4 Location: Hungary
|
Posted: Tue Nov 27, 2012 9:19 am Post subject: |
|
|
| 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' Thank you! |
|
| Back to top |
|
 |
rogerw Voice
Joined: 30 Nov 2012 Posts: 3
|
Posted: Fri Nov 30, 2012 12:56 am Post subject: Links end up with &rct=j |
|
|
As is apparent each of the links end with 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 |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Fri Nov 30, 2012 11:20 pm Post subject: |
|
|
| 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' 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 )  _________________ speechles' eggdrop tcl archive |
|
| Back to top |
|
 |
darkunderdog Voice
Joined: 01 Dec 2012 Posts: 2
|
Posted: Sat Dec 01, 2012 4:32 pm Post subject: |
|
|
| any idea why this isn't working in channel and only private message with using the default script with no edits? |
|
| Back to top |
|
 |
|
|
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
|
|