Register for your free account! | Forgot your password?

Go Back   elitepvpers › MMORPGs › Conquer Online 2 › CO2 Private Server
You last visited: Today at 05:07

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

Advertisement



Help - item amount of Shops

Discussion on Help - item amount of Shops within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2010
Posts: 11
Received Thanks: 1
Help - item amount of Shops

hey guys. i have lil problem with shop item amount
Source Version:5530
every time i buy item from shop. come like that


and i want edit it to be like next pic



how i can do it ??

this problem with shops only. its better with commands
thank you all
any idea may helps

----------------------------------------
and sorry about my bad english
----------------------------------------

|| Dark Prince || is offline  
Old   #2
 
.Kinshi's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 341
Received Thanks: 255
Check the itemtype file for the max stack amount and don't stack if its equal to it.
.Kinshi is offline  
Old   #3
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Yea A Friend of mine had same issue but its too easy smthing you should Add its inside Packethandler.cs / Void Handlebuyfromnpc and check the Shopping mall code you would find smthing like that

client.inventory.add(item, Enums.CreateandAdd);
and item.stacksize = Amount u bought and thats smthing we dont want to do it So make it like that

if (Amount > 0)
{
client.Inventory.Add(item, 0, Amount);
}

this Should Solve your Problem ( These Code isnt Copy paste as i just wrote it In Post not Source )
shadowman123 is offline  
Thanks
1 User
Old   #4
 
zakkwilde_17's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
Quote:
Originally Posted by || Dark Prince || View Post
hey guys. i have lil problem with shop item amount
Source Version:5530
every time i buy item from shop. come like that


and i want edit it to be like next pic



how i can do it ??

this problem with shops only. its better with commands
thank you all
any idea may helps

----------------------------------------
and sorry about my bad english
----------------------------------------

Use this infos in your drop config

Code:
if (Map.SelectCoordonates(ref X, ref Y))
                            {
                                Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                                floorItem.Item = new Network.GamePackets.ConquerItem(true);
                                floorItem.Item.Color = (Conquer_Online_Server.Game.Enums.Color)ServerBase.Kernel.Random.Next(4, 8);
                                floorItem.Item.ID = Uid;
                                floorItem.Item.MaximDurability = floorItem.Item.Durability = 65535;
                                floorItem.Item.MobDropped = true;
                                floorItem.Item.UID = Network.GamePackets.ConquerItem.ItemUID.Next;
                                floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item;
                                floorItem.ItemID = Uid;
                                floorItem.MapID = Owner.MapID;
                                floorItem.MapObjType = Game.MapObjectType.Item;
                                floorItem.X = X;
                                floorItem.Y = Y;
                                floorItem.Owner = killer.Owner;
                                floorItem.Type = Network.GamePackets.FloorItem.Drop;
                                floorItem.OnFloor = Time32.Now;
                                floorItem.ItemColor = floorItem.Item.Color;
                                floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
                                while (Map.Npcs.ContainsKey(floorItem.UID))
                                    floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
                                Map.AddFloorItem(floorItem);
                                SendScreenSpawn(floorItem);
                            }
zakkwilde_17 is offline  
Old   #5
 
elite*gold: 0
Join Date: Apr 2010
Posts: 11
Received Thanks: 1
i tryed all you told me guys but no one success with this. but
i owe for you guys specially
but i discovered the reason is at items.txt in data base
every item have number at last. like that

Code:
1088000 DragonBall 0 0 0 0 0 0 0 0 0 0 10000 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RareItem It~can~improve~quality~of~weapons~and~equipments. [COLOR=Red]8[/COLOR] 0 0
8 number make the stack of DragonBall 8
this should be quality not stacks
and when i edited it to 0 the problem solved

any idea to make source do not read this as amount ??

|| Dark Prince || is offline  
Old   #6
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by zakkwilde_17 View Post
Use this infos in your drop config

