Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Bots & Macros
You last visited: Today at 08:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Stripped ProjectAlchemy Source Code

Discussion on Stripped ProjectAlchemy Source Code within the CO2 Bots & Macros forum part of the Conquer Online 2 category.

Reply
 
Old 01/21/2011, 03:26   #781
 
elite*gold: 0
Join Date: Aug 2006
Posts: 45
Received Thanks: 6
Quote:
Originally Posted by pro4never View Post
I'm bored so here's some code ideas

C.Recording = true;
C.Path = new List<Coord>();
C.PathIndex = 0;
C.Path.Add(new MakeCoord(C.X, C.Y));


Then in receiving jump packet do

if (C.Recording == true)
C.Path.Add(new MakeCoord(C.X, C.Y));

In your path finding code do something like...

if(Distance to C.Path[C.PathIndex] < 7)
//path found, move to next one
if(C.PathIndex + 1< C.Path.Count)
C.PathIndex++;
else
{
C.Path = C.Path.Reverse();
C.PathIndex = 1;
}
Coord To = Calculations.PullClosest(MakeCoord(C.X, C.Y), C.Path[C.PathIndex]);
Jump or shift to the pulled coord

or something like that...



That's the ABSOLUTE simplest way to code it. Keep in mind pull closest will be a method pulling all possible coords near you that are valid and then checking their distance vs target and returning the closest one. Assuming no large obstacles it will return the most efficient coord to move to each time.


TEACHING MOMENT:

Keep in mind when working with enumerated elements in a list or an array, the .count will ALWAYS be greater then your current index value as they start at 0, not 1!


Pulling element 1 means you are actually pulling the second element in a list/array.

List<int> A = new List<int>{5, 4, 3, 2, 1, 0};

Console.WriteLine(A[0]);

This will produce the output '5'

Alternatively doing A[1] would be '4' and so on.
P4N,

I was busy with my real work. So I didn't really catch up with this thread. You are too good to be nice to noobie hackers Anyway, can you pm me with IM address? I want to pay you back with answer to map issues. It was little time consuming but I think I got right.
argon69 is offline  
Old 01/21/2011, 05:59   #782
 
warning3's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 136
Received Thanks: 9
Umm... When I exequte the .sql file I get errors. Can someone help me on TeamViewer or on msn or something please? I will appreciate the help.
warning3 is offline  
Old 01/21/2011, 11:19   #783


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Quote:
Originally Posted by warning3 View Post
Umm... When I exequte the .sql file I get errors. Can someone help me on TeamViewer or on msn or something please? I will appreciate the help.
Reinstall MySQL with InnoDB enabled
KraHen is offline  
Thanks
1 User
Old 01/21/2011, 16:05   #784
 
OELABOELA's Avatar
 
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
Or he should install xampp. make a new latin1 database and just import the script in there.
OELABOELA is offline  
Thanks
1 User
Old 01/21/2011, 19:42   #785
 
warning3's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 136
Received Thanks: 9
Quote:
Originally Posted by OELABOELA View Post
Or he should install xampp. make a new latin1 database and just import the script in there.
Quote:
Originally Posted by KraHen View Post
Reinstall MySQL with InnoDB enabled
I tried both they dont work.
warning3 is offline  
Old 01/21/2011, 21:23   #786
 
elite*gold: 0
Join Date: Apr 2007
Posts: 906
Received Thanks: 1,431
Quote:
Originally Posted by warning3 View Post
I tried both they dont work.
clue as to the error ur getting?
Warlax is offline  
Old 01/21/2011, 21:57   #787
 
warning3's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 136
Received Thanks: 9
[Err] 1286 - Unknown table engine 'InnoDB'
[Err] CREATE TABLE `characters` (
`UID` int(11) NOT NULL,
`Hp` int(6) NOT NULL DEFAULT '1',
`X` int(4) NOT NULL DEFAULT '1',
`Y` int(4) NOT NULL DEFAULT '1',
`Map` int(4) NOT NULL DEFAULT '1',
`Level` int(4) NOT NULL DEFAULT '1',
`Job` int(4) NOT NULL DEFAULT '1',
`Server` varchar(20) NOT NULL DEFAULT 'Default',
`Name` varchar(22) NOT NULL DEFAULT 'Default',
`Spouse` varchar(22) NOT NULL DEFAULT 'None',
`Money` int(10) NOT NULL DEFAULT '0',
`CP` int(10) NOT NULL DEFAULT '0',
`JumpSpeed` int(5) NOT NULL DEFAULT '800',
`AttackSpeed` int(5) NOT NULL DEFAULT '500',
`LootSpeed` int(5) NOT NULL DEFAULT '500',
`ActionSpeed` int(5) NOT NULL DEFAULT '500',
`Username` varchar(22) DEFAULT NULL,
`Password` varchar(22) DEFAULT NULL,
PRIMARY KEY (`UID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
[Msg] Finished - Unsuccessfully
--------------------------------------------------
warning3 is offline  
Old 01/21/2011, 22:12   #788
 
warning3's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 136
Received Thanks: 9
Thats the error Warlax.
warning3 is offline  
Old 01/21/2011, 23:36   #789
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
You are making a database first to execute it into, right?
pro4never is offline  
Old 01/21/2011, 23:42   #790
 
warning3's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 136
Received Thanks: 9
Quote:
Originally Posted by pro4never View Post
You are making a database first to execute it into, right?
Ofcourse.
warning3 is offline  
Old 01/22/2011, 00:22   #791
 
OELABOELA's Avatar
 
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
Quote:
Originally Posted by warning3 View Post
Ofcourse.
If you have xampp, you just make a latin1_bin database, and then you import your file. Try that, it works 120%
OELABOELA is offline  
Old 01/22/2011, 00:54   #792
 
warning3's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 136
Received Thanks: 9
Quote:
Originally Posted by OELABOELA View Post
If you have xampp, you just make a latin1_bin database, and then you import your file. Try that, it works 120%
Do you have teamviewer?
warning3 is offline  
Old 01/22/2011, 02:07   #793
 
OELABOELA's Avatar
 
elite*gold: 223
Join Date: Dec 2007
Posts: 1,076
Received Thanks: 257
Quote:
Originally Posted by warning3 View Post
Do you have teamviewer?
Yea, pm me your msn, yahoo and ill help ya.
OELABOELA is offline  
Old 01/22/2011, 03:06   #794
 
elite*gold: 0
Join Date: Apr 2007
Posts: 906
Received Thanks: 1,431
yea ur mysql hasnt been built to understand innodb from the looks of things
Warlax is offline  
Old 01/22/2011, 03:15   #795
 
warning3's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 136
Received Thanks: 9
Quote:
Originally Posted by Warlax View Post
yea ur mysql hasnt been built to understand innodb from the looks of things
Lol im such a noob.


How do I make it understand it? :S
warning3 is offline  
Reply


Similar Threads 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 08:29.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.