Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: ns_ajoin 4.2.2 RC1 - early adopters needed  (Read 3767 times)

0 Members and 1 Guest are viewing this topic.

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
ns_ajoin 4.2.2 RC1 - early adopters needed
« on: November 01, 2008, 09:18:02 PM »

Since ns_ajoin didn't work with the most recent anope releases it was time for an update..
and now anope itself settled down a bit i managed to put some time in my modules.. :)

Attached to this post is a release candidate of ns_ajoin v4.2.2 which works with 1.7.24 or 1.8RC1.
I need some people to test the module before releasing it into the wild. Note that since a lot has changed compared to the previous release there may be some issues even though I found none during initial testing.
Also be aware that there are 2 new optional configuration directives!

I will publish the 4.2.2 final with windows .dll's (not distributing those at this time) on the modules site once anope 1.8.0 is released. at this time the module will be made to require 1.8 to load.

Changelog:
Code: [Select]
* Added default autojoinlist and ajoinunregistered options.
 * Added supported/unsupported mode.
 * Added extended version info to MODLIST and MODINFO.
 * Updated module to work with Anope-1.7.23b.
 * Fixed typo in dutch language strings.
 * Fixed bans being removed even though the user is excepted.

Attached is RC1.
« Last Edit: November 01, 2008, 09:29:31 PM by Viper »
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Han`

  • Guest
Re: ns_ajoin 4.2.2 RC1 - early adopters needed
« Reply #1 on: November 02, 2008, 10:30:05 AM »

full translated german lang block

Code: [Select]
char *langtable_de[] = {
/* LANG_AJOIN_DESC */
" AJOIN       AutoJoin-Liste bearbeiten.",
/* LANG_AJOIN_SYNTAX */
" Syntax: AJOIN { ADD | DEL | LIST | CLEAR } [\037channel\037 | \037entry-list\037] [\037key\037]",
/* LANG_AJOIN_SYNTAX_EXT */
" Syntax: \002AJOIN ADD \037channel\037 \037key\037\002 \n"
"         \002AJOIN DEL {\037channel\037 | \037entry-nr\037 | \037list\037}\002 \n"
"         \002AJOIN LIST [\037mask\037 | \037list\037]\002 \n"
"         \002AJOIN CLEAR\002 \n"
" \n"
" Verwaltet die \002AutoJoin Liste\002 für eine Nick-Gruppe. \n"
" Wenn ein user sich mit seinem Nicknamen identifiziert, so \n"
" betritt er automatisch die Räume aus der Liste. \n"
" \n"
" \002AJOIN ADD\002 fügt den angegebenen Raum \n"
" der AutoJoin-Liste hinzu oder aktualisiert den \n"
" Eintrag, wenn der angegebene Raum schon vorhanden ist. \n"
" Wenn kein Raum-Schlüssel angegeben wird und es bereits \n"
" einen Listeneintrag für diesen Raum gibt, wo ein Schlüssel \n"
" angegeben wurde, dann wird dieser Schlüssel zurückgesetzt. \n"
" Nur \002registrierte Räume\002 sind erlaubt! \n"
" \n"
" \002AJOIN DEL\002 entfernt den angegebenen Raum \n"
" aus der AutoJoin-Liste. Wurden die Nummern der Einträge angegeben,\n"
" werden die dazugehörigen Einträge gelöscht.\n"
" \n"
" \002AJOIN LIST\002 zeigt die AutoJoin-liste.\n"
" Wird eine Platzhaltermaske (Wildcard mask) angegeben\n"
" so werden nur die Channels angezeigt, die auf diese Maske zutreffen.\n"
" Werden die Nummern der Listeneinträge angegeben,\n"
" werden nur diese Einträge angezeigt.\n"
" \n"
" \002AJOIN CLEAR\002 löscht alle Einträge aus der \n"
" AutoJoin-Liste.",
/* LANG_AJOIN_DISABLED */
" Sorry, das Bearbeiten der AutoJoin-Liste ist vorrübergehend deaktiviert.",
/* LANG_NO_LOCAL_CHAN */
" Kann keine lokalen Räume zur AutoJoin-Liste hinzufügen.",
/* LANG_CHAN_SYMB_REQUIRED */
" Das Raumsymbol '\002#\002' wird benötigt.",
/* LANG_CHAN_UPDATED */
" AutoJoin Eintrag aktualisiert.",
/* LANG_AJOIN_LIST_FULL */
" Die AutoJoin-Liste ist voll.",
/* LANG_CHAN_ADDED */
" \002%s\002 wurde zur AutoJoin-Liste hinzugefügt.",
/* LANG_NO_AJOINS */
" Es wurden noch keine AutoJoins festgelegt.",
/* LANG_AJOIN_LIST_EMPTY */
" Die AutoJoin-Liste ist leer.",
/* LANG_NO_ENTRY */
" \002%s\002 ist nicht in der AutoJoin-liste.",
/* LANG_CHAN_DELETED */
" \002%s\002 wurde aus der AutoJoin-Liste gelöscht.",
/* LANG_AJOIN_ENTRY */
" %d - Channel: %s  -  Key: %s",
/* LANG_AJOIN_ENTRIES */
" Habe %d Einträge gefunden ",
/* LANG_AJOIN_LIST_CLEARED */
" AutoJoin-Liste gesäubert.",
/* LANG_UNKWN_AJOIN_OPTION */
" Unbekannte AutoJoin-Option.",
/* LANG_AJOINING */
" AutoJoining %s .",
/* LANG_AJOINING_FAILED */
" Konnte %s nicht AutoJoinen .",
/* LANG_SET_AJOIN_DESC */
" \n"
" Unterstützte Kommandos von Modul ns_ajoin: \n"
" AJOIN      AutoJoin-Settings ändern.",
/* LANG_SET_AJOIN_SYNTAX */
" Syntax: SET AJOIN { ON | OFF | SILENT }",
/* LANG_SET_AJOIN_SYNTAX_EXT */
" Syntax: \002SET AJOIN { ON | OFF | SILENT }\002 \n"
" \n"
" Stellt ein, ob die AutoJoin-Liste abgearbeitet wird, wenn \n"
" IDENTIFY oder UPDATE ausgeführt wird.\n"
" Wenn ON eingestellt wird, bekommst du für jeden Raum, den du AutoJoinst \n"
" eine Nachricht. Bei Einstellung SILENT, bekommst du \n"
" eine Nachricht, welche dir mitteilt, dass du AutoJoinst. \n"
" Die Einstellung OFF bewirkt, dass du keinen Raum beim IDENTIFY Befehl betrittst. \n"
" \n"
" Voreinstellung ist: \002ON\002.",
/* LANG_SET_AJOIN_ON */
" AutoJoin ist jetzt \002ON\002.",
/* LANG_SET_AJOIN_SILENT */
" AutoJoin ist jetzt \002ON\002 und auf \002SILENT\002 eingestellt.",
/* LANG_SET_AJOIN_OFF */
" AutoJoin ist jetzt \002OFF\002.",
/* LANG_AJOINING_SUM_SUCCESS */
" Erfolgreich %d Channel(s) automatisch betreten.",
/* LANG_AJOINING_SUM_FAILED */
" Fehler beim AutoJoinen von %d channel(s).",
/* LANG_AJOIN_DELETED_NR_1 */
" %d Eintrag wurde aus der AutoJoin-Liste entfernt.",
/* LANG_AJOIN_DELETED_NR */
" %d Einträge wurden aus der AutoJoin-Liste entfernt.",
/* LANG_AJOIN_DEFAULT_ENTRIES_ADDED */
" Deine Standard AJOIN-Channels wurden zu Deiner auto-join Liste geadded.\n"
" Benutze \002AJOIN LIST\002 um eine Liste all Deiner Channels der\n"
" Autojoinliste zu bekommen. ",
/* LANG_AJOIN_UNREGISTERED */
" Du wurdest in alle Auto-join Channels dieses Networks gejoint.\n"
" Wenn Du das vermeiden möchtest, registriere Deinen Nick und lösch die\n"
" Chans aus der Autojoinliste.",
/* LANG_AJOIN_NOT_AVAILABLE */
" Dieser Befehl ist zur Zeit nicht nutzbar.",
};

greets Han`
Logged

