Register for your free account! | Forgot your password?

You last visited: Today at 01:43

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

Advertisement



Marriage dialog ????

Discussion on Marriage dialog ???? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
Marriage dialog ????

Hi.. i already have marriage Packet installed but i'm stucked in NPC Dialog... Here is the starting of my dialog
Quote:
if (CurrentNPC == 390)
{
SendPacket(General.MyPackets.NPCSay("Do you wish to propose to your sweetheart?"));
SendPacket(General.MyPackets.NPCSay("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.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
And then
Quote:
if (CurrentNPC == 390)
{
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("Click on your sweetheart to propose to them"));
SendPacket(General.MyPackets.NPCLink("OK", 225));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
}

Anyone can tell me how to finish that Dialog plz?
stephanyd is offline  
Old 09/24/2008, 01:15   #2
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
Send the packet for the mouse, duh
InfamousNoone is offline  
Old 09/24/2008, 01:46   #3
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
Quote:
Originally Posted by InfamousNoone View Post
Send the packet for the mouse, duh
You means it should be like that ?.. Sorry to ask too much

Quote:
if (CurrentNPC == 390)//Marriage
{
if (Control == 1)
{
SendPacket(General.MyPackets.NPCSay("Click on your sweetheart to propose to them"));
SendPacket(General.MyPackets.NPCLink("OK", 2));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
if (Control == 2)
SendPacket(General.MyPackets.MarriageMouse());
}
Or just give me a little help if u want
stephanyd is offline  
Old 09/24/2008, 03:43   #4
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
Quote:
Originally Posted by stephanyd View Post
You means it should be like that ?.. Sorry to ask too much



Or just give me a little help if u want
Haydz mentioned this and posted exactly what you use.


Hint: A character UID is the parameter for the packet.
nTL3fTy is offline  
Old 09/24/2008, 04:07   #5
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
Quote:
Originally Posted by nTL3fTy View Post
Haydz mentioned this and posted exactly what you use.


Hint: A character UID is the parameter for the packet.
Ok i found it but still have 3 errors in ... lol.. so i put screeny from it
Attached Images
File Type: jpg Marriage3.jpg (165.5 KB, 20 views)
stephanyd is offline  
Old 09/24/2008, 04:39   #6
 
elite*gold: 0
Join Date: Jul 2005
Posts: 157
Received Thanks: 14
it means that the name does not exist in the database u have to add it in
vietkidd510 is offline  
Old 09/24/2008, 06:12   #7
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
Quote:
Originally Posted by vietkidd510 View Post
it means that the name does not exist in the database u have to add it in
in Client.cs or Database.cs?... last thing and marriage will work.... here is a new screenshoté
Attached Images
File Type: jpg marriage4.jpg (140.7 KB, 14 views)
stephanyd is offline  
Old 09/24/2008, 06:26   #8
 
Brun0_'s Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 31
Received Thanks: 95
Quote:
Originally Posted by stephanyd View Post
in Client.cs or Database.cs?... last thing and marriage will work.... here is a new screenshoté



u fix spouse problem? xD


add me in msn
Brun0_ is offline  
Old 09/24/2008, 06:36   #9
 
stephanyd's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 390
Received Thanks: 92
Quote:
Originally Posted by Brun0_ View Post
u fix spouse problem? xD


add me in msn
In Character.cs find "public byte Level = 0;" ... Under that add
Quote:
public string Spouse = "";
and click Build...i did that and it fixed spouse problem.

Now i'm on
Quote:
Client.Send(Packets.MarriageMouse(Client.Char.UID) );
..i'm looking where i'll add Char thing to make it build successfully.
stephanyd is offline  
Thanks
1 User
Old 09/24/2008, 09:02   #10
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Quote:
Originally Posted by stephanyd View Post
In Character.cs find "public byte Level = 0;" ... Under that add and click Build...i did that and it fixed spouse problem.

Now i'm on
..i'm looking where i'll add Char thing to make it build successfully.
it wont just work because.. LOTF's character info packet doesnt use Client.Spouse.. it uses a locally declared spouse string which is always None... you'll have to change the char info packet - same goes for view equips
© Haydz is offline  
Old 09/24/2008, 22:08   #11
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
Quote:
Originally Posted by © Haydz View Post
it wont just work because.. LOTF's character info packet doesnt use Client.Spouse.. it uses a locally declared spouse string which is always None... you'll have to change the char info packet - same goes for view equips
Same goes for saving and loading character info from the database.
nTL3fTy is offline  
Reply


Similar Threads Similar Threads
Cant Add NPC.Dialog
06/21/2010 - CO2 Private Server - 12 Replies
Alright everytime im adding a npc dialog i always get the do not talk anything useful yet. Well looking at guides they tell them to put npc.txt file or w.e, add the npc code there. I have the npc and the dialog goes to that npc. So far 5 codes havnt worked ,dunno what im doing wrong, This is a example of how the npc dialog starts off
NPC Dialog
06/14/2010 - Flyff Private Server - 3 Replies
Hallo ElitePvPers, Ich wuerde gerne wissen wie ich den Dialog von NPC's aendern kann. Z.b weiss ich das wenn ich den Dialog von Isruel aendern will, muss ich eine Datei oeffnen die "MaFl_Isruel.txt". Ich finde dieses .txt leider nirgendwo und frage euch nun, koennt ihr mir helfen mit dem problem? Bitee bitee bitee!! XD
NPC Dialog
12/12/2009 - CO2 Private Server - 6 Replies
Can anyone tell me what its wrong with this for some reason it is not working =\ This is for 5165 FTW! #region TOP TRO PK TOURNEY case 2772: { if (Control == 0) { GC.AddSend(Packets.NPCSay("Hey there i hold every Class PK Tournament for Trojans, Warriors, Ninjas, Taoists And Archers, So Tell me your Class so i can...
[HELP] Where is the NPC Dialog?
09/15/2009 - CO2 Private Server - 3 Replies
I'm copying and pasting codes and it says to go to NPC Dialog but I don't know where that is, can you help me find it?
Help me please i need Dialog.ini
08/18/2008 - Conquer Online 2 - 0 Replies
Hi all, i have a private server CO 2 and i want the file: Dialog.ini of NPCsStuff Because some npc. Ej: ArcherGod, he change your class, and all the npc that changes the class to you, nobody of those can speak. Please say me some download of Dialog.ini or say me the information of they. -edit- I want the npc to learn skills please



All times are GMT +1. The time now is 01:43.


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.