Back Reply to topic
Goto page Previous  1, 2, 3, 4
Mika 
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 10:09 Sun - Dec 14, 2008

Great runned it like 5h now, no single quit or whatsoever. Now it works strichauge))


Question is hard to get bot understand scandi in those messages what is going between irc and guildchat?
"22:28 +Falavir • ja treasuret on saanu lisää sisältöä"

all these äöå ar showned like that way in guildchat and irc
Reply with quote


Chaly 
(started thread)
Offizier · Webmaster 
Topics: 404
Posts: 2107
Location: Bad Honnef
Playing:  Guildwars2 (Drakkar See)
Ingame:  Chaly Flavour
Years registered: * * * * * * * * * * * * * * * * * * * * * *
Posted: Post 01:12 Mon - Dec 15, 2008

nice to hear that. there's a 0 missing in the new irc.php, but i'll correct that after we've found the problem with the special vowels:
in plugins/loop/irc/channel.php, replace line79 with:
utf8_decode($message)

the core of ragebot has a function called german_vowels_out in inc/bot_queue.php, lines 81-83.
the function handles these special chars that should hopefully work after you've changed the channel.php as described above: ä, ö, ü, Ä, Ö, Ü, ß.

if those characters work, you may want to edit line 82 in bot_queue.php, replace with:

strtr(utf8_encode($txt),array("ä" => "ä__","ö" => "ö___","ü" => "ü___","Ä" => "Ä_","Ö" => "Ö_","Ü" => "Ü_","ß" => "ß_","å"=>"å_"))

and test if å works..
Reply with quote



_________________

Chalys Gimpnesstheory (2003) Die Theorie der expotentiellen Bullshits den Gimps bei gleichbleibendem Anteil produzieren.
Mika 
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 05:57 Mon - Dec 15, 2008

okei bot is running great strichauge

From guid chat to irc "noniin jokos me saatiin ääkköset toimimaan botissä äöå" and it should be "joko saatiin ääkköset toimimaan botissa äöå"

and from irc to guild chat "ei toimi ?kk?set viel? ?" and it should be "ei toimi ääkköset vielä äöå"

pretty wird xD
Reply with quote


Chaly 
(started thread)
Offizier · Webmaster 
Topics: 404
Posts: 2107
Location: Bad Honnef
Playing:  Guildwars2 (Drakkar See)
Ingame:  Chaly Flavour
Years registered: * * * * * * * * * * * * * * * * * * * * * *
Posted: Post 07:41 Mon - Dec 15, 2008

i've changed the utf8 handling for both: irc>aoc and aoc>irc
if it doesn't work just extract the RageIRC.0.8.2-5.zip again


RageIRC.0.8.2-6a.zip
 Description:

Download
 Filename:  RageIRC.0.8.2-6a.zip
 Filesize:  43.58 KB
 Downloaded:  998 Time(s)

Reply with quote



_________________

Chalys Gimpnesstheory (2003) Die Theorie der expotentiellen Bullshits den Gimps bei gleichbleibendem Anteil produzieren.
Mika 
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 01:57 Mon - Dec 15, 2008

[14:55] [Guild] [Phaestyriade]: ääkkösiä oomme kaikki
[14:55] [Guild] [Pohjola]: Mika: kiva ett䟟 olemme 䟟䟟kksi䟟


14:55 @Pohjola • Phaestyriade: ääkkösiä oomme kaikki
14:55 @Mika • kiva että olemme ääkkösiä



^^ so it didint help
Reply with quote


Chaly 
(started thread)
Offizier · Webmaster 
Topics: 404
Posts: 2107
Location: Bad Honnef
Playing:  Guildwars2 (Drakkar See)
Ingame:  Chaly Flavour
Years registered: * * * * * * * * * * * * * * * * * * * * * *
Posted: Post 03:03 Tue - Dec 16, 2008

i think we should try iconv("ISO-8859-15", "UTF-8", $message),.. i'll try this one at the next opportunity -.-
if you have the time: in the r6 above there is a file plugins/loop/irc/channel.php

replace line 85 with the iconv (don't forget the ,)
Reply with quote



_________________

Chalys Gimpnesstheory (2003) Die Theorie der expotentiellen Bullshits den Gimps bei gleichbleibendem Anteil produzieren.
Mika 
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 09:06 Tue - Dec 16, 2008

Of corse i got time if u got time for me strichauge , il try it tomorrow Reply with quote


Mika 
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 12:03 Wed - Dec 17, 2008

Now those letters works from irc to guildchat but no from guildchät to irc strichauge))) atleast there was something good Reply with quote


Chaly 
(started thread)
Offizier · Webmaster 
Topics: 404
Posts: 2107
Location: Bad Honnef
Playing:  Guildwars2 (Drakkar See)
Ingame:  Chaly Flavour
Years registered: * * * * * * * * * * * * * * * * * * * * * *
Posted: Post 05:04 Wed - Dec 17, 2008

great. aoc>irc is in plugins/guild/irc/index.php
replace line 17 with
$IRC->message(SMARTIRC_TYPE_CHANNEL, $channel, chr(3).$PluginConfig["irc"]["IRCnickcolor"].$sender.': '.chr(15).iconv("UTF-8", "ISO-8859-15", $message));
i hope that works.. $IRC->message doesn't encode anything, but i'm not sure if we have to convert the aoc - string first
Reply with quote



_________________

Chalys Gimpnesstheory (2003) Die Theorie der expotentiellen Bullshits den Gimps bei gleichbleibendem Anteil produzieren.
Mika 
Champion Chicken 
Topics: 6
Posts: 67
Location: Finland
Playing:  AOC
Ingame:  Phaestyriade
Years registered: * * * * * * * * * * * * * * * * *
Posted: Post 11:25 Wed - Dec 17, 2008

Working both way, Great work from you strichauge thx applaus Reply with quote


ergo 
Blue-Ribbon Chicken 
Topics: 0
Posts: 6
Playing:  aoc
Ingame:  keloran
Years registered: * * * * * * * * * * * * * * * *
Posted: Post 08:45 Wed - Jul 15, 2009

Hiho....can't get this to work with the new version....
Code:
[09:29:31] Connect
[09:29:31] Authenticate
[09:29:34] Login char
[09:29:40] BuddySeen :: Loading history

Fatal error: Call to a member function message() on a non-object in C:\php5\aocbot\plugins\buddy\irc\index.php on line 36


everything else works fine.....
btw in the irc-config.php theres an array for 2 channels...can i get rid off the array and add just 1 channel?
P.S: my config:
Code:
$PluginConfig["irc"]["server"]     = "irc.quakenet.org";
$PluginConfig["irc"]["port"]       = 6667;
$PluginConfig["irc"]["channel"]    = array("#rising.phoenix","#bottestchannel_1");


EDIT: nevermind.....got it working now...only problem is, can't get it 2 work with pjirc 2.1.1 on our guildpage.....my opera client works fine....but in pjirc people in my guild can read what i write...but i cant read.....there appears nothing
Reply with quote


Goto page Previous  1, 2, 3, 4
Back Reply to topic