Thread: Login error when updating RSMod to 189.10

Results 1 to 2 of 2
  1. #1 Login error when updating RSMod to 189.10 
    Donator

    Join Date
    Sep 2019
    Posts
    62
    Thanks given
    48
    Thanks received
    15
    Rep Power
    0
    I am trying to update RSMod to 189.10 latest release from 181

    I was able to get the client running/launcher and the server connected to the client but when I go to login I get this error from console after user/pass authenticated

    Code:
    [18:58:37.518 ERROR] GameHandler          | Error reading message GamePacket{opcode=52, type=VARIABLE_BYTE, length=1} from channel [id: 0xf5349d0c, /127.0.0.1:61895 => /127.0.0.1:43594].
    java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): UnpooledUnsafeHeapByteBuf(ridx: 1, widx: 1, cap: 1)
    full error: [Only registered and activated users can see links. ]

    So I found what the opcode 52 was all about and I found this
    Code:
      - message: gg.rsmod.game.message.impl.TriggerOnDialogAbortMessage
        type: FIXED
        opcode: 52
        structure:
          - name: id
            type: BYTE
    I added the structure part to this I don't really know what I am doing here but I copied other examples I also went to the TriggerOnDialogAbortMessage class and adjusted it to look like this

    Code:
    class TriggerOnDialogAbortMessage(val byte: Byte) : Message
    Originally looked like
    Code:
    class TriggerOnDialogAbortMessage: Message
    Any advice is appreciated; this all happens during the login process obviously having some issue reading or giving packet data and I am unsure where to go from here. I am going to release this so helping me is helping everyone

    Thanks R-S

    Update - Evidently the opcodes shuffled after revision 183; if anyone has any suggestions on how I can get the new codes I will happily attempt to update RSMod
    Reply With Quote  
     

  2. #2  
    zen2
    Corey's Avatar
    Join Date
    Feb 2012
    Age
    23
    Posts
    1,388
    Thanks given
    1,090
    Thanks received
    1,450
    Discord
    View profile
    Rep Power
    5000
    They started obfuscating packets again after 183 or so (they stopped for a bit when mobile was released)
    Not only do the opcodes change, but the contents of each packet change too: the data types and order.
    [Only registered and activated users can see links. ]
    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. I get this error when I try to login
    By Warnerr in forum Help
    Replies: 5
    Last Post: 05-03-2012, 10:08 PM
  2. Error when I try to run Asgarnia
    By pk3r john in forum Help
    Replies: 6
    Last Post: 07-21-2010, 09:23 PM
  3. Replies: 8
    Last Post: 06-06-2009, 11:33 PM
  4. Replies: 3
    Last Post: 04-21-2009, 03:22 AM
  5. Replies: 7
    Last Post: 02-08-2009, 04:01 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •