Thread: Collaborative reverse engineering of the RS accuracy formula

Results 1 to 9 of 9
  1. #1 Collaborative reverse engineering of the RS accuracy formula 
    Donator

    StanDev's Avatar
    Join Date
    Apr 2014
    Posts
    657
    Thanks given
    70
    Thanks received
    231
    Rep Power
    526
    Ello R-S,

    Recently I've been digging into the RS combat formulas. The best (public) attempt at reverse engineering the formulas was until recently available on the RS forums (apparently it is now removed, see: [Only registered and activated users can see links. ]). There is one archived copy on rune-server:
    [Only registered and activated users can see links. ]

    I haven't played RS in ages, so I am not sure how accurate these are. Let us focus on the accuracy formula.

    In order to reverse engineer the accuracy formula more accurately, we need data.
    There are some spreadsheets online of people recording for each attack whether they landed a hit or not.
    I was thinking this could be done programmatically, perhaps by writing a RuneLite plugin.

    The plugin would record attack sequences and upload the results to a database.
    With a sufficient amount of data, we could compare the actual results to the results computed by our own accuracy formula.
    And from there tweak the formula accordingly.


    The process will take up quite some time and I am not sure it will be worth it but it does seem like a fun project.

    I wonder what the people here think about it?
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Wut can u say when theres nothin to tell

    Tyrant's Avatar
    Join Date
    Jul 2013
    Age
    20
    Posts
    1,519
    Thanks given
    630
    Thanks received
    380
    Rep Power
    905
    that would probably never be accurate unless you've simulated hundred of thousands of sequences.




    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Donator

    StanDev's Avatar
    Join Date
    Apr 2014
    Posts
    657
    Thanks given
    70
    Thanks received
    231
    Rep Power
    526
    Quote Originally Posted by Tyrant View Post
    that would probably never be accurate unless you've simulated hundred of thousands of sequences.
    It might never be 100% accurate but if I can recall correctly the current formula was derived using a similar method (but instead of using a plugin, the players wrote it down in a spreadsheet). Also I think 1000 data points per combat configuration seems doable.
    Reply With Quote  
     

  4. #4  
    Website Developer

    ruby.exe's Avatar
    Join Date
    Mar 2018
    Posts
    101
    Thanks given
    1,000
    Thanks received
    198
    Rep Power
    401
    if you're willing to put in thousands of hours of work for this then I wish you all the best. solid idea though, you wouldn't be the first person to try

    [Only registered and activated users can see links. ]

    Syntax is easy. Math is hard.
    Reply With Quote  
     

  5. #5  
    Wut can u say when theres nothin to tell

    Tyrant's Avatar
    Join Date
    Jul 2013
    Age
    20
    Posts
    1,519
    Thanks given
    630
    Thanks received
    380
    Rep Power
    905
    Quote Originally Posted by ruby.exe View Post
    if you're willing to put in thousands of hours of work for this then I wish you all the best. solid idea though, you wouldn't be the first person to try
    meet stan. he love doing things the overcomplicated yet unsafe way




    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #6  
    Donator

    StanDev's Avatar
    Join Date
    Apr 2014
    Posts
    657
    Thanks given
    70
    Thanks received
    231
    Rep Power
    526
    Quote Originally Posted by Tyrant View Post
    meet stan. he love doing things the overcomplicated yet unsafe way
    I don't really see why it would be that hard, writing the plugin will take some time but I see no immediate reason for it to take more than 50 hours.
    Accepting the premise people will use the plugin, it doesn't seem far fetched to me the collected data can be useful in improving the current formula's.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  7. #7  
    Registered Member
    King Zeus's Avatar
    Join Date
    Jan 2018
    Posts
    110
    Thanks given
    16
    Thanks received
    44
    Rep Power
    90
    I don't see this taking thousands of hours. As stan said, if you make the plugin and have people use it while playing, it could accumulate data relatively quickly. Once you have the data collected its just some time, math, and effort.

    Stan - I would like to help if you want help on this
    Reply With Quote  
     

  8. #8  
    Website Developer

    ruby.exe's Avatar
    Join Date
    Mar 2018
    Posts
    101
    Thanks given
    1,000
    Thanks received
    198
    Rep Power
    401
    memory scraping sounds like a virus concern

    [Only registered and activated users can see links. ]

    Syntax is easy. Math is hard.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Oct 2016
    Posts
    97
    Thanks given
    58
    Thanks received
    34
    Rep Power
    56
    Very excellent idea! The only way to truly reverse engineer it, is to record enough data to than find the appropriate formula, that returns the same outcomes as the data collected. Doing the combat wouldn't be hard, but you would want AT LEAST a thousand of as many creatures as you can muster. For me, the longest part would be writing the program/plugin to record such data. It would be handy if you could find a few different people with the same equipment, stats, etc.. etc.… Keep the variables minimal at first, than switch it up. Do like a case study type of deal, a controlled experiment. Once you have sufficient data with minimal variables, collect data with many variables to help fine tune the formula.

    Just my opinion. Hope it might help shed some light somewhere. I also want to say, I do believe that sooner or later, we will get it right (a hundo percent), but it wont be for a long while. Thanks for letting me rant!
    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. The World of Quantum RS
    By ChrissyPoo in forum Projects
    Replies: 20
    Last Post: 08-04-2011, 04:04 PM
  2. Replies: 0
    Last Post: 03-02-2011, 02:03 AM
  3. Most of the RS-jingles
    By Kamiel in forum Downloads
    Replies: 9
    Last Post: 10-22-2010, 03:22 PM
  4. Replies: 0
    Last Post: 07-17-2009, 07:38 AM
  5. Replies: 0
    Last Post: 06-05-2008, 06:30 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
  •