[IRCServices Coding] DB-CONVERT PROBLEM in XML

FBN - Suporte suporte at fbnet.org
Fri Jan 16 09:56:28 PST 2004


De: "FBN - Suporte" <suporte at fbnet.org>
Para: <rcservices-coding at ircservices.za.net>
Assunto: DB CONVERT ERROR ??
Data: sexta-feira, 16 de Janeiro de 2004 17:51

hi:

i'm using PTLINK 2.23.6 STABLE RELEASE and i wanna change to IRCSERVICES:

./convert-db -v +ptlink /home/user/db/nick.db > test.xml

Loading nick.db...
Loading chan.db...
Loading oper.db...
Loading akill.db...
Loading news.db...
Data files successfully loaded.

was the db converted ?

here said "loaded", not "converted", so i don't know if this was updated.

an xml file was created too..but i get only this:

<?xml version='1.0'?>
<ircservices-db>
        <constants>
                <LANG_DEFAULT>-1</LANG_DEFAULT>
                <CHANMAX_UNLIMITED>-2</CHANMAX_UNLIMITED>
                <CHANMAX_DEFAULT>-1</CHANMAX_DEFAULT>
                <TIMEZONE_DEFAULT>32767</TIMEZONE_DEFAULT>
                <ACCLEV_FOUNDER>1000</ACCLEV_FOUNDER>
                <ACCLEV_INVALID>-1000</ACCLEV_INVALID>
                <ACCLEV_SOP>100</ACCLEV_SOP>
                <ACCLEV_AOP>50</ACCLEV_AOP>
                <ACCLEV_HOP>40</ACCLEV_HOP>
                <ACCLEV_VOP>30</ACCLEV_VOP>
                <MEMOMAX_UNLIMITED>-1</MEMOMAX_UNLIMITED>
                <MEMOMAX_DEFAULT>-2</MEMOMAX_DEFAULT>
                <NEWS_LOGON>0</NEWS_LOGON>
                <NEWS_OPER>1</NEWS_OPER>
                <MD_AKILL>0</MD_AKILL>
                <MD_EXCLUSION>1</MD_EXCLUSION>
                <MD_EXCEPTION>2</MD_EXCEPTION>
                <MD_SGLINE>71</MD_SGLINE>
                <MD_SQLINE>81</MD_SQLINE>
                <MD_SZLINE>90</MD_SZLINE>
        </constants>
        <maxusercnt>0</maxusercnt>
        <maxusertime>0</maxusertime>
</ircservices-db>

but if i do this:

./convert-db -v +ptlink /home/user/db > test.xml

appears:

Loading nick.db...
Wrong version number on /home/user/db/nick.db

thanks

FBN Team