Thread: Npc Drop Rates

Results 1 to 10 of 10
  1. #1 Npc Drop Rates 
    Registered Member
    Optimum's Avatar
    Join Date
    Apr 2012
    Posts
    3,570
    Thanks given
    871
    Thanks received
    1,745
    Rep Power
    5000
    Could anyone help me fix this:
    Code:
    String[] information = normalTok.nextToken().split(":");
    				int npcId = Integer.parseInt(information[0]);
    				itemRarity[npcId] = Integer.parseInt(information[1])-1;
    				itemVRarity[npcId] = Integer.parseInt(information[2])-1;
    				itemERarity[npcId] = Integer.parseInt(information[3])-1;
    				npcDrops[npcId] = new int[normalTok.countTokens()][2];
    				rareDrops2[npcId] = new int[rareTok.countTokens()][2];
    				rareDrops3[npcId] = new int[vRareTok.countTokens()][2];
    				rareDrops4[npcId] = new int[eRareTok.countTokens()][2];
    basically this is how i want the drops to actually do:
    Code:
    #Abyssal Demon
    1615:20:30:2	1283:1	1361:1	1365:1	249:1	251:1	253:1	556:50	565:7	562:10	995:30	995:44	995:132	995:220	995:460	379:1	7937:60
    1197:1	1113:1	1147:1	255:1	257:1	259:1	261:1	263:1	563:1
    265:1	267:1	1462:1
    4151:1
    The error is that
    Code:
    1615:20:30:2
    1615:20:30:2	1283:1	1361:1	1365:1	249:1	251:1	253:1	556:50	565:7	562:10	995:30	995:44	995:132	995:220	995:460	379:1	7937:60
    1197:1	1113:1	1147:1	255:1	257:1	259:1	261:1	263:1	563:1
    265:1	267:1	1462:1
    4151:1
    the 4151 uses the red part, but i want it to use the green part, if yuo need my npcdrops then ask

    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  
     

  2. #2  
    Member #35, most veteran member left? :D


    Join Date
    Jul 2006
    Age
    30
    Posts
    2,660
    Thanks given
    53
    Thanks received
    331
    Rep Power
    925
    Can you post the full method?


    `Ex-global moderator x3 (resigned)
    Reply With Quote  
     

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

    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  
     

  4. #4  
    Member #35, most veteran member left? :D


    Join Date
    Jul 2006
    Age
    30
    Posts
    2,660
    Thanks given
    53
    Thanks received
    331
    Rep Power
    925
    Are the 20, 30, and 2 representative of the drop chance? This whole method of drops seems really confusing and redundant.


    `Ex-global moderator x3 (resigned)
    Reply With Quote  
     

  5. #5  
    Registered Member
    Optimum's Avatar
    Join Date
    Apr 2012
    Posts
    3,570
    Thanks given
    871
    Thanks received
    1,745
    Rep Power
    5000
    Quote Originally Posted by Runite View Post
    Are the 20, 30, and 2 representative of the drop chance? This whole method of drops seems really confusing and redundant.
    Yea all them represent drop rates, common uncommon rare very rare, it did drop all the items in each list so i know they work in npcHandler

    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  
     

  6. #6  
    Member #35, most veteran member left? :D


    Join Date
    Jul 2006
    Age
    30
    Posts
    2,660
    Thanks given
    53
    Thanks received
    331
    Rep Power
    925
    Quote Originally Posted by Optimum View Post
    Yea all them represent drop rates, common uncommon rare very rare, it did drop all the items in each list so i know they work in npcHandler
    I just had a thought and looked at the bottom of your method:
    Code:
    dropVRarity.put(npcId, itemVRarity[npcId]);
    dropERarity.put(npcId, itemVRarity[npcId]);
    Notice something wrong with that?


    `Ex-global moderator x3 (resigned)
    Reply With Quote  
     

  7. #7  
    Registered Member
    Optimum's Avatar
    Join Date
    Apr 2012
    Posts
    3,570
    Thanks given
    871
    Thanks received
    1,745
    Rep Power
    5000
    Quote Originally Posted by Runite View Post
    I just had a thought and looked at the bottom of your method:
    Code:
    dropVRarity.put(npcId, itemVRarity[npcId]);
    dropERarity.put(npcId, itemVRarity[npcId]);
    Notice something wrong with that?
    if this works, **** MY LIFE

    simple things like that ae

    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  
     

  8. #8  
    Member #35, most veteran member left? :D


    Join Date
    Jul 2006
    Age
    30
    Posts
    2,660
    Thanks given
    53
    Thanks received
    331
    Rep Power
    925
    Quote Originally Posted by Optimum View Post
    if this works, **** MY LIFE

    simple things like that ae
    Let me know!


    `Ex-global moderator x3 (resigned)
    Reply With Quote  
     

  9. #9  
    Registered Member
    Optimum's Avatar
    Join Date
    Apr 2012
    Posts
    3,570
    Thanks given
    871
    Thanks received
    1,745
    Rep Power
    5000
    Quote Originally Posted by Runite View Post
    Let me know!
    Marry me, It worked, all because of mu stupid error man, hey add me on skype if ya wish
    Last edited by Optimum; 08-14-2022 at 08:33 PM.

    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  
     

  10. #10  
    Member #35, most veteran member left? :D


    Join Date
    Jul 2006
    Age
    30
    Posts
    2,660
    Thanks given
    53
    Thanks received
    331
    Rep Power
    925
    Quote Originally Posted by Optimum View Post
    Marry me, It worked, all because of mu stupid error man, hey add me on skype if ya wish : zackdavidson.2012
    Hahaha dude it happens to the best of us! I'm glad I could help


    `Ex-global moderator x3 (resigned)
    Reply With Quote  
     

  11. Thankful user:



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. Can't fix NPC Drop rates [PI] 317
    By ClashoftheTITAN in forum Help
    Replies: 0
    Last Post: 12-19-2011, 04:28 AM
  2. npc drop rate PI
    By zzjimmy in forum Help
    Replies: 8
    Last Post: 10-03-2011, 03:48 AM
  3. npc drops rates
    By thenoobftw in forum Help
    Replies: 0
    Last Post: 08-04-2011, 06:17 PM
  4. [PI] Changing NPC Drop rates
    By Tom Sawyer in forum Help
    Replies: 2
    Last Post: 06-13-2011, 05:38 AM
  5. [Delta]Need help with changing npc drop rate
    By WebsterScape in forum Help
    Replies: 7
    Last Post: 06-14-2009, 09:56 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
  •