Register for your free account! | Forgot your password?

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

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

Advertisement



Hmm can anybody help me with this?

Discussion on Hmm can anybody help me with this? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Hmm can anybody help me with this?

Ok see here this is what I need help changing.
For LOTF the basic NPC setup is this:

Code:
                            if (CurrentNPC == 390)
                            {
                                SendPacket(General.MyPackets.Say("Do you wish to propose to your sweetheart?"));
                                SendPacket(General.MyPackets.Say("Remember that marriage is a serious commitment, do not enter into it lightly."));
                                SendPacket(General.MyPackets.NPCLink("Yes I want to propose", 1));
                                SendPacket(General.MyPackets.NPCLink("Nooo I'm not ready", 255));
                                SendPacket(General.MyPackets.SetFace(30));
                                SendPacket(General.MyPackets.Finish());
                            }
Can anybody help me set it up so it will look like this:
Code:
                            if (CurrentNPC == 390)
                            {
                                Say("Do you wish to propose to your sweetheart?"));
                                Say("Remember that marriage is a serious commitment, do not enter into it lightly."));
                                Link("Yes I want to propose", 1));
                                Link("Nooo I'm not ready", 255));
                                Face(30));
                                Finish());
                            }
Help would be greatly appreciated.
Thanks alot!
Arcо is offline  
Old 10/08/2009, 01:46   #2
 
Zion~'s Avatar
 
elite*gold: 20
Join Date: Aug 2009
Posts: 1,344
Received Thanks: 650
What exactly do you want help with?
Zion~ is offline  
Old 10/08/2009, 01:49   #3
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by Zion~ View Post
What exactly do you want help with?
For somebody to help me set it up like the second example I showed.
Arcо is offline  
Old 10/08/2009, 02:06   #4
 
elite*gold: 0
Join Date: Sep 2009
Posts: 249
Received Thanks: 17
Quote:
Originally Posted by Tiku View Post
Ok see here this is what I need help changing.
For LOTF the basic NPC setup is this:

Code:
                            if (CurrentNPC == 390)
                            {
                                SendPacket(General.MyPackets.Say("Do you wish to propose to your sweetheart?"));
                                SendPacket(General.MyPackets.Say("Remember that marriage is a serious commitment, do not enter into it lightly."));
                                SendPacket(General.MyPackets.NPCLink("Yes I want to propose", 1));
                                SendPacket(General.MyPackets.NPCLink("Nooo I'm not ready", 255));
                                SendPacket(General.MyPackets.SetFace(30));
                                SendPacket(General.MyPackets.Finish());
                            }
Can anybody help me set it up so it will look like this:
Code:
                            if (CurrentNPC == 390)
                            {
                                Say("Do you wish to propose to your sweetheart?"));
                                Say("Remember that marriage is a serious commitment, do not enter into it lightly."));
                                Link("Yes I want to propose", 1));
                                Link("Nooo I'm not ready", 255));
                                Face(30));
                                Finish());
                            }
Help would be greatly appreciated.
Thanks alot!
Here is a way simpler way.

Place these in I'm guessing client.cs

Code:
        public void Say(string text)
        {
            SendPacket(General.MyPackets.NPCSay(text));
        }
        public void Link(string text, byte option)
        {
            SendPacket(General.MyPackets.NPCLink(text, option));
        }
        public void Exit(string text)
        {
            SendPacket(General.MyPackets.NPCLink(text, 255));
            SendPacket(General.MyPackets.NPCSetFace(30));
            SendPacket(General.MyPackets.NPCFinish());
        }
        public void NoRoom()
        {
            SendPacket(General.MyPackets.NPCSetFace(30));
            SendPacket(General.MyPackets.NPCFinish());
        }
1. NPC with enough room for a exit saying

Code:
Say("Want free cps?");
Link("Yes!", 1);
Exit("No");
2. NPC withOUT enough room for exit saying

Code:
Say("Want free cps?");
Link("Possibly", 1);
Link("Maybe", 2);
Link("Oh Yeah", 3);
Link("Could Be", 4);
Link("Me Love You long time!", 5);
Link("Newb", 6);
Link("I make sexy time with your mother.", 7);
NoRoom();


np
Empty Project is offline  
Old 10/08/2009, 02:37   #5
 
Zion~'s Avatar
 
elite*gold: 20
Join Date: Aug 2009
Posts: 1,344
Received Thanks: 650
Quote:
Code:
Say("Want free cps?");
Link("Possibly", 1);
Link("Maybe", 2);
Link("Oh Yeah", 3);
Link("Could Be", 4);
[COLOR="Magenta"][B][SIZE="3"]Link("Me Love You long time!", 5);[/SIZE][/B][/COLOR]
Link("Newb", 6);
[COLOR="Purple"][B][SIZE="3"]Link("I make sexy time with your mother.", 7);[/SIZE][/B][/COLOR]
NoRoom();
lol'd
But its me lob you lang time!
Zion~ is offline  
Old 10/08/2009, 02:47   #6
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
[QUOTE=Empty Project;3173678][B]Here is a way simpler way.

Place these in I'm guessing client.cs

Code:
        public void Say(string text)
        {
            SendPacket(General.MyPackets.NPCSay(text));
        }
        public void Link(string text, byte option)
        {
            SendPacket(General.MyPackets.NPCLink(text, option));
        }
        public void Exit(string text)
        {
            SendPacket(General.MyPackets.NPCLink(text, 255));
            SendPacket(General.MyPackets.NPCSetFace(30));
            SendPacket(General.MyPackets.NPCFinish());
        }
        public void NoRoom()
        {
            SendPacket(General.MyPackets.NPCSetFace(30));
            SendPacket(General.MyPackets.NPCFinish());
        }
See I know whats needed to make that work.
I just do not know where to put those.
I can never get the hang of it.
But mine is like this

Code:
        public void Finish()
        {
            SendPacket(General.MyPackets.NPCFinish());
        }
        public void Face()
        {
            SendPacket(General.MyPackets.NPCSetFace(30));
        }
Arcо is offline  
Old 10/08/2009, 03:30   #7
 
elite*gold: 0
Join Date: Sep 2009
Posts: 249
Received Thanks: 17
[quote=Tiku;3173752]
Quote:
Originally Posted by Empty Project View Post
[B]Here is a way simpler way.

Place these in I'm guessing client.cs

Code:
        public void Say(string text)
        {
            SendPacket(General.MyPackets.NPCSay(text));
        }
        public void Link(string text, byte option)
        {
            SendPacket(General.MyPackets.NPCLink(text, option));
        }
        public void Exit(string text)
        {
            SendPacket(General.MyPackets.NPCLink(text, 255));
            SendPacket(General.MyPackets.NPCSetFace(30));
            SendPacket(General.MyPackets.NPCFinish());
        }
        public void NoRoom()
        {
            SendPacket(General.MyPackets.NPCSetFace(30));
            SendPacket(General.MyPackets.NPCFinish());
        }
See I know whats needed to make that work.
I just do not know where to put those.
I can never get the hang of it.
But mine is like this

Code:
        public void Finish()
        {
            SendPacket(General.MyPackets.NPCFinish());
        }
        public void Face()
        {
            SendPacket(General.MyPackets.NPCSetFace(30));
        }
lol use mine and go at the very end of client.cs right BEFORE the last } and put it there.
Empty Project is offline  
Reply




All times are GMT +2. The time now is 01:32.


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.