Register for your free account! | Forgot your password?

You last visited: Today at 16:42

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

Advertisement



Official 5165 FAQ/Question thread

Discussion on Official 5165 FAQ/Question thread within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 02/02/2010, 07:11   #886
 
elite*gold: 0
Join Date: Jan 2009
Posts: 47
Received Thanks: 6
Sounds like a problem with the Wuxing Oven .Arcos has released a working one just search the forumns :]

#edit
.Arco's Wuxing code-
Code:
#region Enchanter
                            case 35016:
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Compose or Enchant or Bless using Tortoise gems?"));
                                        GC.AddSend(Packets.NPCLink("Compose", 250));
                                        GC.AddSend(Packets.NPCLink("Enchant", 251));
                                        GC.AddSend(Packets.NPCLink("Bless", 252));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 250)
                                        GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 1, N.Loc.X, N.Loc.Y, 0x7e));
                                    else if (Control == 251)
                                        GC.AddSend(Packets.GeneralData(GC.MyChar.EntityID, 0x443, GC.MyChar.Loc.X, GC.MyChar.Loc.Y, 116));
                                    else if (Control == 252)
                                    {
                                        GC.AddSend(Packets.NPCSay("Choose the equipment you want to set bless."));
                                        GC.AddSend(Packets.NPCLink("Headgear", 1));
                                        GC.AddSend(Packets.NPCLink("Necklace/Bag", 2));
                                        GC.AddSend(Packets.NPCLink("Armor", 3));
                                        GC.AddSend(Packets.NPCLink("Weapon", 4));
                                        GC.AddSend(Packets.NPCLink("Shield", 5));
                                        GC.AddSend(Packets.NPCLink("Ring", 6));
                                        GC.AddSend(Packets.NPCLink("Next", 200));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control == 200)
                                    {
                                        GC.AddSend(Packets.NPCSay("Choose the equipment you want to set bless."));
                                        GC.AddSend(Packets.NPCLink("Boots", 8));
                                        GC.AddSend(Packets.NPCLink("HeavenFan", 10));
                                        GC.AddSend(Packets.NPCLink("StarTower", 11));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }
                                    else if (Control >= 1 && Control <= 8)
                                    {
                                        Game.Item I = GC.MyChar.Equips.Get((byte)(Control));
                                        if (I.Bless != 7)
                                        {
                                            byte TortoiseNeed = 0;
                                            if (I.Bless == 0)
                                                TortoiseNeed = 10;
                                            else if (I.Bless == 1)
                                                TortoiseNeed = 15;
                                            else if (I.Bless == 3)
                                                TortoiseNeed = 20;
                                            else if (I.Bless == 5)
                                                TortoiseNeed = 25;

                                            if (!GC.Agreed)
                                            {
                                                GC.AddSend(Packets.NPCSay("You need " + TortoiseNeed + " Super Tortoises to upgrade. Do you want it?"));
                                                GC.AddSend(Packets.NPCSay("Your item current bless is " + I.Bless + "."));
                                                if (I.Bless != 0)
                                                    GC.AddSend(Packets.NPCSay("It will be " + (I.Bless + 2) + "."));
                                                GC.AddSend(Packets.NPCLink("Yes.", Control));
                                                GC.AddSend(Packets.NPCLink("Nevermind.", 255));
                                                GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                GC.AddSend(Packets.NPCFinish());
                                                GC.Agreed = true;
                                            }
                                            else
                                            {
                                                GC.Agreed = false;
                                                if (GC.MyChar.InventoryContains(700073, TortoiseNeed))
                                                {
                                                    GC.MyChar.EquipStats((byte)(Control), false);
                                                    for (byte i = 0; i < TortoiseNeed; i++)
                                                        GC.MyChar.RemoveItem(GC.MyChar.NextItem(700073));
                                                    if (I.Bless == 0)
                                                        I.Bless = 1;
                                                    else
                                                        I.Bless += 2;
                                                    GC.MyChar.Equips.Replace((byte)(Control), I, GC.MyChar);
                                                    GC.MyChar.EquipStats((byte)(Control), true);

                                                    GC.AddSend(Packets.NPCSay("Here you are. It's done."));
                                                    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 Tortoise Gems."));
                                                    GC.AddSend(Packets.NPCLink("I see.", 255));
                                                    GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                    GC.AddSend(Packets.NPCFinish());
                                                }
                                            }
                                        }
                                        else
                                        {
                                            GC.AddSend(Packets.NPCSay("You cannot upgrade an item's bless which is already at maximum."));
                                            GC.AddSend(Packets.NPCLink("I see", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }
                                    else if (Control >= 10 && Control <= 11)
                                    {
                                        Game.Item I = GC.MyChar.Equips.Get((byte)(Control));
                                        if (I.Bless != 1)
                                        {
                                            byte TortoiseNeed = 0;
                                            if (I.Bless == 0)
                                                TortoiseNeed = 30;

                                            if (!GC.Agreed)
                                            {
                                                GC.AddSend(Packets.NPCSay("You need " + TortoiseNeed + " Super Tortoises to upgrade. Do you want it?"));
                                                GC.AddSend(Packets.NPCSay("Your item current bless is " + I.Bless + "."));
                                                GC.AddSend(Packets.NPCLink("Yes.", Control));
                                                GC.AddSend(Packets.NPCLink("Nevermind.", 255));
                                                GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                GC.AddSend(Packets.NPCFinish());
                                                GC.Agreed = true;
                                            }
                                            else
                                            {
                                                GC.Agreed = false;
                                                if (GC.MyChar.InventoryContains(700073, TortoiseNeed))
                                                {
                                                    GC.MyChar.EquipStats((byte)(Control), false);
                                                    for (byte i = 0; i < TortoiseNeed; i++)
                                                        GC.MyChar.RemoveItem(GC.MyChar.NextItem(700073));
                                                    if (I.Bless == 0)
                                                        I.Bless = 1;
                                                    GC.MyChar.Equips.Replace((byte)(Control), I, GC.MyChar);
                                                    GC.MyChar.EquipStats((byte)(Control), true);

                                                    GC.AddSend(Packets.NPCSay("Here you are. It's done."));
                                                    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 Tortoise Gems."));
                                                    GC.AddSend(Packets.NPCLink("I see.", 255));
                                                    GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                                    GC.AddSend(Packets.NPCFinish());
                                                }
                                            }
                                        }
                                        else
                                        {
                                            GC.AddSend(Packets.NPCSay("You cannot upgrade an item's bless which is already at maximum."));
                                            GC.AddSend(Packets.NPCLink("I see", 255));
                                            GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                            GC.AddSend(Packets.NPCFinish());
                                        }
                                    }

                                    break;
                                }
                            #endregion
ipwnudont is offline  
Thanks
1 User
Old 02/02/2010, 15:31   #887
 
elite*gold: 0
Join Date: Apr 2008
Posts: 39
Received Thanks: 4
Hey =)

I´m Back now with some Question´s.

I have Setup the Server Correctly. Added Something from mine old codes and i have a request to the .ini with User and Charakter.

How can I change that the server accept some symbols like this >> ê â << in the Charakter Name.

If i put a symbol like JKdêVîllê as Charakter Name and i try to login. The Client Close.

Thank´s for any Reply

Dear´s JKdeVille
JKdeVille is offline  
Old 02/02/2010, 15:33   #888
 
elite*gold: 0
Join Date: Apr 2008
Posts: 39
Received Thanks: 4
And i Have a Little Request =)

