Register for your free account! | Forgot your password?

You last visited: Today at 20:44

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

Advertisement



[Release] GuildChief 5165

Discussion on [Release] GuildChief 5165 within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
Mr_PoP's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
[Release] GuildChief 5165

Hello all here is the GuildChief which tarding

3 LordTokens = GoldPrize
2 LordTokens = SilverPriz
1 LordToken = BronzePrize

1st- got to .....\OldCODB

and copy this
Code:
3000 2710 2 7 1002 438 377
into NPCs.txt

then open NPCDialog.cs using C#

for conquer-sx
search for this code
Code:
                            default:
                                {
                                    GC.MyChar.MyClient.LocalMessage(2005, "Npc`s id is:" + NPC.ToString());
                                    break;
                                }
above it add:
PHP Code:
                            #region GuildChief
                            
case 3000:
                                {
                                    if (
option == 0)
                                    {
                                        
OptionText("Lighting up your passion for sports! chasing after your glory!  The exciting PoP-Demons Athletic  Competiton is over.  If you have got Medals, you can come to me to exchange for nice prizes."GC);
                                        
OptionLink("I want exchange for prizes"1GC);
                                        
OptionLink("Thank You"255GC);
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                        
GC.Agreed false;
                                    }
                                    if (
option == 1)
                                    {

                                        
GC.AddSend(Packets.NPCSay("Delicate medals are not only the evidence of your superior strenth, but also the  the evidence of your extraordinary courage. If you have got Medals in the competition, you can come to me and exchange for nice prizes. "));
                                        
GC.AddSend(Packets.NPCLink("I want to claim GoldPrize."2));
                                        
GC.AddSend(Packets.NPCLink("I want to claim SliverPrize."3));
                                        
GC.AddSend(Packets.NPCLink("I want to claim BronzePrize."4));
                                        
GC.AddSend(Packets.NPCLink("I'm just asking"255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (
option == 2)
                                    {
                                        if (
GC.MyChar.InventoryContains(7234673GC))
                                        {
                                            
                                            
GC.MyChar.RemoveItem(7234671GC);
                                            
GC.MyChar.AddItem(2100075);

                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("It seems that there is no medal of this class in your inverntory."));
                                            
GC.AddSend(Packets.NPCLink("I see."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                        }
                                        else if (
option == 3)
                                        {
                                            if (
GC.MyChar.InventoryContains(7234672GC))
                                            {
                                               
                                                
GC.MyChar.RemoveItem(7234671GC);
                                                
GC.MyChar.AddItem(2100065);

                                            }
                                            else
                                            {
                                                
GC.AddSend(Packets.NPCSay("It seems that there is no medal of this class in your inverntory."));
                                                
GC.AddSend(Packets.NPCLink("I see."255));
                                                
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                
GC.AddSend(Packets.NPCFinish());
                                            }
                                        }
                                        else if (
option == 4)
                                        {
                                            if (
GC.MyChar.InventoryContains(7234671GC))
                                            {
                                                
                                                    
GC.MyChar.RemoveItem(7234671GC);
                                                
GC.MyChar.AddItem(2100055);

                                            }
                                            else
                                            {
                                                
GC.AddSend(Packets.NPCSay("It seems that there is no medal of this class in your inverntory."));
                                                
GC.AddSend(Packets.NPCLink("I see."255));
                                                
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                
GC.AddSend(Packets.NPCFinish());
                                            }
                                        }
                                    break;
                                    }
                            
#endregion 
if you are using the Tanels source then use this code its made by (Rhino)

PHP Code:
#region GuildChief
                            
case 3000:
                                {
                                    if (
Control == 0)
                                    {
                                        
GC.AddSend(Packets.NPCSay("Lighting up your passion for sports! chasing after your glory!  The exciting PoP-Demons Athletic  Competiton is over.  If you have got Medals, you can come to me to exchange for nice prizes."));
                                        
GC.AddSend(Packets.NPCLink("I want exchange for prizes"1));
                                        
GC.AddSend(Packets.NPCLink("Thank You"255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                        
GC.Agreed false;
                                    }
                                    if (
Control == 1)
                                    {

                                        
GC.AddSend(Packets.NPCSay("Delicate medals are not only the evidence of your superior strenth, but also the  the evidence of your extraordinary courage. If you have got Medals in the competition, you can come to me and exchange for nice prizes. "));
                                        
GC.AddSend(Packets.NPCLink("I want to claim GoldPrize."2));
                                        
GC.AddSend(Packets.NPCLink("I want to claim SliverPrize."3));
                                        
GC.AddSend(Packets.NPCLink("I want to claim BronzePrize."4));
                                        
GC.AddSend(Packets.NPCLink("I'm just asking"255));
                                        
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        
GC.AddSend(Packets.NPCFinish());
                                    }
                                    if (
Control == 2)
                                    {
                                        if (
GC.MyChar.InventoryContains(7234673))
                                        {
                                            
GC.MyChar.RemoveItem(GC.MyChar.NextItem(723467));
                                            
GC.MyChar.AddItem(2100075);
                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("It seems that there is no medal of this class in your inverntory."));
                                            
GC.AddSend(Packets.NPCLink("I see."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    else if (
Control == 3)
                                    {
                                        if (
GC.MyChar.InventoryContains(7234672))
                                        {
                                            
GC.MyChar.RemoveItem(GC.MyChar.NextItem(723467));
                                            
GC.MyChar.AddItem(2100065);
                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("It seems that there is no medal of this class in your inverntory."));
                                            
GC.AddSend(Packets.NPCLink("I see."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    else if (
Control == 4)
                                    {
                                        if (
GC.MyChar.InventoryContains(7234671))
                                        {
                                            
GC.MyChar.RemoveItem(GC.MyChar.NextItem(723467));
                                            
GC.MyChar.AddItem(2100055);
                                        }
                                        else
                                        {
                                            
GC.AddSend(Packets.NPCSay("It seems that there is no medal of this class in your inverntory."));
                                            
GC.AddSend(Packets.NPCLink("I see."255));
                                            
GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            
GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    break;
                                }
                            
#endregion 
then press F6 and F5 enjoy the release
Mr_PoP is offline  
Thanks
1 User
Old 08/05/2010, 19:23   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 259
Received Thanks: 159
ok,but why add " GC.Agreed = false; "?
teroareboss1 is offline  
Thanks
2 Users
Old 08/05/2010, 19:34   #3
 
elite*gold: 0
Join Date: Jan 2010
Posts: 84
Received Thanks: 13
Mr.Pop Nice ReLease are you best forever [TQ]SeLeNa
furkan141415 is offline  
Old 08/05/2010, 20:12   #4
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
loll , first conquer-sx is coded by me and teroarebossno1 & and sql was maked by impulse :> ( thanks bro ) and conquer-sx = tanel source is the same source !!
Sp!!ke is offline  
Old 08/05/2010, 20:30   #5
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Yeah, your mysql source was based off the "[EPIC-RELEASE]My source with official steed race like acidco and real co" So... How do I know? Only stuff I put in the source that I released was in that source a file named sr.cs is blank for ex. Which I created :P
_DreadNought_ is offline  
Old 08/05/2010, 20:46   #6
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
hahah GOOD JOke ! Impulse made that sql on 14.Dec.2009 !! don't ask is you work ! because you dont have credits for that sql !
Sp!!ke is offline  
Reply


Similar Threads Similar Threads
[Release] ItemAdd.ini 5165
06/15/2012 - CO2 PServer Guides & Releases - 6 Replies
Figured I'd release it before someone else snarfed it from my client. It's the ItemAdd.ini that includes the new 130+ items so they show/add damage when plusing. If you have +13 - +15 items on your server your going to want to add those in, my server you can only compose to +12 so those are all I did. Anyway here it is, enjoy. http://www.multiupload.com/P0JMB15XXF
[RELEASE]TDM 5165
01/31/2012 - CO2 PServer Guides & Releases - 54 Replies
Hello, i will show you how to create a team deathmatch tournament for your 5165server (tanels). What do you need? -The source -How to copy + paste :P Features: -First blood (Give +5points):P -4Teams (Red, Blue, Black, White) -Random choose team
[Release]5165 Weather
12/10/2010 - CO2 PServer Guides & Releases - 45 Replies
Ok so decided i would make a release for weather since theres been so much activity surrounding it lately. Firstly, create a new .cs file in the features section called Weather, and then replace the contents with: using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text;
[Release]5165 Source
06/13/2010 - CO2 PServer Guides & Releases - 0 Replies
This is an old 5165 Source I was adding stuff to when I was helping with EmperionCO, now its ForsakendCO. Nothing really special about it..lots of copy/paste stuff and a few small stuff I added in myself. Kept all the really cool stuff I made for myself, adding to pringles release, if anyone remembers it, which I won't release because I dont have a good enough computer to host it myself and will not have someone else host it and run off and call it thiers the same as this source im posting...
[Release]CpAdmin for 5165
04/06/2010 - CO2 PServer Guides & Releases - 4 Replies
Yo. Well I made this 100% myself. enjoy First off open NPCDialog and search for #region Conductresses case 45: Under that region paste this;



All times are GMT +2. The time now is 20:44.


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.