|
You last visited: Today at 23:21
Advertisement
[Help]WareHouse
Discussion on [Help]WareHouse within the CO2 Private Server forum part of the Conquer Online 2 category.
02/05/2014, 23:36
|
#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? '-'
|
|
|
02/07/2014, 01:36
|
#2
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
|
PHP Code:
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);
|
|
|
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:
|
|
|
02/08/2014, 23:23
|
#4
|
elite*gold: 0
Join Date: Nov 2011
Posts: 150
Received Thanks: 11
|
Just send the item with view mode.
|
|
|
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?
|
|
|
02/09/2014, 00:11
|
#6
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
|
Quote:
Originally Posted by KevinCOder
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))
{
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);
[COLOR="Red"]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);[/COLOR]
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:
|
xD u send the packet before the adding to warehouse code .
the code i put to u
the first line to show where to put it
the rest is the code
any way i edit ur code
|
|
|
02/09/2014, 00:27
|
#7
|
elite*gold: 0
Join Date: Jan 2014
Posts: 36
Received Thanks: 1
|
thx abdou!
Code:
Code:
{
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))
{
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);
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);
return;
}
}
else client.Send(new Message("You can not store Flame Stone Rune's in Warehouse", System.Drawing.Color.Red, Message.TopLeft));
}
break;
}
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!!!
|
|
|
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.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); }
|
|
|
04/18/2014, 18:26
|
#9
|
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
|
Quote:
Originally Posted by Mr.keka
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.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); }
|
So what u mean??
|
|
|
04/19/2014, 02:55
|
#10
|
elite*gold: 130
Join Date: Oct 2007
Posts: 1,652
Received Thanks: 701
|
He will never learn if you guys keep spoon feeding.
|
|
|
|
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.
|
|