Communauté Eggdrop
Déconnexion d'IriX au XClose d'Eva. - Version imprimable

+- Communauté Eggdrop (https://forum.eggdrop.fr)
+-- Forum : Eggdrop et TCL (https://forum.eggdrop.fr/forumdisplay.php?fid=8)
+--- Forum : Scripts TCL (https://forum.eggdrop.fr/forumdisplay.php?fid=4)
+--- Sujet : Déconnexion d'IriX au XClose d'Eva. (/showthread.php?tid=575)



Déconnexion d'IriX au XClose d'Eva. - IluZi0n - 09/01/2010

[font=Tahoma]Bonjour à tous...

Voilà mon IriX se deconnect en "connexion rest by peer" ou en "Write error, closing link" des que Eva xclose un salon... J'ai pourtant chercher dans la proc Eva ci-dessous, mais rien à faire ! je ne sais pas de quoi cela vien.

Citation :bind msg - xclose msg:xclose
proc msg:xclose {nick uhost hand arg} {
global eva
if {![isauth $nick] || ![matchattr $hand A]} {
avertmsg $nick
return 0
}
set salon [lindex $arg 0]
if {$salon=="" || ![string match *#* $salon]} {
send ":$eva(nick) NOTICE $nick :\2Utilisation:\2 xclose <#salon>"
return 0
}
proc:xclose $salon $hand
}

# DCC

bind dcc - xclose dcc:xclose
proc dcc:xclose {nick idx arg} {
global eva
if {![matchattr $nick A]} {
avertdcc $nick
return 0
}
set salon [lindex $arg 0]
if {$salon=="" || ![string match *#* $salon]} {
putdcc $idx "\2Utilisation:\2 xclose <#salon>"
return 0
}
proc:xclose $salon $nick
}

# Proc

proc proc:xclose {chan by} {
global eva
set eva(xpermclose) "[fread xpermclose.db]"
if {$chan=="$eva(chan)" || $chan=="$eva(chanbot)" || $chan=="$eva(soho)" || [isindb $eva(xpermclose) $chan]!=-1} {return 0}
set eva(act) "1"
send ":$eva(nick) JOIN $chan x"
sendlog "4•1 XClosed 4•1 sur $chan - par $by"
send ":$eva(nick) MODE $chan +ov $eva(nick) $eva(nick)"
send ":$eva(nick) MODE $chan +imsnt"
send ":$eva(nick) TOPIC $chan :$eva(topic)"
send ":$eva(nick) WHO $chan"
xclose $chan
putlog2 "Xclose par $by : $chan"
}


Et je joint aussi les links d'IriX & Eva dans "ircd.conf"

Citation :######## Eva.IRCw.info (Geofront) ########

C:188.165.91.131:<password>:Eva.Service.info::90
N:188.165.91.131:<password>:Eva.Service.info::90
U:Eva.Service.info::*:*
H:*.*::Eva.Service.info:*

######## IriX.IRCw.info (CService) ########

C:188.165.91.131:<password>:IriX.IRCw.info::90
N:188.165.91.131:<password>:IriX.IRCw.info::90
U:IriX.IRCw.info::*:*
H:*.*::IriX.IRCw.info:*


Avez vous la moindre idée du problème ? Merci d'avance...

Cordialement, IluZi0n[/font]


RE: Déconnexion d'IriX au XClose d'Eva. - fedora - 09/01/2010

A tu des erreur Quelconque en party line lors du Xclose ?
ensuite ce code resemble beaucoup à Diogene.tcl donc vois aussi du coter du numéric ,il me semble que entre une ircu et un unrealircd ce n'est pas du tout le meme
PS: Utilise les balises [ tcl] et [/ tcl]


RE: Déconnexion d'IriX au XClose d'Eva. - IluZi0n - 09/01/2010

[font=Verdana]Reuh ^^

Désoler je savais pas pour les balises "[tcl]" - Bah non justement rien en PartyLine --'

Cordialement,[/font]


RE: Déconnexion d'IriX au XClose d'Eva. - fedora - 09/01/2010

ce code resemble beaucoup à Diogene.tcl donc vois aussi du coter du numéric ,il me semble que entre une ircu et un unrealircd ce n'est pas du tout le meme


RE: Déconnexion d'IriX au XClose d'Eva. - IluZi0n - 09/01/2010

Oui, c'est Diogene, mais pourquoi unrealircd ? Diogene n'est compatible que sur IRCu, et je suis en train de regarder le "numéric" mais dans Eva il n'y et pas. :/

Amicalement,


RE: Déconnexion d'IriX au XClose d'Eva. - fedora - 09/01/2010

enssaye peut etre avec un autre TCL d'eva ...


RE: Déconnexion d'IriX au XClose d'Eva. [Résolu] - fedora - 09/01/2010

Problème Résolu sur place. c'est un souci de mode Surprised