Hello guys
--------------
can i ask about vote shop ?
how can i make shop selling items for vote points or online points or else
and i mean shop not NPC
same like horse race store or horse race shop
---------------
thanks
#region Online point shop
if (itemUsage.UID == Database.OnlinePointShop.UID)
{
Database.OnlinePointShop.OnlinePointItem item;
if (Database.OnlinePointShop.Shop.Items.TryGetValue(itemUsage.dwParam, out item))
{
if (client.Inventory.Count <= 39)
{
if (client.Entity.TreasuerPoints >= item.Price)
{
ConquerItem newItem = new GamePackets.ConquerItem(true);
newItem.ID = itemUsage.dwParam;
Database.ConquerItemBaseInformation ibi;
if (Database.ConquerItemInformation.BaseInformations.TryGetValue(newItem.ID, out ibi))
{
if (ibi.Durability > 0)
{
newItem.Durability = ibi.Durability;
newItem.MaximDurability = ibi.Durability;
}
}
client.Inventory.Add(newItem, Game.Enums.ItemUse.CreateAndAdd);
client.Entity.TreasuerPoints -= item.Price;
}
else client.Send(new Message("You do not have enough Online Points", Color.Red, Message.TopLeft));
}
else client.Send(new Message("You do not have enough space in your inventory", Color.Red, Message.TopLeft));
}
else client.Send(new Message("Can not find this item", Color.Red, Message.TopLeft));
return;
}
#endregion
and made file with name . OnlinePointShop.cs
and another in database with name OnlinePointShop.ini
but after all of that i filed to make the shop is avilable in my client
i filed to make navicat npc read items with points
Well, you add all items you want to sell on your table, assign them to a shop, set a moneytype, example, 1 silver, 2 cps, 3 bcps, 4 vote points
Then when buying, you just search on your dictionary if that item exists on that shop and handle the right moneytype
and made shop in my emoneyshop and use moneytype 18
and made npc in navicat
try with type 18 and try with type 1
when i use type 18 i got no replay from npc
and when i use type 1 i got CP mall but he selling items to me for 0 cps or 0 money or 0 TreasuerPoints
Quote:
Originally Posted by pintinho12
Well, you add all items you want to sell on your table, assign them to a shop, set a moneytype, example, 1 silver, 2 cps, 3 bcps, 4 vote points
Then when buying, you just search on your dictionary if that item exists on that shop and handle the right moneytype
cant make table in navicat do that
i try to make it with C# codes same like honer shops
Vote point shop 07/05/2013 - Rappelz Private Server - 1 Replies How to make a CS vote point shop only for vot points not Donations any help would be great tyvm.
Vote shop 05/26/2013 - WoW Private Server - 2 Replies Hallo,
Unser team hat vor ein paar tagen einen server aufgestzt.
Nun wollt ich mal fragen ab jemand ein TuT für ein vote/spenden-shop hat.
Falls diese frage schon mal aufgetaucht ist bitte nicht flamen...bin hier nicht ganz so oft.
Danke schonmal im vorraus
wir suchen auch noch leute die sich mit core arbeiten auskennen und sctripten können.einfach pm schreiben
ich sollte vl dazu schreiben das wir eine Trinity-core haben
[Suche] Vote/coin shop 01/05/2013 - WoW Private Server - 0 Replies Moinchen an alle elitepvpers,
Ich suche einen Script wo sich registrierte User für gekauft Coins oder gevotetete Punkte sich bestimmte Items kaufen können und ihren Character selektieren müssen dann wird das item dem char per post geschickt..
Vote & Coin System ist bei mir vorhanden blos is halt noch nutzlos ohne shop^^
würde mich freuen wenn mir jemand weiterhelfen könnte.
Infos:
Vote Shop 08/24/2012 - Rappelz Private Server - 1 Replies Hi all,
Who can help me or who can give me files to do vote-shop on my site?
Thanks a lot