Register for your free account! | Forgot your password?

You last visited: Today at 23:46

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

Advertisement



[Request] Opinions

Discussion on [Request] Opinions within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
[Request] Opinions

Hello.
I am trying to learn C# but I don't know what to learn first.
Can someone tell me a list of what I should learn First-Last?
I will be really grateful.
Thanks!
Decker_ is offline  
Old 02/19/2010, 22:53   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Npc's learn all the basics that an npc can do.
Cps give and take
Silver give and take
Attribute points give and take.
Learn everything that an npc can be used for.
Arcо is offline  
Thanks
1 User
Old 02/19/2010, 22:58   #3
 
elite*gold: 40
Join Date: Feb 2010
Posts: 78
Received Thanks: 17
Quote:
Originally Posted by .Arco View Post
Npc's learn all the basics that an npc can do.
Cps give and take
Silver give and take
Attribute points give and take.
Learn everything that an npc can be used for.
Hes trying to learn to code in c# so he should do some enums, bools, definitions, encryptions and stuff o.o
ArtOfWar is offline  
Old 02/19/2010, 23:03   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by ArtOfWar View Post
Hes trying to learn to code in c# so he should do some enums, bools, definitions, encryptions and stuff o.o
Well here's a little need to know about definitions.

Bool: If something is defined as a bool, then it is a true or false statement.
Like public bool GWOn = false;
If its true then where ever it is coded GW will be on.

Byte:Anything defined as a byte is an unsigned 8-bit integer that can go from 0-255, like public byte Level = 0;
A character's level is defined as a byte so it can only go up to 255.

Int:Anything defined as an int is a signed 32-bit integer that can range anywhere from -2,147,483,648 to 2,147,483,647.

Long:Anything defined as a Long is a Signed 64-bit integer that can range anywhere from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.

Sbyte: Anything defined as an sbyte is a Signed 8-bit integer that can range anywhere from -128 to 127.

Short: Anything defined as a short is a Signed 16-bit integer that can range anywhere from
-32,768 to 32,767.

Uint: Anything defined as a uint is a Unsigned 32-bit integer that can range anywhere from 0 to 4,294,967,295.

Ulong: Anything defined as a ulong is a Unsigned 64-bit integer that can range anywhere from 0 to 18,446,744,073,709,551,615.

Ushort: Anything defined as a ushort is an Unsigned 16-bit integer that can range anywhere from 0 to 65,535.

More to come..
Arcо is offline  
Thanks
1 User
Old 02/19/2010, 23:04   #5


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
First, this belongs to the Programming section.

Second, you need to learn the syntax of the language, after that you`re on your own. I personally started with console apps, then going a bit on forms, then basic scripting for CO, after that I started coding in XNA and some very basic C++ in school, which two have helped me improve my coding skills.
KraHen is offline  
Old 02/19/2010, 23:08   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
I'd start with ummm

Basic data types (int/uint/bool/string/etc)

basic operators (+ - / * += -= ** etc)

if/else if/else statements

loops (while, for, foreach, etc)

Basic functions

try/catch statements

basic data structures (dictionaries/hashtables)

basic I/O (flatfile and through sql)

switch statements

break/continue/etc


There's alot more basic stuff you could learn but those are really easy to get a grasp on and will be useful for ANYTHING you program. Learn the basics before you try anything more advanced or you will fail.


I know I tend to advertise it alot... but I do have tutorials for at least some of those basics in my siggy.
pro4never is offline  
Thanks
1 User
Old 02/19/2010, 23:11   #7
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
Quote:
Originally Posted by .Arco View Post
Well here's a little need to know about definitions.

Bool: If something is defined as a bool, then it is a true or false statement.
Like public bool GWOn = false;
If its true then where ever it is coded GW will be on.

Byte:Anything defined as a byte is an unsigned 8-bit integer that can go from 0-255, like public byte Level = 0;
A character's level is defined as a byte so it can only go up to 255.

Int:Anything defined as an int is a signed 32-bit integer that can range anywhere from -2,147,483,648 to 2,147,483,647.

Long:Anything defined as a Long is a Signed 64-bit integer that can range anywhere from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807.

Sbyte: Anything defined as an sbyte is a Signed 8-bit integer that can range anywhere from -128 to 127.


More to come..
Thanks

Quote:
Originally Posted by ElDeRnEcRo View Post
First, this belongs to the Programming section.

Second, you need to learn the syntax of the language, after that you`re on your own. I personally started with console apps, then going a bit on forms, then basic scripting for CO, after that I started coding in XNA and some very basic C++ in school, which two have helped me improve my coding skills.
This doesn't necessarily go there because i'm learning to code conquer private servers, so this kind of has something to do with conquer private servers. :S

