Programming In CO2.0

05/13/2012 17:49 cheater3000#1
So, my knowledge of programming is nearly zero ( i know a little JAVA ) and am really interested in the field of programming in order to make my own bots and so, dont worry i wont ask a silly question like how do i make a co bot coz simply i know that my level is no where near making such a thing, all i wanna know is :
what is the best programming language to study for making bots?
any books or tutorials recommended for teaching noobs how to program?
05/13/2012 19:31 Micro_Mouse#2
[Only registered and activated users can see links. Click Here To Register...]
05/13/2012 20:41 cheater3000#3
Quote:
Originally Posted by Micro_Mouse View Post
[Only registered and activated users can see links. Click Here To Register...]
God bless u :P
05/13/2012 21:05 tkblackbelt#4
Since you know a bit of Java you you can play around with the server I'm writing if you wan't. I'm going to be highly commenting the source in order to make it good for people learning to write their own server. I don't know how much Java you know so you may have to familiarize yourself more with Java first.

If you're interested you can check out the project at [Only registered and activated users can see links. Click Here To Register...]

Feel free to PM me if you need any help. It's always nice to find some Java coders around here.
05/13/2012 21:16 KraHen#5
I never understood why would one write such a performance demanding app like a server in Java.
05/13/2012 22:05 tkblackbelt#6
Quote:
Originally Posted by KraHen View Post
I never understood why would one write such a performance demanding app like a server in Java.
Java isn't really that slow of a language. In fact you can find benchmarks showing it's even a bit faster than languages such as c++ in SOME cases. Java apps tend to start up slow but once a section has been jit compiled it will run at full speed during its next execution. Also the jvm can perform optimizations depending on the platform its running on. I feel the minor performance penalty with Java is worth for it's vast library and speed of development.

I do agree that in most circumstances C/++ is faster than Java.

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
05/13/2012 22:31 KraHen#7
The last benchmark uses GCC 3.4 and STLPORT 5.0? Come on, this is a joke. :)

Don`t misunderstand me, I love Java, I`ve been using it quite a lot for Android development and I realize that it can be really really helpful (even though sockets are a pain in the ass in it IMO), but I simply wouldn`t even think of developing a server in it, C# provides really easy methodologies for server development, and C++ provides a great amount of control, also inline assembly. The amount of libraries is vast with C++ as well, and most of them are cross platform too.
05/13/2012 22:45 IAmHawtness#8
If I were serious about writing a server, I would never consider Java or any .NET language for that matter. Delphi, C++, or D would be much more suitable. Although, if your server isn't supposed to support thousands of players, I don't see any problem in writing it in Java or a .NET language.
05/14/2012 19:00 cheater3000#9
Quote:
Originally Posted by tkblackbelt View Post
Since you know a bit of Java you you can play around with the server I'm writing if you wan't. I'm going to be highly commenting the source in order to make it good for people learning to write their own server. I don't know how much Java you know so you may have to familiarize yourself more with Java first.

If you're interested you can check out the project at [Only registered and activated users can see links. Click Here To Register...]

Feel free to PM me if you need any help. It's always nice to find some Java coders around here.
well my experience with java doesnt go beyond 3 months or so , i think its no where near messing around with somebody's server, thx for the offer tho :) however i got a book called
Java_How_to_Program__early_objects__9th_Edition__H ow_to_Program__Deitel__

it sounds like a good book related to java, which am studying by myself currently..... its quite a big one tho lol so its gonna take me a while i guess
also i was wondering wht else wud i need to make a conquer bot besides a good knowledge with coding?
05/15/2012 00:31 tkblackbelt#10
Quote:
Originally Posted by cheater3000 View Post
well my experience with java doesnt go beyond 3 months or so , i think its no where near messing around with somebody's server, thx for the offer tho :) however i got a book called
Java_How_to_Program__early_objects__9th_Edition__H ow_to_Program__Deitel__

it sounds like a good book related to java, which am studying by myself currently..... its quite a big one tho lol so its gonna take me a while i guess
also i was wondering wht else wud i need to make a conquer bot besides a good knowledge with coding?
That is a great book. I used it in my first semester college course and it was a great read. Very good choice :)

While I'm no pro at making bots. I would assume you would want to have an understanding of assembly language in order to reverse the client for it's encryption, finding offsets, or whatever else. If you want to make a proxy then you will want to learn about sockets, and how conquer packets are structured.

If your aiming for a memory based bot then I recommend learning C/C++ as it will be much easier to do so. Keep in mind that you can use C/C++ code in Java and C# using some of the native import features.

Good luck