Results 1 to 5 of 5
  1. #1
    damian007's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Location
    Germany, in a Shell.
    Posts
    199
    Reputation
    10
    Thanks
    128
    My Mood
    Chatty

    Fab's Source Armor Pierce Shots Fix!

    This is indeed a very easy fix, but make sure you don't have any corefiles Edited because you will Need to find the lines then.
    So lets Get Started!

    First off Navigate to wServer/realm/entities/player/player.cs

    Find
    Code:
    void Damage(int dmg, Entity chr);
    (line 18)

    and Replace it with
    Code:
    void Damage(int dmg, Entity chr, Boolean NoDef);
    After you have done that Search the same file for
    Code:
    public void Damage(int dmg, Entity chr)
    (line 284)
    and Replace with
    Code:
    public void Damage(int dmg, Entity chr, Boolean NoDef)
    After that, Search again in the same file
    Code:
    dmg = (int)StatsManager.GetDefenseDamage(dmg, false);
    (line 293)

    Replace with
    Code:
    dmg = (int)StatsManager.GetDefenseDamage(dmg, NoDef);
    So. Thats it for Player.cs now. now we navigate to wServer/networking/handlers/PlayerHitHandler.cs

    and find
    Code:
    client.Player.Damage(proj.Damage, proj.ProjectileOwner.Self);
    (Around line 44)

    Replace With
    Code:
    client.Player.Damage(proj.Damage, proj.ProjectileOwner.Self, proj.Descriptor.ArmorPiercing);
    Now we Navigate to wServer/logic/behaviors/Grenade.cs

    Search for :
    Code:
    world.Aoe(target, radius, true, p => { (p as IPlayer).Damage(damage, host as Character); });
    (Around Line 80)

    Replace with
    Code:
    world.Aoe(target, radius, true, p => { (p as IPlayer).Damage(damage, host as Character, false); });
    Now we Navigate to wServer/realm/entities/Decoy.cs

    And Search for
    Code:
    public void Damage(int dmg, Entity chr) { }
    (Around line 44)

    And Replace with
    Code:
    public void Damage(int dmg, Entity chr, Boolean NoDef) { }
    And now the Final Part. Goto wServer/realm/entities/Pet.cs

    and Find
    Code:
    public void Damage(int dmg, Entity chr) { }
    (line 392)

    And Replace with
    Code:
    public void Damage(int dmg, Entity chr, Boolean NoDef) { }
    That's it! Rebuild your Server and it Should work
    a BIG Thanks to @Roxy Lalonde Cause He wrote this code. He asked me to post it here.
    He didnt wanted a credit for something He would create in 5 Minute but still thanks.
    Last edited by damian007; 11-25-2015 at 02:17 PM.

  2. The Following 4 Users Say Thank You to damian007 For This Useful Post:

    epicdemic (04-15-2016),HGAEHaeheadhetdhtertherh (11-25-2015),The Real DethStrike (10-09-2017),WcCrusher (01-07-2016)

  3. #2
    NotKierze's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    105
    Reputation
    10
    Thanks
    21
    Quote Originally Posted by damian007 View Post
    This is indeed a very easy fix, but make sure you don't have any corefiles Edited because you will Need to find the lines then.
    So lets Get Started!

    First off Navigate to wServer/realm/entities/player/player.cs

    Find
    Code:
    void Damage(int dmg, Entity chr);
    (line 18)

    and Replace it with
    Code:
    void Damage(int dmg, Entity chr, Boolean NoDef);
    After you have done that Search the same file for
    Code:
    public void Damage(int dmg, Entity chr)
    (line 284)
    and Replace with
    Code:
    public void Damage(int dmg, Entity chr, Boolean NoDef)
    After that, Search again in the same file
    Code:
    dmg = (int)StatsManager.GetDefenseDamage(dmg, false);
    (line 293)

    Replace with
    Code:
    dmg = (int)StatsManager.GetDefenseDamage(dmg, NoDef);
    So. Thats it for Player.cs now. now we navigate to wServer/networking/handlers/PlayerHitHandler.cs

    and find
    Code:
    client.Player.Damage(proj.Damage, proj.ProjectileOwner.Self);
    (Around line 44)

    Replace With
    Code:
    client.Player.Damage(proj.Damage, proj.ProjectileOwner.Self, proj.Descriptor.ArmorPiercing);
    Now we Navigate to wServer/logic/behaviors/Grenade.cs

    Search for :
    Code:
    world.Aoe(target, radius, true, p => { (p as IPlayer).Damage(damage, host as Character); });
    (Around Line 80)

    Replace with
    Code:
    world.Aoe(target, radius, true, p => { (p as IPlayer).Damage(damage, host as Character, false); });
    Now we Navigate to wServer/realm/entities/Decoy.cs

    And Search for
    Code:
    public void Damage(int dmg, Entity chr) { }
    (Around line 44)

    And Replace with
    Code:
    public void Damage(int dmg, Entity chr, Boolean NoDef) { }
    And now the Final Part. Goto wServer/realm/entities/Pet.cs

    and Find
    Code:
    public void Damage(int dmg, Entity chr) { }
    (line 392)

    And Replace with
    Code:
    public void Damage(int dmg, Entity chr, Boolean NoDef) { }
    That's it! Rebuild your Server and it Should work
    a BIG Thanks to @Roxy Lalonde Cause She wrote this code. She asked me to post it here.
    she didnt wanted a credit for something she would create in 5 Minute but still thanks.
    @Roxy Lalonde is a he, secondly good job

  4. #3
    damian007's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Location
    Germany, in a Shell.
    Posts
    199
    Reputation
    10
    Thanks
    128
    My Mood
    Chatty
    @NotKierze Thanks for Saying #embarrasing :C. i edited it though.

  5. #4
    Stellar Spark's Avatar
    Join Date
    Jun 2013
    Gender
    female
    Posts
    724
    Reputation
    35
    Thanks
    799
    Quote Originally Posted by damian007 View Post
    a BIG Thanks to @Roxy Lalonde Cause He wrote this code. He asked me to post it here.
    He didnt wanted a credit for something He would create in 5 Minute but still thanks.
    stop saying "He" like i'm some sort of collective hivemind or something >.<

  6. The Following User Says Thank You to Stellar Spark For This Useful Post:

    I Don't Love You (11-27-2015)

  7. #5
    damian007's Avatar
    Join Date
    Mar 2013
    Gender
    male
    Location
    Germany, in a Shell.
    Posts
    199
    Reputation
    10
    Thanks
    128
    My Mood
    Chatty
    Quote Originally Posted by Roxy Lalonde View Post


    stop saying "He" like i'm some sort of collective hivemind or something >.<
    Sorry for that

Similar Threads

  1. How to make items Armor Pierce?
    By The Real DethStrike in forum Realm of the Mad God Private Servers Help
    Replies: 3
    Last Post: 10-24-2014, 07:27 PM
  2. [ tutorial ] head shot fix cheat engine
    By trob in forum Call of Duty Black Ops 2 Help
    Replies: 64
    Last Post: 01-14-2013, 01:37 PM
  3. Piercing shots?
    By Travoos in forum Realm of the Mad God Help & Requests
    Replies: 3
    Last Post: 10-28-2012, 08:35 AM
  4. Special Ops: Armor Piercing, Best way to complete!
    By flong5 in forum Call of Duty Modern Warfare 2 Discussions
    Replies: 6
    Last Post: 07-03-2011, 12:10 PM
  5. [Source] Respawn Hack Base(*Fixes Not Posted)
    By |-|3|_][({}PT3R12 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 13
    Last Post: 03-05-2010, 09:58 PM