A Clean 5165 Source to Add some things =) .. Thanks again for any Reply´s
JKdeVille is offline  
Old 02/02/2010, 22:02   #889
 
elite*gold: 0
Join Date: Jan 2010
Posts: 46
Received Thanks: 9
I have a composition problem. Say I have a blade, +9, and i use +8 stone on it. It will instantly go to +12. When I equip it, it shows that it is only +9. Then when i take it off and put it back in the Wuxing oven again, it will do the same thing. So people on my server are only getting +9s, max. Any idea why?
iRook is offline  
Old 02/02/2010, 23:30   #890
 
elite*gold: 0
Join Date: Jan 2009
Posts: 47
Received Thanks: 6
@iRook
Please read my post about 2 or 3 above yours about the Wuxing oven i think that is whats wrong with yours too
ipwnudont is offline  
Old 02/02/2010, 23:51   #891
 
elite*gold: 0
Join Date: Nov 2008
Posts: 66
Received Thanks: 1
no1's answering again..... reposting my last post:

I got 2 problems :-s.... 2nd sock npc(BlacksmithLee dont work for all characters, dont understand why, and after 15-20 mins stamina stop recharging anymore... any help?
mAr1u$ is offline  
Old 02/03/2010, 00:02   #892
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by mAr1u$ View Post
no1's answering again..... reposting my last post:

I got 2 problems :-s.... 2nd sock npc(BlacksmithLee dont work for all characters, dont understand why, and after 15-20 mins stamina stop recharging anymore... any help?
As for blacksmith lee look at his code you will realize he is checking and costing a certain amount of silver.
Delete that and he won't charge anymore.
Or just make him say it costs silvers so people will know.
Arcо is offline  
Thanks
2 Users
Old 02/03/2010, 00:24   #893
 
MoD4fuk4's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 20
Received Thanks: 2
Quote:
Originally Posted by ipwnudont View Post
@iRook
Please read my post about 2 or 3 above yours about the Wuxing oven i think that is whats wrong with yours too
Nop, that code doesn't solve the +9+ problem (Which I haven't noticed). Its a cool code to add the Bless, but It can't help iRook
MoD4fuk4 is offline  
Old 02/03/2010, 02:24   #894
 
WHITELIONX's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 534
Received Thanks: 66
Ok this should be real simple for those that know what they are doing but I am just getting really annoyed with it lol. All I want is to be able to have it so that only a PM can access certain NPCs.

if (GC.GM) <<<<----This works BUT [PM] can not see what the NPC says and before somebody says just change GM to PM well it does not work when you try changing it >.<

So how do I make it work for [PM] only and NOT [GM]? For now I have just added it so that a char with VIP level 7 can access it and seeing as only I am able to give VIP then this is a temporary solution, however I would still like to know how to have it so that only [PM] can access certain NPCs lol
WHITELIONX is offline  
Old 02/03/2010, 03:51   #895
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by WHITELIONX View Post
Ok this should be real simple for those that know what they are doing but I am just getting really annoyed with it lol. All I want is to be able to have it so that only a PM can access certain NPCs.

if (GC.GM) <<<<----This works BUT [PM] can not see what the NPC says and before somebody says just change GM to PM well it does not work when you try changing it >.<

So how do I make it work for [PM] only and NOT [GM]? For now I have just added it so that a char with VIP level 7 can access it and seeing as only I am able to give VIP then this is a temporary solution, however I would still like to know how to have it so that only [PM] can access certain NPCs lol
Go to chat.cs and you'll see something like if (Auth blahblah == "[PM]")
Use that sorta method.
Arcо is offline  
Thanks
1 User
Old 02/03/2010, 12:22   #896
 
elite*gold: 0
Join Date: Nov 2008
Posts: 66
Received Thanks: 1
can some1 tell me how I can add basilisk on other map too? :-ss
mAr1u$ is offline  
Old 02/03/2010, 15:06   #897
 
elite*gold: 0
Join Date: Oct 2007
Posts: 134
Received Thanks: 20
Well all went good till I had some dll problems, went downloaded the dll and fixed some of the errors but now im lost with this one. Please try to solve soon.

Also, forgot to tell you this, already did the 32-bit thing. Didn't solve all my problems as you can tell. Also I am not using the source you added up there, but the one I am using is pretty much the same as it. Same error on the source u provided lol.
Attached Images
File Type: jpg ServerError1.jpg (51.4 KB, 16 views)
pkedyuh is offline  
Old 02/03/2010, 15:18   #898
 
elite*gold: 0
Join Date: Oct 2008
Posts: 17
Received Thanks: 1
Hi all, when im going to start up my server im getting an error?

Here is a pic:

Bigger:

Please help me with this.
Im i going to edit some .cs files or is it just the config.ini in the OLDDCODB?
Please help me!
Hotche is offline  
Old 02/03/2010, 15:28   #899
 
elite*gold: 0
Join Date: Oct 2007
Posts: 134
Received Thanks: 20
Hey, try running the server through the actual server file, your in the DB, not the server. If your using the source he provided it will br in the Fixed Source file..
pkedyuh is offline  
Old 02/03/2010, 15:45   #900
 
elite*gold: 0
Join Date: Oct 2008
Posts: 17
Received Thanks: 1
Quote:
Originally Posted by pkedyuh View Post
Hey, try running the server through the actual server file, your in the DB, not the server. If your using the source he provided it will br in the Fixed Source file..
How to u mean? Can u write which folders im going in to?
Hotche is offline  
Reply




All times are GMT +1. The time now is 16:43.


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.