Register for your free account! | Forgot your password?

You last visited: Today at 23:21

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

Advertisement



[Help]WareHouse

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

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2014
Posts: 36
Received Thanks: 1
[Help]WareHouse

Hello guys, i tried many times include the data for souls but did not work

Code:
Code:
ConquerItem item = null;
                                    if (item.Purification.Available)
                                    {
                                        ItemAddingStabilization stabilization = new ItemAddingStabilization(false);
                                     
                                        if (item.Purification.Available)
                                        {
                                          //  item.Purification = ItemAdding.PurificationAdding;
                                            stabilization.PurificationItems.Add(item.Purification.PurificationItemID);
                                        }
                                        stabilization.ToArray();
                                        client.Send(stabilization.ToArray());
                                    }
what is wrong?

Thx

help anyone? '-'
KevinCOder is offline  
Old 02/07/2014, 01:36   #2
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239

abdoumatrix is offline  
Thanks
1 User
Old 02/08/2014, 23:02   #3
 
elite*gold: 0
Join Date: Jan 2014
Posts: 36
Received Thanks: 1
man not working too with you code


My Warehouse.AddItem:

Code:
case Warehouse.AddItem:
                                {
                                    if (client.Booth != null)
                                        return;
                                    Game.ConquerStructures.Warehouse wh = client.Warehouses[(Conquer_Online_Server.Game.ConquerStructures.Warehouse.WarehouseID)warehousepacket.NpcID];
                                    if (wh == null) return;
                                    ConquerItem item = null;
                                    if (client.Inventory.TryGetItem(warehousepacket.UID, out item))
                                    {
                                        warehousepacket.Append(item);
                                        client.Send(warehousepacket);

                                        ItemAdding add = new ItemAdding(true);
                                        if (item.Purification.Available)
                                            add.Append(item.Purification);
                                        if (item.ExtraEffect.Available)
                                            add.Append(item.ExtraEffect);
                                        if (item.Purification.Available || item.ExtraEffect.Available)
                                            client.Send(add);
                                        if (item.ID >= 729960 && item.ID <= 729970)
                                            return;
                                        if (!ConquerItem.isRune(item.UID))
                                        {
                                            if (wh.Add(item))
                                            {
                                                warehousepacket.UID = 0;
                                                warehousepacket.Count = 1;
                                                warehousepacket.Append(item);
                                                client.Send(warehousepacket);
                                                return;
                                            }
                                        }
                                        else client.Send(new Message("You can not store Flame Stone Rune's in Warehouse", System.Drawing.Color.Red, Message.TopLeft));
                                    }
                                    break;
                                }
                            case Warehouse.RemoveItem:
Image:

KevinCOder is offline  
Old 02/08/2014, 23:23   #4
 
littlechris95's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
Just send the item with view mode.
littlechris95 is offline  
Thanks
1 User
Old 02/08/2014, 23:37   #5
 
elite*gold: 0
Join Date: Jan 2014
Posts: 36
Received Thanks: 1
how? could you give me an example?
KevinCOder is offline  
Old 02/09/2014, 00:11   #6
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
abdoumatrix is offline  
Thanks
1 User
Old 02/09/2014, 00:27   #7
 
elite*gold: 0
Join Date: Jan 2014
Posts: 36
Received Thanks: 1
thx abdou!

Code:
But I have a new problem
if I close and reopen the warehouse soul effect disappear
and refine effects dont work o.O
IMG:
you have any idea why? THX ALOT!!!
KevinCOder is offline  
Old 04/18/2014, 16:49   #8
 
elite*gold: 0
Join Date: Jan 2014
Posts: 2
Received Thanks: 0
we should make Code here

warehousepacket.Append(item);

In class Warehouse i found Code See sockets and pluss and all infor

This is code we should make code in here

public void Append(ConquerItem item)
{
WriteUInt32(item.UID, 24, buffer);
WriteUInt32(item.ID, 28, buffer);
WriteByte((byte)item.SocketOne, 33, buffer);
WriteByte((byte)item.SocketTwo, 34, buffer);
WriteByte(item.Plus, 41, buffer);
WriteByte(item.Bless, 42, buffer);
WriteByte((byte)(item.Bound == true ? 1 : 0), 43, buffer);
WriteUInt16(item.Enchant, 44, buffer);
WriteUInt16((ushort)item.Effect, 46, buffer);
WriteByte(item.Lock, 48, buffer);
WriteByte((byte)(item.Suspicious == true ? 1 : 0), 49, buffer);
WriteByte((byte)item.Color, 51, buffer);
WriteUInt32(item.SocketProgress, 52, buffer);
WriteUInt32(item.PlusProgress, 56, buffer);
}

