Thread: dagenhams skill system problems

Results 1 to 7 of 7
  1. #1 dagenhams skill system problems 
    Banned
    Join Date
    Sep 2010
    Posts
    883
    Thanks given
    20
    Thanks received
    6
    Rep Power
    0
    server disconnects everybody when these errors are thrown

    Code:
    [9/3/11 5:41 AM]: java.lang.NullPointerException
    [9/3/11 5:41 AM]:       at server.model.items.ItemAssistant.createGroundItem(Ite
    mAssistant.java:2529)
    [9/3/11 5:41 AM]:       at server.world.ItemHandler.createGroundItem(ItemHandler
    .java:133)
    [9/3/11 5:41 AM]:       at server.model.players.skills.Firemaking$3.execute(Fire
    making.java:149)
    [9/3/11 5:41 AM]:       at server.event.CycleEventContainer.execute(CycleEventCo
    ntainer.java:58)
    [9/3/11 5:41 AM]:       at server.event.CycleEventHandler.process(CycleEventHand
    ler.java:63)
    [9/3/11 5:41 AM]:       at server.Server.main(Server.java:144)
    Code:
    [9/4/11 7:44 AM]: java.lang.NullPointerException
    [9/4/11 7:44 AM]:       at server.model.items.ItemAssistant.createGroundItem(Ite
    mAssistant.java:2529)
    [9/4/11 7:44 AM]:       at server.world.ItemHandler.createGroundItem(ItemHandler
    .java:133)
    [9/4/11 7:44 AM]:       at server.model.players.skills.Woodcutting.recieveBirdsN
    est(Woodcutting.java:165)
    [9/4/11 7:44 AM]:       at server.model.players.skills.Woodcutting.access$000(Wo
    odcutting.java:19)
    [9/4/11 7:44 AM]:       at server.model.players.skills.Woodcutting$1.execute(Woo
    dcutting.java:81)
    [9/4/11 7:44 AM]:       at server.event.CycleEventContainer.execute(CycleEventCo
    ntainer.java:58)
    [9/4/11 7:44 AM]:       at server.event.CycleEventHandler.process(CycleEventHand
    ler.java:63)
    [9/4/11 7:44 AM]:       at server.Server.main(Server.java:144)
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Sep 2010
    Age
    29
    Posts
    567
    Thanks given
    147
    Thanks received
    202
    Rep Power
    0
    Firemaking when it drops the bird nest
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Sep 2010
    Posts
    883
    Thanks given
    20
    Thanks received
    6
    Rep Power
    0
    Quote Originally Posted by Ducky View Post
    Firemaking when it creates the ashes
    yea i know, whats wrong with it?
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Sep 2010
    Posts
    883
    Thanks given
    20
    Thanks received
    6
    Rep Power
    0
    this is line 2529 in itemassistant:
    Code:
    c.getOutStream().createFrame(85);
    it isnt even being called in neither classes
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Sep 2010
    Posts
    883
    Thanks given
    20
    Thanks received
    6
    Rep Power
    0
    line 133 in itemhandler:

    Code:
    c.getItems().createGroundItem(itemId, itemX, itemY, 1);
    need serious help
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Sep 2010
    Age
    29
    Posts
    567
    Thanks given
    147
    Thanks received
    202
    Rep Power
    0
    My bad, it's the bird nests not the ashes
    Reply With Quote  
     

  7. #7  
    Banned
    Join Date
    Sep 2010
    Posts
    883
    Thanks given
    20
    Thanks received
    6
    Rep Power
    0
    Quote Originally Posted by Ducky View Post
    My bad, it's the bird nests not the ashes
    it is the ashes for firemaking also, that lines points to:

    Code:
    Server.itemHandler.createGroundItem(c, 592, coords[0], coords[1], 1, c.getId());
    592 = ashes

    and this is the line for birdnests

    Code:
    Server.itemHandler.createGroundItem(c, 5070 + Misc.random(4), c.getX(), c.getY(), 1, c.getId());
    whats wrong? cant seem to find out -_-
    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. [PI]Skill System Help
    By Glenn in forum Requests
    Replies: 0
    Last Post: 06-02-2011, 06:48 PM
  2. dagenhams door system
    By Wizard ebodA in forum Help
    Replies: 2
    Last Post: 05-26-2011, 07:40 PM
  3. Problems with a donator/reward system =\
    By PvPRemix in forum Help
    Replies: 4
    Last Post: 06-10-2010, 11:19 PM
  4. Simple Skill System
    By Vastiko in forum Snippets
    Replies: 7
    Last Post: 07-31-2009, 09:11 PM
  5. [508]System of loading XMLs problems[508]
    By Pandemic Scape in forum Help
    Replies: 1
    Last Post: 03-20-2009, 07:28 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
  •