vote shop

08/05/2014 02:16 girgismena#1
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
08/05/2014 02:36 pintinho12#2
Thats why i use cq_goods, there is a column moneytype so i can create subtypes...
You should try the same
08/05/2014 03:29 abdoumatrix#3
case votepoints:

in HandleBuyFromNpc
08/05/2014 06:09 girgismena#4
Quote:
Originally Posted by pintinho12 View Post
Thats why i use cq_goods, there is a column moneytype so i can create subtypes...
You should try the same
that hard for me . cq_goods was work on 5095
and i never try 5095 b4 so i cant do the same :(
Quote:
Originally Posted by abdoumatrix View Post
case votepoints:

in HandleBuyFromNpc
can u show me ex. abdo ?
i have to try ones
and i take copy from
Race point shop
and made it like that
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
08/05/2014 06:53 pintinho12#5
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
08/05/2014 08:01 girgismena#6
Quote:
Originally Posted by abdoumatrix View Post
case votepoints:

in HandleBuyFromNpc
i have to try that
and use
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 View Post
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