Hey guys and girls,programming help needed

11/10/2009 10:25 volraze#1
Hey everyone =]

I've played co for sometime now,and i feel like i wana start programming stuff,for now stuff related to co,bots and such.

I know the basic langs such as Assembler, C and Pascal,a bit of python and a bit of C++.


I have NO IDEA how to even start making programs for CO,all i know is that i worked in the past on some programming tools for C and pascal and assembler,i made basic programms,and it wasnt hard.

My question is,what lang do i need to know to start programming in CO?
and what engines/programming tools do i use? im really exited ,help me out=D
11/10/2009 22:07 InfamousNoone#2
If your willing to learn a .NET language such as C# you can program on the JProxy API
[Only registered and activated users can see links. Click Here To Register...]

Which is extremely easy to develop bots on.
Otherwise if your not willing to get JProxy, I suggest looking around for some open-source bots and learning from those. Here's an example of an aimbot written using the JProxy API:
When you cast fastblade (or scentsword) it'll target the person for you.

Code:
    public class Aimbot
    {
        public static JPacketProcessHelper hlpClient;
        public static JPacketProcessHelper hlpServer;

        public uint TargetID;
        public bool AutoSit;
        public int SpellID;
        public bool On;

        private bool GetTarget(JNativeGameClient Client, out JNativeBasicEntity Target)
        {
            Target = default(JNativeBasicEntity);
            foreach (JNativeBasicEntity Entity in Client.Screen.Objects)
            {
                if (Entity.UID == TargetID)
                {
                    Target = Entity;
                    return true;
                }
            }
            return false;
        }
        
        static Aimbot()
        {
            hlpServer = new JPacketProcessHelper();
            hlpServer.OnJump += new JOnEntityJumpCallback(hlpServer_OnJump);
            hlpClient = new JPacketProcessHelper();
            hlpClient.OnMagicAttack += new JOnStandardAttack(hlpClient_OnMagicAttack);
        }
        public Aimbot(JNativeGameClient Client)
        {
            Client.Variables["Aimbot"] = this;
            SpellID = 1045;
            On = false;
            TargetID = 0;
            AutoSit = false;
        }

        private static bool hlpServer_OnJump(IntPtr nativeClient, uint UID, int X, int Y, int OldX, int OldY)
        {
            JNativeGameClient Client = new JNativeGameClient(nativeClient);
            Aimbot Aimbot = Client.Variables["Aimbot"] as Aimbot;
            if (Aimbot != null)
            {
                if (Client.UID == UID && Aimbot.AutoSit)
                {
                    Client.ChangeAction(JNativeConquerAction.Sit);
                }
            }
            return true;
        }
        private static bool hlpClient_OnMagicAttack(IntPtr nativeClient, uint AttackerUID, ushort X, ushort Y, uint TargetUID, DamageSpellUnion Value)
        {
            JNativeGameClient Client = new JNativeGameClient(nativeClient);
            Aimbot Aimbot = Client.Variables["Aimbot"] as Aimbot;
            if (Aimbot != null)
            {
                if (AttackerUID == Client.UID)
                {
                    if (Value.SpellID == Aimbot.SpellID && Aimbot.On)
                    {
                        JNativeBasicEntity Target;
                        if (Aimbot.GetTarget(Client, out Target))
                        {
                            Client.CastMagic(Target.X, Target.Y, Value.SpellID, 0);
                            return false;
                        }
                    }
                }
            }
            return true;
        }
    }
11/11/2009 10:34 volraze#3
C# is a .net? im sorry for the stupid question,i just never programmed in .net.

so i dont need php or VB.NET or ASP.NET?

im welling to learn any lang,i dont have a problem,prettymuch they are all the same, im a fast learner.

so its settled,C# is what i need for this kinda work then ill do that.

by the way i started using Blender for 3D graphics,made a skeleton in first hour =D i wana eventually be able to make a game,but first stop is cracking them down in bots,second is making them =]

Thanks alot for your help,if u got anymore usefull advice ill love to hear em
11/11/2009 10:36 volraze#4
oh yeah,what simulators do i need for em? dev ccp?
i usually write down skeleton in notepad ++ (kickass prog) that supports almost all langs ,then move it to a simulator,so which one do i use for C#? dev ccp? cuz i got no idea
11/11/2009 11:39 ChingChong23#5
Quote:
I know the basic langs such as Assembler, C and Pascal,a bit of python and a bit of C++
why lie? i find it very hard to believe you've worked with them languages, and you don't know what .Net is, as well as the general way your talking.
11/11/2009 13:03 volraze#6
I am not lieng,i learned a year in software engineering and got recruited to the army (its compulsory) so i had to leave,while there i worked with assembler and C,i only had 1 semester inC++ so i dont remember alot of it,im good at C and pascal though,i learned 5 unites of pascal in highschool and C in first 2 semesters of univirsity,i wrote alot of programms in them,and no i never got to .NET ,maybe it was at the end of C++ course? idk cuz i only had 1 semester of it.

so please,don't call people liars over nothing,i have nothing to lie for,i told him what languages i worked with in order for him to reply me accordingly,not for you to call me a liar.

i worked with dev ccp complier and turbo C ,and a simulator called PDP-11 for assembler,which is one of the hardest assembler machines,and turbo pascall,i never ever used C#,so i have no idea what simulators i run it on.