Thread: Netty Issue

Results 1 to 4 of 4
  1. #1 Netty Issue 
    Registered Member

    Join Date
    Jun 2007
    Posts
    2,237
    Thanks given
    267
    Thanks received
    411
    Rep Power
    1283
    Hey!
    While this is a private server related problem I though I would get a better response here.

    I'm writing the Login Decoder for the 317 protocol and I've hit a nasty issue,
    the ChannelBuffer contains
    Code:
    16 // login type
    41 // block size
    255 // magic
    1 // version
    61 //
    but when I use
    Code:
    int loginType = readUnsignedByte()
    It's returning 255: skipping 16 and 41. Anyone know what could be causing this? I've checked again and again and even when I set the readerIndex the issue still happens.

    It's not the Client since I've tried other ones
    Don't worry, Be happy.
    Reply With Quote  
     

  2. #2  
    SERGEANT OF THE MASTER SERGEANTS MOST IMPORTANT PERSON OF EXTREME SERGEANTS TO THE MAX!

    cube's Avatar
    Join Date
    Jun 2007
    Posts
    8,881
    Thanks given
    1,854
    Thanks received
    4,741
    Rep Power
    5000
    Have you tried printing the amount of readable bytes before reading?



    Reply With Quote  
     

  3. #3  
    Community Veteran


    Join Date
    Jan 2008
    Posts
    2,664
    Thanks given
    493
    Thanks received
    627
    Rep Power
    980
    Could we see the login decoder?
    ~iKilem
    Reply With Quote  
     


  4. #4  
    Renown Programmer and Respected Member
    Maxi's Avatar
    Join Date
    Jun 2008
    Posts
    3,201
    Thanks given
    281
    Thanks received
    1,093
    Rep Power
    1366
    I'm sure it's not netty but your implementation, but let's wait for your code to appear here.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 3
    Last Post: 11-02-2011, 03:37 PM
  2. Netty Help
    By Omer in forum Application Development
    Replies: 5
    Last Post: 09-12-2011, 02:54 PM
  3. Netty
    By Snow Cat123 in forum Help
    Replies: 1
    Last Post: 08-31-2011, 12:33 PM
  4. [Netty]RSN(Runescape Netty) scratch.
    By Discardedx2 in forum Projects
    Replies: 28
    Last Post: 05-20-2010, 02:30 AM
  5. Jar issue & Cache Issue
    By Chachi in forum Help
    Replies: 0
    Last Post: 06-19-2009, 02:40 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •