|
You last visited: Today at 14:37
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/14/2010, 09:18
|
#241
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by zap_xlib
Thank you very much!. I`m still stuck at the Login Port and Game Port fields in the Loaderset which seem to not connect in many combinations. I got a unique Hamachi IP though, which i don`t think is causing the problem... Any suggestions would be greatly appreciated!.
|
Set them to whatever you are using in the proxy settings file.
|
|
|
12/14/2010, 09:48
|
#242
|
elite*gold: 0
Join Date: Apr 2007
Posts: 38
Received Thanks: 3
|
Quote:
Originally Posted by pro4never
Set them to whatever you are using in the proxy settings file.
|
I tried the ones in this: (Program.cs)
public static ushort AuthPort = 9959;
public static string ProxyIp = "5.177.91.98";
public static string GameKey = "DR654dt34trg4UI6";
public static string GameIp = "";
public static ushort GamePort = 5816;
public static bool Debug = false;
and then several combinations of these:
PortBindings.Add(5001, new Ending(AuthIp, 9959));
PortBindings.Add(5002, new Ending(AuthIp, 9960));
PortBindings.Add(5003, new Ending(AuthIp, 9958));
Yet, i`m only getting
[ProjectAlchemy] Server refused connection!
[ProjectAlchemy] Server refused connection!
[ProjectAlchemy] Server refused connection!
[ProjectAlchemy] Server refused connection!
Auth server packet of type: 23782
Auth server packet of type: 23782
[ProjectAlchemy] Server refused connection!
No clue how to get it right...
|
|
|
12/14/2010, 10:44
|
#243
|
elite*gold: 0
Join Date: Apr 2007
Posts: 906
Received Thanks: 1,431
|
Quote:
Originally Posted by zap_xlib
Hi pro4never,
I have done everything as you guided.
Installed XAMPP, Set up MySQL, Executed the SQL file in Navicat, changed the IP in Debug/Settings and also in Program.cs to my Hamachi IP. How do i go from here?.
I am using mono as an alternative to dotnet. I`m stuck somewhere...
I have downloaded the latest COLoader. But it has no loaderset file. It would be great if you could point it out with a link. Also, should i re-compile the project using Microsoft VS Express or can it also be compiled with mono?. (in which case, i should dispose mono and download Microsoft .net and VS Express).
I am attaching an image of how far i had been able to set up the proxy. Anticipating your help.
Thank you!.
|
lol why would u ever want to use mono for anything? its so ****
|
|
|
12/14/2010, 14:35
|
#244
|
elite*gold: 0
Join Date: Apr 2007
Posts: 38
Received Thanks: 3
|
Quote:
Originally Posted by Warlax
lol why would u ever want to use mono for anything? its so ****
|
Yes... i first thought more **** like .net, Service packs, windows installer, etc can be avoided with this one ****...
I never revert back to old stuff without finding a solution to the current stuff... My Loaderset.txt is as below:
[Loader]
IPAddress=5.1xx.xx.xx
LoginPort=9958
GamePort=5816
Website=http://www.google.com
I would like to include a query as to weather my understanding of the concept is right or not:
I Created Hamachi network, used the IP to fill out settings.txt and used the same in loaderset.txt.
one question... Should i add at least 1 client in the Hamachi network or is it fine if there are 0 members?.
Any help will be appreciated.
|
|
|
12/14/2010, 15:49
|
#245
|
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
|
Hmm, weird. The items in the C.grounditems dissapear within a second. Maybe thats why my looting isnt working perfect.
|
|
|
12/14/2010, 16:20
|
#246
|
elite*gold: 0
Join Date: Apr 2007
Posts: 38
Received Thanks: 3
|
Cool... finally, i managed to login!... yay!... ****, but i struggle to remember what i changed and where i changed. But i`m going to screenshot all i did as i got the worst memory.
Now, to play with some code...  (Though hope to stay without getting DCed as it`s hard to login again).
|
|
|
12/14/2010, 17:10
|
#247
|
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
|
Quote:
Originally Posted by zap_xlib
Cool... finally, i managed to login!... yay!... ****, but i struggle to remember what i changed and where i changed. But i`m going to screenshot all i did as i got the worst memory.
Now, to play with some code...  (Though hope to stay without getting DCed as it`s hard to login again).
|
Okay, if you archieved something post it here! its fun to have some more people discover stuff
<Edit>flash step(156) is range 7 right? And normal jump 19?
|
|
|
12/14/2010, 17:16
|
#248
|
elite*gold: 0
Join Date: Apr 2007
Posts: 38
Received Thanks: 3
|
Quote:
Originally Posted by OELABOELA
Okay, if you archieved something post it here! its fun to have some more people discover stuff
<Edit>flash step(156) is range 7 right? And normal jump 19?
|
Sure thing!... I just noticed that my skill gets activated automatically. I tried using the /loot all, and other commands. Nothing worked. I guess i need to use them in the NewBot().
I tried /goto x y and got success, "valid coords" in console.
Now, how do i execute the code within the NewBot() thread? What should i type in chat to activate contents in Bot.cs?
I will be glad to share what i discover!.
Thank you in advance!.
|
|
|
12/14/2010, 17:21
|
#249
|
elite*gold: 0
Join Date: Apr 2007
Posts: 38
Received Thanks: 3
|
Ok, i guess i have to include a Case statement in the command.cs. I`ll try that and see if it works... Thanks anyways!.
|
|
|
12/14/2010, 18:24
|
#250
|
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
|
Uhm, lets start with this code for ya.
Code:
public static Mob GetClosestMonster(Client C)
{
Mob ToReturn = null;
int Dist = 7;
foreach (Mob M in C.LocalMobs.Values)
{
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;
}
You can use it like:
Code:
Mob iwanttoattack = GetClosestMonster(C);
Packets.atkServer(C,attack,2);
//Note, this is pseudo code, you MUST change some stuff
|
|
|
12/14/2010, 18:40
|
#251
|
elite*gold: 0
Join Date: Apr 2007
Posts: 38
Received Thanks: 3
|
Quote:
Originally Posted by OELABOELA
Uhm, lets start with this code for ya.
Code:
public static Mob GetClosestMonster(Client C)
{
Mob ToReturn = null;
int Dist = 7;
foreach (Mob M in C.LocalMobs.Values)
{
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;
}
You can use it like:
Code:
Mob iwanttoattack = GetClosestMonster(C);
Packets.atkServer(C,attack,2);
//Note, this is pseudo code, you MUST change some stuff
|
Cool thanks bro!. But, i have to use Calculations.Distance as Just Distance alone isn`t working for me...
|
|
|
12/14/2010, 18:45
|
#252
|
elite*gold: 0
Join Date: Sep 2006
Posts: 25
Received Thanks: 8
|
Quote:
Originally Posted by OELABOELA
Hmm, weird. The items in the C.grounditems dissapear within a second. Maybe thats why my looting isnt working perfect.
|
Approved, yes its somehow tricky, aslong as your not on that item it shoes up, but when you lets say and updatelocals the item disapears <.<
well after you jumped on it you can make some "tries" to pick it up..
|
|
|
12/14/2010, 19:03
|
#253
|
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
|
Quote:
Originally Posted by stickray
Approved, yes its somehow tricky, aslong as your not on that item it shoes up, but when you lets say and updatelocals the item disapears <.<
well after you jumped on it you can make some "tries" to pick it up..
|
Yea, my looting is working. As long as it wont update the items
<Edit>
Just found out how to fix it, PM me if you want a solution!
|
|
|
12/14/2010, 20:30
|
#254
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by zap_xlib
I tried the ones in this: (Program.cs)
public static ushort AuthPort = 9959;
public static string ProxyIp = "5.177.91.98";
public static string GameKey = "DR654dt34trg4UI6";
public static string GameIp = "";
public static ushort GamePort = 5816;
public static bool Debug = false;
and then several combinations of these:
PortBindings.Add(5001, new Ending(AuthIp, 9959));
PortBindings.Add(5002, new Ending(AuthIp, 9960));
PortBindings.Add(5003, new Ending(AuthIp, 9958));
Yet, i`m only getting
[ProjectAlchemy] Server refused connection!
[ProjectAlchemy] Server refused connection!
[ProjectAlchemy] Server refused connection!
[ProjectAlchemy] Server refused connection!
Auth server packet of type: 23782
Auth server packet of type: 23782
[ProjectAlchemy] Server refused connection!
No clue how to get it right...
|
Settings.txt in your debug folder over writes whatever is in the actual source code for ip/game listener/port... Make sure you've changed that.
Quote:
Originally Posted by OELABOELA
Okay, if you archieved something post it here! its fun to have some more people discover stuff
<Edit>flash step(156) is range 7 right? And normal jump 19?
|
Flash step does not move you at all. Anything sent to the client is for effect ONLY and doesn't move you.
You should never be sending 156 to server at all. Only receiving it as confirmation of some of your fatal strike attacks (it won't send for every attack or you will crash lol)
Quote:
Originally Posted by OELABOELA
Uhm, lets start with this code for ya.
Code:
public static Mob GetClosestMonster(Client C)
{
Mob ToReturn = null;
int Dist = 7;
foreach (Mob M in C.LocalMobs.Values)
{
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;
}
You can use it like:
Code:
Mob iwanttoattack = GetClosestMonster(C);
Packets.atkServer(C,attack,2);
//Note, this is pseudo code, you MUST change some stuff
|
No wonder your not attacking mobs for full screen... that method will only pull mobs within a range of 7...
You guys need to learn how distance works..
FULL SCREEN = 18 dist (use to pull local objects, max jump dist, max fs dist)
Teleport packet = 7 dist (you guys aren't using it anyways so I don't see a point but w/e. Doing higher than 7 dist is instant dc with this method of movement)
Attack dist = 2 or 1 depending on wep (1h/2h) or skills.
Adjust your method of botting according to how you are performing actions.
If, for example, you are using teleport packets to move around and you pull a target you want to attack which is more than 7 coords away... simply find the best possible coord to go to using pull weights and move there. Assuming there are no large blockages of coords you should get there nearly instantly (as you can send teleport packet something like 1 per 50ms without dcing)
As for local objects being removed... make sure when you call updatelocals you are only removing things if they are over 18 dist from yourself and that you are NEVER changing your X/Y without actually moving there (That should be reserved for final movements sent to server only... if not you will throw off your bot nearly instantly)
|
|
|
12/14/2010, 21:07
|
#255
|
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
|
Quote:
Originally Posted by pro4never
Settings.txt in your debug folder over writes whatever is in the actual source code for ip/game listener/port... Make sure you've changed that.
Flash step does not move you at all. Anything sent to the client is for effect ONLY and doesn't move you.
You should never be sending 156 to server at all. Only receiving it as confirmation of some of your fatal strike attacks (it won't send for every attack or you will crash lol)
No wonder your not attacking mobs for full screen... that method will only pull mobs within a range of 7...
You guys need to learn how distance works..
FULL SCREEN = 18 dist (use to pull local objects, max jump dist, max fs dist)
Teleport packet = 7 dist (you guys aren't using it anyways so I don't see a point but w/e. Doing higher than 7 dist is instant dc with this method of movement)
Attack dist = 2 or 1 depending on wep (1h/2h) or skills.
Adjust your method of botting according to how you are performing actions.
If, for example, you are using teleport packets to move around and you pull a target you want to attack which is more than 7 coords away... simply find the best possible coord to go to using pull weights and move there. Assuming there are no large blockages of coords you should get there nearly instantly (as you can send teleport packet something like 1 per 50ms without dcing)
As for local objects being removed... make sure when you call updatelocals you are only removing things if they are over 18 dist from yourself and that you are NEVER changing your X/Y without actually moving there (That should be reserved for final movements sent to server only... if not you will throw off your bot nearly instantly)
|
i know, but this is my full method:
Code:
public static Mob GetClosestMonster(Client C)
{
Mob ToReturn = null;
int Dist = 7;
if (C.InFatalStrike)
{
Dist = 17;
}
else
{
Dist = 7;
}
foreach (Mob M in C.LocalMobs.Values)
{
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;
}
But i assume he didnt had a working Infatalstrike, so i removed some parts
|
|
|
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 14:37.
|
|