[Help]WareHouse

02/05/2014 23:36 KevinCOder#1
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 :handsdown:

help anyone? '-'
02/07/2014 01:36 abdoumatrix#2

[Only registered and activated users can see links. Click Here To Register...]
02/08/2014 23:02 KevinCOder#3
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:
http://i.epvpimg.com/ytGge.jpg
[Only registered and activated users can see links.
Click Here To Register...]

http://i.epvpimg.com/kpref.jpg
[Only registered and activated users can see links.
Click Here To Register...]
02/08/2014 23:23 littlechris95#4
Just send the item with view mode.
02/08/2014 23:37 KevinCOder#5
how? could you give me an example?
02/09/2014 00:11 abdoumatrix#6
02/09/2014 00:27 KevinCOder#7
thx abdou! :D

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!!! :handsdown:
04/18/2014 16:49 Mr.keka#8
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);
        } 
04/18/2014 18:26 abdoumatrix#9
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);
        } 
:rtfm:

So what u mean??
04/19/2014 02:55 turk55#10
He will never learn if you guys keep spoon feeding.