Register for your free account! | Forgot your password?

You last visited: Today at 13:18

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

Advertisement



[RELEASE]Fixing Guild Conducter Bug

Discussion on [RELEASE]Fixing Guild Conducter Bug within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 132
Received Thanks: 64
[RELEASE]Fixing Guild Conducter Bug

this is for 5017 Sources
search for
Code:
if (CurrentNPC < 618 && CurrentNPC > 613)
at the npc do part and replae it with
Code:
                            if (CurrentNPC < 618 && CurrentNPC > 613)
                                if (Control == 1)
                                {
                                    if (MyChar.Silvers >= 500)
                                    {
                                        MyChar.Teleport(1038, 350, 339);
                                        MyChar.Silvers -= 500;
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
                                    }
                                    else
                                    {
                                        SendPacket(General.MyPackets.NPCSay("You donīt have 500 Silver"));
                                        SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
search for
Code:
if (CurrentNPC == 610)
(NPCDO Part)
and replace it with
Code:
if (CurrentNPC == 610)
                                if (Control == 1)
                                {
                                    if (MyChar.Silvers >= 1000)
                                        if (DataBase.GC1Map != 0)
                                        {
                                            MyChar.Teleport(DataBase.GC1Map, (ushort)(DataBase.GC1X - 2), DataBase.GC1Y);
                                            MyChar.Silvers -= 1000;
                                            SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
                                        }
                                        else
                                        {
                                            SendPacket(General.MyPackets.NPCSay("You donīt have 1000 Silvers"));
                                            SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                            SendPacket(General.MyPackets.NPCSetFace(30));
                                            SendPacket(General.MyPackets.NPCFinish());
                                        }
                                }
search for
Code:
if (CurrentNPC == 611)
replace with
Code:
if (CurrentNPC == 611)
                                if (Control == 1)
                                {
                                if (MyChar.Silvers >= 1000)
                                    if (DataBase.GC2Map != 0)
                                    {
                                        MyChar.Teleport(DataBase.GC2Map, (ushort)(DataBase.GC2X - 2), DataBase.GC2Y);
                                        MyChar.Silvers -= 1000;
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
                                    }
                                    else
                                    {
                                        SendPacket(General.MyPackets.NPCSay("You donīt have 1000 Silvers"));
                                        SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
search for
Code:
if (CurrentNPC == 612)
replace with
Code:
if (CurrentNPC == 612)
                                if (Control == 1)
                                {
                                if (MyChar.Silvers >= 1000)
                                    if (DataBase.GC3Map != 0)
                                    {
                                        MyChar.Teleport(DataBase.GC3Map, (ushort)(DataBase.GC3X - 2), DataBase.GC3Y);
                                        MyChar.Silvers -= 1000;
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
                                    }
                                    else
                                    {
                                        SendPacket(General.MyPackets.NPCSay("You donīt have 1000 Silvers"));
                                        SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
and search for
Code:
if (CurrentNPC == 613)
and replace it with
Code:
if (CurrentNPC == 613)
                                if ( Control == 1)
                                {
                                if (MyChar.Silvers >= 1000)
                                    if (DataBase.GC4Map != 0)
                                    {
                                        MyChar.Teleport(DataBase.GC4Map, (ushort)(DataBase.GC4X - 2), DataBase.GC4Y);
                                        MyChar.Silvers -= 1000;
                                        SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));
                                    }
                                    else
                                    {
                                        SendPacket(General.MyPackets.NPCSay("You donīt have 1000 Silvers"));
                                        SendPacket(General.MyPackets.NPCLink("Damn.", 255));
                                        SendPacket(General.MyPackets.NPCSetFace(30));
                                        SendPacket(General.MyPackets.NPCFinish());
                                    }
                                }
And done
koio is offline  
Old 04/05/2009, 15:42   #2
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
im confused.. whats wrong with the guild conductor? or you mean those four people.
PeTe Ninja is offline  
Reply


Similar Threads Similar Threads
[Release] Fixing the ShopMall
02/19/2013 - Shaiya PServer Guides & Releases - 34 Replies
This is a Fix to ShopMall that work 100% in ProfNerwosol Server Files: http://www.elitepvpers.com/forum/shaiya/437087-how -shaiya-server-ep4.html Follow this steps to Fix your SHOP: STEP 1 Open Management Studio STEP 2
[Release] Guild War Winner npc
12/29/2009 - CO2 PServer Guides & Releases - 27 Replies
Ok so what this npc does is checks to see if the person who is trying to talk to the npc is the guild leader and if that guild leader won guild war and if it isnt the guild leader of the winning guild then it does not say anything at all Here it is #region Gw Winner npc case 6701: { if (Control == 0) { if...
[Release] Fixing SaveVoid (CoEmu v2)
09/23/2009 - CO2 PServer Guides & Releases - 12 Replies
Extremely easy to fix: go to Database.cs and serach for SaveCharacter them just change this: " WHERE `CharID` = " + Client.ID to this: " WHERE `CharID` = " + Client.ID + ""
[RELEASE] GUILD CONTROLLER
02/14/2009 - CO2 PServer Guides & Releases - 18 Replies
hi im pete, this release is the guild controller that teleports you to random spots, have fun you can change the coords too >.< ( goes in client.cs ) NPC DIALOG if (CurrentNPC == 600) // Guild Controller {



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


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.