Han`

  • Guest
Re: ns_ajoin 4.2.2 RC1 - early adopters needed
« Reply #2 on: November 02, 2008, 10:43:18 AM »

There is one thing in this modul, that i dont like.

When a user add a chan who has a key, the module will unset
the key, when the user add the chan without a key.
Its for me an abuse to every channel founder.

Logged

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
Re: ns_ajoin 4.2.2 RC1 - early adopters needed
« Reply #3 on: November 02, 2008, 12:34:55 PM »

uh  ???

sorry, but you are making not much sense to me.. :-\

When a user adds a channel and he passes a key along the key stored in the ajoin entry will be updated. If he doesn't pass a key the key in the entry will be left empty or cleared if one was already present.
When the user is ajoined to a channel that has a key set and the correct key is stored in his ajoin list he will simply join with no further problems.
If he doesn't have a key, or an incorrect one, the following happens: first the module checks whether the user has access to the GETKEY command on that channel, if he does then the module automatically updates the key stored in the ajoin list with the new one. If he doesn't have access to getkey the module checks whether the user has access to INVITE. If that s the case the module invites the user to the channel so he can join through +k (or +i when set).
If he doesn't have access to that either, ajoin will be aborted.

.. so i really fail to see where the problem lies..
« Last Edit: November 02, 2008, 12:39:08 PM by Viper »
Logged
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)

Han`

  • Guest
Re: ns_ajoin 4.2.2 RC1 - early adopters needed
« Reply #4 on: November 02, 2008, 03:45:25 PM »

sorry i missunderstood the decline in the german help.
You have right, i have tried it and looks good.

Han`
Logged
Pages: [1]   Go Up