Thread: How to figure out opcodes for server->client and client->server for OSRS?

Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11  
    Registered Member
    Join Date
    May 2020
    Posts
    23
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Scu11 View Post
    it is random when they are generated. they shuffle all the opcodes and then make sure the client and server have agreed upon the new shuffled order... i don't know what you mean by "its not 100% random", there is nothing choosing what the numbers get shuffled to other than a psuedo random number generator
    agreed upon the new shuffled order. Once this happens the method no longer becomes truly random. It could be intercepted and understood.
    Reply With Quote  
     

  2. #12  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    26
    Posts
    16,095
    Thanks given
    7,098
    Thanks received
    11,936
    Rep Power
    5000
    Quote Originally Posted by BlackMomba View Post
    agreed upon the new shuffled order. Once this happens the method no longer becomes truly random.

    the shuffled order was randomly generated. i dont know what on earth you mean by "truly random", my post never suggested that the client randomises them on every message, they randomise them when they build the client which is why they change per revision. i directly quoted Fire Cape who said he "doubts they change them every time", referring to the fact that they change every revision.

    [Only registered and activated users can see links. ]



    Reply With Quote  
     

  3. #13  
    Registered Member

    Join Date
    Feb 2010
    Posts
    2,802
    Thanks given
    975
    Thanks received
    587
    Rep Power
    663
    Quote Originally Posted by Scu11 View Post
    it is random when they are generated. they shuffle all the opcodes and then make sure the client and server have agreed upon the new shuffled order... i don't know what you mean by "its not 100% random", there is nothing choosing what the numbers get shuffled to other than a psuedo random number generator
    Guessing he means because it is pseudo random if you have the seed you could use it to generate the same series of results - not sure how you would work out the seed that they use, there may be no actual pattern to it.
    Reply With Quote  
     

  4. #14  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    26
    Posts
    16,095
    Thanks given
    7,098
    Thanks received
    11,936
    Rep Power
    5000
    Quote Originally Posted by Fire Cape View Post
    Guessing he means because it is pseudo random if you have the seed you could use it to generate the same series of results - not sure how you would work out the seed that they use, there may be no actual pattern to it.
    that's not what he means, he thinks im implying they are random on every client<->server interaction which isn't what we were talking about when i quoted you

    [Only registered and activated users can see links. ]



    Reply With Quote  
     

  5. #15  
    Registered Member
    Join Date
    May 2020
    Posts
    23
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Scu11 View Post
    the shuffled order was randomly generated. i dont know what on earth you mean by "truly random", my post never suggested that the client randomises them on _every message_, they randomise them when they build the client which is why they change per revision.
    Exactly. What you were saying before was they randomise them, the code isn't written against hard coded numbers

    You try to make a client be randomly generating instructions without having it hard coded with numbers server-side.

    This is all I was saying, that it's truly not random. It wouldn't be possible unless its an algorithm. The server would not understand its instructions if it wasn't compared against hard-coded numbers.

    Damn lag, kinda annoying m8
    Reply With Quote  
     

  6. #16  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    26
    Posts
    16,095
    Thanks given
    7,098
    Thanks received
    11,936
    Rep Power
    5000
    Quote Originally Posted by BlackMomba View Post
    Exactly. What you were saying before was they randomise them, the code isn't written against hard coded numbers
    what do you mean "what i was saying before"? from the start i was quoting Fire Cape who was referring to the fact that the opcodes are shuffled randomly every new client build.


    This is all I was saying, that it's truly not random.
    the shuffling of the opcodes on every client build is definitely random...


    It wouldn't be physically possible unless its an algorithm.
    ?????????????


    The server would not understand its instructions if it wasn't compared against hard-coded numbers.
    the order of the opcodes are shuffled randomly when the client is built, the output of this random shuffle is stored so that the server knows what they were randomised to

    what part of this are you thinking isn't random?

    [Only registered and activated users can see links. ]



    Reply With Quote  
     

  7. #17  
    Registered Member
    Join Date
    May 2020
    Posts
    23
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Here is am stating It wouldn't be possible unless its an algorithm. Some instructions remain the same per revision. If it's outputed via a modified runelite client per each revision update. If it's pesudo random each time, some instructions would be different, but some remain the same after each revision update.
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

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: 0
    Last Post: 07-11-2017, 01:17 PM
  2. Replies: 6
    Last Post: 04-26-2015, 04:59 PM
  3. Replies: 0
    Last Post: 04-15-2013, 05:42 PM
  4. Replies: 4
    Last Post: 07-08-2012, 11:23 PM
  5. Replies: 11
    Last Post: 05-13-2012, 10:35 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
  •