Register for your free account! | Forgot your password?

You last visited: Today at 02:57

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

Advertisement



What is this code

Discussion on What is this code within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2010
Posts: 3
Received Thanks: 0
What is this code

hello im new and i need the code for this
this is the code in npcdialog:
Code:
if (GC.MyChar.InventoryContains(720028, 1))
So what is the code to use it in Character.cs because i get errors when i use that same code ?
MightyMan17 is offline  
Old 03/17/2010, 22:36   #2


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Code:
if(this.InventoryContains(720028, 1))
This will only work in the character class.
Korvacs is offline  
Thanks
1 User
Old 03/17/2010, 22:38   #3
 
xScott's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
Quote:
Originally Posted by MightyMan17 View Post
hello im new and i need the code for this
this is the code in npcdialog:
Code:
if (GC.MyChar.InventoryContains(720028, 1))
So what is the code to use it in Character.cs because i get errors when i use that same code ?
Im confused, this code checks if you have the item: (720028) and if theres one in your inventory. you want to use it in Character.cs, to check if someones got an item in their inventory, whilst coding an item in or...?
xScott is offline  
Old 03/18/2010, 21:42   #4
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
Hi Decker.
"Where in the world is Decker" <-- lol

Anyways, to answer your question, look for common codes in the source. Have you studied the source yet ... or read it at all?
-NewDawn- is offline  
Old 03/18/2010, 21:45   #5
 
walmartboi's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 378
Received Thanks: 163
Quote:
Originally Posted by -NewDawn- View Post
Hi Decker.
"Where in the world is Decker" <-- lol

Anyways, to answer your question, look for common codes in the source. Have you studied the source yet ... or read it at all?
I think this is decker's cousin?
walmartboi is offline  
Old 03/18/2010, 21:48   #6
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by walmartboi View Post
I think this is decker's cousin?
No its not.
Its decker.
Arcо is offline  
Old 03/18/2010, 22:16   #7
 
elite*gold: 0
Join Date: Feb 2010
Posts: 378
Received Thanks: 86
Quote:
Originally Posted by .Arco View Post
No its not.
Its decker.
lol! right on the nail!
kk, well I'll leave him to you bro.

@Decker: read your source dude. It'll answer sooo many of your questions that it's not even funny.
-NewDawn- is offline  
Old 03/18/2010, 22:46   #8
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516


Use my guide might help you with making your NPCs
.Beatz is offline  
Old 03/18/2010, 23:04   #9
 
elite*gold: 0
Join Date: Mar 2010
Posts: 3
Received Thanks: 0
guys me not decker
MightyMan17 is offline  
Old 03/18/2010, 23:26   #10
 
walmartboi's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 378
Received Thanks: 163
Quote:
Originally Posted by Korvacs View Post
Code:
if(this.InventoryContains(720028, 1))
This will only work in the character class.
In your moderator control panel, when you ban someone, is there a drop down box with an actual selection for reason called "Decker"?
walmartboi is offline  
Closed Thread


Similar Threads Similar Threads
B> DriftCity CBS Code | S> War Rock Code / Bounty Bay Code etc.
10/05/2010 - Trading - 1 Replies
Hi, wie schon im Titel beschrieben. In der CBS vom November gab es Bonusodes für mehrere Spiele. Ich benötige DriftCity Codes. Kann sonst für alle anderen Spiele die Codes biten, einige auch doppelt. Hier eine Liste der Spiele und Bonusaktionen: - (2x) War Rock - (2x) War of Titans - (2x) World of Warcraft - (1x) Warhammer Online - (1x) Bounty Bay online
WTB: Japanischer/Chinesicher Guild Wars Trial-Code und EoTn Code
02/08/2010 - Guild Wars Trading - 5 Replies
Hallo, Wie schon oben in der beschreibung steht suche ich Japanischer/Chinesicher Trial-Code + EoTn oder die einzelnen Codes! Ich würde in Platin/Ektos/ZkeYs zahlen (allerdings nur mit Treuhandhändler), man weiss ja nie was einem Verkauft wird :P. Bitte so schnell wie möglich melden, wen einer es haben sollte.



All times are GMT +2. The time now is 02:57.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.