Thread: Eek Too many npcs

Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1 Eek Too many npcs 
    Donator


    Join Date
    Jan 2010
    Age
    26
    Posts
    4,101
    Thanks given
    266
    Thanks received
    521
    Discord
    View profile
    Rep Power
    685
    What does this mean? it doesnt happen all the time

    Code:
    Error: mobjunk Too many npcs
    java.lang.RuntimeException: eek
     at client.Client.method139(Client.java:12406)
    Error: T2 - 65,81,208 - 11,2661,3308 - 77,7,-3,10,64,18,0,43,-1,-3,0,
     at client.Client.updateNPCs(Client.java:2434)
     at client.Client.parsePacket(Client.java:13986)
     at client.Client.mainGameProcessor(Client.java:4072)
     at client.Client.processGameLoop(Client.java:3299)
     at client.RSApplet.run(RSApplet.java:199)
     at client.Client.run(Client.java:5899)
     at java.lang.Thread.run(Unknown Source)
    Code:
    if(k > npcCount)
      {
       Signlink.reporterror(myUsername + " Too many npcs");
       throw new RuntimeException("eek");
      }
    Reply With Quote  
     

  2. #2  
    Respected Member

    Join Date
    Jan 2009
    Posts
    5,682
    Thanks given
    1,093
    Thanks received
    3,494
    Discord
    View profile
    Rep Power
    5000
    npc updating is wrong, could be too many npc bits for the npc id
    Last edited by Spooky; 12-24-2017 at 03:21 PM.
    Reply With Quote  
     

  3. Thankful user:

    Sub

  4. #3  
    Donator


    Join Date
    Jan 2010
    Age
    26
    Posts
    4,101
    Thanks given
    266
    Thanks received
    521
    Discord
    View profile
    Rep Power
    685
    Quote Originally Posted by Stuart View Post
    player updating is wrong, could be too many npc bits for the npc id
    How do i know if the bits are wrong? and how do you see it might be the player updating
    Reply With Quote  
     

  5. #4  
    Banned

    Join Date
    Oct 2012
    Posts
    4,716
    Thanks given
    1,682
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by Nighel View Post
    How do i know if the bits are wrong? and how do you see it might be the player updating
    T2 - 65,81,208

    Packet 65 is npc updating not player
    packet 81 is player

    Done any changes to npc or player updating recently?
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Donator


    Join Date
    Jan 2010
    Age
    26
    Posts
    4,101
    Thanks given
    266
    Thanks received
    521
    Discord
    View profile
    Rep Power
    685
    Quote Originally Posted by _Patrick_ View Post
    T2 - 65,81,208

    Packet 65 is npc updating not player
    packet 81 is player
    I know 65 is npc and player but hes saying the player update is wrong when the the error is thrown for npc updating.

    Edit: npc bits currently used server and client sided is 14.
    Reply With Quote  
     

  8. #6  
    Banned

    Join Date
    Oct 2012
    Posts
    4,716
    Thanks given
    1,682
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by Nighel View Post
    I know 65 is npc and player but hes saying the player update is wrong when the the error is thrown for npc updating.

    Edit: npc bits currently used server and client sided is 14.
    Did you change anything in npc updating? Client or server sided? Just rerun them next to each other just to be sure.
    Thats how i always fix these issues.
    Reply With Quote  
     

  9. #7  
    08-13, SpawnScape Owner

    jet kai's Avatar
    Join Date
    Dec 2009
    Age
    25
    Posts
    736
    Thanks given
    379
    Thanks received
    358
    Discord
    View profile
    Rep Power
    2131
    may be something to do with the server sending over 255 npcs to render in the region you're in

    disable all npcs and specifically spawn 255-300 around you. you can find out what it may be then
    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]

    [Only registered and activated users can see links. ]

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

  10. #8  
    Donator


    Join Date
    Jan 2010
    Age
    26
    Posts
    4,101
    Thanks given
    266
    Thanks received
    521
    Discord
    View profile
    Rep Power
    685
    Quote Originally Posted by _Patrick_ View Post
    Did you change anything in npc updating? Client or server sided? Just rerun them next to each other just to be sure.
    Thats how i always fix these issues.
    No i never touched npc updating, my friend did it so theres a possibility he forgot/done something wrong. but i dont remb this ever happening before i packed 474 anims/gfxs/npcs

    Quote Originally Posted by jet kai View Post
    may be something to do with the server sending over 255 npcs to render in the region you're in

    disable all npcs and specifically spawn 255-300 around you. you can find out what it may be then
    I personally don't know what 'method139' does but it seems that the server is sending more npcs then the 'npcCount' in the client. and thats why its throwing the eek - too many npcs.

    I believe 'method139' is what reads how many npcs the server sends to the client.
    Reply With Quote  
     

  11. #9  
    Respected Member

    Join Date
    Jan 2009
    Posts
    5,682
    Thanks given
    1,093
    Thanks received
    3,494
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Nighel View Post
    No i never touched npc updating, my friend did it so theres a possibility he forgot/done something wrong. but i dont remb this ever happening before i packed 474 anims/gfxs/npcs



    I personally don't know what 'method139' does but it seems that the server is sending more npcs then the 'npcCount' in the client. and thats why its throwing the eek - too many npcs.

    I believe 'method139' is what reads how many npcs the server sends to the client.
    do you not use git? can just check the changes made
    Reply With Quote  
     

  12. Thankful user:

    Sub

  13. #10  
    Donator


    Join Date
    Jan 2010
    Age
    26
    Posts
    4,101
    Thanks given
    266
    Thanks received
    521
    Discord
    View profile
    Rep Power
    685
    Quote Originally Posted by Stuart View Post
    do you not use git? can just check the changes made
    No i don't and i am 99% sure that i did not touch my npc updating. only really touched the mask for force movement
    Reply With Quote  
     

Page 1 of 3 123 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. NullPointerException - Too many NPCs
    By NICKname in forum Help
    Replies: 0
    Last Post: 10-02-2010, 04:12 PM
  2. Help [BattleScape] Too many npc error
    By dr dree6 in forum Help
    Replies: 2
    Last Post: 09-03-2010, 07:45 PM
  3. What actually causes t2: Too many NPCs
    By tj007razor in forum Help
    Replies: 0
    Last Post: 03-01-2010, 06:27 AM
  4. Too many npcs = Crash >.>
    By Alwaysstuck1 in forum Requests
    Replies: 14
    Last Post: 05-24-2009, 01:23 PM
  5. Too many npc spawn = Lag?
    By Homie Pimpson in forum Help
    Replies: 10
    Last Post: 04-21-2009, 09:40 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
  •