Hid skok
Datum: 20/06/2012 19:55:20
Staženo: 665x
POkud už někde fce skok máte smazat tady...
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 }
}


Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!ThanksThank you because you have been willing to share information with us. paito hongkong