Code:
if (Map.SelectCoordonates(ref X, ref Y))
                            {
                                Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
                                floorItem.Item = new Network.GamePackets.ConquerItem(true);
                                floorItem.Item.Color = (Conquer_Online_Server.Game.Enums.Color)ServerBase.Kernel.Random.Next(4, 8);
                                floorItem.Item.ID = Uid;
                                floorItem.Item.MaximDurability = floorItem.Item.Durability = 65535;
                                floorItem.Item.MobDropped = true;
                                floorItem.Item.UID = Network.GamePackets.ConquerItem.ItemUID.Next;
                                floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item;
                                floorItem.ItemID = Uid;
                                floorItem.MapID = Owner.MapID;
                                floorItem.MapObjType = Game.MapObjectType.Item;
                                floorItem.X = X;
                                floorItem.Y = Y;
                                floorItem.Owner = killer.Owner;
                                floorItem.Type = Network.GamePackets.FloorItem.Drop;
                                floorItem.OnFloor = Time32.Now;
                                floorItem.ItemColor = floorItem.Item.Color;
                                floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
                                while (Map.Npcs.ContainsKey(floorItem.UID))
                                    floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
                                Map.AddFloorItem(floorItem);
                                SendScreenSpawn(floorItem);
                            }
R u Blind ? who the Fk Mentioned anything about Dropped Items Read the Entire Thread to know what we Are tal;king ABout

Quote:
Originally Posted by || Dark Prince || View Post
i tryed all you told me guys but no one success with this. but
i owe for you guys specially
but i discovered the reason is at items.txt in data base
every item have number at last. like that

Code:
1088000 DragonBall 0 0 0 0 0 0 0 0 0 0 10000 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 215 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RareItem It~can~improve~quality~of~weapons~and~equipments. [COLOR=Red]8[/COLOR] 0 0
8 number make the stack of DragonBall 8
this should be quality not stacks
and when i edited it to 0 the problem solved

any idea to make source do not read this as amount ??

i h8 it when i post the Right Answer and its being ignored .. Check The Code of Shopping Mall in Void Handlebuyfromnpc inside PacketHandler.cs
shadowman123 is offline  
Thanks
1 User
Old   #7
 
zakkwilde_17's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
Quote:
Originally Posted by shadowman123 View Post
R u Blind ? who the Fk Mentioned anything about Dropped Items Read the Entire Thread to know what we Are tal;king ABout



i h8 it when i post the Right Answer and its being ignored .. Check The Code of Shopping Mall in Void Handlebuyfromnpc inside PacketHandler.cs
Lol

you just need to remove thats lines

Code:
                    if (!Network.PacketHandler.IsEquipment(OwnItemID) && infos.ConquerPointsWorth == 0)
                    {
                        floorItem.Item.StackSize = 1;
                        floorItem.Item.MaxStackSize = infos.StackSize;
                    }
will work fine
zakkwilde_17 is offline  
Old   #8
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by zakkwilde_17 View Post
Lol

you just need to remove thats lines

Code:
                    if (!Network.PacketHandler.IsEquipment(OwnItemID) && infos.ConquerPointsWorth == 0)
                    {
                        floorItem.Item.StackSize = 1;
                        floorItem.Item.MaxStackSize = infos.StackSize;
                    }
will work fine
Oh *** ... WAKE UP DUDE IT ISNT ABOUT PICKING UP ITEMS ITS ABOUT BUYING ITEMS WITH STACK NUMBERS
shadowman123 is offline  
Old   #9
 
matthew 2010's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 23
Received Thanks: 4
shadowman123 's answer is correct and also Items.txt in source and Itemtype.dat in client also has the max stackable value in the code for items i think its something like line 55 for 5530 idk for sure tho on the line
matthew 2010 is offline  
Old   #10
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by matthew 2010 View Post
shadowman123 's answer is correct and also Items.txt in source and Itemtype.dat in client also has the max stackable value in the code for items i think its something like line 55 for 5530 idk for sure tho on the line
Itemtye used to Edit on Item infos So its useless in this Problem as the problem isnt in item info Stack size its in Shop handling
shadowman123 is offline  
Old   #11
 
matthew 2010's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 23
Received Thanks: 4
Quote:
Originally Posted by shadowman123 View Post
Itemtye used to Edit on Item infos So its useless in this Problem as the problem isnt in item info Stack size its in Shop handling
correct and correct is y i told him ur answer is correct so he wouldn't listen to the fool who posted about item drop stack and i only posted the itemtype stuff so as he would know how to change the stack size value incase he wants them unstack able < (*that will not solve ur problem if ur shops are still trying to stack u will just start seeing errors if u dont change the shops 1st*) or other items a higher stacking value
matthew 2010 is offline  
Old   #12
 
