Thread: /Azure V3/ No weapon bug for NPC Combat

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 /Azure V3/ No weapon bug for NPC Combat 
    Banned
    Join Date
    Jan 2011
    Age
    27
    Posts
    93
    Thanks given
    15
    Thanks received
    5
    Rep Power
    0
    I have this weird bug that i havent fixed yet cause im not 100% sure how to fix this bug.

    Server Base: Azure v3
    Bug: NPC Combat bug

    Bug Details:
    - When you have no weapons on, in weapon slot. And attack a npc you will disconnect from the server. Im not 100% if this is the same way as Attacking player, but if it is. Help fix that to .
    End of Bug:

    Any fixes?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Feb 2011
    Posts
    20
    Thanks given
    0
    Thanks received
    1
    Rep Power
    22
    It's probably the sound, just comment the sound out, because it could cause a nullpointer if you don't have sound enabled on your client. Otherwise it works for me fine.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Knova's Avatar
    Join Date
    Aug 2007
    Age
    33
    Posts
    677
    Thanks given
    0
    Thanks received
    9
    Rep Power
    344
    There no sound for punching though,

    sorry, one sec i'll fix it for you.
    I AM KITE! Hope you like my programming!
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Jan 2011
    Age
    27
    Posts
    93
    Thanks given
    15
    Thanks received
    5
    Rep Power
    0
    Nope. Still disconnects.

    Edit: Okay, thanks man.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2011
    Posts
    20
    Thanks given
    0
    Thanks received
    1
    Rep Power
    22
    Could you please post the error you get server-sided and/or client-sided?
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Jan 2011
    Age
    27
    Posts
    93
    Thanks given
    15
    Thanks received
    5
    Rep Power
    0
    I believe this is the error.

    Code:
    java.lang.NullPointerException
            at com.rs2.model.content.Combat.handleCombat(Combat.java:80)
            at com.rs2.model.players.Player.process(Player.java:173)
            at com.rs2.model.World.process(World.java:53)
            at com.rs2.Server.cycle(Server.java:200)
            at com.rs2.Server.run(Server.java:113)
            at java.lang.Thread.run(Unknown Source)
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Feb 2011
    Posts
    20
    Thanks given
    0
    Thanks received
    1
    Rep Power
    22
    That message comes too attack a npc, and logout when he attacks you. The combat is just a start, a basic hit system. You have to reset the npcs attack I think. Really got no idea, that's all I could think of.
    Reply With Quote  
     

  8. #8  
    Banned
    Join Date
    Jan 2011
    Age
    27
    Posts
    93
    Thanks given
    15
    Thanks received
    5
    Rep Power
    0
    Well i reposted that Null pointer. Well it was a null pointer. Refresh the post and u will see if u havent yet.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Feb 2011
    Posts
    20
    Thanks given
    0
    Thanks received
    1
    Rep Power
    22
    player.getActionSender().sendSound(weapon.getEquip mentDefintion().getSoundId() search for that and comment it out. And also the line under, which should be end of the code.
    Reply With Quote  
     

  10. #10  
    Banned
    Join Date
    Jan 2011
    Age
    27
    Posts
    93
    Thanks given
    15
    Thanks received
    5
    Rep Power
    0
    Nah, its not sounds. Because with weapons. it works. And it has sounds.
    Reply With Quote  
     

Page 1 of 2 12 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. Replies: 1
    Last Post: 03-01-2011, 02:09 AM
  2. [delta] Combat Lvl Text on Weapon tab
    By King Man002 in forum Help
    Replies: 2
    Last Post: 02-20-2011, 03:00 AM
  3. Azure 317.
    By Ashen Sky in forum Projects
    Replies: 85
    Last Post: 02-15-2011, 01:49 PM
  4. Azure 508 (old)
    By Ashen Sky in forum Downloads
    Replies: 5
    Last Post: 12-23-2010, 09:14 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
  •