|
You last visited: Today at 22:34
Advertisement
Stripped ProjectAlchemy Source Code
Discussion on Stripped ProjectAlchemy Source Code within the CO2 Bots & Macros forum part of the Conquer Online 2 category.
12/07/2010, 23:39
|
#61
|
elite*gold: 0
Join Date: Aug 2010
Posts: 676
Received Thanks: 109
|
cya all im going to sleep cuz tomorow i have exam at english :P So i need to be perfectly woked up ... When someone get to work the mob hunt option ( workin' via /hunt command please tell me - upload it somewhere and send me the link in PM ) Thanx alot for what you are did for me :P
|
|
|
12/07/2010, 23:43
|
#62
|
elite*gold: 0
Join Date: Sep 2008
Posts: 559
Received Thanks: 1,461
|
I know that all together can do the botting code... I ended with sql, I find a way to ppl play thru the proxy...
Btw OELABOELA it should be 156... thats for the flash...
|
|
|
12/07/2010, 23:46
|
#63
|
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
|
Quote:
Originally Posted by vecko12
I know that all together can do the botting code... I ended with sql, I find a way to ppl play thru the proxy...
Btw OELABOELA it should be 156... thats for the flash...
|
Are you sure? Because it doesnt do anything at me..
|
|
|
12/07/2010, 23:50
|
#64
|
elite*gold: 0
Join Date: Sep 2008
Posts: 559
Received Thanks: 1,461
|
Quote:
Originally Posted by OELABOELA
Are you sure? Because it doesnt do anything at me..
|
Hm... Maybe u wrong something in the code... very odd...
|
|
|
12/07/2010, 23:53
|
#65
|
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
|
Quote:
Originally Posted by vecko12
Hm... Maybe u wrong something in the code... very odd... 
|
Okaaay, i can see the animation. But the screen doesn't move yet. It just piles.
|
|
|
12/07/2010, 23:56
|
#66
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
How do you mean "piles"?
|
|
|
12/08/2010, 00:00
|
#67
|
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
|
Quote:
Originally Posted by denominator
How do you mean "piles"?
|
Standing at 1 position, attacking mobs in around 8 distance.
|
|
|
12/08/2010, 00:12
|
#68
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by OELABOELA
Yea it was like Calculations.shift but, you need to give in coords, how can i recieve coords from a monster? Just do like
!! PSEUDO !!
Coord Mob = new coords();
Mob.X = attack.x;
Mob.Y = attack.y;
calc.shift(mob);
Right?
|
There's a method already coded to return a coord based on x/y. Something like Coord Z = Calculations.Shift(MakeCoord(M.X, M.Y));
if(!Jump(C, Z.X, Z.Y))
Jump(C, M.X, M.Y);
or something like that.
if first jump fails checks it will call jump to mob coords.
As for 'stacking' from flash step, you wanna use the end coords for both to/from generally, I forget which one actually is end coords but I always just used a combination.
i strongly recommend writing commands to test these things....
|
|
|
12/08/2010, 00:22
|
#69
|
elite*gold: 0
Join Date: Sep 2008
Posts: 559
Received Thanks: 1,461
|
Quote:
Originally Posted by pro4never
There's a method already coded to return a coord based on x/y. Something like Coord Z = Calculations.Shift(MakeCoord(M.X, M.Y));
if(!Jump(C, Z.X, Z.Y))
Jump(C, M.X, M.Y);
or something like that.
if first jump fails checks it will call jump to mob coords.
As for 'stacking' from flash step, you wanna use the end coords for both to/from generally, I forget which one actually is end coords but I always just used a combination.
i strongly recommend writing commands to test these things....
|
well everything working fine... just the prob is in the jumping...
f (C.LastJump.AddMilliseconds(C.JumpSpeed) < DateTime.Now && C.LastAttack.AddMilliseconds(C.AttackSpeed) < DateTime.Now)
{
Calculations.ShiftTarget(attack);
Packets.AtkServer(C, attack, 2);
C.X = attack.X;
C.Y = attack.Y;
C.UpdatedX = C.X;
C.UpdatedY = C.Y;
Calculations.UpdateLocal(C);
Handler.Chat(C, "attacked " + attack.Name, 2008);
C.LastAttack = DateTime.Now;
}
if (C.LastJump.AddMilliseconds(C.JumpSpeed) < DateTime.Now && C.LastAttack.AddMilliseconds(C.AttackSpeed) < DateTime.Now)
{
Packets.CliJump(attack.X, attack.Y,156,C);
Handler.Chat(C, "Jumped", 2008);
C.X = attack.X;
C.Y = attack.Y;
C.UpdatedX = C.X;
C.UpdatedY = C.Y;
Calculations.UpdateLocal(C);
C.LastJump = DateTime.Now;
}
me and OELABOELA can't figure out...
|
|
|
12/08/2010, 00:34
|
#70
|
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
|
All have a good night, tomorrow a new day to code.
|
|
|
12/08/2010, 00:37
|
#71
|
elite*gold: 0
Join Date: Sep 2008
Posts: 559
Received Thanks: 1,461
|
Quote:
Originally Posted by OELABOELA
All have a good night, tomorrow a new day to code.
|
Yes... I am going too bro... See ya tommorow... I am free all day...I will try to fix the jumping  Have a nice Dreams! (C# dreams =) )
|
|
|
12/08/2010, 00:39
|
#72
|
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
|
Quote:
Originally Posted by vecko12
Yes... I am going too bro... See ya tommorow... I am free all day...I will try to fix the jumping  Have a nice Dreams! (C# dreams =) )
|
Ofcourse i will.
|
|
|
12/08/2010, 02:50
|
#73
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
Hmm guess I need to define attack? Ok a really stupid question but could you in effect take things from a pserver and add it to this provided you changed things like GC.MyChar etc?
|
|
|
12/08/2010, 03:38
|
#74
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by denominator
Hmm guess I need to define attack?
|
There is already server attack packets as well as packets for almost every feature you wanna use... You'd just need to call it properly using the monster to attack and how you wish to attack (IE skill vs fatal strike vs melee)
Quote:
Originally Posted by vecko12
Yes... I am going too bro... See ya tommorow... I am free all day...I will try to fix the jumping  Have a nice Dreams! (C# dreams =) )
|
How do you mean 'fix' the jumping. It works fine.
Note this cmd for an example...
Code:
case "/jump":
Packets.CliJump(ushort.Parse(Cmd[1]), ushort.Parse(Cmd[2]), byte.Parse(Cmd[3]), C);
break;
That's x/y/type which can be entered via cmd as tests to try diff movement types or w/e.
Now all you need to do is send that packet to the client when you make a server side movement with Jump(Client, X, Y, Type).
You CANNOT send the jump animation to client. Type 137 sent to client is the response to a client jump, you can't actually trigger that animation. Instead use flash step or, if you wanna you could use update coords (Be careful to ensure you are blocking the packet that the client will send to server from that or you'll be dc'd if it's not your actual coords. Blocking it should work fine though)
|
|
|
12/08/2010, 03:43
|
#75
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
Yeah I did notice things in the source saying attack already but I attempted to put the code in that was given a page or two ago but it comes up with 9 errors "the name attack does not exist in the current context" so I thought it probably needed defining somehow.
This is probably wrong but I tried to use a bit of common sense to add it where I thought it probably should go?
Code:
public static Mob GetClosestMonster(Client C)
{
Mob ToReturn = null;
int Dist = 18;
foreach (Mob M in C.LocalMobs.Values)
{
if (C.LastJump.AddMilliseconds(C.JumpSpeed) < DateTime.Now && C.LastAttack.AddMilliseconds(C.AttackSpeed) < DateTime.Now)
{
Calculations.ShiftTarget(attack);
Packets.AtkServer(C, attack, 2);
C.X = attack.X;
C.Y = attack.Y;
C.UpdatedX = C.X;
C.UpdatedY = C.Y;
Calculations.UpdateLocal(C);
Handler.Chat(C, "attacked " + attack.Name, 2008);
C.LastAttack = DateTime.Now;
}
if (C.LastJump.AddMilliseconds(C.JumpSpeed) < DateTime.Now && C.LastAttack.AddMilliseconds(C.AttackSpeed) < DateTime.Now)
{
Packets.CliJump(attack.X, attack.Y,156,C);
Handler.Chat(C, "Jumped", 2008);
C.X = attack.X;
C.Y = attack.Y;
C.UpdatedX = C.X;
C.UpdatedY = C.Y;
Calculations.UpdateLocal(C);
C.LastJump = DateTime.Now;
}
if (Distance(C.X, C.Y, M.X, M.Y) < Dist)
{
ToReturn = M;
Dist = Distance(C.X, C.Y, M.X, M.Y);
if (Dist < 2)
break;
}
}
return ToReturn;
}
|
|
|
Similar Threads
|
[RELEASE(SOURCE CODE)]-- KabBOT2 v1 Full Source(vb6)
10/07/2011 - Dekaron Exploits, Hacks, Bots, Tools & Macros - 106 Replies
I've been meaning to post this for awhile but I pretty much forgot about it. I've been getting quite a few requests for it so I decided to finally get around to posting it.
#1. So here you go, Just have or Download Visual Basic 6, you need to update it to VbRuntime 6 Service Pack 6.
#2. Run the file name KabBOT.vbp.
#3. Enjoy.
100% Virus Free VirusTotal.com report.
VirusTotal - Free Online Virus, Malware and URL Scanner
|
[RELEASE] [OPEN SOURCE] CE 5.5 Pointer to AutoIt Source-Code
02/13/2011 - AutoIt - 6 Replies
Habe heute erst gemerkt, dass es hier eine AutoIt Sektion gibt xD also poste ich mal mein Programm mit rein.
Funktionsweise:
1. in CE Rechtsklick auf den Pointer und auf "Copy" klicken
2. in meinem Programm auf "Code generieren" klicken
3. In euer Scite gehen und einfügen
Hier ist der Source Code vom Programm:
|
All times are GMT +1. The time now is 22:34.
|
|