Hello, I have this code but not work well ... Someone could help me?
Here is the code:
Code:
Random XCoords = new Random();
int FinalX = XCoords.Next(40, 60);
Random YCoords = new Random();
int FinalY = YCoords.Next(40, 61);
Jump((ushort)FinalX, (ushort)FinalY);
And the problem is ... why my bot just jump in rect line like this photo?
When you initialize a random it uses a seed to determine what the next random number will be, this is based on the current time i think for the standard .net random class, so if you initialize them both at roughly the same time then they will both generate a random number which is identical, instead you should define a random number as a static for your entire server to use, that way whenever you use it it will always generate a different number.
Or if you insist on intializing it everytime you move its position just intialize one:
Code:
Random Rand = new Random();
Then
Code:
int X = Rand.Next(40, 60);
int Y = Rand.Next(40, 60);
i have another question and i don't want make another trhead.. =).
Is just make sit the bot. I know the Action is 250 but if just type "Action = 250;" he don't sit, i need send the packets really? Can you help me with this? =S Or tell me where is the site where when i press the Site button he work. I don't find that! =S. Sorry for my english >.<'
Thanks andy ... And now whats fail with this code? =S
Code:
byte[] BotAction = new byte[250];
Game.World.Action(MyClient.MyChar, BotAction);
When i use this my client crash.. (Conquer.exe)
I tested this with the bot and not working (client crash when i active that with a command) Then, i tested the code with another command, here is: And crash the client too ...
Code:
if (Cmd[0] == "@testsit")
{
GC.MyChar.Action = 250;
[COLOR="Red"]byte[] BotAction = new byte[250];[/COLOR]
Game.World.Action(GC.MyChar, BotAction);
}
This don't give error in the C# but, i think is this conversion what make the error =S
Is just the jump and just when the stamina is going up. Then the bot jump random and if is not in any rage with the enemy, then sit and up the stamina.
When is full stamina he start jump (random but followin the player) and launch FBs or SSs. With diferents dificulties, the bot can never fail a fb obviously ... then i'll maked dificulties and again i puted a random adding or subtracting coords, and the bot fail just for 1 - 4 coords range.
Soz i know my english fail, I'm Spanish
Is just the jump and just when the stamina is going up. Then the bot jump random and if is not in any rage with the enemy, then sit and up the stamina.
When is full stamina he start jump (random but followin the player) and launch FBs or SSs. With diferents dificulties, the bot can never fail a fb obviously ... then i'll maked dificulties and again i puted a random adding or subtracting coords, and the bot fail just for 1 - 4 coords range.
Soz i know my english fail, I'm Spanish
Don`t worr I have understood you :P It seems nice, I`d like to see it in action :P
[QUESTION]How do i bypass Xtrap for any private server?[QUESTION] 10/12/2009 - Cabal Online - 3 Replies Exactly what the title says.
I keep on getting an xTrap error when i try and load ANY private server that uses XTrap and it's driving me absolutely insane.
I cant figure out why it's showing me the error. If anyone has any bypasser for Helix / PaRaDoX
or any other server u know that has xTrap can u either PM me the bypass or post it here pls......this is driving me nuts
Bump.
[QUESTION]How do i bypass Xtrap for any private server?[QUESTION] 10/02/2009 - Cabal Private Server - 2 Replies Exactly what the title says.
I keep on getting an xTrap error when i try and load ANY private server that uses XTrap and it's driving me absolutely insane.
I cant figure out why it's showing me the error. If anyone has any bypasser for Helix / PaRaDoX
or any other server u know that has xTrap can u either PM me the bypass or post it here pls......this is driving me nuts