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 ... 22, 23, 24 ... 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
guest
Halfop


Joined: 19 Jan 2004
Posts: 52

PostPosted: Sat Sep 06, 2008 1:26 pm    Post subject: Reply with quote

Hi on the review could we split the stats stuff up more

so we could pick what we want to be displayed

as like set each thing so we could pick what stuff we want to display

say like

<user> !review mgs
<bot> Metal Gear Solid 4: Guns of the Patriots for PS3 (us10 them9.3 you9.5)
Release: Jun 12, 2008
ESRB: Mature
Metal Gear Solid 4 is an awe-inspiring synthesis of dramatic storytelling and entertaining gameplay. » @
<bot> http://www.gamespot.com/ps3/adventure/metalgearsolid4/index.html

I know we have the option to take the video part out

but would be nice to be able to have it where we could have the option to take the other stuff out or keep that other stuff there

Thanks
Back to top
View user's profile Send private message
Joori
Voice


Joined: 24 Mar 2006
Posts: 34
Location: Sydney

PostPosted: Wed Sep 10, 2008 12:56 pm    Post subject: Reply with quote

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. Embarassed

Code:
[02:35] Tcl error [incith::google::public_message]: can't read "incithcharset": no such variable


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. Sad
_________________
No Haters, No Spies, Just the love 'tween my thighs!
Back to top
View user's profile Send private message Visit poster's website
speechles
Revered One


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

PostPosted: Wed Sep 10, 2008 7:59 pm    Post subject: Reply with quote

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. Embarassed

Code:
[02:35] Tcl error [incith::google::public_message]: can't read "incithcharset": no such variable


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. Sad

That was because I incorrectly assumed global variables could be attained using commas.
Code:
    global incithcharset, incithcookie

That causes the error, I've since corrected it by seperating the two into individual global lines.
Code:
    global incithcharset
    global incithcookie

Regetting the script will solve it. Also corrects the problem with !google whois lookups. As well added some parser fixes to !ign so it can return relevant results when redirected as well as direct results with no redirects. No version increment done, only the date within the config is changed. Hopefully it doesn't cause confusion.
Quote:
<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

_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
Joori
Voice


Joined: 24 Mar 2006
Posts: 34
Location: Sydney

PostPosted: Thu Sep 11, 2008 1:47 am    Post subject: Reply with quote

w00t! That seems to have done the trick. Cheers for the fix mate, a bit of copy + paste to get my prepends back to normal and a couple other settings changed and she's all sweet Cool

Now i dont have my chan users hassling me that it's broken anymore lol

Thanks again speechless, props to your work Wink
_________________
No Haters, No Spies, Just the love 'tween my thighs!
Back to top
View user's profile Send private message Visit poster's website
shadrach
Halfop


Joined: 14 Dec 2007
Posts: 74

PostPosted: Thu Sep 11, 2008 5:46 pm    Post subject: Reply with quote

Is youtube working? and review come to that? Everything else seems fine.
Back to top
View user's profile Send private message MSN Messenger
speechles
Revered One


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

PostPosted: Thu Sep 11, 2008 7:56 pm    Post subject: Reply with quote

shadrach wrote:
Is youtube working? and review come to that? Everything else seems fine.

Quote:
*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/toejamearl/index.html
*in debug*
<sp33chy> url (200): http://www.gamespot.com/pages/search/search_ajax.php?q=toe%20jam%20and%20earl&type=game&offset=0&tags_only=false&sort=rank charset: iso8859-1 encode_string: :: cookie:
<sp33chy> url (200): http://www.gamespot.com/genesis/action/toejamearl/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

It all works just fine for me. Is it a problem for anyone else?
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
Joori
Voice


Joined: 24 Mar 2006
Posts: 34
Location: Sydney

PostPosted: Fri Sep 12, 2008 2:31 am    Post subject: Reply with quote

speechles wrote:
It all works just fine for me. Is it a problem for anyone else?


Now that you mention it.
Code:
 <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

But when browsing to that url, it contradicts the bots output as the game and console searched are there. Youtube works for me and infact, always has so thats not a problem. lyricwiki.org seems to suffer long access times which forces the bot to output a connection timed out error.
Code:
 <Joori> !lw 2 pac hit em up
<@Idler> [Ebay] Connection has timed out
Browsing those lyrics normally, and any other lyric, eventually shows up. It just takes a long time to access the webpage when im using FF or IE. Ignore the Ebay prepend. For some reason, it likes to prepend Ebay to some of the triggers which don't have a prepend associated to them. Laughing

Stay tuned tho, i havn't fiddled with all of the triggers so i'm bound to find more that dont work for me.
_________________
No Haters, No Spies, Just the love 'tween my thighs!
Back to top
View user's profile Send private message Visit poster's website
shadrach
Halfop


Joined: 14 Dec 2007
Posts: 74

PostPosted: Fri Sep 12, 2008 8:56 am    Post subject: Reply with quote

