Thread: Increase NPC Spawn

Results 1 to 7 of 7
  1. #1 Increase NPC Spawn 
    Registered Member

    Join Date
    Mar 2009
    Posts
    1,012
    Thanks given
    70
    Thanks received
    178
    Rep Power
    0
    How do I allow it so I can spawn an NPC above the max limit?
    I'm using Devo 2.7 and I get an exception when I try to.

    I increased the limit client side already; but still isn't working lol.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Mar 2009
    Posts
    1,012
    Thanks given
    70
    Thanks received
    178
    Rep Power
    0
    Bump :c.
    Reply With Quote  
     

  3. #3  
    Whatchu talkin bout willis?

    Gary's Avatar
    Join Date
    Sep 2008
    Posts
    4,185
    Thanks given
    699
    Thanks received
    656
    Rep Power
    3514
    hmmmm, you mean uve changed this in class5

    anIntArray72 = new int[anInt62+400000]; <-- to that?, if your still having trouble go in npc handler or manager and ull see somthing with an npc limit, like 3871 or somthing and change that number to somthing higher ad that should work, thats what i did
    Ellie
    Sadly lost my beautiful ellie in july 2018 always going to miss you my girl
    Spoiler for sig too big:
    Attached image

    Attached image
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Mar 2009
    Posts
    1,012
    Thanks given
    70
    Thanks received
    178
    Rep Power
    0
    Yep, and only thing in my npcHandler are these.
    Code:
    public int[] respawnTime = new int[3851];
    public int[] combatLevel = new int[3851];
    3851 is the max amount of NPCs, if I edit that to say 10000 and I spawn say:
    Code:
    :: spawnnpc 6260
    the NPC is then like 2819 :x.


    There's also this:
    Code:
    	public static int maxNPCs = 10000;
    	public static int maxListedNPCs = 10000;
    	public static int maxNPCSpawns = 10000;
    But they were already like that x.x.
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Mar 2009
    Posts
    1,012
    Thanks given
    70
    Thanks received
    178
    Rep Power
    0
    Gah bump
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    May 2008
    Posts
    2,327
    Thanks given
    55
    Thanks received
    67
    Rep Power
    0
    maybe its the command? try using it through autospawn
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jan 2009
    Age
    31
    Posts
    2,661
    Thanks given
    66
    Thanks received
    207
    Rep Power
    0
    pretty sure the problem is in playerhandler.java and player.java when it outwrites what the npc is and stuff
    Reply With Quote  
     

  8. Thankful user:



Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •