Register for your free account! | Forgot your password?

You last visited: Today at 13:36

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

Advertisement



Help nobility npc

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

Reply
 
Old   #1
 
Skuade's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 26
Received Thanks: 0
Unhappy Help nobility npc

i need help to repair the npc for nobility in CoMy source
who can help me ? thanks
Skuade is offline  
Old 07/23/2009, 19:22   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 874
Received Thanks: 174
what is wrong with it?
be more specific
Arcotemple:) is offline  
Old 07/23/2009, 19:30   #3
 
Skuade's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 26
Received Thanks: 0
the dialog dont talk :S what i need do for work? in top left says You Try To Talk to Npc (NpcID:8410) and the window for donate didnt work >_>

#Edited
Skuade is offline  
Old 07/23/2009, 20:10   #4
 
elite*gold: 0
Join Date: Nov 2008
Posts: 108
Received Thanks: 4
Whats so hard in getting a specific NPC to work?You're just ... a unskilled person.lol
WTFoRK is offline  
Old 07/23/2009, 20:18   #5
 
n0mansland's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
Uhmm maybe the NPCID is wrong? Just a guess... x.X or they don't have this at the end..

Code:
SendPacket(General.MyPackets.NPCFinish());
It's simple once you look at it more..
n0mansland is offline  
Old 07/23/2009, 20:22   #6
 
Skuade's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 26
Received Thanks: 0
the problem is i cant talk with it, how i do,