Quote:
Originally Posted by pro4never View Post
I'd start with ummm

Basic data types (int/uint/bool/string/etc)

basic operators (+ - / * += -= ** etc)

if/else if/else statements

loops (while, for, foreach, etc)

Basic functions

try/catch statements

basic data structures (dictionaries/hashtables)

basic I/O (flatfile and through sql)

switch statements

break/continue/etc


There's alot more basic stuff you could learn but those are really easy to get a grasp on and will be useful for ANYTHING you program. Learn the basics before you try anything more advanced or you will fail.


I know I tend to advertise it alot... but I do have tutorials for at least some of those basics in my siggy.
Thanks
Decker_ is offline  
Old 02/19/2010, 23:14   #8
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
I suggest:
Arcо is offline  
Thanks
1 User
Old 02/20/2010, 00:56   #9
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
Thanks, i'll take a look at it.
Decker_ is offline  
Old 02/20/2010, 00:59   #10


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Even if you are learning to program because you wish to write a private server, your still learning all aspects of a programming language, so it belongs in programming.

Moved.
Korvacs is offline  
Old 02/21/2010, 15:06   #11
 
Nullable's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
First, you'll never advance in programming without learning all the corners of the language, you just wish to cut through and suddenly have all the knowledge needed to run a server.
Regarding my last statement:

1. If you are going C# just because its simple, don't! Doing simple stuff first in programming isn't that good as some people think, you should start with an intermediate language that doesn't really kill you and enables you to practice the advanced stuff more and more(i.e memory stuff and pointers), a language like C++ will help you greatly understand how pointers and computer memory works, also regarding servers, C++ will open up WSA widely for you unlike C# which contains implementations of WSA functions

2. If you still don't like C++, C# .NET is a great language and .NET is also a great framework. however, you should practice the most avoidable programming methods in C#(around here) as the System.Reflection and System.Linq namespaces

3. This might not be in any means related to servers but, anyway. Assembly(or machine code) isn't really tough to understand and will help amazingly to understand some programming concepts as Stack and calling conventions
Nullable is offline  
Old 03/01/2010, 01:01   #12
 
spare2's Avatar
 
elite*gold: 20
Join Date: Oct 2009
Posts: 1,009
Received Thanks: 621
You can't learn calculus without learning algebra.

Java/.Net languages are the ways to go for beginners.
spare2 is offline  
Reply


Similar Threads Similar Threads
Need some opinions
02/18/2010 - Aion - 1 Replies
Hey guys, I spent some time looking around at all the bots out here for AION. I saw some people asking which one the best is based on the list that was made but all the responses where telling him to go for the free bots. If money is not an issue which of the bots are the top 5? Can someone give me the top 5 bots out there right now regardless of the price? Thanks! :D
Need your opinions!
05/28/2009 - CO2 Private Server - 4 Replies
Hello people. Me and my crew are currently working on implenting a new system/feature, a unfinished TQ system, which they call Crafting. Anyhow, we are almost finished with this system, and need your opinion of what it should be used for. The server will be leveling and very realistic, so please only post realistic ideas. Implenting new items to the server is an option so don't be afraid to post things like that. Here's a few ideas we have so far: * Compose gems into higher quality...
Need Opinions!!!
09/16/2008 - SRO Private Server - 7 Replies
I need some opinions on some good SRO Pservers no flames please :bandit:
rbing opinions
10/12/2007 - Conquer Online 2 - 5 Replies
JW but i really dont know what to reborn as, (im a warrior lvl 118, i should be enuff in bout a week for good app) i know everyone says rb to a warrior becuz u get reflect and it pwns, plus good lvling cuz of superman and guard. But id like to hear all of ur opinions of what class is the funnest to rb to or strongest or w/e. Ty, this is just for fun, so i cant see why anybody would wanna flame..... so dont:)
need opinions
08/10/2007 - General Gaming Discussion - 2 Replies
well i guess im just wondering if its just a waste of my time or somthing but im making a runescape bot... i guess... i havent gotten to far but just wondering if i should just quit it and just make one for another game.



All times are GMT +1. The time now is 23:47.


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.