Register for your free account! | Forgot your password?

You last visited: Today at 11:13

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

Advertisement



CoEmu v2 Quest Npcs

Discussion on CoEmu v2 Quest Npcs within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
t_dubble_uu's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 267
Received Thanks: 180
CoEmu v2 Quest Npcs

Ok im gonna release some of the quests i finish for coemu source.

CoachLi Twin City Part 1

add this to Handlers/NpcTalk.cs
Code:
#region CoachLi Level 16 Quest
                    case 30080:
                    {
                        if (CSocket.Client.Level < 16)
                        {
                            if (LinkBack == 0)
                            {
                                Text("Welcome to the world of Conquer. Allow me to introduce myself, Li. Do you need some advice?", CSocket);
                                Link("Sure.", 1, CSocket);
                                Link("No Thanks.", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                            else if (LinkBack == 1)
                            {
                                Text("I am an elemtary coach in Twin City. I suggest you practice outside Twin\n", CSocket);
                                Text("City, or you will be in danger!", CSocket);
                                Link("I shall try my best.", 2, CSocket);
                                Link("I fear nothing.", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                            else if (LinkBack == 2)
                            {
                                Text("I give you a reference letter. When you reach level 16, you may get something\n", CSocket);
                                Text("useful from Coach Lin in Phoenix Castle.", CSocket);
                                Link("Thanks Alot.", 3, CSocket);
                                Link("I fear nothing.", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                            else if (LinkBack == 3)
                            {
                                AddItem(721115, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                            }
                        }
                        else
                        {
                            if (LinkBack == 0)
                            {
                                Text("Im Sorry but you are to powerful for my help.", CSocket);
                                Link("Ok Thanks.", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }
                        break;
                    }
                    #endregion
CoachLin Phoenix Castle

add this to Handlers/NpcTalk.cs
Code:
#region CoachLin Level 16 Quest
                    case 30081:
                    {
                        if (CSocket.Client.Level >= 16)
                        {
                            if (HasItem(721115, 1, CSocket))
                            {
                                if (LinkBack == 0)
                                {
                                    Text("Since you have come. I shall ask you a few questions. If you answer correctly,\n", CSocket);
                                    Text("i will give you a reward.", CSocket);
                                    Link("Fire Away.", 1, CSocket);
                                    Link("Never Mind.", 255, CSocket);
                                    Face(30, CSocket);
                                    End(CSocket);
                                }
                                else if (LinkBack == 1)
                                {
                                    Text("When can a Trojan equipt 2 weapons?", CSocket);
                                    Link("Level 15.", 2, CSocket);
                                    Link("Level 30.", 2, CSocket);
                                    Link("Level 40.", 2, CSocket);
                                    Link("Level 70.", 3, CSocket);
                                    Face(30, CSocket);
                                    End(CSocket);
                                }
                                else if (LinkBack == 2)
                                {
                                    Text("Sorry, your answer is wrong. Please come again when you learn more about\n", CSocket);
                                    Text("Conquer.", CSocket);
                                    Link("Ok Thanks.", 255, CSocket);
                                    Face(30, CSocket);
                                    End(CSocket);
                                }
                                else if (LinkBack == 3)
                                {
                                    Text("Good. You ansered correctly here is an item for you.", CSocket);
                                    Link("Sword.", 4, CSocket);
                                    Link("Blade.", 5, CSocket);
                                    Link("Bow.", 6, CSocket);
                                    Link("BackSword.", 7, CSocket);
                                    Link("Club.", 8, CSocket);
                                    Link("Wand.", 10, CSocket);
                                    Face(30, CSocket);
                                    End(CSocket);
                                }
                                else if (LinkBack == 4)//sword
                                {
                                    DeleteItem(721115, 1, CSocket);
                                    AddItem(420036, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                                }
                                else if (LinkBack == 5)//blade
                                {
                                    DeleteItem(721115, 1, CSocket);
                                    AddItem(410036, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                                }
                                else if (LinkBack == 6)//bow
                                {
                                    DeleteItem(721115, 1, CSocket);
                                    AddItem(500026, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                                }
                                else if (LinkBack == 7)//backsword
                                {
                                    DeleteItem(721115, 1, CSocket);
                                    AddItem(421046, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                                }
                                else if (LinkBack == 8)//club
                                {
                                    DeleteItem(721115, 1, CSocket);
                                    AddItem(480036, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                                }
                                else if (LinkBack == 9)//wand
                                {
                                    DeleteItem(721115, 1, CSocket);
                                    AddItem(561036, 0, 0, 0, 0, 0, 0, 0, 0, CSocket);
                                }
                            }
                            else
                            {
                                Text("It seem each new generation excels the last one.", CSocket);
                                Link("Of course.", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }
                        else
                        {
                            if (LinkBack == 0)
                            {
                                Text("Since Coach Li introduced you, I must try my best to help you. Please come\n.", CSocket);
                                Text("to me when you reach level 16.", CSocket);
                                Link("Ok Thanks.", 255, CSocket);
                                Face(30, CSocket);
                                End(CSocket);
                            }
                        }
                        break;
                    }
                    #endregion
t_dubble_uu is offline  
Thanks
3 Users
Old 11/18/2009, 14:18   #2
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
good work. someone who actually contributes. +k
.Guru is offline  
Old 11/18/2009, 16:10   #3
 
t_dubble_uu's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 267
Received Thanks: 180
I try my best.

Im workin on a few more of the lower level quest atm which ill post in the topic but how do u do the lil button hide/show thing?
t_dubble_uu is offline  
Old 11/18/2009, 18:51   #4
 
elite*gold: 0
Join Date: Nov 2009
Posts: 159
Received Thanks: 27
Goodjob bro keep it up :P
MexicanoCoder is offline  
Old 11/18/2009, 19:05   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Nice that you are trying to release some basic stuff but at least try to get some basic things right though.

Eg:

Code:
 Text("When can a Trojan equipt 2 weapons?", CSocket);
                                    Link("Level 15.", 2, CSocket);
                                    Link("Level 30.", 2, CSocket);
                                    Link("Level 40.", 2, CSocket);
                                    Link("Level 70.", 3, CSocket);
answer is 40, not 70

I haven't read through the rest of the script yet but just saying. If you are releasing stuff, it should be in good working order (eg: no typos/bugs)

<edit>

nvm I was prob being too hard on you. That's the only real error I see.

Also note that each Text("", CSocket); line creates it's own new line of text. \n is not required unless you want a new line in the SAME line of code.
pro4never is offline  
Old 11/18/2009, 22:05   #6
 
elite*gold: 0
Join Date: Nov 2009
Posts: 131
Received Thanks: 48
Nice release i may not use it cause im not a good coder

Im learning but i most likely will start with LOTF and move up to CoEmu =)

But thanks
׍ĥę×Ôŋë× is offline  
Old 11/18/2009, 22:06   #7
 
elite*gold: 0
Join Date: Nov 2009
Posts: 24
Received Thanks: 88
Quote:
Originally Posted by ׍ĥę×Ôŋë× View Post
Nice release i may not use it cause im not a good coder

Im learning but i most likely will start with LOTF and move up to CoEmu =)

But thanks
You are defect.
Makarov is offline  
Old 11/18/2009, 22:08   #8
 
elite*gold: 0
Join Date: Nov 2009
Posts: 131
Received Thanks: 48
Quote:
Originally Posted by Makarov View Post
You are defect.

Im who? Who is defect Makarov if you wana get to know me add my email =)

Email:
׍ĥę×Ôŋë× is offline  
Old 11/19/2009, 00:59   #9
 
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
its lookbehindyou

and makarov i know who you are too
.Guru is offline  
Old 11/19/2009, 01:03   #10
 
elite*gold: 0
Join Date: Nov 2009
Posts: 131
Received Thanks: 48
Quote:
Originally Posted by Prot0type View Post
its lookbehindyou

and makarov i know who you are too
Soo cause i joined today im some one who im not who is lookbehindyou i dont know why you guys are hating on me o.o im here to learn to code in C# and code a co server =( pleas stop saying something you do not know ok
׍ĥę×Ôŋë× is offline  
Old 11/19/2009, 01:20   #11
 
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
Quote:
Originally Posted by ׍ĥę×Ôŋë× View Post
Nice release i may not use it cause im not a good coder

Im learning but i most likely will start with LOTF and move up to CoEmu =)

But thanks
Bad Decision. I would not start with lotf. I would at least go with Hybrids source.

Edit:
If you have just joined, take my advice and leave. You probably won't learn anything here even if you wanted to. Maybe if you meet someone that is really nice, and your really devoted you might, but this forum is full of ********.
Santa is offline  
Old 11/19/2009, 01:23   #12
 
elite*gold: 0
Join Date: Nov 2009
Posts: 131
Received Thanks: 48
Quote:
Originally Posted by StarBucks View Post
Bad Decision. I would not start with lotf. I would at least go with Hybrids source.

Edit:
If you have just joined, take my advice and leave. You probably won't learn anything here even if you wanted to. Maybe if you meet someone that is really nice, and your really devoted you might, but this forum is full of ********.
Hybrids source? Can you gimme a link to it

And just cause i joined and wanna learn to code in C# doesent mean you guys have to judge me for no reason

I wanna be a great C# coder =(
׍ĥę×Ôŋë× is offline  
Old 11/19/2009, 01:27   #13
 
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
Quote:
Originally Posted by ׍ĥę×Ôŋë× View Post
Hybrids source? Can you gimme a link to it

And just cause i joined and wanna learn to code in C# doesent mean you guys have to judge me for no reason

I wanna be a great C# coder =(
I wasn't judging you. I was just informing you that this forum is not that great. You will be flamed unless you do something that it Text box to the real Co. But anyway, Hybrids source is a sticky.

Edit:
I'm sorry its not a sticky. I will look for it, hang on.
Santa is offline  
Old 11/19/2009, 01:29   #14
 
elite*gold: 0
Join Date: Nov 2009
Posts: 131
Received Thanks: 48
Quote:
Originally Posted by StarBucks View Post
I wasn't judging you. I was just informing you that this forum is not that great. You will be flamed unless you do something that it Text box to the real Co. But anyway, Hybrids source is a sticky.
There isnt a source in the sticky area
׍ĥę×Ôŋë× is offline  
Old 11/19/2009, 01:39   #15
 
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
Alright, so the link to Hybrids source is
The Database it also right here:
Santa is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release] DisCity NPCs (CoEmu v2)
05/04/2010 - CO2 PServer Guides & Releases - 14 Replies
here are the npcs to dis city... you will have to make the other 2 NPCs because in CoEmu databse come only with the first SolarSaint... if have some bug post please i'm developing it yet! case 3215: { if (LinkBack == 0) { Text("Our ancestor exerted their utmost efforts and defeated the demons. Since", CSocket); Text("then the world has been kept in...
HELP IN COEMU V2 Npcs
08/25/2009 - CO2 Private Server - 2 Replies
Hello i create one server of conquer and now i can enter BUt The npcs dont have the code for talk Pleaseee the code3sssssssssssssssssssssssss
[Help/Request] CoEmu V2 NPCs
07/20/2009 - CO2 Private Server - 6 Replies
Found Solution :)
[Release]NPCs for Coemu V2 source
06/26/2009 - CO2 PServer Guides & Releases - 2 Replies
Post here the Npcs for Coemu Source, thanks for you contribution... case 104839: // BoxerLi PC- TG teleporter { if (LinkBack == 0) { Text("If you are level 20 or above, you may train ub the training ground. Would you like me to teleport you there for 1000 silver.", CSocket); Link("Yes, please.", 1, CSocket); Link("No Thanks.", 255, CSocket);



All times are GMT +2. The time now is 11:13.


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.