Register for your free account! | Forgot your password?

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

  • 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 02/13/2011, 07:04   #946
 
warning3's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 136
Received Thanks: 9
Wow, everyone left AlchemyProxy for COoperative
warning3 is offline  
Old 02/13/2011, 07:36   #947
 
hippie's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 268
Received Thanks: 27
wth u talking about the same ppl r posting in here
hippie is offline  
Old 02/13/2011, 08:43   #948
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
I don`t have COoperative lol
denominator is offline  
Old 02/13/2011, 11:34   #949
 
elite*gold: 0
Join Date: Dec 2010
Posts: 33
Received Thanks: 0
Anyone wanna debate some coding stuff thru MSN?

I made my hunting full , with very less DC ratio

send me PM with msn whoever wanna share code knowledge and improvements.
caio bola is offline  
Old 02/13/2011, 18:48   #950
 
warning3's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 136
Received Thanks: 9
Ok... some of people left.
warning3 is offline  
Old 02/13/2011, 22:58   #951
 
hippie's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 268
Received Thanks: 27
well ur always goin 2 have some go n come bac not sure if he goin 2 keep that updated when the next patch comes out knocking it off he does that from time to time
hippie is offline  
Old 02/14/2011, 00:30   #952
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Those that did leave this thread are those that have no interest in coding themselves and would rather everybody else do everything for them. Those that are still here can either code or are learning to code.
denominator is offline  
Thanks
2 Users
Old 02/14/2011, 00:35   #953
 
hippie's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 268
Received Thanks: 27
exactly
hippie is offline  
Old 02/14/2011, 15:37   #954
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Ok well I`ll ask again but shouldn`t this work? It mines fine when just writing /mining but I type /hunt and it does nothing? I have tried changing a few things but still nothing? And yes I have a hunting code lol.

Code:
public static bool NewBot(Client C)
        {
            while (C.RunBot)
            {
                if (!C.Mining)
                    return true;

                if (C.LastDropped.AddSeconds(15) < DateTime.Now)
                {
                    foreach (Items.ItemInfo I in C.Inventory.Values)
                    {
                        if (Handler.IsOre(I.ID))
                        {
                            C.LastDropped = DateTime.Now;
                            Packets.DropItem(C, I.UID);
                            break;
                        }
                    }
                }
                        if (!C.Hunting)
                            return true;
denominator is offline  
Old 02/14/2011, 16:43   #955
 
elite*gold: 0
Join Date: Apr 2007
Posts: 906
Received Thanks: 1,431
Quote:
Originally Posted by denominator View Post
Ok well I`ll ask again but shouldn`t this work? It mines fine when just writing /mining but I type /hunt and it does nothing? I have tried changing a few things but still nothing? And yes I have a hunting code lol.

Code:
public static bool NewBot(Client C)
        {
            while (C.RunBot)
            {
                if (!C.Mining)
                    return true;

                if (C.LastDropped.AddSeconds(15) < DateTime.Now)
                {
                    foreach (Items.ItemInfo I in C.Inventory.Values)
                    {
                        if (Handler.IsOre(I.ID))
                        {
                            C.LastDropped = DateTime.Now;
                            Packets.DropItem(C, I.UID);
                            break;
                        }
                    }
                }
                        if (!C.Hunting)
                            return true;
because ur saying if not mining to just return. try setting an enum to ur current activity
Warlax is offline  
Thanks
1 User
Old 02/14/2011, 17:51   #956
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
So I have looked at an example of enums and not sure which I should choose from, I`m guessing it is giving three examples. Am I wise to look at this?

Code:
public class EnumTest {
    enum Days { Saturday, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday };
    enum BoilingPoints { Celcius = 100, Fahrenheit = 212 };
    [FlagsAttribute]
    enum Colors { Red = 1, Green = 2, Blue = 4, Yellow = 8 };

    public static void Main() {

        Type weekdays = typeof(Days);
        Type boiling = typeof(BoilingPoints);

        Console.WriteLine("The days of the week, and their corresponding values in the Days Enum are:");

        foreach ( string s in Enum.GetNames(weekdays) )
            Console.WriteLine( "{0,-11}= {1}", s, Enum.Format( weekdays, Enum.Parse(weekdays, s), "d"));

        Console.WriteLine();
        Console.WriteLine("Enums can also be created which have values that represent some meaningful amount.");
        Console.WriteLine("The BoilingPoints Enum defines the following items, and corresponding values:");

        foreach ( string s in Enum.GetNames(boiling) )
            Console.WriteLine( "{0,-11}= {1}", s, Enum.Format(boiling, Enum.Parse(boiling, s), "d"));

        Colors myColors = Colors.Red | Colors.Blue | Colors.Yellow;
        Console.WriteLine();
        Console.WriteLine("myColors holds a combination of colors. Namely: {0}", myColors);
    }
}
denominator is offline  
Old 02/14/2011, 18:09   #957
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
What you have looks fine actually seeing as it's run quite often.

What you could do with enums is something like this though...


enum BotTypes{ Inactive, Hunting, Looting, HuntingAndLooting, Mining, SpellLeveling}

then inside your character have a BotType setup with default value Inactive.

Then inside your bot code do something simple such as

switch(C.BotType)
{
case Mining:

//drop ore/update variables
return true;

case Hunting:
//attack mobs based on hunting mode
return true;

default://unknown/un-handled botting type)
return true;
}
pro4never is offline  
Thanks
2 Users
Old 02/14/2011, 19:26   #958
 
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
Does it matter where the enum goes? Like can it be put in say client.cs or program.cs, I have placed it in Client.cs though. I mean the "enum BotTypes"

Also this part I am a little confused at "then inside your character" but this part I understand "have a BotType setup with default value Inactive"
denominator is offline  
Old 02/14/2011, 21:45   #959
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
The character class should have a bottype added to it which you can modify via cmd...

The enum itself can go anywhere just keep in mind you will then have to follow how your proxy is setup (IE: if it's under the handler class then you would be doing something like C.BotType = Handler.Enum.Inactive)

You could always have it independent from any class but again... it's all personal preference.
pro4never is offline  
Thanks
1 User
Old 02/15/2011, 01:00   #960
 
elite*gold: 0
Join Date: Dec 2010
Posts: 33
Received Thanks: 0
Can anyone helpme on developing a HasToLoot code? like a looting over attacking priority code
anyone pls?
caio bola 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 07:10.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.