elite*gold: 0
Join Date: Apr 2010
Posts: 11
Received Thanks: 1
shadowman. my pleasure for post to help me. i'm really owe for you
i'm just confused. here is the code. can u tell me pleas where the problem exactly

PHP Code:

        
static void HandleBuyFromNPC(ItemUsage itemUsage, Client.GameState client)
        {

            if (
itemUsage == null)
                return;
            if (
client == null)
                return;
            if (
itemUsage.UID == 141)
            {
                if (
itemUsage.dwParam == 721157 || itemUsage.dwParam == 721158)
                {
                    
uint cost = 5000;
                    
Interfaces.IConquerItem item = new ConquerItem(true);
                    if (
cost > client.Entity.Money)
                        return;
                    if (
client.Entity.Money - cost > client.Entity.Money)
                        return;
                    
item.ID = itemUsage.dwParam;
                    
item.Durability = item.MaximDurability = 100;
                    
item.Color = (Conquer_Online_Server.Game.Enums.Color)ServerBase.Kernel.Random.Next(4, 8);
                    
client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd);
                    if (
client.Inventory.ContainsUID(item.UID) || item.StackSize == 1)
                        
client.Entity.Money -= cost;
                }
            }
            if (
itemUsage.UID == 2888)
            {
                if (
itemUsage.dwParam == 203009)
                {
                    
uint cost = 1290;
                    if (
cost > client.Entity.ConquerPoints)
                        return;
                    if (
client.Entity.ConquerPoints - cost > client.Entity.ConquerPoints)
                        return;
                    
Interfaces.IConquerItem item = new ConquerItem(true);
                    
item.ID = itemUsage.dwParam;

                    
item.Color = (Conquer_Online_Server.Game.Enums.Color)ServerBase.Kernel.Random.Next(4, 8);
                    
item.Durability = item.MaximDurability = 100;//iteminfo.BaseInformation.Durability;
                    
client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd);
                    if (
client.Inventory.ContainsUID(item.UID) || item.StackSize == 1)
                        
client.Entity.ConquerPoints = (uint)Math.Max(0, (uint)((uint)client.Entity.ConquerPoints - (uint)cost));
                }
            }


            if (
itemUsage.UID == 6000)//honorshop
            
