Thread: Dragon fire shield problem.

Results 1 to 7 of 7
  1. #1 Dragon fire shield problem. 
    Registered Member ledgman's Avatar
    Join Date
    Apr 2009
    Posts
    76
    Thanks given
    0
    Thanks received
    0
    Rep Power
    4
    Hey well i added the new dragonfire shield that moves etc etc and i added the fire emote for when in combat etc etc but it does not protect again dragons..

    How can this be fixed?

    Thanks in advance.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    search anti-dragon shield and just add in the id of dragonfire shield there.

    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  
     

  3. #3  
    Registered Member ledgman's Avatar
    Join Date
    Apr 2009
    Posts
    76
    Thanks given
    0
    Thanks received
    0
    Rep Power
    4
    I have i swear i've added 10027 to all the normal anti dragon shield has etc etc where is the case for the anti dragon shields effect?

    Thanks.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    May 2009
    Posts
    1,220
    Thanks given
    4
    Thanks received
    61
    Rep Power
    0
    You added it in the wrong place then. Or maybe theirs something like:

    if (endsWith(name))? If there is just change it.
    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
    Quote Originally Posted by austin3c View Post
    You added it in the wrong place then. Or maybe theirs something like:

    if (endsWith(name))? If there is just change it.
    wrong. go into NPCHandler.java, and search for
    Code:
    1540
    youll see stuff like
    Code:
    if(plr.playerEquipment[plr.playerShield] == 1540 || plr.ProtMage) {
    plr.lowGFX(579, 0);
    hitDiff = 3 + misc.random(7);
    plr.sM("You are protected from the dragon's fire!");
    } else if(plr.playerEquipment[plr.playerShield] != 1540) {
    plr.lowGFX(579, 0);
    hitDiff = 20 + misc.random(30);
    plr.sM("You are burnt by the fire!");}
    						} else if(npcs[NPCID].npcType == 50 && misc.random(3)==1){
    if(plr.playerEquipment[plr.playerShield] == 1540 || plr.ProtMage) {
    plr.lowGFX(579, 0);
    hitDiff = 3 + misc.random(7);
    plr.sM("You are protected from the dragon's fire!");
    } else if(plr.playerEquipment[plr.playerShield] != 1540) {
    plr.lowGFX(579, 0);
    hitDiff = 20 + misc.random(30);
    plr.sM("You are burnt by the fire!");}
    						} else if(npcs[NPCID].npcType == 50 && misc.random(3)==1){
    if(plr.playerEquipment[plr.playerShield] == 1540 || plr.ProtMage) {
    plr.specGFX(396);
    hitDiff = 3 + misc.random(7);
    plr.EntangleDelay = 10;
    plr.sM("You have been frozen!");
    } else if(plr.playerEquipment[plr.playerShield] != 1540) {
    plr.specGFX(396);
    hitDiff = 20 + misc.random(30);
    plr.EntangleDelay = 10;
    plr.sM("You have been frozen!");}
    replace it with
    Code:
    if(plr.playerEquipment[plr.playerShield] == 1540 || plr.playerEquipment[plr.playerShield] == 10027 || plr.ProtMage) {
    plr.lowGFX(579, 0);
    hitDiff = 3 + misc.random(7);
    plr.sM("You are protected from the dragon's fire!");
    } else if(plr.playerEquipment[plr.playerShield] != 1540 && plr.playerEquipment[plr.playerShield] != 10027) {
    plr.lowGFX(579, 0);
    hitDiff = 20 + misc.random(30);
    plr.sM("You are burnt by the fire!");}
    						} else if(npcs[NPCID].npcType == 50 && misc.random(3)==1){
    if(plr.playerEquipment[plr.playerShield] == 1540 || plr.playerEquipment[plr.playerShield] == 10027 || plr.ProtMage) {
    plr.lowGFX(579, 0);
    hitDiff = 3 + misc.random(7);
    plr.sM("You are protected from the dragon's fire!");
    } else if(plr.playerEquipment[plr.playerShield] != 1540 && plr.playerEquipment[plr.playerShield] != 10027) {
    plr.lowGFX(579, 0);
    hitDiff = 20 + misc.random(30);
    plr.sM("You are burnt by the fire!");}
    						} else if(npcs[NPCID].npcType == 50 && misc.random(3)==1){
    if(plr.playerEquipment[plr.playerShield] == 1540 || plr.playerEquipment[plr.playerShield] == 10027 || plr.ProtMage) {
    plr.specGFX(396);
    hitDiff = 3 + misc.random(7);
    plr.EntangleDelay = 10;
    plr.sM("You have been frozen!");
    } else if(plr.playerEquipment[plr.playerShield] != 1540 || plr.playerEquipment[plr.playerShield] != 10027) {
    plr.specGFX(396);
    hitDiff = 20 + misc.random(30);
    plr.EntangleDelay = 10;
    plr.sM("You have been frozen!");}
    there ya go. rep would be nice (:

    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 ledgman's Avatar
    Join Date
    Apr 2009
    Posts
    76
    Thanks given
    0
    Thanks received
    0
    Rep Power
    4
    Omg thanks.

    Rep++
    Reply With Quote  
     

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

    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

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