Hid skok

Datum: 20/06/2012 19:55:20

Staženo: 516x

Popis:

POkud už někde fce skok máte smazat tady...


Hodnocení: 3.5/10 (134 hlasy)

Download file:cs

Příkazy:

  • ,exec hidkroke
  • ,exec hidkrokn
  • ,step "direction dir"

Kód:

using System;
using System.Collections.Generic;
using System.Diagnostics;
using Phoenix.Communication;
using Phoenix.Configuration;
using Phoenix.WorldData;
using Phoenix.Runtime;
using Phoenix;
using System.Timers;
using System.Windows.Forms;
namespace Phoenix.Pluginsd
{
    public class Misca
    {    
    
  
           [Executable]
        public void hidkrokE()
         {
          UO.DeleteJournal();
          UO.Say("Jdeme na to!"); 
          UO.UseSkill("Hiding");
          UO.Wait(2250);
          if (Journal.Contains("You have hidden yourself well"))
              {
              UO.Say("Nepovedlo...RE-PETE");
              }
          else
              {
              UO.Say(",step East");
              UO.Print("Skok proveden");
              }
          }
[Executable]
public void hidkrokN()
{
UO.DeleteJournal();
UO.Say("Jdeme na to!"); 
UO.UseSkill("Hiding");
UO.Wait(2250);
if (Journal.Contains("You have hidden yourself well"))
{
UO.Say("Nepovedlo...RE-PETE");
}
else
{
UO.Say(",step North");
UO.Print("Skok proveden");
}
}


       
        [Command]
        public void step(Direction dir)
        {
            byte[] data = new byte[7];
            data[0] = 0x2;
            data[1] = (byte)dir;
            data[2] = WalkHandling.NextSequence;

            Core.SendToServer(data, true);
UO.Wait(200);
        }

        [ClientMessageHandler(0xC0)]
        public CallbackResult asdf(byte[] b, CallbackResult c)
        {
            return CallbackResult.Eat;
        }
    }

    public enum Direction : byte
    { North, Northeast, East, Southeast, South, Southwest, West, Northwest }
}
seo
10 Dec 2024

What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much.Please continue this great work and I look forward to more of your awesome blog posts. https://www.digitekprinting.com/poster-prints

Nový komentář