Type 'AlchemyProxy.Handler' already defines a member called 'NewBot' with the same parameter types <-- Eh?
I was farming a ninja .. xD .. before this DC i got one with 1022 <- ?what isQuote:
When you get disconnected from the game server I print out the last packet type sent. Sounds to me like you're getting dc'd before any packets can be sent.
public static bool IsDP(uint ID)
{
if (ID >= 1072059 && ID <= 1080001)
return true;
else return false;
}
Sounds to me like you're trying to connect to non english conquer servers. The other servers use a different login encryption from what I here (blowfish). I'm not sure on that cause I've never done a proxy for non english conquer but that sounds like the issue.Quote:
I keep getting error Auth packet of type: 23782
Connecting to game account .. and then crashes
I would like to know if it has something with the fact im using win 32bit ?
And if Yes , how can i make it work with 32bit win xp
private static void pathfinding(Client C)
{
// Sample initialization code
int width = 5;
int height = 3;
width = PathFinderHelper.RoundToNearestPowerOfTwo(width);
height = PathFinderHelper.RoundToNearestPowerOfTwo(height);
byte[,] grid = new byte[width, height];
for (int i = 0; i < 8; i++)
{
for (int j = 0; j < 4; j++)
{
grid[i, j] = PathFinderHelper.EMPTY_TILE;
}
}
// Create a grid like this (X = wall, . = free):
// .X...
// .X.X.
// ...X.
grid[1, 0] = PathFinderHelper.BLOCKED_TILE;
grid[1, 1] = PathFinderHelper.BLOCKED_TILE;
grid[3, 1] = PathFinderHelper.BLOCKED_TILE;
grid[3, 2] = PathFinderHelper.BLOCKED_TILE;
List<PathFinderNode> path = new List<PathFinderNode>();
if (path != null)
{
if (C.Recording)
{
C.Recording = false;
Chat(C, "Finished Recording", 2011);
}
else
{
C.Recording = true;
C.ActivePath = new Path();
C.ActivePath.MapID = C.Map;
C.ActivePath.Desc = "Custom";
C.ActivePath.ID = 0;
C.ActivePath.Points.Add(new Point(0, MakeCoord(C.X, C.Y)));
C.ActivePoint = null;
Chat(C, "Recording path! Jump to add points", 2011);
}
}
}
Quote:
Sounds to me like you're trying to connect to non english conquer servers. The other servers use a different login encryption from what I here (blowfish). I'm not sure on that cause I've never done a proxy for non english conquer but that sounds like the issue.
If you are at all comfortable with programming you could probably change the login to use blowfish.
The 5000-5002 are the ports it listens on unless you change it. 9958 and such is what it then will connect to from the proxy.Quote:
hey p4n if i wanted 2 set this up using my external ip addy do i forward ports 9958 or the 5002 ones?
First of all , I would like to thank you for everything you done with your proxy and the time you spent on it. Its good to see theres STILL people that helps other not thinking in personal rewards or selfish stuff.Quote:
The 5000-5002 are the ports it listens on unless you change it. 9958 and such is what it then will connect to from the proxy.
@Kim: You can take a peek at the game server encryption, that's blowfish. Basically you have to intercept and create 2 copies of the encryption and then run the packets through each one/forward if you want them to be sent.
It shouldn't be too bad seeing as blowfish and dhkey exchanges are already in the proxy but if you aren't familiar with it it probably won't be very easy. When I first was trying to setup blowfish for my server it took me quite a long time to understand how to do it properly.
public static void Pathfinder (Client C, PathFinder Distance)
{
if (C.Recording)
{
if(Distance to C.Path[C.PathIndex] < 7);
{
if(C.PathIndex + 1< C.Path.Count)
{
C.PathIndex++;
}
else
{
C.Recording = true;
C.Path = new List<Coord>();
C.PathIndex = 0;
C.Path.Add(new Point(C.X, C.Y));
C.Path = C.Path.Reverse();
C.PathIndex = 1;
}
Coord To = Calculations.PullWeights(MakeCoord(C.X, C.Y), C.Path[C.PathIndex]);
}
}
}
Error 1 Embedded statement cannot be a declaration or labeled statement C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 27 AlchemyProxy Error 2 ) expected C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 27 AlchemyProxy Error 3 Invalid expression term '.' C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 31 AlchemyProxy Error 4 ; expected C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 31 AlchemyProxy Error 5 ; expected C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 32 AlchemyProxy Error 6 Invalid expression term ')' C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 53 AlchemyProxy Error 7 ; expected C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 53 AlchemyProxy Error 8 Cannot implicitly convert type 'DeenGames.Utils.AStarPathFinder.PathFinder' to 'bool' C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 18 AlchemyProxy Error 9 The type or namespace name 'to' could not be found (are you missing a using directive or an assembly reference?) C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 27 AlchemyProxy Error 10 A local variable named 'C' cannot be declared in this scope because it would give a different meaning to 'C', which is already used in a 'parent or current' scope to denote something else C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 30 AlchemyProxy Error 11 Only assignment, call, increment, decrement, and new object expressions can be used as a statement C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 30 AlchemyProxy Error 12 Only assignment, call, increment, decrement, and new object expressions can be used as a statement C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 32 AlchemyProxy Error 13 'AlchemyProxy.Path' is a 'type' but is used like a 'variable' C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 32 AlchemyProxy Error 14 Only assignment, call, increment, decrement, and new object expressions can be used as a statement C:\Users\AlanKnight\Desktop\AlchemyProxy(2)\AlchemyProxy\Handlers\Bot.cs 264 52 AlchemyProxy