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 ... 42, 43, 44 ... 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
tigrato
Voice


Joined: 04 Jul 2009
Posts: 22

PostPosted: Tue Sep 21, 2010 1:58 pm    Post subject: Reply with quote

someone have the fix to the youtube script?
Back to top
View user's profile Send private message
Trixar_za
Op


Joined: 18 Nov 2009
Posts: 143
Location: South Africa

PostPosted: Tue Sep 21, 2010 7:36 pm    Post subject: Reply with quote

I'll try fixing it when my connection comes back - at the moment I'm stuck using my slow mobile phone Sad
_________________
http://www.trixarian.net/Projects
Back to top
View user's profile Send private message Visit poster's website
goalie
Voice


Joined: 27 Sep 2010
Posts: 1

PostPosted: Mon Sep 27, 2010 9:16 am    Post subject: Reply with quote

<goalie> !trends .ca 2010-01-01
<genner> 1 happy new year 2010!; 2 tebow cam; 3 dennis haysbert; 4 ephesians 2 8 10; 5 bobby orr; 6 lady antebellum; 7
hgtv dream home; 8 capital one bowl location; 9 what is a buckeye; 10 terrelle pryor; 11 marco sturm; 12
bobby clarke; 13 tournament of roses parade 2010; 14 justin bieber and selena gomez; 15 rose bowl parade; 16
beardtard; 17 hgtv.com/dream home; 18 daryll
<genner> clark; 19 i sing the body electric; 20 phone fake
Back to top
View user's profile Send private message
chasba
Voice


Joined: 10 Jan 2008
Posts: 6

PostPosted: Fri Oct 01, 2010 6:10 pm    Post subject: Reply with quote

00:09:17 <@chasba> !g 300 sek in nok
00:09:20 <@bot> 300 SEK in NOK Exchange Rates - Swedish Krona Norwegian Krone ... @ http://sek.exchangerates24.com/nok/?q=300 | 300 SEK to NOK exchange rate, currency converter from Sweden Krona ... @ http://www.flightpedia.org/exchange-rate-300-sek-nok.html | 300 NOK to SEK exchange rate, currency converter from Norway Krone ... @ http://www.flightpedia.org/exchange-rate-300-nok-sek.html

Not working anymore it seems. Sad
Back to top
View user's profile Send private message Visit poster's website
xREVx
Voice


Joined: 25 Jul 2007
Posts: 15

PostPosted: Sat Oct 02, 2010 7:27 pm    Post subject: Reply with quote

yep, math isn't working either Sad

"!g 1 + 1" returns nothing
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 Oct 02, 2010 7:42 pm    Post subject: Reply with quote

