namespace JudeProject.Network.GamePackets
{
using JudeProject;
using JudeProject.Client;
using JudeProject.Game;
using JudeProject.Interfaces;
using JudeProject.Network;
using System;
public class GroundMovement : Writer, IPacket
{
private byte[] Buffer;
public const uint Run = 1;
public const uint TwoCoordonates = 9;
public const uint Walk = 0;
public GroundMovement(bool CreateInstance)
{
if (CreateInstance)
{
this.Buffer = new byte[32];
Writer.WriteUInt32(24, 0, this.Buffer);
Writer.WriteUInt32(10005, 2, this.Buffer);
}
}
public void Deserialize(byte[] buffer)
{
this.Buffer = buffer;
}
public void Send(GameState client)
{
client.Send(this.Buffer);
}
public byte[] ToArray()
{
return this.Buffer;
}
public Enums.ConquerAngle Direction
{
get
{
return (Enums.ConquerAngle)((byte)(this.Buffer[4] % 8));
}
set
{
this.Buffer[4] = (byte)value;
}
}
public uint GroundMovementType
{
get
{
return JudeProject.BitConverter.ToUInt32(this.Buffer, 12);
}
set
{
Writer.WriteUInt32(value, 12, this.Buffer);
}
}
public uint MapID
{
get
{
return JudeProject.BitConverter.ToUInt32(this.Buffer, 20);
}
set
{
Writer.WriteUInt32(value, 20, this.Buffer);
}
}
public uint TimeStamp
{
get
{
return JudeProject.BitConverter.ToUInt32(this.Buffer, 0x10);
}
set
{
Writer.WriteUInt32(value, 0x10, this.Buffer);
}
}
public uint UID
{
get
{
return JudeProject.BitConverter.ToUInt32(this.Buffer, 8);
}
set
{
Writer.WriteUInt32(value, 8, this.Buffer);
}
}
}
}
my movement angle
Code:
public enum ConquerAngle : byte
{
East = 5,
North = 3,
NorthEast = 4,
NorthWest = 2,
South = 7,
SouthEast = 6,
SouthWest = 0,
West = 1
}
how do i fix my walking problem? does anyone know how? thanks
my bad for duplicating threads.
It might not help with your case, but it might help the majority of members wondering where Chris's logic comes from. Below was the diagram I created to figure it out (back in the day). It might also help the next person who wants to help you locate where the code is in your source to change. Cheers.
Why exactly are you bumping this? All of the answers for how this feature works has been posted above. What exactly do you need that hasn't been posted already? You posted the implementation.
[Question] how to make/add sql for mount/pet 10/16/2012 - Eudemons Online - 1 Replies How to make/add sql for mount/pet? i already have data for client but dont have sql.. what i need is sql mount frog.. anyone can teach me please :(
please help Question bout mount 08/05/2012 - EO PServer Hosting - 0 Replies when on my mount i use Exp skill or other skill and it kicks me off my mount i have seen this on elitepvpers some where but i cannot find it ive justed searched Releases and hosting cant find anything :/ please can some one point me in the right direction , im sure its in cq_config ... but not sure what to edit
Dalaran Sewer Mount arena (Aq 40 opening mount) 02/09/2009 - WoW Exploits, Hacks, Tools & Macros - 14 Replies Well, you cant use any mounts in dalaran arena, except Black Qiraji Resonating Crystal. I know not much people have it, but still it is not intended to be able to mount in this arena, so i posted it there) Btw, you still can get the Scarab Lord title and mount, there are several servers, where gates are not open yet, all new servers where transfer is closed for first 3 months have their gates closed, so you can make the scepter on your server and then transfer to another server with closed...