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 

incith:google :)
Goto page Previous  1, 2, 3 ... 8, 9, 10 ... 17, 18, 19  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Fri May 05, 2006 4:50 am    Post subject: Reply with quote

Hi all, just a bugfix release for incith-google - bumps it to version 1.8.2.

From the changelog:
- added tied result check to google fight
- fixed groups parsing that broke
- fixed local parsing that broke
- fixed "answer" matches parsing that broke
- fixed a chance of a "define:" + a "Did you mean:" not returning a result as expected

Available here:
http://www.woota.net/~madwoota/incith-google-current.tar.gz

Regards,
-madwoota
Back to top
View user's profile Send private message
CrimsonDawn
Voice


Joined: 18 Jul 2004
Posts: 8
Location: New York

PostPosted: Mon May 08, 2006 5:20 pm    Post subject: Reply with quote

Hey madwoota. Thanks for updating the script. Unfortunately, whenever I do a standard google search (using !google Microsoft for example), the eggdrop reports an error (in the party line) and doesn't return the search. All other features work (images, videos, definitions and spelling, etc), just not normal google searches.

The error is as follows:
Code:
(RoninBot) [17:15] Tcl error [incith::google::public_message]: can't unset "did_you_mean": no such variable

Any ideas on what needs to be fixed up? Thanks in advance!
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Mon May 08, 2006 6:45 pm    Post subject: Reply with quote

Er, yeh, 2am coding sux Smile

Woops.

Fixed (reget it)
Back to top
View user's profile Send private message
CrimsonDawn
Voice


Joined: 18 Jul 2004
Posts: 8
Location: New York

PostPosted: Mon May 08, 2006 11:43 pm    Post subject: Reply with quote

Thanks again, madwoota! Wasn't sure if it was something on my end or not. Works great now. Very Happy
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Fri May 26, 2006 1:37 am    Post subject: Reply with quote

BUMP !

v1.8.3 is Here.

Only 1 significant change but it was certainly annoying:
Code:

- added function to strip all &#???; unicode from desc results
- simply replaces #256; to #99999; with a "?"


Try this: "!google define:goulag" and check the result in 1.8.2 vs 1.8.3.

Smile
Back to top
View user's profile Send private message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Wed Jun 28, 2006 3:05 pm    Post subject: Reply with quote

Hey madwoota is the horoscope still on version 2.0? I read somewhere it was over 2.0 but can't find it.

cache.
Back to top
View user's profile Send private message
madwoota
Halfop


Joined: 09 Aug 2005
Posts: 53

PostPosted: Thu Jun 29, 2006 5:57 am    Post subject: Reply with quote

cache wrote:
Hey madwoota is the horoscope still on version 2.0? I read somewhere it was over 2.0 but can't find it.


I think you're talking about some other script. Afaik, incith:google has never explicitly provided any horoscope details.

Unless Google themselves do somehow, then show me an example search and I'll add it.
Back to top
View user's profile Send private message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Thu Jun 29, 2006 11:42 am    Post subject: Reply with quote

madwoota wrote:
cache wrote:
Hey madwoota is the horoscope still on version 2.0? I read somewhere it was over 2.0 but can't find it.


I think you're talking about some other script. Afaik, incith:google has never explicitly provided any horoscope details.

Unless Google themselves do somehow, then show me an example search and I'll add it.


I believe I saw a post somewhere from incith that you took over incith:horoscope as well - its in tcl archive version 2.0 just wonder if there was any updates - works fine to me anyways.

cache
Back to top
View user's profile Send private message
cache
Master


Joined: 10 Jan 2006
Posts: 306
Location: Mass

PostPosted: Thu Jun 29, 2006 1:56 pm    Post subject: Reply with quote

Everytime my bot crashes, it creates a DEBUG file and has:

tclhash.c/684, [Tcl proc: incith::google::public_message, param: $_pubm1 $_pubm2 $_pubm3 $_pubm4 $_pubm5]

Listed in it..
Back to top
View user's profile Send private message
d4z3d1
Voice


Joined: 16 Aug 2006
Posts: 1

PostPosted: Wed Aug 16, 2006 1:06 pm    Post subject: Reply with quote

I have a question, is there a way to remove the description w/ the results?
I'd like to have 3 results but only the links... excluding the 'desc @' from the "desc @ link" result.
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 Aug 26, 2006 10:42 pm    Post subject: how i updated incith-google Reply with quote

