Stripped ProjectAlchemy Source Code

12/07/2010 23:00 OELABOELA#46
Quote:
Originally Posted by denominator View Post
Ahhh cool so then I won`t need to bother with it :D Only me going to use mine, less people using the longer it might stay on for lol.
I really like to use this to farm some DB's then give them out to newbs. Those people go on like OMFG i has dragonbawls !@!@! Its really funny :)
12/07/2010 23:12 demon17#47
You made the bot functionality? Cuz i cant make ...

Thanx alot for the help in teamwiver :P
12/07/2010 23:13 vecko12#48
Quote:
Originally Posted by demon17 View Post
You made the bot functionality? Cuz i cant make ...

Thanx alot for the help in teamwiver :P
No problem :)
12/07/2010 23:15 OELABOELA#49
Quote:
Originally Posted by demon17 View Post
You made the bot functionality? Cuz i cant make ...

Thanx alot for the help in teamwiver :P
No not fully. It just does a part. Like attacking and jumping. But it doesnt update his position, it is just like hes piling.
12/07/2010 23:16 demon17#50
Quote:
Originally Posted by OELABOELA View Post
No not fully. It just does a part. Like attacking and jumping. But it doesnt update his position, it is just like hes piling.
would you share with us ? . i need only the code for attack monsters in area atm ...

I guss when the minig works .. not drops ores
12/07/2010 23:17 pro4never#51
Quote:
Originally Posted by OELABOELA View Post
Thank you for this method P4N! I got some base ready, but when i let it jump, and after att, It just doesnt update the positon (on my screen) but the server position does!
I use this as my update
Code:
 if (C.LastUpdate.AddMilliseconds(C.UpdateSpeed) < DateTime.Now)
               {
                   if (C.Xatting != 0)
                   {
                       C.X = (ushort)C.Xatting;
                       C.UpdatedX = C.X;
                   }
                   if (C.Yatting != 0)
                   {
                       C.Y = (ushort)C.Yatting;
                       C.UpdatedY = C.Y;
                   }
                   Calculations.UpdateLocal(C);
                   C.LastUpdate = DateTime.Now;

               }
(the xatting and yatting are from when i jump to a monster. It will attack on that position to.)

What must i do to get it like, working to jump/walk to the monster?


PS:Im so fucking excited about making this proxy. I really thank you P4N
You need to send a client movement packet. Personally I use type 156 (flash step)


What mine was like was umm...

if(DateTime.Now > C.LastUpdated.AddMilliseconds(C.UpdateSpeed)
{
if(C.X != C.UpdatedX || C.Y != C.UpdatedY)
{
Packets.CliJump(W/e goes in the client jump packet using type 156);
C.UpdatedX = C.X;
C.UpdatedY = C.Y;
C.LastUpdate = DateTime.Now
}
}

Basic example written off the top of my head but hopefully helps you.
12/07/2010 23:18 OELABOELA#52
Quote:
Originally Posted by pro4never View Post
You need to send a client movement packet. Personally I use type 156 (flash step)


What mine was like was umm...

if(DateTime.Now > C.LastUpdated.AddMilliseconds(C.UpdateSpeed)
{
if(C.X != C.UpdatedX || C.Y != C.UpdatedY)
{
Packets.CliJump(W/e goes in the client jump packet using type 156);
C.UpdatedX = C.X;
C.UpdatedY = C.Y;
C.LastUpdate = DateTime.Now
}
}

Basic example written off the top of my head but hopefully helps you.
Oh, thank you. Im going to try it.
12/07/2010 23:19 pro4never#53
Also keep in mind that for melee attacks you'll want to first check if you can use a shifted coords. I wrote a method that pulls the coord infront of where the monster is facing. That way skills like rage will hit it. If you jump directly on top then you will not.
12/07/2010 23:21 OELABOELA#54
Quote:
Originally Posted by pro4never View Post
Also keep in mind that for melee attacks you'll want to first check if you can use a shifted coords. I wrote a method that pulls the coord infront of where the monster is facing. That way skills like rage will hit it. If you jump directly on top then you will not.
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?
12/07/2010 23:26 OELABOELA#55
Quote:
Originally Posted by demon17 View Post
would you share with us ? . i need only the code for attack monsters in area atm ...

I guss when the minig works .. not drops ores
It's very basic, and only does pile. When i have it working ill contact you.
12/07/2010 23:29 demon17#56
Quote:
Originally Posted by OELABOELA View Post
It's very basic, and only does pile. When i have it working ill contact you.
Ok thanx alot . :P i see you know to coode something Get Up your work :P
12/07/2010 23:32 OELABOELA#57
Quote:
Originally Posted by demon17 View Post
Ok thanx alot . :P i see you know to coode something Get Up your work :P
If i get my jumping done, ill be done in about 2-3 days, but its looking bad now..
12/07/2010 23:35 vecko12#58
Nice work ppl.... Btw I made the sql server.... Tested via COMODO Vpn... Working fine... other ppl can connect too...
12/07/2010 23:36 demon17#59
you make the jump looks like jump?

can you send me now the bot.cs ? your :P i wana see with what you done ..
12/07/2010 23:37 OELABOELA#60
Quote:
Originally Posted by pro4never View Post
You need to send a client movement packet. Personally I use type 156 (flash step)


What mine was like was umm...

if(DateTime.Now > C.LastUpdated.AddMilliseconds(C.UpdateSpeed)
{
if(C.X != C.UpdatedX || C.Y != C.UpdatedY)
{
Packets.CliJump(W/e goes in the client jump packet using type 156);
C.UpdatedX = C.X;
C.UpdatedY = C.Y;
C.LastUpdate = DateTime.Now
}
}

Basic example written off the top of my head but hopefully helps you.
Are you sure its 156? Because when i CliJump/normal jump(tried both) they both do nothing?