Quote:
Uhmm maybe the NPCID is wrong?
possibility =(

mm thanks !
Skuade is offline  
Old 07/23/2009, 21:29   #7
 
elite*gold: 0
Join Date: May 2009
Posts: 5
Received Thanks: 2
replace with that
PHP Code:
                        if (CurrentNPC == 8410)//Nobility npc
                        
{
                            
SendPacket(General.MyPackets.NPCSay("LordsCo:Hey,you want to be a nobility?You must give me silvers for it!What you want to be?"));
                            
SendPacket(General.MyPackets.NPCLink("King-Cost 500 kk"1));
                            
SendPacket(General.MyPackets.NPCLink("Queen-Cost 500 kk"2));
                            
SendPacket(General.MyPackets.NPCLink("i Have only 70 kk"3));
                            
SendPacket(General.MyPackets.NPCLink("i Have only 50 kk"4));
                            
SendPacket(General.MyPackets.NPCLink("I have only 35 kk!"5));
                            
SendPacket(General.MyPackets.NPCLink("I have only 15 kk!"6));
                            
SendPacket(General.MyPackets.NPCLink("I have only 3 kk!"7));
                            
SendPacket(General.MyPackets.NPCLink("Good Bye."255));
                            
SendPacket(General.MyPackets.NPCSetFace(30));
                            
SendPacket(General.MyPackets.NPCFinish());
                        } 


and with that

PHP Code:
                        if (CurrentNPC == 8410)
                        {
                            if (
Control == 1)
                            {
                                if (
MyChar.Silvers >= 500000000 && MyChar.Model == 1003// 500 Million
                                
{
                                    
MyChar.Silvers -= 500000000;
                                    
SendPacket(General.MyPackets.Vital(MyChar.UID4MyChar.Silvers));
                                    
MyChar.Rank 1;
                                    
MyChar.Donation += 500000000;
                                    
MyChar.SaveRank();
                                    
MyChar.SaveDonation();
                                    
World.UpdateSpawn(MyChar);
                                    
World.SendMsgToAll(" " MyChar.Name " is a King now! ""SYSTEM"2010);

                                }
                                else if (
MyChar.Silvers 500000000)
                                {
                                    
SendPacket(General.MyPackets.NPCSay("You dont have enough silvers to become this rank!"));
                                    
SendPacket(General.MyPackets.NPCLink("Oh sorry..."255));
                                    
SendPacket(General.MyPackets.NPCSetFace(30));
                                    
SendPacket(General.MyPackets.NPCFinish());
                                }
                                else if (
MyChar.Model == 2001 || MyChar.Model == 2002)
                                {
                                    
SendPacket(General.MyPackets.NPCSay("You are a lady, so you must become a Queen!"));
                                    
SendPacket(General.MyPackets.NPCLink("Oh sorry..."255));
                                    
SendPacket(General.MyPackets.NPCSetFace(30));
                                    
SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                            if (
Control == 2)
                            {
                                if (
MyChar.Silvers >= 500000000 && MyChar.Model == 1005// 300 Million
                                
{
                                    
MyChar.Silvers -= 500000000;
                                    
SendPacket(General.MyPackets.Vital(MyChar.UID4MyChar.Silvers));
                                    
MyChar.Rank 2;
                                    
MyChar.Donation += 500000000;
                                    
MyChar.SaveRank();
                                    
MyChar.SaveDonation();
                                    
World.UpdateSpawn(MyChar);
                                    
World.SendMsgToAll(" " MyChar.Name " is a Queen now! ""SYSTEM"2010);
                                }
                                else if (
MyChar.Silvers 500000000)
                                {
                                    
SendPacket(General.MyPackets.NPCSay("You dont have enough silvers to become this rank!"));
                                    
SendPacket(General.MyPackets.NPCLink("Oh sorry..."255));
                                    
SendPacket(General.MyPackets.NPCSetFace(30));
                                    
SendPacket(General.MyPackets.NPCFinish());
                                }
                                else if (
MyChar.Model == 1003 || MyChar.Model == 1004)
                                {
                                    
SendPacket(General.MyPackets.NPCSay("You are a man, so you must become a King!"));
                                    
SendPacket(General.MyPackets.NPCLink("Oh sorry..."255));
                                    
SendPacket(General.MyPackets.NPCSetFace(30));
                                    
SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                            if (
Control == 3)
                            {
                                if (
MyChar.Silvers >= 70000000// 70 Million
                                
{
                                    
MyChar.Silvers -= 70000000;
                                    
SendPacket(General.MyPackets.Vital(MyChar.UID4MyChar.Silvers));
                                    
MyChar.Rank 3;
                                    
MyChar.Donation += 70000000;
                                    
MyChar.SaveRank();
                                    
MyChar.SaveDonation();
                                    
World.UpdateSpawn(MyChar);
                                }
                                else
                                {
                                    
SendPacket(General.MyPackets.NPCSay("You dont have enough silvers to become this rank!"));
                                    
SendPacket(General.MyPackets.NPCLink("Oh sorry..."255));
                                    
SendPacket(General.MyPackets.NPCSetFace(30));
                                    
SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                            if (
Control == 4)
                            {
                                if (
MyChar.Silvers >= 50000000// 50 Million
                                
{
                                    
MyChar.Silvers -= 50000000;
                                    
SendPacket(General.MyPackets.Vital(MyChar.UID4MyChar.Silvers));
                                    
MyChar.Rank 4;
                                    
MyChar.Donation += 50000000;
                                    
MyChar.SaveRank();
                                    
MyChar.SaveDonation();
                                    
World.UpdateSpawn(MyChar);
                                }
                                else
                                {
                                    
SendPacket(General.MyPackets.NPCSay("You dont have enough silvers to become this rank!"));
                                    
SendPacket(General.MyPackets.NPCLink("Oh sorry..."255));
                                    
SendPacket(General.MyPackets.NPCSetFace(30));
                                    
SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                            if (
Control == 5)
                            {
                                if (
MyChar.Silvers >= 35000000// 35 Million
                                
{
                                    
MyChar.Silvers -= 35000000;
                                    
SendPacket(General.MyPackets.Vital(MyChar.UID4MyChar.Silvers));
                                    
MyChar.Rank 5;
                                    
MyChar.Donation += 35000000;
                                    
MyChar.SaveRank();
                                    
MyChar.SaveDonation();
                                    
World.UpdateSpawn(MyChar);
                                }
                                else
                                {
                                    
SendPacket(General.MyPackets.NPCSay("You dont have enough silvers to become this rank!"));
                                    
SendPacket(General.MyPackets.NPCLink("Oh sorry..."255));
                                    
SendPacket(General.MyPackets.NPCSetFace(30));
                                    
SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                            if (
Control == 6)
                            {
                                if (
MyChar.Silvers >= 15000000// 15 Million
                                
{
                                    
MyChar.Silvers -= 15000000;
                                    
SendPacket(General.MyPackets.Vital(MyChar.UID4MyChar.Silvers));
                                    
MyChar.Rank 6;
                                    
MyChar.Donation += 15000000;
                                    
MyChar.SaveRank();
                                    
MyChar.SaveDonation();
                                    
World.UpdateSpawn(MyChar);
                                }
                                else
                                {
                                    
SendPacket(General.MyPackets.NPCSay("You dont have enough silvers to become this rank!"));
                                    
SendPacket(General.MyPackets.NPCLink("Oh sorry..."255));
                                    
SendPacket(General.MyPackets.NPCSetFace(30));
                                    
SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                            if (
Control == 7)
                            {
                                if (
MyChar.Silvers >= 3000000// 3 Million
                                
{
                                    
MyChar.Silvers -= 3000000;
                                    
SendPacket(General.MyPackets.Vital(MyChar.UID4MyChar.Silvers));
                                    
MyChar.Rank 7;
                                    
MyChar.Donation += 3000000;
                                    
MyChar.SaveRank();
                                    
MyChar.SaveDonation();
                                    
World.UpdateSpawn(MyChar);
                                }
                                else
                                {
                                    
SendPacket(General.MyPackets.NPCSay("You dont have enough silvers to become this rank!"));
                                    
SendPacket(General.MyPackets.NPCLink("Oh sorry..."255));
                                    
SendPacket(General.MyPackets.NPCSetFace(30));
                                    
SendPacket(General.MyPackets.NPCFinish());
                                }
                            }
                        } 
Thanks me if Works
jegosu is offline  
Thanks
2 Users
Old 07/24/2009, 15:42   #8
 
Skuade's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 26
Received Thanks: 0
didnt work, i put it in client.cs is correct?
Skuade is offline  
Old 07/24/2009, 16:19   #9
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Yes
~Yuki~ is offline  
Old 07/24/2009, 17:38   #10
 
Skuade's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 26
Received Thanks: 0
then idk, dont work :S can u make it and send me? if i wrong in something =Z plz
Skuade is offline  
Reply


Similar Threads Similar Threads
Nobility
08/01/2009 - CO2 Private Server - 8 Replies
kk i got nobility coded in just one problem the stupid effect goes off every 3 seconds how can i stop that? lotf
Nobility
07/06/2009 - CO2 Private Server - 15 Replies
okay you guys know how Undress My Shadow's nobility code is for ini? what about for non ini? cuz i need help with that cuz mine saves mysql
nobility
07/01/2009 - CO2 Private Server - 0 Replies
Hello, I do not want to continue being a nuisance it is because of it that is the last question that I do, I need that they explain to me since as the code begins to add the system of nobility, it is quite and if someone can help me to arrange the power of xp in coemu v2 agradesco. Good-bye and thanks
how can i put nobility
05/31/2009 - CO2 Private Server - 1 Replies
how can i put nobilty in CoEmu do i need to code it?
[NobilitY]
05/05/2009 - CO2 Private Server - 8 Replies
Can anyone please post here how to add nobility rank or somehting like nobility in LOFT / 5017



All times are GMT +1. The time now is 13:36.


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.