[IRCServices] Database Question

Michael Smith mike at icon.co.za
Tue Nov 9 10:45:38 PST 1999


Hmm, as far as I know the services files are flat binary files with variable
length fields, however, the positions are fixed, ie password will always be
after nick etc.... 

All "fields" are terminated with /0

I am working on a way of letting services use mysql or a similar database to
keep the info on. This will
enable revision control, rollback, and allow a central services database to
be used for multiple (backup copies) of services, in addition, because it is
now in database form, web utilities etc are now a very easy reality.

Mike


At 04:25 PM 09/11/99 -0200, you wrote:
>Yes, me too :)
>
>Rafael Ritter
>
>At 12:26 09/11/99 -0000, you wrote:
>>Please keep me informed of your progress with the web-utils for services.
>>
>>Are there any other utilities out there that are similar? I was looking for
>>a web-based nick registration script.
>>
>>cheers
>>
>>Mehran
>>
>>[scrm] - www.scandal.org
>>
>>----- Original Message -----
>>From: Pinto, Joao Luis (J.) <jpinto9 at visteon.com>
>>To: <ircservices at ender.shadowfire.org>
>>Sent: Tuesday, November 09, 1999 8:07 AM
>>Subject: RE: [IRCServices] Database Question
>>
>>
>>> In mpinion, the better way to work with the services .db is to do it like
>>> services do, just load the .dbsto memory using the database loading
>>> functions from services, work the data in memory, and if needed write the
>>> full changed database using the services saving functions.
>>> My network staff is also working on some utilities to export services
>>> information to the WEB =)
>>>
>>> João Luís Marques Pinto
>>> PTlink Tech - Lamego at PTlink.net
>>> http://www.PTlink.net
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Dooley [<A  HREF="mailto:dooley at risanet.com">mailto:dooley at risanet.com</A>]
>>> Sent: terça-feira, 9 de novembro de 1999 2:33
>>> To: ircservices at ender.shadowfire.org
>>> Subject: [IRCServices] Database Question
>>>
>>>
>>> I am working on a few utilities for services, but I am running into a
>>> problem with the NickServ Database. Can someone give me a clue as to the
>>> field breakdown. For example I can pull the file version without fail and
>>> bring up the first nick and password but once I start getting into the
>>other
>>> fields information is not where I anticipate it to be. The ultimate plan
>>for
>>> this is for a user to be able to go to a webpage and enter their nick and
>>> have their password mailed to them.
>>>
>>> If anyone can give me a hand I would be most appreciative.
>>>
>>> Dooley, IRC Administrator irc.risanet.com
>>> <A  HREF="http://www.risanet.com">http://www.risanet.com</A>
>>>
>>>
>>> ---------------------------------------------------------------
>>> To unsubscribe, send email to majordomo at ender.shadowfire.org
>>> with "unsubscribe ircservices" in the body, without the quotes.
>>> ---------------------------------------------------------------
>>> To unsubscribe, send email to majordomo at ender.shadowfire.org
>>> with "unsubscribe ircservices" in the body, without the quotes.
>>>
>>
>>---------------------------------------------------------------
>>To unsubscribe, send email to majordomo at ender.shadowfire.org
>>with "unsubscribe ircservices" in the body, without the quotes.
>>
>>
>
>---------------------------------------------------------------
>To unsubscribe, send email to majordomo at ender.shadowfire.org
>with "unsubscribe ircservices" in the body, without the quotes.
>
>
---
Michael Smith (Warlock on IRC)
<A  HREF="http://www.warlock.web.za">http://www.warlock.web.za</A>
 "Do you smell something burning or is it me?"
                -- Joan of Arc                                         

---------------------------------------------------------------
To unsubscribe, send email to majordomo at ender.shadowfire.org
with "unsubscribe ircservices" in the body, without the quotes.