Register for your free account! | Forgot your password?

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

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

Advertisement



[Release] NPC Of Divorce!!

Discussion on [Release] NPC Of Divorce!! within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
felipeboladao's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 255
Received Thanks: 273
[Release] NPC Of Divorce!!

Search for

Code:
                                if (CharID != 0)
                                    MyChar.MyGuild.KickPlayer(CharID, Name, Pos);

                            }
Add Below

Code:
if (CurrentNPC == 304)
                            {
                                if (Control == 1)
                                {
                                    if (MyChar.Silvers >= 1000)
                                    {
                                        MyChar.Silvers -= 1000;
                                        MyChar.Spouse = "Nome";
                                        MyChar.SaveSpouse();
                                        SendPacket(General.MyPackets.CharacterInfo(MyChar));
                                        MyChar.SendEquips(false);
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 26, MyChar.GetStat()));
                                        World.SpawnMeToOthers(MyChar, true);
                                        MyChar.Stamina = 100;
                                        MyChar.MyClient.SendPacket(General.MyPackets.Vital(MyChar.UID, 9, MyChar.Stamina));
                                        MyChar.Teleport(MyChar.LocMap, MyChar.LocX, MyChar.LocY);
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
                                    }
                                    else
                                    {
                                        SendPacket(General.MyPackets.NPCSay("You only have " + MyChar.Silvers + " silvers."));
                                        SendPacket(General.MyPackets.NPCLink("Sorry.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
                            }
And Search for

Code:
if (CurrentNPC == 266)
Add under

Code:
                            if (CurrentNPC == 304)
                            {
                                SendPacket(General.MyPackets.NPCSay("coming to Divorce!!"));
                                SendPacket(General.MyPackets.NPCLink("Yes", 1));
                                SendPacket(General.MyPackets.NPCLink("No", 255));
                                SendPacket(General.MyPackets.NPCSetFace(30));
                                SendPacket(General.MyPackets.NPCFinish());
                            }
Working 100%!!
felipeboladao is offline  
Old 10/26/2008, 04:34   #2
 
lostsolder05's Avatar
 
elite*gold: 20
Join Date: Jan 2006
Posts: 890
Received Thanks: 241
lol,

MyChar.Spouse = "Nome";


'Nome' also where in that is it divorcing u from your spouse?
lostsolder05 is offline  
Old 10/26/2008, 04:40   #3
 
felipeboladao's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 255
Received Thanks: 273
use "none" from you private serv lol!!
felipeboladao is offline  
Old 10/26/2008, 05:42   #4
 
lostsolder05's Avatar
 
elite*gold: 20
Join Date: Jan 2006
Posts: 890
Received Thanks: 241
Quote:
Originally Posted by felipeboladao View Post
use "none" from you private serv lol!!
still, from what i can tell it'll only divorce u from ure spouse

yet not ure spouse from u
lostsolder05 is offline  
Old 10/26/2008, 09:48   #5
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
No,this doesnt even work properly,I just saw by looking at it.
You havent tell them to define SaveSpouse?
Nome isnt even a word
Doesnt divorce your spouse from you
Send unnessecerry things,such as Stamina,LOL?!
_Emme_ is offline  
Old 10/26/2008, 13:11   #6
 
elite*gold: 0
Join Date: Apr 2008
Posts: 470
Received Thanks: 264
added to all-in-1 thread
XxArcherMasterxX is offline  
Old 10/26/2008, 13:20   #7
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
Quote:
Originally Posted by XxArcherMasterxX View Post
added to all-in-1 thread
Do you even look at the released code and/or look at the replies in the topic before you go adding a new "guide" to your "All-in-One"?

Quote:
Originally Posted by emildayan1 View Post
No,this doesnt even work properly,I just saw by looking at it.
You havent tell them to define SaveSpouse?
Nome isnt even a word
Doesnt divorce your spouse from you
Send unnessecerry things,such as Stamina,LOL?!
nTL3fTy is offline  
Old 10/26/2008, 13:20   #8
 
elite*gold: 0
Join Date: Jan 2008
Posts: 145
Received Thanks: 91
Not good, maybe you can improve this.
pauldexter is offline  
Old 10/26/2008, 14:08   #9
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
You don't even need to send the char info packet.... ewwww, if I'm not mistaken, that is the biggest packet(of the few I have right now, I haven't even done spawn yet x.x)... which is a waste to send.

String packet type 9.
tao4229 is offline  
Old 10/26/2008, 15:38   #10
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
Character Info packet is only needed on the login rest of the updates are either handle by the update packet or string packet (for strings, du'h)
tanelipe is offline  
Old 10/26/2008, 16:52   #11
 
elite*gold: 0
Join Date: Jan 2008
Posts: 145
Received Thanks: 91
What is the packet type of spouse?

*Edit: Never Mind i got it from myself
pauldexter is offline  
Old 10/26/2008, 16:58   #12
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 506
What if I call my character "None" or in this case "Nome"?
Why the .. did you give Stamina?
and what is happening with the old spouse?
And please tell me who is "Nome".

Oh and change the 100% to 33% please.
kthanksbai
Basser is offline  
Old 10/26/2008, 17:05   #13
 
© Haydz's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 1,042
Received Thanks: 252
Yeah as tane said, character info packet should only EVER be sent once, thats at login...
© Haydz is offline  
Old 10/26/2008, 17:06   #14
 
elite*gold: 0
Join Date: Jan 2008
Posts: 145
Received Thanks: 91
thanks tao4229 and tanelipe, i got it now.
pauldexter is offline  
Old 10/26/2008, 17:27   #15
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Quote:
Originally Posted by © Haydz View Post
Yeah as tane said, character info packet should only EVER be sent once, thats at login...
Haxxx i said it first #02
(Kinda..)
tao4229 is offline  
Reply


Similar Threads Similar Threads
[Release] Complete 5017 StarLit(Divorce)!
09/24/2010 - CO2 PServer Guides & Releases - 8 Replies
alright so I have finally found a very useful way to create StarLit the Divorce guy from normal co. he has almost the exact same features as normal co too! I know some sources MIGHT have this in it but MOST of them don't so that's why I released it here :)...Enjoy...:handsdown: Step 1: CREATE A VOID go to world.cs and find public static void ItemDissappears(DroppedItem item) after that void add this void
Divorce
07/17/2009 - Metin2 Private Server - 11 Replies
Hi,anybody know how to divorce in longjuyt2 ? I know it is at the general from the restart city spawn,but there no option ...
[Release] Divorce
12/03/2008 - CO2 PServer Guides & Releases - 12 Replies
zomg. Guide deleted.
Divorce?
08/18/2008 - Conquer Online 2 - 4 Replies
How do I divorce someone? I am new to the game and was just muckin around and I got married. Lol. People are saying I need a met and a met tear, how do I get a met tear? Also, when I have the met and met tear, what do I do then?
Divorce because of w0w
02/17/2008 - World of Warcraft - 3 Replies
hey check this out!!.. i found this on yahoo! WoW causes divorce! damn!! Wedding Woes: The Dark Side of Warcraft Popular online PC game is causing marital discord. By Mike Smith



All times are GMT +1. The time now is 17:46.


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