Any one Know how to solve Guildwar jump gate i got to problem i cant fixe player are jumpin in the gate any one can guild me how to fixe this.
Quote:
public bool IsThisLeftGate(int X, int Y)
{
if (GuildWar.RightGate == null)
return false;
if (MapID == 1038)
{
if ((X == 223 || X == 222) && (Y >= 175 && Y <= 185))
{
if (GuildWar.RightGate.Mesh / 10 == 27)
{
return true;
}
}
}
return false;
}
public bool IsThisRightGate(int X, int Y)
{
if (GuildWar.LeftGate == null)
return false;
if (MapID == 1038)
{
if ((Y == 210 || Y == 209) && (X >= 154 && X <= 166))
{
if (GuildWar.LeftGate.Mesh / 10 == 24)
{
return true;
}
}
}
return false;
}
public bool ThroughGate(int X, int Y)
{
return IsThisLeftGate(X, Y) || IsThisRightGate(X, Y);
}
public void SetLocation(ushort MapID, ushort X, ushort Y)
{
if (EntityFlag == EntityFlag.Player)
{
this.X = X;
this.Y = Y;
this.MapID = MapID;
}
}
Quote:
public bool IsThisLeftGate(int X, int Y)
{
if (GuildWar.RightGate == null)
return false;
if (MapID == 1038)
{
if ((X == 223 || X == 222) && (Y >= 175 && Y <= 185))
{
if (GuildWar.RightGate.Mesh / 10 == 27)
{
return true;
}
}
}
return false;
}
public bool IsThisRightGate(int X, int Y)
{
if (GuildWar.LeftGate == null)
return false;
if (MapID == 1038)
{
if ((Y == 210 || Y == 209) && (X >= 154 && X <= 166))
{
if (GuildWar.LeftGate.Mesh / 10 == 24)
{
return true;
}
}
}
return false;
}
public bool ThroughGate(int X, int Y)
{
return IsThisLeftGate(X, Y) || IsThisRightGate(X, Y);
}
public void SetLocation(ushort MapID, ushort X, ushort Y)
{
if (EntityFlag == EntityFlag.Player)
{
this.X = X;
this.Y = Y;
this.MapID = MapID;
}
}
Quote:
What do you think that code does?
No. Begging for code isn't allowed here. Fuck off.Quote:
I dont know what does it do? Any way i dont know how to code for this kind of bug i haven't encounter this kind of bug this the only thing i dont know how to fixe this is my 1st time encounter. will if your have a good heart and help me out how to fixe ill will forever thank you for help me and god bless you from helping me this.