{
                if (
client.Inventory.Count == 40)
                    return;
                
uint price = 0;
                switch (
itemUsage.dwParam)
                {
                    case 
200006: price = 300000; break;
                    case 
200207: price = 500000; break;

                    case 
200208: price = 800000; break;
                    case 
200007: price = 2000000; break;
                    case 
200309: price = 550000; break;
                    case 
200308: price = 900000; break;
                    case 
200103: price = 1300000; break;
                    case 
200107: price = 2000000; break;
                    case 
720842: price = 8000; break;
                    case 
711083: price = 50000; break;
                    case 
720598: price = 20000; break;
                    case 
720774: price = 10000; break;
                    case 
723651: price = 25000; break;
                    case 
723652: price = 62400; break;
                    case 
723653: price = 156000; break;
                    case 
723654: price = 12500; break;
                    case 
723655: price = 31200; break;
                    case 
723656: price = 78000; break;
                    case 
723657: price = 25000; break;
                    case 
723658: price = 62400; break;
                    case 
723659: price = 156000; break;
                    case 
723660: price = 5000; break;
                    case 
723661: price = 12500; break;
                    case 
723662: price = 31200; break;
                    case 
723663: price = 10000; break;
                    case 
723664: price = 25000; break;
                    case 
723665: price = 62400; break;
                    case 
723666: price = 10000; break;
                    case 
723667: price = 25000; break;
                    case 
723668: price = 62400; break;
                    case 
723669: price = 12500; break;
                    case 
723670: price = 31200; break;
                    case 
723671: price = 78000; break;
                    case 
723672: price = 16000; break;
                    case 
723673: price = 41000; break;
                    case 
723674: price = 104000; break;
                    case 
723675: price = 16000; break;
                    case 
723676: price = 41000; break;
                    case 
723677: price = 104000; break;
                    case 
723678: price = 13000; break;
                    case 
723679: price = 33000; break;
                    case 
723680: price = 83000; break;
                    case 
723681: price = 13000; break;
                    case 
723682: price = 33000; break;
                    case 
723683: price = 83000; break;
                    case 
723690: price = 13000; break;
                    case 
723691: price = 33000; break;
                    case 
723692: price = 83000; break;
                    case 
723684: price = 10000; break;
                    case 
723685: price = 25000; break;
                    case 
723686: price = 62400; break;
                    case 
723130: price = 10000; break;
                    case 
723131: price = 25000; break;
                    case 
723132: price = 62400; break;
                    case 
723133: price = 25000; break;
                    case 
723134: price = 62400; break;
                    case 
723135: price = 156000; break;
                }
                
Interfaces.IConquerItem item = new ConquerItem(true);
                
Database.ConquerItemInformation iteminfo = new Conquer_Online_Server.Database.ConquerItemInformation(itemUsage.dwParam, 0);
                if (
price > client.ArenaStatistic.CurrentHonor)
                    return;
                if (
client.ArenaStatistic.CurrentHonor - price > client.ArenaStatistic.CurrentHonor)
                    return;
                
item.ID = itemUsage.dwParam;
                
item.Color = (Conquer_Online_Server.Game.Enums.Color)ServerBase.Kernel.Random.Next(4, 8);
                
item.Durability = item.MaximDurability = iteminfo.BaseInformation.Durability;
                
client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd);
                
client.ArenaStatistic.CurrentHonor -= price;
                
Database.ArenaTable.SaveArenaStatistics(client.ArenaStatistic);
                return;
            }
            