we should make Code here

PHP Code:
 warehousepacket.Append(item); 
In class Warehouse i found Code See sockets and pluss and all infor

This is code we should make code in here
PHP Code:
public void Append(ConquerItem item)
        {
            
WriteUInt32(item.UID24buffer);
            
WriteUInt32(item.ID28buffer);
            
WriteByte((byte)item.SocketOne33buffer);
            
WriteByte((byte)item.SocketTwo34buffer);
            
WriteByte(item.Plus41buffer);
            
WriteByte(item.Bless42buffer);
            
WriteByte((byte)(item.Bound == true 0), 43buffer);
            
WriteUInt16(item.Enchant44buffer);
            
WriteUInt16((ushort)item.Effect46buffer);
            
WriteByte(item.Lock48buffer);
            
WriteByte((byte)(item.Suspicious == true 0), 49buffer);
            
WriteByte((byte)item.Color51buffer);
            
WriteUInt32(item.SocketProgress52buffer);
            
WriteUInt32(item.PlusProgress56buffer);
        } 
Mr.keka is offline  
Old 04/18/2014, 18:26   #9
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by Mr.keka View Post
we should make Code here

warehousepacket.Append(item);

In class Warehouse i found Code See sockets and pluss and all infor

This is code we should make code in here

public void Append(ConquerItem item)
{
WriteUInt32(item.UID, 24, buffer);
WriteUInt32(item.ID, 28, buffer);
WriteByte((byte)item.SocketOne, 33, buffer);
WriteByte((byte)item.SocketTwo, 34, buffer);
WriteByte(item.Plus, 41, buffer);
WriteByte(item.Bless, 42, buffer);
WriteByte((byte)(item.Bound == true ? 1 : 0), 43, buffer);
WriteUInt16(item.Enchant, 44, buffer);
WriteUInt16((ushort)item.Effect, 46, buffer);
WriteByte(item.Lock, 48, buffer);
WriteByte((byte)(item.Suspicious == true ? 1 : 0), 49, buffer);
WriteByte((byte)item.Color, 51, buffer);
WriteUInt32(item.SocketProgress, 52, buffer);
WriteUInt32(item.PlusProgress, 56, buffer);
}

we should make Code here

PHP Code:
 warehousepacket.Append(item); 
In class Warehouse i found Code See sockets and pluss and all infor

This is code we should make code in here
PHP Code:
public void Append(ConquerItem item)
        {
            
WriteUInt32(item.UID24buffer);
            
WriteUInt32(item.ID28buffer);
            
WriteByte((byte)item.SocketOne33buffer);
            
WriteByte((byte)item.SocketTwo34buffer);
            
WriteByte(item.Plus41buffer);
            
WriteByte(item.Bless42buffer);
            
WriteByte((byte)(item.Bound == true 0), 43buffer);
            
WriteUInt16(item.Enchant44buffer);
            
WriteUInt16((ushort)item.Effect46buffer);
            
WriteByte(item.Lock48buffer);
            
WriteByte((byte)(item.Suspicious == true 0), 49buffer);
            
WriteByte((byte)item.Color51buffer);
            
WriteUInt32(item.SocketProgress52buffer);
            
WriteUInt32(item.PlusProgress56buffer);
        } 


So what u mean??
abdoumatrix is offline  
Old 04/19/2014, 02:55   #10
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 701
He will never learn if you guys keep spoon feeding.
turk55 is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[Selling] >|WareHouse|< .S.H.O.P.
05/18/2014 - elite*gold Trading - 14 Replies
http://www.fotos-hochladen.net/uploads/yourstoregr eencw5ky9ts0r.png
VIP Warehouse
12/12/2013 - CO2 Private Server - 2 Replies
Does anybody hear know the window id for the warehouse window, when using VIP? I know it's generaldata with the openwindow/opendialog subtype, but can't figure out the window id. I've looked in a few sources, but all I found was 568, but it doesn't seem to work. To be specific, patch 5517.
Warehouse
06/30/2011 - Rappelz - 2 Replies
Has there been a way to fix the warehouse yet? I have read through several threads but havent seen anything yet.
[HELP]Warehouse
08/08/2010 - EO PServer Hosting - 7 Replies
i just wanna ask little stupid question.. :D my warehouse cant set password,after there say please once again put password nothing happen.. hope can help me.. :o
Warehouse pw
08/16/2009 - Conquer Online 2 - 20 Replies
Is there an way the bypass orsomething warehouse pw there whas tread but i cant find it anymore .. plz help me!



All times are GMT +2. The time now is 23:21.


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.