[Fix]So GM's can pk.

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    • [Fix]So GM's can pk.

      [FONT="Fixedsys"][COLOR="DarkOrchid"]I know most of you know how to "fix" this already but I figure I'll post a "fix" for it.
      First go to Charcater.cs and search for this.[/COLOR][/FONT]

      Quellcode

      1. if(!MyClient.GM)
      2. foreach (Character C in World.H_Chars.Values)
      3. {
      4. if (C.Alive && C != this)
      5. {
      6. if (MyMath.PointDistance(Loc.X, Loc.Y, C.Loc.X, C.Loc.Y) <= Dist)
      7. if (C.PKAble(PKMode, this) && !SU.PlayerTargets.Contains(C) && !World.NoPKMaps.Contains(Loc.Map))
      8. SU.PlayerTargets.Add(C, SU.GetDamage(C));
      9. }
      10. }

      [FONT="Fixedsys"][COLOR="DarkOrchid"]Delete that entire code.
      Next go to Attack.cs.
      Search for [/COLOR][/FONT]

      Quellcode

      1. if (PossChar != null)
      2. if (GC.GM)
      3. return;

      [FONT="Fixedsys"][COLOR="DarkOrchid"]Delete that.
      Now gm's should be able to pk.
      Hope this helps.[/COLOR][/FONT]
    • Werbung zur Unterstützung des Forums ( Bitte AddBlocker deaktivieren )