Interfaces.INpc npc = null;
            if (
client.Map.Npcs.TryGetValue(itemUsage.UID, out npc) || itemUsage.UID == 2888)
            {
                if (
client.Inventory.Count == 40)
                    return;
                if (
itemUsage.UID != 2888)
                    if (
ServerBase.Kernel.GetDistance(client.Entity.X, client.Entity.Y, npc.X, npc.Y) > 17)
                        return;


                
Database.ShopFile.Shop shop = new Conquer_Online_Server.Database.ShopFile.Shop();
                if (
Database.ShopFile.Shops.TryGetValue(itemUsage.UID, out shop))
                {
                    if (
shop.UID == 0)
                        return;
                    if (!
shop.Items.Contains(itemUsage.dwParam))
                        return;
                    
Database.ConquerItemInformation iteminfo = new Conquer_Online_Server.Database.ConquerItemInformation(itemUsage.dwParam, 0);
                    
uint Amount = itemUsage.dwExtraInfo > 0 ? itemUsage.dwExtraInfo : 1;
                    while (
Amount > 0 && client.Inventory.Count != 40)
                    {
                        
Interfaces.IConquerItem item = new ConquerItem(true);

                        switch (
shop.MoneyType)
                        {
                            case 
Conquer_Online_Server.Database.ShopFile.MoneyType.Gold:
                                {
                                    if (
iteminfo.BaseInformation.GoldWorth > client.Entity.Money)
                                        return;
                                    if (
client.Entity.Money - iteminfo.BaseInformation.GoldWorth > client.Entity.Money)
                                        return;
                                    
item.ID = itemUsage.dwParam;
                                    
item.Durability = item.MaximDurability = iteminfo.BaseInformation.Durability;
                                    if (!
IsEquipment(item.ID))
                                    {
                                        if (
iteminfo.BaseInformation.StackSize != 0)
                                        {
                                            
item.StackSize = 1;
                                            
item.MaxStackSize = iteminfo.BaseInformation.StackSize;
                                        }
                                    }
                                    
item.Color = (Conquer_Online_Server.Game.Enums.Color)ServerBase.Kernel.Random.Next(4, 8);
                                    
client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd);
                                    if (
client.Inventory.ContainsUID(item.UID) || item.StackSize == 1)
                                        
client.Entity.Money -= iteminfo.BaseInformation.GoldWorth;
                                    break;
                                }
                            case 
Conquer_Online_Server.Database.ShopFile.MoneyType.ConquerPoints:
                                {
                                    if (
iteminfo.BaseInformation.ConquerPointsWorth > client.Entity.ConquerPoints)
                                        return;
                                    if (
client.Entity.ConquerPoints - iteminfo.BaseInformation.ConquerPointsWorth > client.Entity.ConquerPoints)
                                        return;
                                    
item.ID = itemUsage.dwParam;
                                    if (
item.ID >= 730001 && item.ID <= 730008)
                                        
item.Plus = (byte)(item.ID % 10);
                                    
item.Color = (Conquer_Online_Server.Game.Enums.Color)ServerBase.Kernel.Random.Next(4, 8);
                                    
item.Durability = item.MaximDurability = iteminfo.BaseInformation.Durability;
                                    if (!
IsEquipment(item.ID))
                                    {
                                        if (
iteminfo.BaseInformation.StackSize != 0)
                                        {
                                            
item.StackSize = 1;
                                            
item.MaxStackSize = iteminfo.BaseInformation.StackSize;
                                        }
                                    }
                                    
client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd);
                                    if (
client.Inventory.ContainsUID(item.UID) || item.StackSize == 1)
                                        
client.Entity.ConquerPoints = (uint)Math.Max(0, (uint)((uint)client.Entity.ConquerPoints - (uint)iteminfo.BaseInformation.ConquerPointsWorth));
                                    break;
                                }
                        }
                        
Amount--;
                    }
                }
                else
                {
                    if (
Database.EShopFile.Shops.TryGetValue(itemUsage.UID, out shop))
                    {
                        if (
shop.UID == 0)
                            return;
                        if (!
shop.Items.Contains(itemUsage.dwParam))
                            return;
                        
Database.ConquerItemInformation iteminfo = new Conquer_Online_Server.Database.ConquerItemInformation(itemUsage.dwParam, 0);
                        
uint Amount = itemUsage.dwExtraInfo > 0 ? itemUsage.dwExtraInfo : 1;
                        while (
Amount > 0 && client.Inventory.Count != 40)
                        {

                            
Interfaces.IConquerItem item = new ConquerItem(true);
                            switch (
shop.MoneyType)
                            {
                                case 
Conquer_Online_Server.Database.ShopFile.MoneyType.Gold:
                                    {
                                        if (
iteminfo.BaseInformation.GoldWorth > client.Entity.Money)
                                            return;
                                        if (
client.Entity.Money - iteminfo.BaseInformation.GoldWorth > client.Entity.Money)
                                            return;
                                        
item.ID = itemUsage.dwParam;
                                        
item.Durability = item.MaximDurability = iteminfo.BaseInformation.Durability;

                                        
item.Color = (Conquer_Online_Server.Game.Enums.Color)ServerBase.Kernel.Random.Next(4, 8);
                                        
client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd);
                                        if (
client.Inventory.ContainsUID(item.UID) || item.StackSize == 1)
                                            
client.Entity.Money -= iteminfo.BaseInformation.GoldWorth;
                                        break;
                                    }
                                case 
Conquer_Online_Server.Database.ShopFile.MoneyType.ConquerPoints:
                                    {
                                        if (
iteminfo.BaseInformation.ConquerPointsWorth > client.Entity.ConquerPoints)
                                            return;
                                        if (
client.Entity.ConquerPoints - iteminfo.BaseInformation.ConquerPointsWorth > client.Entity.ConquerPoints)
                                            return;
                                        
item.ID = itemUsage.dwParam;
                                        if (
item.ID >= 730001 && item.ID <= 730008)
                                            
item.Plus = (byte)(item.ID % 10);
                                        
item.Color = (Conquer_Online_Server.Game.Enums.Color)ServerBase.Kernel.Random.Next(4, 8);
                                        
item.Durability = item.MaximDurability = iteminfo.BaseInformation.Durability;

                                        
client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd);
                                        if (
client.Inventory.ContainsUID(item.UID) || item.StackSize == 1)
                                            
client.Entity.ConquerPoints = (uint)Math.Max(0, (uint)((uint)client.Entity.ConquerPoints - (int)iteminfo.BaseInformation.ConquerPointsWorth));
                                        break;
                                    }
                            }
                            
Amount--;
                        }
                    }
                }
            }
        } 