Youtube has started to work again. !review = Sorry, no search results were found.
Back to top
View user's profile Send private message MSN Messenger
testebr
Halfop


Joined: 01 Dec 2005
Posts: 86

PostPosted: Fri Sep 12, 2008 5:04 pm    Post subject: Reply with quote

Review working fine here...

[18:02:45] <me> !review max payne
[18:02:53] <Bot> Max Payne for PC (us9.2 them8.9 you9.2) « Gathering Remedy Ent. Modern Shooter Release: Jul 23, 2001 ESRB: Mature » « Rank: 534 of 51,600 (up by Cool PC Rank: 187 of 10,370 » « Number of Players: 1 Player » « It's an outstanding and original action game that's not just different from all other shooters to date, but also in many ways superior. » @ http://www.gamespot.com/pc/action/maxpayne/index.html
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: Sat Sep 13, 2008 6:55 pm    Post subject: Reply with quote

Quote:
<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

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.
Code:
    # 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"

This means you no longer need to know what language others speak in. If you can't understand it, a simple !trans <that text> will clarify it quickly. Smile (some languages google cannot translate yet, the bot will inform you when this occurs).

Also added the ability for !locate to use the chanhost of nicknames. Which now makes !locate <url/mask> or !locate <nick> both available to you. The <nick> MUST be in the channel the !locate command is issued in for this to work properly. Also corrected was that ebay prepend on your custom wiki triggers. Also corrected were a few queries which caused the script to return no replies. I forget exactly what they were, but they were needed.

Anyways, to get the new script CLICK HERE or use the link on the first page of this thread. And as always, please report any problems you encounter and have a fun ;D

NOTE: !ebay template has changed, and at the moment while you still get results some auctions may be missing some variables. Most notably, the bid amounts, time left and some other things. This will be addressed soon.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
moff
Voice


Joined: 24 Jul 2008
Posts: 27

PostPosted: Sat Sep 13, 2008 8:00 pm    Post subject: Reply with quote

the locate feature seems not to work properly, i always get this location of the users... osaka, japan

Code:
[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]
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: Sat Sep 13, 2008 8:07 pm    Post subject: Reply with quote

moff wrote:
the locate feature seems not to work properly, i always get this location of the users... osaka, japan

Code:
[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.

But since the script is running and has access to the ircd euirc runs. It might be possible to get the chanhost of nick. And then issue a dns request upon said host if it appears non-numeric (xxx.xxx.xxx.xxx). But this might simply say the location of wherever those virtual hosts run by euirc are located, and not where the user using that virtual host actually is.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
Dan0
Voice


Joined: 15 Sep 2008
Posts: 3

PostPosted: Mon Sep 15, 2008 10:28 pm    Post subject: Reply with quote

Hi I'm trying to run this script and it's a great script, but one thing... all the commands work fine except the !google command, I type it and nothing shows up. I set the .chanset and everything else comes up fine. Just not the !google, any suggestions?

I'm running on FreeBSD shell with eggdrop 1.6.18.

Thanx
-Dan0
Back to top
View user's profile Send private message
testebr
Halfop


Joined: 01 Dec 2005
Posts: 86

PostPosted: Tue Sep 16, 2008 3:35 pm    Post subject: Reply with quote

Working fine here:

[16:35:06] <me> !google speechles
[16:35:09] <Bot> 26,000 Results | Did you mean: speechless | MySpace.com - SPEECHLES .. - 18 - Fema @ http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendid=3504102 | YouTube - Brooke and Deacon- Speechles @ http://www.youtube.com/watch?v=D3TemyyK7I8 | speechles search results @ http://www.torrentreactor.net/find/speechles
Back to top
View user's profile Send private message
Dan0
Voice


Joined: 15 Sep 2008
Posts: 3

PostPosted: Sat Sep 20, 2008 1:32 pm    Post subject: Reply with quote

whatever script I try, it just dosen't work....is there a possibility of my shell being the problem?

EVERY google script (offical & unoffical and I even tried previous versions) dosen't work but the other commands within that script ALL work....I just don't get it.

I have Tcl 8.4 installed, not sure how/if I have to run that or add something to a script somewhere....

*sigh* I've been at this two weeks already Smile


12:56.52 Dan0: !google test
12:56.58 @GLaDOS: Sorry, no search results were found.
12:57.00 Dan0: !news test
12:57.02 @GLaDOS: DNA test exonerates Dallas man convict @ http://www.chron.com/disp/story.mpl/ap/tx/6011241.html | NASCAR set to institute random drug tes @ http://msn.foxsports.com/nascar/story/8585070/NASCAR-set-to-institute-random-drug-testing | Goodyear to test tires at Indy twice i @ http://ap.google.com/article/ALeqM5jLgoBJ_Tyy5ItDapiTMKV-YNZW2wD93A007G0
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 ... 22, 23, 24 ... 56, 57, 58  Next
Page 23 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