Thread: [PI]Fatal Exception w/ Loadspell

Results 1 to 6 of 6
  1. #1 [PI]Fatal Exception w/ Loadspell 
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    So i added in chaos druid using snare, and I sometimes get this
    Code:
    [6/17/12 5:58 PM]:      at server.game.npcs.NPCHandler.loadSpell(NPCHandler.java
    :1805)
    [6/17/12 5:58 PM]:      at server.game.npcs.NPCHandler.attackPlayer(NPCHandler.j
    ava:2130)
    [6/17/12 5:58 PM]:      at server.game.npcs.NPCHandler.process(NPCHandler.java:1
    109)
    [6/17/12 5:58 PM]:      at server.Server.main(Server.java:156)
    [6/17/12 5:58 PM]: A fatal exception has been thrown!
    Press any key to continue . . .
    It only happens sometimes; sometimes it will use snare and work, sometimes it will use snare and give off that error. Here's my code
    Code:
    			case 181:
    			int randomer = Misc.random(2);
    			if (randomer == 0) {
    				npcs[i].projectileId = 94;
    				npcs[i].attackType = 2;
    				npcs[i].endGfx = 95;	
    			} else if (randomer == 1) {
    				npcs[i].projectileId = 178; //snare
    				npcs[i].attackType = 2;
    				npcs[i].endGfx = 180;
    					c.freezeTimer = 6;
    	                c.stopMovement();
    	                c.getCombat().resetPlayerAttack();
    	                c.sendMessage("You have been frozen.");
    			}	
    			break;

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for http://www.rune-server.org/runescape...pve-based.html
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2012
    Posts
    175
    Thanks given
    32
    Thanks received
    47
    Rep Power
    35
    Lol, you clipped out the most important part of the error. What kind of exception is it? I'm guessing ArrayIndexOutOfBoundsException or NullPointerException?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    Quote Originally Posted by Bauer24 View Post
    Lol, you clipped out the most important part of the error. What kind of exception is it? I'm guessing ArrayIndexOutOfBoundsException or NullPointerException?
    No I didn't..

    It's a null pointer though, but it shouldn't be throwing that off

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for http://www.rune-server.org/runescape...pve-based.html
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jun 2012
    Posts
    175
    Thanks given
    32
    Thanks received
    47
    Rep Power
    35
    Quote Originally Posted by Vox' View Post
    No I didn't..

    It's a null pointer though, but it shouldn't be throwing that off
    What is on line 1805?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    Code:
    c.freezeTimer = 6;
    I think I fixed it by just commenting out
    Code:
     c.stopMovement();
    This seems to have done the trick... still wondering why it set off the error though.

    NEVERMIND: Still happening.

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for http://www.rune-server.org/runescape...pve-based.html
    Reply With Quote  
     

  6. #6  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    Bump

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for http://www.rune-server.org/runescape...pve-based.html
    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. Replies: 5
    Last Post: 06-14-2012, 02:48 AM
  2. PI loadspell(i) HELP
    By youngy_james in forum Help
    Replies: 0
    Last Post: 02-15-2012, 04:38 AM
  3. Fatal-Pkers [PI]
    By tehsandbox in forum Advertise
    Replies: 8
    Last Post: 11-26-2011, 01:31 AM
  4. Will pay for help [317] Fatal Exception
    By Bridget7298 in forum Help
    Replies: 3
    Last Post: 04-28-2011, 01:26 PM
  5. Fatal Exception
    By Chris SS in forum Help
    Replies: 19
    Last Post: 11-11-2010, 11:30 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
  •