Thread: OSRS-BCS - An Old School RuneScape Barrows Chest Simulator using Blazor.NET

Results 1 to 6 of 6
  1. #1 OSRS-BCS - An Old School RuneScape Barrows Chest Simulator using Blazor.NET 
    Registered Member
    Join Date
    Feb 2012
    Posts
    376
    Thanks given
    87
    Thanks received
    82
    Rep Power
    56
    Old School RuneScape Barrows Chest Simulator is a web app that simulates the rewards that players get when they complete the Barrows minigame. This can help you get an idea on the barrows reward drop rates.

    Link to website app: Web App - OSRS-BCS

    • Keeps track of rewarded items in a collection log
    • Allows users to customize the settings that affect reward potential (RP). RP affects what is rewarded to the player. See Formula for Drop Rates for more details

    Attached image


    Formula for Drop Rates


    Attached image
    https://twitter.com/JagexKieren/stat...28283509366785

    Please see Reward Mechanics - OSRS Wiki for more details on the implementation.

    • A reward potential of 1012 is the maximum



    Random Quantity

    Code taken from https://oldschool.runescape.wiki/w/M...ows_calculator to show how many of an item you get is calculated (approximate)

    Code:
    local ammoBounds = {
    	{item = "Coins", low = 1, high = 380, divisor = 0.5},
    	{item = "Mind rune", low = 381, high = 505, divisor = 1.5, rune = true},
    	{item = "Chaos rune", low = 506, high = 630, divisor = 4.5, rune = true},
    	{item = "Death rune", low = 631, high = 755, divisor = 9, rune = true},
    	{item = "Blood rune", low = 756, high = 880, divisor = 20, rune = true},
    	{item = "Bolt rack", low = 881, high = 1005, divisor = 25},
    	{item = "Loop half of key", low = 1006, high = 1008, divisor = 1000},
    	{item = "Tooth half of key", low = 1009, high = 1011, divisor = 1000},
    	{item = "Dragon med helm", low = 1012, high = 1012, divisor = 1000}
    }
    • Each item has a low, high and a divisor to determine the number of an item a player receives after opening a chest


    Code:
    high = math.min(ammo['high'], rp)
    		local lowQty = math.floor(ammo['low'] / ammo['divisor'])
    		local highQty = math.floor(high / ammo['divisor'])
    • Calculate the minimum and maximum amount of an item that we can receive
      For example, Coins would have a minimum amount of 2 and a maximum amount of 760 if we assume the maximum reward potential of 1012.
      This means that it is possible to get anywhere between 2 and 760 coins each roll if we assume the maximum reward potential

      We then roll a random amount of an item to reward the player
      Code:
      random.Roll(lowQty, highQty) // inclusive!



    Links


    Link to website app: Web App - OSRS-BCS

    GitHub (MIT licensed): GitHub for OSRS-BCS


    Closing comments



    Made this to learn C#, Blazor, HTML and CSS so the code definitely needs improvement. It was a fun experience nonetheless!

    Please report issues on the GitHub or here if you would like.

    note: I'm not sure if this is the correct section.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Optimum's Avatar
    Join Date
    Apr 2012
    Posts
    3,570
    Thanks given
    871
    Thanks received
    1,745
    Rep Power
    5000
    awesome work

    Quote Originally Posted by DownGrade View Post
    Don't let these no life creeps get to you, its always the same on here. They'd rather spend hours upon hours in the rune-server spam section then getting laid! ha ha!Its honestly pathetic i haven't seen so many lowlifes in my life its actually insane i wish that this section would just vanish its probably the only way to get these people out of the community...
    PLEASE BE AWARE OF IMPOSTERS MY DISCORD ID: 362240000760348683
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    rebecca's Avatar
    Join Date
    Aug 2017
    Posts
    1,071
    Thanks given
    862
    Thanks received
    915
    Rep Power
    5000
    cool little project even if its missing a little bit of extra accuracy
    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    Registered Member
    Join Date
    Feb 2012
    Posts
    376
    Thanks given
    87
    Thanks received
    82
    Rep Power
    56
    Quote Originally Posted by mikan View Post
    cool little project even if its missing a little bit of extra accuracy
    Thanks. Do you have any suggestions on how I could improve the accuracy?
    Reply With Quote  
     

  7. #5  
    Registered Member
    rebecca's Avatar
    Join Date
    Aug 2017
    Posts
    1,071
    Thanks given
    862
    Thanks received
    915
    Rep Power
    5000
    killing mobs inside barrows affects rp
    Reply With Quote  
     

  8. #6  
    Registered Member
    Join Date
    Feb 2012
    Posts
    376
    Thanks given
    87
    Thanks received
    82
    Rep Power
    56
    Quote Originally Posted by mikan View Post
    killing mobs inside barrows affects rp
    Oh they do affect the RP. There is a number input field that the user can use to change the total level of the crypt monsters slained. I didn't separate each monster though.
    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: 1
    Last Post: 06-09-2017, 02:19 PM
  2. 2006RS - Old School - Runescape - OSRS
    By Motekiku in forum Advertise
    Replies: 30
    Last Post: 02-14-2017, 06:40 PM
  3. Stain - An Old School Runescape Botting Platform
    By Mr March in forum Application Development
    Replies: 8
    Last Post: 02-12-2017, 05:58 AM
  4. Replies: 340
    Last Post: 11-12-2014, 02:47 PM
  5. Replies: 1
    Last Post: 03-13-2013, 06:19 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
  •