Code: Select all
[02:35] Tcl error [incith::google::public_message]: can't read "incithcharset": no such variable
That was because I incorrectly assumed global variables could be attained using commas.Joori wrote:Awesome script i must say! been working like a treat (with the odd hiccup here and there) since i started using it a couple weeks back. Tonight tho, i got a rather strange error whilst trying to !google which i can't seem to pinpoint.
Fatigue is proving my demise in troubleshooting this error. As you can see it's 2:30am! I've tried rehashing, restarting the bot but all to no avail. Any assistance would be greatly appreciated... tho, sometimes, this error pops up unexpectedly but dissapears again after a while. I've only ever noticed it pop up once before when i first loaded the script but it seemed to correct itself somehow... I'm hopeing it goes away again.Code: Select all
[02:35] Tcl error [incith::google::public_message]: can't read "incithcharset": no such variable
Code: Select all
global incithcharset, incithcookie
Code: Select all
global incithcharset
global incithcookie
<speechles> !ign xbox 360
<sp33chy> 1164 results | Inis Xbox 360 Project [untitled] (Xbox 360 Game by iNiS) @ http://xbox360.ign.com/objects/769/769189.html | Wingnut Interactive Xbox 360 Game [untitled] (Xbox 360 Game by Microsmiths) @ http://xbox360.ign.com/objects/857/857475.html | Rockstar Xbox 360 Project #1 [untitled] (Xbox 360 Game by Rockstar Games) @ http://xbox360.ign.com/objects/792/792361.html
<speechles> !ign xbox 360 klingons
<sp33chy> Your search yielded no product results. The following articles may be relevant to your search. | Bethesda Dates Trek Fleet Deployment (PC GamesStory) @ http://pc.ign.com/articles/736/736736p1.html | Bethesda Dates Trek Fleet Deployment (PlayStation 2Story) @ http://ps2.ign.com/articles/736/736738p1.html | Bethesda Dates Trek Fleet Deployment (Xbox 360Story) @
<sp33chy> http://xbox360.ign.com/articles/736/736737p1.html
shadrach wrote:Is youtube working? and review come to that? Everything else seems fine.
It all works just fine for me. Is it a problem for anyone else?*in channel*
<speechles> !r toe jam and earl @ gen
<sp33chy> ToeJam & Earl for GEN (us? them9.3 you8.9) « Sega ToeJam & Earl Prod Action Release: Mar 12, 1992 » « » « Rank: 13,579 of 51,600 (down by 1,002) GEN Rank: 42 of 888 » « Number of Players: 1-2 | Offline Modes: Cooperative » @ http://www.gamespot.com/genesis/action/ ... index.html
*in debug*
<sp33chy> url (200): http://www.gamespot.com/pages/search/se ... &sort=rank charset: iso8859-1 encode_string: :: cookie:
<sp33chy> url (200): http://www.gamespot.com/genesis/action/ ... index.html
*in channel*
<speechles> !yt hello
<sp33chy> 242,000 video results | Lionel Richie - Hello (05:27) @ http://youtube.com/watch?v=PDZcqBgCS74&fmt=18 | Evanescence - Hello (03:36) @ http://youtube.com/watch?v=Ih61MJ72v1Y&fmt=18 | David Cook- Hello (03:51) @ http://youtube.com/watch?v=mxVzkZLzoLU&fmt=18 | Evanescense-hello (03:39) @ http://youtube.com/watch?v=fmgf9h8RcGo&fmt=18 | Hello Kitty (03:01) @
<sp33chy> http://youtube.com/watch?v=yPEl2RV2CxE&fmt=18
*in debug*
<sp33chy> url (200): http://www.youtube.com/results?search_query=hello charset: utf-8 encode_string: iso8859-1 :: cookie: use_hitbox=72c46ff6cbcdb7c5585c36411b6b334edAEAAAAw; path=/; domain=.youtube.com; VISITOR_INFO1_LIVE=l0-Q7AJvD-E; path=/; domain=.youtube.com; expires=Sun, 09-Sep-2018 23:52:57 GMT; PREF=gl=US&hl=en; path=/; domain=.youtube.com; expires=Sun, 09-Sep-2018 23:52:57 GMT; GEO=e4a3fc9d05f68fa5256a0f7ebd583720cwwA
Now that you mention it.speechles wrote:It all works just fine for me. Is it a problem for anyone else?
Code: Select all
<Joori> !r toe jam and earl @ gen
<@Idler> [Reviews] Sorry, game does not appear for that console when searching first page results. See for yourself @ http://www.gamespot.com/pages/search/index.php?qs=toe%20jam%20and%20earl#game
Code: Select all
<Joori> !lw 2 pac hit em up
<@Idler> [Ebay] Connection has timed out
There are now new behaviors for translation to simplify user input dramatically. Since google can now automatically figure out '75% of the time' the correct language, the source language is now assumed 'auto' if omitted. There is a new variable as well, (shown below) which will handle the default destination language if that is omitted as well. This makes translations much more robust and easier for everyone I think.<speechles> !tr en@es my robot is rusty and broken :(
<sp33chy> Google says: (en->es) Translation: English » Spanish >> mi robot es oxidado y roto: (
<speechles> !tr mi robot es oxidado y roto: (
<sp33chy> Google says: (auto->en) Translation: Spanish (automatically detected) » English >> my robot is rusted and broken: (
<speechles> !tr es@ mi robot es oxidado y roto
<sp33chy> Google says: (es->en) Translation: Spanish » English >> my robot is rusted and broken
<speechles> !tr @nl mi robot es oxidado y roto
<sp33chy> Google says: (auto->nl) Translation: Spanish (automatically detected) » Dutch >> Mijn robot is rusted en gebroken
Code: Select all
# set your default translation language here, this is what will be assumed
# if the user omits the 'translate to' portion of their input.
# en, es, it, nl, de, etc.. these are merely some examples, there are more available.
# ------
variable trans "en"
Code: Select all
[01:59:00] <«Moff»> !locate Zeeded
[01:59:02] <«Moff»> ^^
[01:59:02] <«HAL-9000>» GeoBytes Location: (euirc-7b6ff9bf.hsd1.ca.comcast.net) @ Osaka, Osaka, Japan (93%) [GMT:+09:00|Proxy:false|Yen|JPY]
That is because those aren't really, um, hostmasks. That is a +x mode virtual host. It proves !locate <nick> works, it got the host. The problem is that virtual host created by euirc doesn't resolve of course to the host of the user. When a location of "Osaka, Osaka, Japan" is given by geobytes it usually indicates it couldn't resolve the mask back to an IP, and the result is erroneous information displayed. This is exactly how geobytes website works, it's not a direct problem of the script.moff wrote:the locate feature seems not to work properly, i always get this location of the users... osaka, japan
Code: Select all
[01:59:00] <«Moff»> !locate Zeeded [01:59:02] <«Moff»> ^^ [01:59:02] <«HAL-9000>» GeoBytes Location: (euirc-7b6ff9bf.hsd1.ca.comcast.net) @ Osaka, Osaka, Japan (93%) [GMT:+09:00|Proxy:false|Yen|JPY]