Thread: Treasure trail rewards

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Treasure trail rewards 
    Registered Member jh_angel's Avatar
    Join Date
    Feb 2008
    Posts
    179
    Thanks given
    30
    Thanks received
    10
    Rep Power
    21
    Noticed the TT rewards in the rune-evo base I'm using had some weird rewards and were missing some TT items as treasure trails rewards. Added info about the items so you know what items are what without looking up all the ids. I think this is all the unique TT items (except tp scrolls, firelighters and god pages)

    Goes into ClueScrolls.java

    Code:
    static Item[] standardRewards = {
    		new Item(7319), new Item(7321), new Item(7323), new Item(7325), new Item(7327),//boaters
    		new Item(7332), new Item(7334), new Item(7336),//h1 shields
    		new Item(7338), new Item(7340), new Item(7342),//h2 shields
    		new Item(7344), new Item(7346), new Item(7348),//h3 shields
    		new Item(7350), new Item(7352), new Item(7354),//h4 shields
    		new Item(7356), new Item(7358), new Item(7360),//h5 shields	
    		new Item(7362), new Item(7364), new Item(7366), new Item(7368),//studded (t) and (g)
    		new Item(7370), new Item(7372), new Item(7374), new Item(7376),//dhide bodies
    		new Item(7378), new Item(7380), new Item(7382), new Item(7384),//dhide chaps
    		new Item(7386), new Item(7388), new Item(7390), new Item(7392), new Item(7394), new Item(7396),//wizard robes
    		new Item(7398), new Item(7399), new Item(7400),//enchanted robes
    		new Item(10286), new Item(10288), new Item(10290), new Item(10292), new Item(10294),//rune helm h
    		new Item(10296), new Item(10298), new Item(10300), new Item(10302), new Item(10304),//addy helm h
    		new Item(10306), new Item(10308), new Item(10310), new Item(10312), new Item(10314),//black helm h
    		new Item(10368), new Item(10370), new Item(10372), new Item(10374),//zammy dhide
    		new Item(10376), new Item(10378), new Item(10380), new Item(10382),//guthix dhide
    		new Item(10384), new Item(10386), new Item(10388), new Item(10390),//sara dhide
    		new Item(10392),//powdered wig
    		new Item(10394),//flared trousers
    		new Item(10396),//pantaloons
    		new Item(10398),//sleeping cap
    		new Item(10400), new Item(10402),//male black elegant
    		new Item(10404), new Item(10406),//male red elegant
    		new Item(10408), new Item(10410),//male blue elegant
    		new Item(10412), new Item(10414),//male green elegant
    		new Item(10416), new Item(10418),//male purple elegant
    		new Item(10420), new Item(10422),//female white elegant
    		new Item(10424), new Item(10426),//female red elegant
    		new Item(10428), new Item(10430),//female blue elegant
    		new Item(10432), new Item(10434),//female green elegant
    		new Item(10436), new Item(10438),//female purple elegant
    		new Item(10440), new Item(10442), new Item(10444),//croziers
    		new Item(10446), new Item(10448), new Item(10450),//cloaks
    		new Item(10452), new Item(10454), new Item(10456),//mitres
    		new Item(10458), new Item(10460), new Item(10462),//robe tops
    		new Item(10464), new Item(10466), new Item(10468),//robe bottoms
    		new Item(10470), new Item(10472), new Item(10474),//stole
    		new Item(10280), new Item(10282), new Item(10284),//composite bows
    		new Item(13095), new Item(13097), new Item(13099),//canes
    		new Item(10316), new Item(10318), new Item(10320), new Item(10322), new Item(10324),//bob shirts
    		new Item(10634), new Item(10362), new Item(10366),//(t) amulets
    		new Item(2577), new Item(2579),//boots
    		new Item(13105),//spiked helmet
    		new Item(13103),//pith helmet
    		new Item(13101),//top hat
    		new Item(2581),//robin hood hat
    		new Item(2583), new Item(2585), new Item(2587), new Item(2589), new Item(3472),//black (t)
    		new Item(2591), new Item(2593), new Item(2595), new Item(2597), new Item(3473),//black (g)
    		new Item(2599), new Item(2601), new Item(2603), new Item(2605), new Item(3474),//adamant (t)
    		new Item(2607), new Item(2609), new Item(2611), new Item(2613), new Item(3475),//adamant (g)
    		new Item(2615), new Item(2617), new Item(2619), new Item(2621), new Item(3476),//rune (g)
    		new Item(2623), new Item(2625), new Item(2627), new Item(2629), new Item(3477),//rune (t)
    		new Item(2633), new Item(2635), new Item(2637),//berets
    		new Item(2639), new Item(2641), new Item(2643),//cavaliers
    		new Item(2645), new Item(2647), new Item(2649),//headbands
    		new Item(2651),//pirate hat
    		new Item(2653), new Item(2655), new Item(2657), new Item(2659), new Item(3478),//zamorak armor
    		new Item(2661), new Item(2663), new Item(2665), new Item(2667), new Item(3479),//saradomin armor
    		new Item(2669), new Item(2671), new Item(2673), new Item(2675), new Item(3480),//guthix armor
    		new Item(3481), new Item(3483), new Item(3485), new Item(3486), new Item(3486),//gilded armor
    		new Item(19167), new Item(19169), new Item(19171),//black h1
    		new Item(19173), new Item(19175), new Item(19177),//addy h1
    		new Item(19179), new Item(19182), new Item(19185),//rune h1
    		new Item(19188), new Item(19190), new Item(19192),//black h2
    		new Item(19194), new Item(19196), new Item(19198),//addy h2
    		new Item(19200), new Item(19203), new Item(19206),//rune h2
    		new Item(19209), new Item(19211), new Item(19213),//black h3
    		new Item(19215), new Item(19217), new Item(19219),//addy h3
    		new Item(19221), new Item(19224), new Item(19227),//rune h3
    		new Item(19230), new Item(19232), new Item(19234),//black h4
    		new Item(19236), new Item(19238), new Item(19240),//addy h4
    		new Item(19242), new Item(19245), new Item(19248),//rune h4
    		new Item(19251), new Item(19253), new Item(19255),//black h5
    		new Item(19257), new Item(19259), new Item(19261),//addy h5
    		new Item(19263), new Item(19266), new Item(19269),//rune h5
    		new Item(13107), new Item(13109), new Item(13111), new Item(13113), new Item(13115),//animal masks
    		new Item(19272),//fox mask
    		new Item(19275), new Item(19278),//unicorn masks
    		new Item(19281), new Item(19284), new Item(19287), new Item(19290),//chromatic dragon masks
    		new Item(19293),//frost dragon mask
    		new Item(19296), new Item(19299), new Item(19302), new Item(19305),//metal dragon masks
    		new Item(19323), new Item(19325), new Item(19327), new Item(19329), new Item(19331),//animal staves
    		new Item(19333), new Item(19346), new Item(19348), new Item(19350), new Item(19352), new Item(19354), new Item(19356), new Item(19358), new Item(19360), new Item(25312), new Item(25314),//ornamental kits
    		new Item(19362), new Item(19364), new Item(19366), //croziers arm/ban/anc
    		new Item(19368), new Item(19370), new Item(19372), //cloak arm/ban/anc
    		new Item(19374), new Item(19376), new Item(19378), //mitre arm/ban/anc
    		new Item(19380), new Item(19382), new Item(19384), //robe top arm/anc/ban
    		new Item(19386), new Item(19388), new Item(19390), //robe bottom arm/ban/anc
    		new Item(19392), new Item(19394), new Item(19396), //stole arm/ban/anc
    		new Item(19398), new Item(19401), new Item(19404), new Item(19407), new Item(19410), //ancient armor
    		new Item(19413), new Item(19416), new Item(19419), new Item(19422), new Item(19425), //armadyl armor
    		new Item(19428), new Item(19431), new Item(19434), new Item(19437), new Item(19440), //bandos armor
    		new Item(19443), new Item(19445), new Item(19447), new Item(19449),//ancient dhide
    		new Item(19451), new Item(19453), new Item(19455), new Item(19457),//bandos dhide
    		new Item(19459), new Item(19461), new Item(19463), new Item(19465),//armadyl dhide
    		new Item(19467, 10), new Item(19467, 20), new Item(19467, 30),  new Item(19467, 40),//biscuits
    		new Item(10476, 20), new Item(10476, 40), new Item(10476, 60),  new Item(10476, 80),//purple sweets
    		new Item(19621, 3), new Item(19621, 6), new Item(19621, 9),//fetch casket scroll
    		new Item(19622), new Item(19622), new Item(19622), new Item(19622),//meerkat pouch
    		new Item(19143), new Item(19146), new Item(19149),//god bows
    		new Item(19152, 100), new Item(19157, 100), new Item(19162, 100), new Item(19152, 250), new Item(19157, 250), new Item(19162, 250),//god arrows
    		new Item(2631)//highwayman mask
    		};
    	
    	static Item[] ThirdAge = {
    		new Item(10330), new Item(10332), new Item(10334), new Item(10336),//ranged
    		new Item(10338), new Item(10340), new Item(10342), new Item(10344),//mage
    		new Item(10346), new Item(10348), new Item(10350), new Item(10352),//melee
    		new Item(19308), new Item(19311), new Item(19314), new Item(19317),new Item(19320)//druidic
    	};
    Reply With Quote  
     

  2. #2  
    Registered Member _Reece's Avatar
    Join Date
    Oct 2014
    Posts
    830
    Thanks given
    176
    Thanks received
    147
    Rep Power
    31
    thanks I guess
    Reply With Quote  
     

  3. #3  
    Registered Member
    Ynneh's Avatar
    Join Date
    Mar 2010
    Posts
    2,204
    Thanks given
    146
    Thanks received
    254
    Discord
    View profile
    Rep Power
    241
    gj
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Dec 2012
    Posts
    3,006
    Thanks given
    899
    Thanks received
    929
    Rep Power
    2548
    At least make it an int array instead of Item
    Reply With Quote  
     

  5. #5  
    Registered Member jh_angel's Avatar
    Join Date
    Feb 2008
    Posts
    179
    Thanks given
    30
    Thanks received
    10
    Rep Power
    21
    Quote Originally Posted by Kaleem View Post
    At least make it an int array instead of Item
    I was wondering which was better. I just made this in the way it was before I started adding more. I also noticed it was done like this in some other places.
    When I did my own things from scratch I have usually used arrays with item ids because it seemed simpler to me but I didn't know if there was a reason why people made arrays of items instead of arrays of item ids.
    Does it actually make a difference in a significant way or is it just about making it look nicer?
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Dec 2012
    Posts
    3,006
    Thanks given
    899
    Thanks received
    929
    Rep Power
    2548
    Quote Originally Posted by jh_angel View Post
    I was wondering which was better. I just made this in the way it was before I started adding more. I also noticed it was done like this in some other places.
    When I did my own things from scratch I have usually used arrays with item ids because it seemed simpler to me but I didn't know if there was a reason why people made arrays of items instead of arrays of item ids.
    Does it actually make a difference in a significant way or is it just about making it look nicer?
    Using a bunch of
    Code:
    new Item(..)
    instead of just a number is much uglier - the only advantage with an array of items is that you can specify amount
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Registered Member jh_angel's Avatar
    Join Date
    Feb 2008
    Posts
    179
    Thanks given
    30
    Thanks received
    10
    Rep Power
    21
    Quote Originally Posted by Kaleem View Post
    Using a bunch of
    Code:
    new Item(..)
    instead of just a number is much uglier - the only advantage with an array of items is that you can specify amount
    Well in this case a few of the rewards (arrows, biscuits, purple candy, scrolls) need a specified amount. Is it really worth complicating the code by splitting up those items from the rest of the items?

    Also wouldn't a two-dimensional array look nicer while still letting you specify both id and amount? Or is there any reason to use an array of items instead of a two-dimensional array?
    Reply With Quote  
     

  9. #8  
    What?

    Luminous's Avatar
    Join Date
    Apr 2015
    Posts
    489
    Thanks given
    231
    Thanks received
    341
    Rep Power
    179
    Nice contribution, an array just is cleaner but still, gj.
    Spoiler for My sig:

    [Only registered and activated users can see links. ]

    Reply With Quote  
     

  10. #9  
    Registered Member Seth's Avatar
    Join Date
    Feb 2013
    Posts
    901
    Thanks given
    178
    Thanks received
    101
    Rep Power
    20
    Nice job. The grind was real.
    Reply With Quote  
     

  11. #10  
    Registered Member

    Join Date
    Dec 2012
    Posts
    3,006
    Thanks given
    899
    Thanks received
    929
    Rep Power
    2548
    Quote Originally Posted by jh_angel View Post
    Well in this case a few of the rewards (arrows, biscuits, purple candy, scrolls) need a specified amount. Is it really worth complicating the code by splitting up those items from the rest of the items?

    Also wouldn't a two-dimensional array look nicer while still letting you specify both id and amount? Or is there any reason to use an array of items instead of a two-dimensional array?
    But the items with more than 1 amount aren't static, they are random - so specifying amount is basically useless
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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. ★ DeedsOfSin Progress Log - TREASURE TRAIL REWARD LOG! ★
    By Inside Sin in forum Old School RS (2007)
    Replies: 18
    Last Post: 03-28-2013, 12:48 PM
  2. Replies: 22
    Last Post: 08-19-2010, 03:25 PM
  3. Treasure Trail Codes/Base
    By Bando in forum Tutorials
    Replies: 14
    Last Post: 06-29-2009, 07:20 AM
  4. Replies: 11
    Last Post: 02-23-2009, 12:44 AM
  5. My Basic Treasure Trails.
    By Bando in forum Show-off
    Replies: 8
    Last Post: 02-13-2009, 03:26 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
  •