Register for your free account! | Forgot your password?

You last visited: Today at 10:07

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

Advertisement



[Help] NPC 5165

Discussion on [Help] NPC 5165 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 52
Received Thanks: 1
[Help] NPC 5165

K so all the NPCs other ppl made work alright. But I made my own npc and when I click on him nothing happens...Theres no reason why it shouldnt work.. So here's the code for it and what I have in NPC.txt. Can someone tell me whats wrong with it?
Code:
#region 130 Talisman
                            case 1029:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("I sell special Talismans. The level has been increased to 130."));
                                        GC.AddSend(Packets.NPCLink("How the hell did you manage to do that?", 1));
                                    }
                                    if (Control == 1)
                                    {
                                        GC.AddSend(Packets.NPCSay(" It was simple really. All that I had to do was use my Gamma-X-Ray scanner"));
                                        GC.AddSend(Packets.NPCSay(" to destroy the outter orbits of all the atoms within the Talismans."));
                                        GC.AddSend(Packets.NPCSay(" Doing so enabled the electrons of the atoms to jump freely within all the"));
                                        GC.AddSend(Packets.NPCSay(" orbits of the atom meaning more energy is given off when the electrons"));
                                        GC.AddSend(Packets.NPCSay(" return to their ground state. Interested in buying a pair?"));
                                        GC.AddSend(Packets.NPCSay(" The Tower will cost ya 5375 CPs and the Fan costs 6450."));
                                        GC.AddSend(Packets.NPCLink("Yep, I'll take a Tower.", 2));
                                        GC.AddSend(Packets.NPCLink("I'll take a Fan as well.", 3));
                                        GC.AddSend(Packets.NPCSetFace(30));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (Control == 2)
                                    {
                                        if (GC.MyChar.CPs >= 5375)
                                        {
                                            GC.MyChar.CPs -= 5376;
                                            GC.MyChar.AddItem(201010);

                                            GC.AddSend(Packets.NPCSay("Here you are."));
                                            GC.AddSend(Packets.NPCLink("Thanks.", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                            GC.AddSend(Packets.NPCSay("You don't have enough CPs."));
                                            GC.AddSend(Packets.NPCLink("I see.", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    if (Control == 3)
                                    {
                                        if (GC.MyChar.CPs >= 6450)
                                        {
                                            GC.MyChar.CPs -= 6450;
                                            GC.MyChar.AddItem(202010);

                                            GC.AddSend(Packets.NPCSay("Here you are."));
                                            GC.AddSend(Packets.NPCLink("Thanks.", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                        else
                                        {
                                            GC.AddSend(Packets.NPCSay("You don't have enough CPs."));
                                            GC.AddSend(Packets.NPCLink("I see.", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                }
                                break;
                            #endregion
Code:
1029 3190 [B]2 10[/B] 1036 212 204
The two bolded numbers are the only 2 numbers I dont know about, so I tried a whole bunch of different numbers there. Didnt work everytime.
Jăy1029 is offline  
Old 03/06/2010, 19:20   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Control 0.
GC.AddSend(Packets.NPCSetFace(30));
GC.AddSend(Packets.NPCFinish());
Arcо is offline  
Thanks
1 User
Old 03/06/2010, 19:44   #3
 
elite*gold: 0
Join Date: Dec 2009
Posts: 52
Received Thanks: 1
ommffg I deserve a kick in the teeth for that...
Thanks .Arco
Jăy1029 is offline  
Old 03/06/2010, 20:05   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by Jăy1029 View Post
ommffg I deserve a kick in the teeth for that...
Thanks .Arco
Lol no problem.
Need anymore help don't hesitate to ask
Arcо is offline  
Reply


Similar Threads Similar Threads
Hi I need 5165 source act like Real Co 5165
09/15/2010 - CO2 Private Server - 4 Replies
I need a A source 5165 that all skills is available specially rb char like nin-nin-nin counterKill and nin-war-nin reflect and more, and also the attack rates should be fair not like +8 set can 1 hit +12 set, and also maybe the client, I need to study to make it in 5200+ source. I love to trade it with my cofarmer account VIP i have use it for 5 days only. PM or contact me in skype :marlyandedsel
5165 GUI.ini
06/30/2010 - CO2 Private Server - 3 Replies
i was just wondering if anyone can decrypt the titles in it. I'm really no good at decryption.
5165 on sql
05/18/2010 - CO2 PServer Guides & Releases - 27 Replies
Here source: MEGAUPLOAD - The leading online storage and file delivery service How you instal? Go bin\OldCODB\config dbSql
HELP 5165
01/20/2010 - CO2 Private Server - 1 Replies
I have found a source 5165 from this wounderfull forum i have 1 problem with it. When i have killed mobs or monsters they are adding cps in to my bag also sliver. just wounding what .cs file to find and edit it in or what to look for ? This has had me puzzled now for some time and ive turned for help.
[Help] 5165
12/15/2009 - CO2 Private Server - 5 Replies
Fixed



All times are GMT +2. The time now is 10:07.


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.