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 

ChanRelay 4.0 i18n
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 972
Location: France

PostPosted: Sat Jul 03, 2021 6:32 pm    Post subject: Reply with quote

Weird, as the modification I made for the related issue is present in the actual version.
I'll made some tests tomorrow
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 972
Location: France

PostPosted: Thu Jul 22, 2021 6:40 am    Post subject: Reply with quote

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

Think to set debug to 1 in chanrelay
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 393

PostPosted: Thu Jul 22, 2021 10:01 am    Post subject: Reply with quote

CrazyCat wrote:
ComputerTech, can you use https://gitlab.com/tcl-scripts/chanrelay/-/tree/debug_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 Very Happy
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 393

PostPosted: Mon Aug 02, 2021 12:57 am    Post subject: Reply with quote

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 Smile
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ircek
Voice


Joined: 14 Dec 2021
Posts: 3

PostPosted: Tue Dec 14, 2021 8:33 am    Post subject: Reply with quote

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:
vbottree
sender (1.9.1.2)
  `--reader (1.9.1.2)
Average hops: 1.0, total bots: 2


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

Quote:
<admin> rc.debug 1
-reader- Debug mode is actually setted to 0
Back to top
View user's profile Send private message
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 972
Location: France

PostPosted: Tue Dec 14, 2021 9:24 am    Post subject: Reply with quote

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)
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
ircek
Voice


Joined: 14 Dec 2021
Posts: 3

PostPosted: Tue Dec 14, 2021 10:02 am    Post subject: Reply with quote

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:
.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:
.tcl package require msgcat
Tcl: 1.6.1


here is also the "sender" config https://pastebin.com/q9aaeHkm

Thanks
Back to top
View user's profile Send private message
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 972
Location: France

PostPosted: Tue Dec 14, 2021 11:40 am    Post subject: Reply with quote

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
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
ircek
Voice


Joined: 14 Dec 2021
Posts: 3

PostPosted: Wed Dec 15, 2021 1:00 pm    Post subject: Reply with quote

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
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
Page 3 of 3

 
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