I didn't realize this script was still being updated. Saw it in tcl library and for last few months I've been updating it myself. The core of it is incith-google version 1.8.

A bit outdated, yes, but some of my additions you may want to incorporate. here's a short changelog of what changes I remembered I made. I am by no means that good at coding tcl, it will be evident by some of my regexp/regsub approaches and some of the other dirty methods I used to correct minor flaws. Smile

Hope somebody finds some of this work useful. I find it useful in the channels I run at least.

Changelog:
1.9:
- updated various regexp's and regsub's in almost all procs to fix non functioning html parsing.
- added !localuk option to display United Kingdom.
- added !youtube for searching videos on youtube.
- added !atomfilms for searching videos on atomfilms.
- added !ifilm for searching videos on ifilm.
- added !gamespot for searching games, etc on gamespot.
- added !gamefaqs, it is able to parse multiple systems and regions, still a work in progress, all bugs have been squashed.

.1:
- added !blog for searching blogsearch.google.
- added !ebay for searching ebay auctions.
- added !ebayfight for amusement, same as googlefight.
- fixed various minor annoyances.
- finally fixed !book (aka print) to work with books.google.
- added !ign for searching ign's website for movies,games,etc.

.2:
- added support for total_search option to show total results or not.
- added support for link_only option (d4z3d1 requested).
- added back complete support for desc/link modes results will now get formatted properly.
(note: doesn't affect gamefaqs list or geobytes location replies)
- added !locate <ip/hostmask> for fetching location info from geobytes.

I also messed around with incith-weather and added some to it as well, although my additions to it aren't documented at all. :/ The core used for this is version 2.2.
here's the link to the weather tcl: http://kiczek.com/ereader/UNOFFICIAL-incith-weather.tcl

Hopefully someone will find these useful and incorporate the changes into the official tcl's. Apologies ahead of time for the messy code. Razz

edit:
back again so soon, tried my best to clean up and implement features the script had before I added to it. Everything should now be pretty much perfect (still may be unneccessary code here and there but nothing that would cause bugs), and as d4z3d1 suggested.. added two options to config section.

# set this to 0 to turn off total results appearing with searches.
variable total_results 1

# set this to 1 to remove descriptions and set only links to show
variable link_only 0

enjoy, ~speechless


Last edited by speechles on Fri Sep 22, 2006 3:03 pm; edited 3 times in total
Back to top
View user's profile Send private message
rix
Halfop


Joined: 21 Sep 2005
Posts: 42
Location: Estonia

PostPosted: Wed Sep 20, 2006 3:37 pm    Post subject: Reply with quote

Can user define the number of results displayed via command?
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: Thu Sep 21, 2006 1:27 am    Post subject: Reply with quote

Code:
    # number of search results/image links to return, 'define:' is always 1 as some defs are huge
    variable search_results 4
    variable image_results 4
    variable local_results 4
    variable group_results 3
    variable news_results 3
    variable print_results 2
    variable video_results 4
    variable youtube_results 5
    variable locate_results 1
    variable gamespot_results 3
    variable ifilm_results 5
    variable atom_results 5
    variable gamefaq_results 20
    variable blog_results 3
    variable ebay_results 3
    variable ign_results 3


While it is indeed possible to make these adaptable via partyline, it would seem these wouldn't change often enough to justify coding it for partyline use. It's more like a set-it-and-forget-it setting, so I never cared to add the ability for partyline settings of them... sorries Wink

edit: If by user, you meant person using the eggdrop issuing commands. That is also possible, but would require recoding every proc to pass an additional parameter.. as well as coding the input parser to watch for result switches.. it would require alot of changes i'm not prepared to make at this point, again, sorries.. Wink
Back to top
View user's profile Send private message
Hellster
Voice


Joined: 10 Aug 2006
Posts: 22

PostPosted: Fri Sep 22, 2006 11:15 am    Post subject: Reply with quote

Not sure if anyone else has had this , but when i load the script up on my eggdrop bot it just crashes Sad , running eggdrop v1.6.18
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Sep 22, 2006 11:19 am    Post subject: Reply with quote

Hellster wrote:
Not sure if anyone else has had this , but when i load the script up on my eggdrop bot it just crashes Sad , running eggdrop v1.6.18

Remove all custom scripts (except incith:google) and then add until you find the one causing the problem.

Logs sometimes contain more information, also the dump file (if created).
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
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 ... 8, 9, 10 ... 17, 18, 19  Next
Page 9 of 19

 
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