|| Dark Prince || is offline  
Old   #13
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Here you Are Replace these Codes

Code:
if (itemUsage.UID == 2888)
            {
                if (itemUsage.dwParam == 203009)
                {
                    uint cost = 1290;
                    if (cost > client.Entity.ConquerPoints)
                        return;
                    if (client.Entity.ConquerPoints - cost > client.Entity.ConquerPoints)
                        return;
                    Interfaces.IConquerItem item = new ConquerItem(true);
                    item.ID = itemUsage.dwParam;

                    item.Color = (Conquer_Online_Server.Game.Enums.Color)ServerBase.Kernel.Random.Next(4, 8);
                    item.Durability = item.MaximDurability = 100;//iteminfo.BaseInformation.Durability;
                    client.Inventory.Add(item, Game.Enums.ItemUse.CreateAndAdd);
                    if (client.Inventory.ContainsUID(item.UID) || item.StackSize == 1)
                        client.Entity.ConquerPoints = (uint)Math.Max(0, (uint)((uint)client.Entity.ConquerPoints - (uint)cost));
                }
            }
with this One

Code:
if (itemUsage.UID == 2888)
            {
                byte RequestedAmount = (byte)itemUsage.dwExtraInfo;
                var ItemInformation = new Database.ConquerItemInformation(itemUsage.dwParam, 0);
                uint ItemPrice = ItemInformation.BaseInformation.ConquerPointsWorth;
                var Item = new ConquerItem(true);
                item.ID = itemUsage.dwParam;
                item.Color = Enums.Color.Red;
                item.Durability = ItemInformation.BaseInformation.Durability;
                if (RequestedAmount > 1)
                {
                    if (client.Entity.ConquerPoints >= ItemPrice * RequestedAmount) { client.Entity.ConquerPoints -= ItemPrice * RequestedAmount; client.Inventory.Add(item.ID, 0, RequestedAmount); }
                    else { client.Send(new Message(" You Dont Have Enough ConquerPoints ", Color.Yellow, Message.Center)); }
                }
                else
                {
                    if (client.Entity.ConquerPoints >= ItemPrice) { client.Entity.ConquerPoints -= ItemPrice; client.Inventory.Add(item.ID, 0, RequestedAmount); }
                    else { client.Send(new Message(" You Dont Have Enough ConquerPoints ", Color.Yellow, Message.Center)); }
                }
            }
shadowman123 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
D2 Item Shops-erfahrungen?
01/30/2011 - Diablo 2 - 28 Replies
Hi leute, hab mir gedacht vielleicht nächste ladder am anfang ne eni zu kaufen damit ich schneller anfangen kann wieder zu botten. habt ihr irgendwelche erfahrungen in welchen shops das gut geht, vor allem ein welchen kein scheiss verkauft wird, der gleich verschwindet oder überhaupt erst gar nicht liefern, usw. ( Also zuverlässige Shops eben) Bitte keine dummen kommantare abgeben, wenn ihr denkt, dass leute die items kaufen scheisse sind, dann denkt das ruhig, aber behaltet es...
Mit einem Item Shops öffnen
09/25/2010 - Metin2 Private Server - 4 Replies
Hey, Meine Frage ist ob es einen Questbefehl gibt mit dem man mit einem Item Shops öffnen kann , da es mit dem Befehl "npc.open_shop" bei Items logischerweise nicht geht.
frage zu item shops
04/29/2010 - Diablo 2 - 12 Replies
so, kauf grad nen account voll mit shakos :D wollte eig nur so just for fun machen bin aber auf die idee gekommen, die an shops zu sellen wie läuft das ab / wie kann man sich bei denen melden?^^
WPE item amount
07/20/2006 - World of Warcraft - 5 Replies
Ich wollte mal fragen ob es in WPE ne möglichkeit gibt 50 reagenzien auf einmal einzuholen anstatt jedes item einzeln besorgen zu müssen...



All times are GMT +1. The time now is 05:08.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.