Voir le sujet précédent - Voir le sujet suivant |
Auteur |
Message |
Homerlan[IFA]
Le Maléfik
Messages: 3639
Localisation: Paris
|
|
 |
|
 |
Myst
Messages: 1
Localisation: USA
|
Posté le 29 Nov 2009 01:46 Re: IFABot 0.66: Warden workaround |
|
|
Man it took me forever to figure out all this french to register
Anyways, I normally don't do this to competing bots of mine, i.e your IRC Bot, IFABot and my IRC Bot, Dark Requiem. But oh well, thought I'd help anyways
So currently your bot disconnects from the login sequence after the 0x53 response of account not existing.
Citation: | [19:13:00] Error: account doesn't exist (0x53-01) |
Instead of just disconnecting you should call 0x52 and create the account trying to LogOn. This way the user doesn't have to use another program to create an account. Thus making life easier for the user.
Also, the bot disconnects once it receives an EMail registration request in 0x54.
Citation: | [19:19:14] Error: an e-mail address needs to be specified for this account (0x54-0E) |
Two ways you can handle this rather than disconnecting the bot. One is to respond to the response by sending 0x59 the EMail registration packet, and having either the user input a EMail or skip it, from a PopUp Box. OR, second, you can completely ignore the 0x54-0E response and treat it like you received 0x00, and continue on with logging in.
In regards to IRC, you get parsing errors when using some servers. For example:
Citation: | [19:25:23] Error while parsing IRC data: :hub.tehnet.org 353 B = #DarkBlizz : |
_________________
|
|
 |
|
 |
Homerlan[IFA]
Le Maléfik
Messages: 3639
Localisation: Paris
|
|
 |
|
 |
|