Menu

icq registration

2001-06-01
2001-06-06
  • ramachandran

    ramachandran - 2001-06-01

    I have finished a basic working client.. but i have a problem.
    when i was testing  for new user registration ..  i get the new user id .. that's working fine. but, if  within a span of 2 sec i send the CMD_REG_NEW_USER packet. again . it sometimes gives the old uin i have received before  or  the socket just sits idle. (server is not sending any data)..  any clue why the server is doing this?.. my code is in C and the best part is .. when i ran  my c code  which (for the moment) gets the new UIN.. (on the console).. i started the GnomeICU.. and asked  for a new UIN surprisingly it gave me the same UIN that i got in my C program output..!!!
    So the question i wanted to ask is.. does mirabilis have any way of knowing that the request is comming form the same IP within a span of time so that it can block the ip (so as not to send any data) ??.  .
    I'm using EThreal sniffer.. coz it's one of the BEST!!! and it does support ICQ protocols!!.. anyhel will be higly appretiated!
    thannks!!

     
    • Denys Dmytriyenko

      First of all, I couldn't register more than 3 UINs in a row - server just stops assigning new UINs after the third one. I believe they limit it to 3 for one IP. Next day (or maybe sooner, who knows) you can register next 3.
      Second, I think you receive the same UIN every time because you don't finish new user registration procedure. Did you call icq_UpdateNewUserInfo()? You can check new user registration code in kicq - kicq/registration/regwin.cpp

       
    • ramachandran

      ramachandran - 2001-06-06

      ok i will do that. But is there any way to stop spam messages? coz when i 'm trying to get the SRV_MULTI_PACKET there are loads of spam messages in it.. and  whn i tried to get the data in the packet .. it's giving me blank values..  did i miss something?.. and another thing is when i receive a SRV_MULTI_PACKET should i give a SRV_ACK for all the packets inside the multipackets or just one SRV_ACK will do?

       
      • ramachandran

        ramachandran - 2001-06-06

        hi ..
        when i use the icq_HandleMultiPacket() .. i'm not able to get the offline messages.  did i miss something?.. or  could any one help me in finding a way to get the offline messages?

         
        • Denys Dmytriyenko

          Just tell me what are you trying to do with the icqlib?

           
      • Denys Dmytriyenko

        I guess you are not using icqlib because you are trying to reinvent the wheel... ;)

         

Log in to post a comment.