This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

ChanRelay 4.0 i18n

Support & discussion of released scripts, and announcements of new releases.
User avatar
CrazyCat
Revered One
Posts: 1236
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Weird, as the modification I made for the related issue is present in the actual version.
I'll made some tests tomorrow
User avatar
CrazyCat
Revered One
Posts: 1236
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

ComputerTech, can you use https://gitlab.com/tcl-scripts/chanrela ... ebug_topic and after the bug occured, send me the chanrelay.log file ?

Think to set debug to 1 in chanrelay
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

CrazyCat wrote:ComputerTech, can you use https://gitlab.com/tcl-scripts/chanrela ... ebug_topic and after the bug occured, send me the chanrelay.log file ?

Think to set debug to 1 in chanrelay
Awesome! will try it as soon as i can dude :D
ComputerTech
User avatar
ComputerTech
Master
Posts: 399
Joined: Sat Feb 22, 2020 10:29 am
Contact:

Post by ComputerTech »

CrazyCat, sorry for not testing it as soon as expected, been a little busy lately, i'll try my best to test for you tomorrow :)
ComputerTech
i
ircek
Voice
Posts: 3
Joined: Tue Dec 14, 2021 8:15 am

Post by ircek »

Hi. I just can't make it to work and almost tried everything.

Are there any requirements to the bots flags or modules that can make that the script doesn't work at all?

Got two bots linked together, "sender" and "reader", both with the same script loaded. Even that I want to relay only one way. I even set them on the same network to make sure the network is not an issue with two different channels "#chan1" and "#chan2"

Code: Select all

vbottree
sender (1.9.1.2)
  `--reader (1.9.1.2)
Average hops: 1.0, total bots: 2

Code: Select all

 variable regg
        set regg(sender) {
                "chan"      "#chan1"
                "network"   "Irc1"
                "highlight" 0
                "log"       "y"
                "oper"      "y"
                "syn_topic" "y"
                "col_act"   "lightred"
                "col_jpq"   "lightblue"
                "col_mode"  "green"
                "usermask"      "<%nick%@%network%>"
        }

        set regg(reader) {
                "chan"      "#chan2"
                "network"   "Irc2"
                "highlight" 0
                "oper"      "y"
        }
full config https://pastebin.com/aSE0XbVV

and for tests, transmission and reception are enabled. But still, nothing is relayed in either way.
What else I can do to make it work?

P.S. Some other issues that are not really important:
- Noticed also that crlog is not created even one of the bots got it enabled, however, both crconf exists.
- Still receiving "GREGORIAN_CHANGE_DATE" error.
- It is impossible to change any of the settings by /msg botnick.
<admin> rc.debug 1
-reader- Debug mode is actually setted to 0
User avatar
CrazyCat
Revered One
Posts: 1236
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Can you re-source the script from one eggdrop (.tcl source scripts/chanrelay.tcl) and copy here the messages and errors you get ?

Your configuration seems ok to me, I need more informations.

Other thing to check: version of msgcat (.tcl package require msgcat)
i
ircek
Voice
Posts: 3
Joined: Tue Dec 14, 2021 8:15 am

Post by ircek »

Thank you for your quick reply.
CrazyCat wrote:Can you re-source the script from one eggdrop (.tcl source scripts/chanrelay.tcl) and copy here the messages and errors you get ?

Code: Select all

.tcl source scripts/spy/sen.tcl
[13:53:47] CHANRELAY 4.00 by CrazyCat loaded - https://www.eggdrop.fr
Tcl:
can "non-default" script path cause issues?
CrazyCat wrote:Your configuration seems ok to me, I need more informations.

Other thing to check: version of msgcat (.tcl package require msgcat)

Code: Select all

.tcl package require msgcat
Tcl: 1.6.1
here is also the "sender" config https://pastebin.com/q9aaeHkm

Thanks
User avatar
CrazyCat
Revered One
Posts: 1236
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

Did you upload the crtools/ directory in your scripts/spy/ directory ? And your eggdrops can write in it ?

Edit You can activate the debug in the script but you'll have to delete the eggdrop.chanrelay.db files before reload the script
i
ircek
Voice
Posts: 3
Joined: Tue Dec 14, 2021 8:15 am

Post by ircek »

CrazyCat wrote:Did you upload the crtools/ directory in your scripts/spy/ directory ? And your eggdrops can write in it ?

Edit You can activate the debug in the script but you'll have to delete the eggdrop.chanrelay.db files before reload the script
Thank you for your help.

it seems there was a problem with writing permission to the crtools dir, even script has created *.db files without the issues.

All seems to be working fine, now. Thank you again
Post Reply