Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 23:12

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

Advertisement



[Help]Small question...

Discussion on [Help]Small question... within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
[Help]Small question...

why doesn't this code work? o.O

Code:
if (MyChar.Equips[Pos] != "0" || MyChar.Equips[Pos] != null)
any ideas? i'm trying to make it so if there is no equip on it won't "upgrade" the item....thx.
BlooD-BoY is offline  
Old 05/20/2009, 03:35   #2
 
elite*gold: 20
Join Date: Jul 2007
Posts: 613
Received Thanks: 486
can u screen shot the error message that appears?
samehvan is offline  
Old 05/20/2009, 13:28   #3
 
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
Quote:
Originally Posted by [GMs] View Post
Why did you use zero? Why not use a boolean statement? Your code says if equipment in position x is NOT 0 and you can't use null.

"The null keyword is a literal that represents a null reference, one that does not refer to any object."
.....i already fixed it....and weird i used the same code....just changed its location....umm....
BlooD-BoY is offline  
Reply


Similar Threads Similar Threads
A small question
09/14/2010 - Dekaron - 10 Replies
Hey guys, how´s it going....I was just wondering if hacking can be possible by injecting dll´s at the startup....if there is a thread about this I would appreciate the help if not...hey, good to throw some ideas in other directions and see if good can be made for the community....take care, ppl!!
just a really small question
08/17/2010 - S4 League - 6 Replies
okay what the hell is this? are the hacks made by people editing using those files with the files colored red in the quote? since the trainers i see uses the files inside the resource files text action(Cheat engine does that i think). i don't wanna get sue'd by those people zzz :confused:
Small Question
04/16/2010 - SRO Private Server - 1 Replies
Can somebody tell me what a Fire Mercenary or Light Mercenary or Cold Mercenary do? Like I no they're guild npc's u can buy that help you but I don't get exactly what skills they do or how strong they are. Help me, please and thank you :handsdown:



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


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.