Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 17:25

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

Advertisement



[Help] Warehouse problem

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

Closed Thread
 
Old   #1
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Question [Help] Warehouse problem

Why the item appears perfectly in the inventory and when I put it in the warehouse appears different? Example:

In inventory:


In warehouse
littlechris95 is offline  
Old 01/09/2014, 16:43   #2


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
You posted the same picture for both.
Korvacs is offline  
Old 01/09/2014, 16:45   #3
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Quote:
Originally Posted by Korvacs View Post
You posted the same picture for both.
Sorry, already packed.
littlechris95 is offline  
Old 01/09/2014, 16:53   #4


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Looks like your warehouse packet hasn't been modified to include the data for souls.
Korvacs is offline  
Old 01/09/2014, 17:20   #5
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
How do I do this?
littlechris95 is offline  
Old 01/09/2014, 19:27   #6
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
You code it.
Super Aids is offline  
Thanks
1 User
Old 01/09/2014, 23:00   #7
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11


I tried the numbers 66 to 100 as offsets and still did not work, what's wrong?
littlechris95 is offline  
Old 01/09/2014, 23:03   #8
 
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
just send purification packet , and work nice
teroareboss1 is offline  
Thanks
1 User
Old 01/09/2014, 23:09   #9
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Quote:
Originally Posted by teroareboss1 View Post
just send purification packet , and work nice
Need not be the identifier of the item soul?
littlechris95 is offline  
Old 01/09/2014, 23:11   #10
 
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
Code:
   case DepositActionID.DepositItem:
                    {
                        if (Role.Instance.Warehouse.IsWarehouse((MsgNpc.NpcID)ware->NpcID))
                        {
                            MsgGameItem item;
                            if (client.Inventory.TryGetItem(ware->ItemUID, out item))
                            {
                                if (client.Warehouse.AddItem(item, ware->NpcID))
                                {
                                    client.Inventory.Update(item, Role.Instance.AddMode.REMOVE, true);

                                    byte* Warehouse = Game.MsgServer.MsgWarehouse.WarehousePacket.Create(1);
                                    Game.MsgServer.MsgWarehouse.WarehousePacket* Packet = (Game.MsgServer.MsgWarehouse.WarehousePacket*)Warehouse;
                                    Packet->Action = Game.MsgServer.MsgWarehouse.DepositActionID.DepositItem;
                                    Packet->Count = 1;
                                    Packet->NpcID = ware->NpcID;
                                    Game.MsgServer.MsgWarehouse.WarehouseItem* start = (Game.MsgServer.MsgWarehouse.WarehouseItem*)&Packet->Start;
                                    for (byte x = 0; x < Packet->Count; x++)
                                    {
                                        start[x] = Game.MsgServer.MsgWarehouse.WarehouseItem.Create(item.Item);
                                    }
                                    *(ulong*)((byte*)Packet + Packet->Count * 56 + 24) = ServerSockets.Packet.TqPacket;
                                    client.Send((byte*)Packet);

                                    if (item.Refinary.InLife || item.Purification.InLife)
                                    {
                                        Game.MsgServer.MsgItemExtra extra = new MsgItemExtra();
                                        if (item.Purification.InLife)
                                        {
                                            item.Purification.Typ = MsgItemExtra.Typing.PurificationAdding;
                                            extra.Purifications.Add(item.Purification);
                                        }
                                        if (item.Refinary.InLife)
                                        {
                                            item.Refinary.Typ = MsgItemExtra.Typing.RefinaryAdding;
                                            if (item.Refinary.EffectDuration == 0)
                                                item.Refinary.Typ = MsgItemExtra.Typing.PermanentRefinery;
                                            extra.Refinerys.Add(item.Refinary);
                                        }
                                        extra.CreateArray();
                                        client.Send(extra.GetArray());
                                    }
                                }
                            }
                        }
                        break;
                    }
                case DepositActionID.
teroareboss1 is offline  
Thanks
1 User
Old 01/09/2014, 23:28   #11
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
It's working perfectly.



Thanks a lot!
#Closed
littlechris95 is offline  
Old 01/09/2014, 23:36   #12
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,191
If you want a thread closed, please report your post. Hashtags / pound signs are not request tags. They do nothing. Closed as requested.
Spirited is offline  
Closed Thread


Similar Threads Similar Threads
[HELP] Warehouse Problem
11/21/2013 - EO PServer Hosting - 10 Replies
At first I thought I couldn't use the warehouse at all but through trial and error I realised that it is only the VIP warehouse that isn't functional. When I try to use the VIP warehouse it wont let me see my warehouse items, transfer items in/out, or transfer gold in/out. When I talk to Amy (the warehouse npc) the warehouse is working perfect.. anyone with any ideas? Even a simple table to check would be nice... Thanks in advance :)
Warehouse problem
07/26/2012 - Shaiya Private Server - 6 Replies
Hello everyone, I got a problem and need help from someone, my friend made a new server and she got problems with the warehouse. When u put items in there and relog u get dc and rollbacks and lose ur items, can someone might tell me how to fix this problem... i would apreciate your support ty :)
Warehouse Problem
07/19/2012 - Rappelz Private Server - 7 Replies
Hey all, i have used the Sufu and can't find anything about that. If I put something in my warehouse it will remain in my inventory. Moreover, the item change his place in the inventory and I am not able to equip it anymore. Thanks Acc.
Warehouse problem
05/15/2012 - Rappelz Private Server - 6 Replies
Hi All, I have a new problem with my server. when i'm opening my warehouse, and I want to put into some items, they are staying on my character inventory. BUT, even if the image of the item is on my inventory, I cannot use it (as the same as if it was in my warehouse). I already had a look on SEARCH (my best friend), and i cannot found anythings like that. Thks for your help. Akkira
Warehouse Problem!
09/17/2010 - CO2 Private Server - 2 Replies
Anyone know how to fix the Stone City Warehouse problem? i have level 6 Vip but the problem is i cant open the last warehouse in stone city in my VIP then if i try to open it i got error code in my source pop ups.. please anyone can help me?



All times are GMT +1. The time now is 17:26.


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.