Rest assured, a new version is close the horizon. It's just that as a I fix and tidy up changes something new up and breaks. The "QUICK" fix to make calculations/conversions work again is:
Code:
        # calculator
        } elseif {[string match "*<img src=/images/calc_img*" $html] == 1} {
          set calc 1
          # remove bold codes from the html, not necessary here.
          regexp -nocase -- {calc_img.*?<h2 class=.*?>(.+?)</h2>} $html - desc
          regsub -all -- {<(.+?)>} $desc "" desc
          if {$::incith::google::short_answers > 0 } { return "$::incith::google::desc_modes[descdecode $desc]" }
          set link ""
change the above to look like it is below:
Code:
        # calculator
        } elseif {[string match "*<img src=/images/calc_img*" $html] || [string match "*<img src=\"/images/icons/onebox/calculator*" $html]} {
          set calc 1
          # remove bold codes from the html, not necessary here.
          regexp -nocase -- {/calc.*?<h2 class=.*?>(.+?)</h2>} $html - desc
          regsub -all -- {<(.+?)>} $desc "" desc
          if {$::incith::google::short_answers > 0 } { return "$::incith::google::desc_modes[descdecode $desc]" }
          set link ""


I still need to fix !book and !ebay (the rest I've already fixed) before I will make an official "release" update. But...very very shortly I'll have everything back up to speed again working as normal.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
xREVx
Voice


Joined: 25 Jul 2007
Posts: 15

PostPosted: Tue Oct 05, 2010 6:44 pm    Post subject: Reply with quote

that worked great speechles, thank you!

i'm looking forward to the official release Smile
Back to top
View user's profile Send private message
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Thu Oct 21, 2010 11:21 am    Post subject: Reply with quote

*pokes* speechles Rolling Eyes
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
MePH
Voice


Joined: 12 Apr 2010
Posts: 5

PostPosted: Sat Oct 30, 2010 12:15 pm    Post subject: Reply with quote

I hope he returns Crying or Very sad
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 Oct 30, 2010 12:29 pm    Post subject: Reply with quote

LMFAO!!!

Returns? I've never left. There is indeed plans to fix this script, and yes it is still being maintained. It's just that I'm also trying to evolve a couple other scripts of mine (twitter, etc). But expect this weekend I shall give you at least something to chew on. It may not fix "ALL" the issues, but will at least evolve the script in a direction where it's clear issues are being addressed. In the meantime, rest assured I am here. Even if not present in this thread. I am active in other sections of this forum as well. Wink
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
anotheruser
Voice


Joined: 14 Sep 2005
Posts: 8

PostPosted: Sat Oct 30, 2010 2:20 pm    Post subject: Reply with quote

!youtube doesn't seem to work. i just get nothing. Is that the same for all?

Debug says redirect 301 and redirect 200
Back to top
View user's profile Send private message
MePH
Voice


Joined: 12 Apr 2010
Posts: 5

PostPosted: Wed Nov 03, 2010 6:44 pm    Post subject: Reply with quote

hehe

I kinda meant "return" as in give us a status update in this thread Smile
I guess you've got a lot of work ahead of ya.
Nevertheless... good to hear you got an update planned speechless.

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


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Thu Nov 11, 2010 11:51 am    Post subject: Reply with quote

after patching my bot with utf support, the script's bolding stopped working.

Thoughts?

*EDIT*

I used this: http://eggwiki.org/Utf-8 and it works great. after this though, bolding stopped working on google script.

And here are my settings:

Code:
    # Google translation input/output encodings
    # set these below to either:
    # 0 for automatic encoding
    # 1 for utf-8
    # You may use switches to inverse this behavior on-the-fly. Set them
    # below as well.
    # ------
    variable trans_input 1
    variable trans_output 0
    variable trans_input_t "--swapi"
    variable trans_output_t "--swapo"

    # enable encoding conversion, set this to 1 to enable.
    # with this enabled it will follow the format of encoding conversions listed
    # below. these will affect both input and output and will follow country switch.
    # ------
    variable encoding_conversion_input 1
    variable encoding_conversion_output 1

    # enable dirty decoding? This attempts to use the regular "dirty" method
    # of rendering html elements which works well with iso8859-1 and other
    # latin variants. This does not work well at all with russian, japanese,
    # and any other non-latin variants. So keep this at 0 if you want a truly
    # multi-language bot, but keep in mind you may see unrendered &x12345; html
    # elements. This is because I don't know of a method to transcode these
    # to proper utf-8 characters yet.. :P
    # ------
    # NOTE: If you bot is properly utf-8 patched, setting this to 1 is recommened.
    # ------
    variable dirty_decode 1

    # enable gzip compression for bandwidth savings? Keep in mind
    # this semi-breaks some of the present utf-8 work-arounds and
    # eggdrop may mangle encodings when gzip compression that it
    # doesn't when uncompressed html it used (default). A setting
    # of 0 defaults to uncompressed html, a 1 or higher gzip.
    # ------
    # NOTE: If you do not have Trf or zlib packages setting this
    # to 0 is recommened. Leaving it at 1 is fine as well, as the
    # script will attempt to find these commands or packages every
    # rehash or restart. But to keep gzip from ever being used it
    # is best to set the below variable to 0.
    # NOTE2: If you have Trf or zlib packages present, then this
    # should always be set to 1. You save enormous bandwidth and
    # time using this. If your bot is patched and you have Trf/zlib
    # then you should definitely leave this at 1 and you will never
    # suffer issues.
    # ------
    variable use_gzip 1

    # THIS IS TO BE USED TO DEVELOP A BETTER LIST FOR USE BELOW.
    # To work-around certain encodings, it is now necessary to allow
    # the public a way to trouble shoot some parts of the script on
    # their own. To use these features involves the two settings below.
    # -- DEBUG INFORMATION GOES BELOW --
    # set debug and administrator here
    # this is used for debugging purposes
    # ------
    variable debug 0
    variable debugnick spithash

    # AUTOMAGIC
    # with this set to 1, the bottom encode_strings setting will become
    # irrelevant. This will make the script follow the charset encoding
    # the site is telling the bot it is.
    # This DOES NOT affect wiki(media/pedia), it will not encode automatic.
    # Wiki(media/pedia) still requires using the encode_strings section below.
    # ------
    # NOTE: If your bot is utf-8 pathced, leave this option at 1, the only
    # time to change this to 0 is if your having rendering problems.
    # ------
    variable automagic 1

    # UTF-8 Work-Around (for eggdrop, this helps automagic)
    # If you use automagic above, you may find that any utf-8 charsets are
    # being mangled. To keep the ability to use automagic, yet when utf-8
    # is the charset defined by automagic, this will make the script instead
    # follow the settings for that country in the encode_strings section below.
    # ------
    # NOTE: If you bot is utf-8 patched, set this to 0. Everyone else, use 1.
    # ------
    variable utf8workaround 0

_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
madpinger
Voice


Joined: 03 Oct 2010
Posts: 12

PostPosted: Fri Nov 12, 2010 4:43 am    Post subject: Reply with quote

spithash wrote:
after patching my bot with utf support, the script's bolding stopped working.

Thoughts?

*EDIT*

I used this: http://eggwiki.org/Utf-8 and it works great. after this though, bolding stopped working on google script.

And here are my settings:


My experience with UTF-8 compiled bots is you need to comment out
Code:
if {![string equal $incithcharset [encoding system]]} { set text [encoding convertto $incithcharset $text] }

in the descdecode proc

At least that's what fixed it for me, iirc
Back to top
View user's profile Send private message
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Fri Nov 12, 2010 4:50 am    Post subject: Reply with quote

hmm... that didn't work :/
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
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 ... 42, 43, 44 ... 56, 57, 58  Next
Page 43 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