Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 04:36

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

Advertisement



Programming for Idiots (C#) - Take 2

Discussion on Programming for Idiots (C#) - Take 2 within the CO2 Programming forum part of the Conquer Online 2 category.

Closed Thread
 
Old 08/07/2011, 18:42   #121
 
elite*gold: 0
Join Date: Aug 2006
Posts: 93
Received Thanks: 9
Will someone reup unit 2 lesson 2
Valkmax is offline  
Old 08/11/2011, 17:52   #122
 
elite*gold: 0
Join Date: Oct 2009
Posts: 23
Received Thanks: 3
I use Visual Studio 2008 and when try to cast int to string ( which is not allowed)with as -cast it doesnt give me any error but should give this

if try this with type-cast it gives me error as it should be. Is that cuz i use Visual Studio 2008?
gligor1 is offline  
Old 08/11/2011, 20:52   #123
 
unknownone's Avatar
 
elite*gold: 20
Join Date: Jun 2005
Posts: 1,013
Received Thanks: 381
There is no cast between a string and an int. The "as" operator will return null if a cast is invalid. This operator is really syntactic sugar for
Code:
o is string ? (string)o : (string)null
Of course "o is string" is never true in your case, so it will always return null.

If you try to use (string)o when o is not a string, you'll get an invalid cast exception.

You should instead use i.ToString() to get the value as a string.
unknownone is offline  
Old 08/15/2011, 22:14   #124
 
elite*gold: 0
Join Date: Oct 2008
Posts: 47
Received Thanks: 13
Quote:
Originally Posted by Valkmax View Post
Will someone reup unit 2 lesson 2
The link of Unit II, Lesson 2 is dead. Could someone/ the owner of the thread fix it?
Thanks!
Silen† is offline  
Old 08/24/2011, 05:46   #125
 
elite*gold: 0
Join Date: Feb 2007
Posts: 240
Received Thanks: 22
Need some working links ..

thanks in advance,
agathom is offline  
Old 10/01/2011, 16:05   #126
 
Silent-Death's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 1,055
Received Thanks: 296
Quote:
Originally Posted by Silen† View Post
The link of Unit II, Lesson 2 is dead. Could someone/ the owner of the thread fix it?
Thanks!
I second this request.
Silent-Death is offline  
Old 11/20/2011, 08:22   #127
 
elite*gold: 0
Join Date: May 2009
Posts: 239
Received Thanks: 78
just checked unit one links , lesson 3 not working
hybird u r awesome but u cant stop there buddy i need the last unite
good luck that was good one , ur style in explaining stuff was amazing

P.S working on unite 2 , the second lesson saying
Sorry, the file you requested is not available.
Reasons -.-
- File date limit has expired.
- File was not successfully uploaded.
andrewxxx is offline  
Old 11/20/2011, 18:11   #128
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
andrewxxx read the posts above. Hybrid obviously quitted it.
BaussHacker is offline  
Old 11/20/2011, 22:27   #129
 
elite*gold: 0
Join Date: Nov 2011
Posts: 6
Received Thanks: 1
this will help me a lot at school tomorrow
V3T™ is offline  
Old 11/21/2011, 14:42   #130
 
elite*gold: 0
Join Date: May 2009
Posts: 239
Received Thanks: 78
Quote:
Originally Posted by BaussHacker View Post
andrewxxx read the posts above. Hybrid obviously quitted it.
well there is more around but the point is that i like his style in programming in general
thanks for notify me
andrewxxx is offline  
Old 01/29/2012, 14:55   #131
 
elite*gold: 0
Join Date: Jan 2012
Posts: 85
Received Thanks: 23

mr.infamous u awesome programmer thx.
Heroka is offline  
Old 02/18/2012, 01:12   #132
 
2slam's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 586
Received Thanks: 336
links dead
2slam is offline  
Old 02/27/2012, 10:09   #133
 
PretendTime's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 68
Received Thanks: 9
Quote:
Originally Posted by 2slam View Post
links dead
I have them all but unit 2 lesson 2.
Attached Files
File Type: rar Programming For Idiots.rar (365.6 KB, 52 views)
PretendTime is offline  
Thanks
4 Users
Old 02/27/2012, 10:53   #134
 
elite*gold: 0
Join Date: Feb 2012
Posts: 1
Received Thanks: 0
Hey i've been really trying to learn this very hard but it says that lesson 3 is removed so im kinda stuck mind re posting please? thanks man i really appreciate al your time and effort
skrill_sebastian is offline  
Old 02/27/2012, 11:27   #135
 
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
Above.
I don't have a username is offline  
Thanks
1 User
Closed Thread


Similar Threads Similar Threads
Programming For Idiots (Tutorial) - In C#
05/25/2013 - CO2 Programming - 188 Replies
This tutorial has been superseded by: http://www.elitepvpers.com/forum/co2-programming/88 5939-programming-idiots-c-take-2-a.html Well for the next week (or so) due to being bored, I've started a video-tutorial called C# Programming for Idiots and yeah, by the end of it I'll demonstrate how to make a conquer server (patch 5016 and before) without the need of mysql, or anything like that; all you need is the Visual C# compiler, and WinRAR (To extract the videos). Visual C# Compiler:...
Programming for Idiots (Tutorial) C++
06/11/2012 - CO2 Programming - 20 Replies
Yeah, so in my relation to my C# one (http://www.elitepvpers.com/forum/co2-guides-templa tes/148675-programming-idiots-tutorial-c.html), which wasn't the best I felt I'll *try* make for it with this one. I've also got some spare time in between school, from when exams start, and a new Warlords server comes out... so yeah. Right, so before I post any links to the videos I'd like to point out, so I don't get bitched at by people saying, "this isn't real C++", most of the things I do will be...
[RE-OPENING]"Programming For Idiots (Tutorial) - In C#"
09/17/2009 - CO2 Programming - 20 Replies
At start i want to say THIS IS NOT MY GUIDE , GUIDE WAS MADE BY INFAMOUSNONE!!



All times are GMT +1. The time now is 04:37.


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.