Register for your free account! | Forgot your password?

You last visited: Today at 10:46

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

Advertisement



Code Help!!

Discussion on Code Help!! within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2008
Posts: 65
Received Thanks: 1
Code Help!!

Hello,
Can anyone help me how to write this code?
I want to make a NPC that offers a quest, for example he tells you to kill a certain amount of monsters (for example 100 RedDevils) and after you kill 100 he will give you a reward (1,000 CPs for example.

How to make a code for this kind of quest??
That the NPC offers a quest and after finishing it you get a reward from the NPC?

Thanks
BlackCitadel is offline  
Old 04/03/2011, 16:15   #2
 
AndreaCo's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 510
Received Thanks: 104
first create a int in your file with all the char info called redDevilsKilled. Then just make the npc and check how many red devils killed if(redDevilsKilled >= 1000) redDevilsKilled = 0; (reset it) and then give the reward
AndreaCo is offline  
Old 04/03/2011, 17:25   #3
 
elite*gold: 0
Join Date: Oct 2008
Posts: 65
Received Thanks: 1
What is "int"? and what file?
BlackCitadel is offline  
Thanks
1 User
Old 04/03/2011, 19:03   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Ok you've just shown that you don't know even the most absolute basic programing concepts (not a flame, just a fact).

PLEASE refer yourself to some general programming tutorials before you continue any further such as hybrids awesome guides in the programming section.

Once you've mastered the basics such as data types, collections, methods, etc then you should be ready to write an npc like this easily.
pro4never is offline  
Old 04/03/2011, 21:21   #5
 
elite*gold: 0
Join Date: Oct 2008
Posts: 65
Received Thanks: 1
Can you put a link to this hyprid's programming guide, I can't find it.

I don't understand anything, how can this be a tutorial?


As I can see it's just a code!!! There is no explanation at all!!!
This image I took, It's a tutorial I downloaded from this site in the Programming section, They are about 16 lesson, but all of them are like this, looks like a code, no explanation at all...
BlackCitadel is offline  
Old 04/03/2011, 22:56   #6
 
elite*gold: 0
Join Date: Feb 2011
Posts: 25
Received Thanks: 3
bro read sticky
neverhere is offline  
Old 04/03/2011, 23:23   #7
 
elite*gold: 0
Join Date: Oct 2008
Posts: 65
Received Thanks: 1
Well, In the tutorial , he says Select Debug>> Start without Debugging
And in my Visual C# Express 2010 there is no "Start without Debugging" choice, it's only Start Debugging, look at the pictures below:-





Well, OK.
What if I told you that I would like to make a NPC for a quest, a quest: Kill 50 GiantApes.
And after killing 50 GiantApes talk to the NPC again to get a LotteryTicket.

Anyone can tell me what can I do step by step??
How can I do this and what program should I use?
BlackCitadel is offline  
Old 04/05/2011, 09:52   #8

 
Kiyono's Avatar
 
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 924
Quote:
Originally Posted by BlackCitadel View Post
Well, OK.
What if I told you that I would like to make a NPC for a quest, a quest: Kill 50 GiantApes.
And after killing 50 GiantApes talk to the NPC again to get a LotteryTicket.

Anyone can tell me what can I do step by step??
How can I do this and what program should I use?
Really, it's the same thing as your other request, just that this time you want to reward an item.
Kiyono is offline  
Reply


Similar Threads Similar Threads
Waffen Code´s - Premium Code´s - Dinar Code´s [VERKAUFBAR] ! ! !
03/10/2011 - WarRock Trading - 3 Replies
Hallo Leute , ich verkaufe Code´s . Die Code´s werde ich jetzt darunter hinschreiben und ihr könnt euch bei mir melden 50 % Günstiger Als WarRock Marketplace . 1.Waffen Code´s >>> G36 Code Xm8 Code Javelin Code Mp7a1 Code Famas Retail Code G36 Retail Code
Waffen Code´s - Premium Code´s - Dinar Code´s [VERKAUFBAR] ! ! !
03/10/2011 - WarRock Trading - 9 Replies
Waffen Code´s - Premium Code´s - Dinar Code´s ! ! ! Hallo Leute , ich verkaufe Code´s . Die Code´s werde ich jetzt darunter hinschreiben und ihr könnt euch bei mir melden 50 % Günstiger Als WarRock Marketplace . 1.Waffen Code´s >>> G36 Code Xm8 Code Javelin Code
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



All times are GMT +2. The time now is 10:46.


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.