|
You last visited: Today at 10:19
Advertisement
Itemtype Prices
Discussion on Itemtype Prices within the CO2 Private Server forum part of the Conquer Online 2 category.
07/12/2011, 05:33
|
#1
|
elite*gold: 0
Join Date: May 2011
Posts: 168
Received Thanks: 33
|
Itemtype Prices
Although I'm pretty sure this was asked before, and couldn't find it, I'm gonna ask it.
If you've seen the release I made today (Honor Arena - **** Version), you get 2 honor points per kill. What I was wondering is, if I made a custom shop, how could I sell them with Honor Points, instead of CP's.
Code:
111303 IronHelmet 21 0 15 0 0 0 0 0 0 0 150 0 0 0 3 0 0 0 0 3998 3998 0 0 0 0 0 0 0 0 1 1000 0 0 0 [SIZE="3"][COLOR="Red"]0[/COLOR][/SIZE] Warrior`sHelmet None
Above is the IronHelmet in itemtype, and the 0 is for CP's. How would go about making one for Honor Points instead of CP's.
Thank you
|
|
|
07/12/2011, 06:06
|
#2
|
elite*gold: 0
Join Date: Feb 2011
Posts: 46
Received Thanks: 1
|
Hello man, Well, to make the npc shop style I do not know, but you can do in dialogs.cs, an NPC that exchanges honor per item.
|
|
|
07/12/2011, 07:35
|
#3
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
|
Quote:
Originally Posted by zTek
Although I'm pretty sure this was asked before, and couldn't find it, I'm gonna ask it.
If you've seen the release I made today (Honor Arena - **** Version), you get 2 honor points per kill. What I was wondering is, if I made a custom shop, how could I sell them with Honor Points, instead of CP's.
Code:
111303 IronHelmet 21 0 15 0 0 0 0 0 0 0 150 0 0 0 3 0 0 0 0 3998 3998 0 0 0 0 0 0 0 0 1 1000 0 0 0 [SIZE="3"][COLOR="Red"]0[/COLOR][/SIZE] Warrior`sHelmet None
Above is the IronHelmet in itemtype, and the 0 is for CP's. How would go about making one for Honor Points instead of CP's.
Thank you
|
you can go ahead and add your own variable in there , and make sure you read it in your source as honor points cost,
|
|
|
07/12/2011, 09:40
|
#4
|
elite*gold: 0
Join Date: Nov 2010
Posts: 159
Received Thanks: 39
|
Quote:
Originally Posted by zTek
Although I'm pretty sure this was asked before, and couldn't find it, I'm gonna ask it.
If you've seen the release I made today (Honor Arena - **** Version), you get 2 honor points per kill. What I was wondering is, if I made a custom shop, how could I sell them with Honor Points, instead of CP's.
Code:
111303 IronHelmet 21 0 15 0 0 0 0 0 0 0 150 0 0 0 3 0 0 0 0 3998 3998 0 0 0 0 0 0 0 0 1 1000 0 0 0 [SIZE="3"][COLOR="Red"]0[/COLOR][/SIZE] Warrior`sHelmet None
Above is the IronHelmet in itemtype, and the 0 is for CP's. How would go about making one for Honor Points instead of CP's.
Thank you
|
Its no right but try some like his
source were read shop data
Quote:
Gold = 0,
ConquerPoints = 1
Honor = 2
|
And In shop data write MoneyType = 2 its only example
|
|
|
07/12/2011, 10:45
|
#5
|
elite*gold: 0
Join Date: May 2011
Posts: 168
Received Thanks: 33
|
Thanks to Jose, and S/W, problem solved.
Thread can be closed now (or can it?) lol
|
|
|
07/12/2011, 21:22
|
#6
|
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
|
Quote:
Originally Posted by Y u k i
Simpler way: Search where you buy items for a regular shop, in the code add something like that
PHP Code:
if (ShopID == HONORSHOPID) { // instead of calculating if the player has the required Silvers, do it with HonorPoints }
|
That would be less efficient.
|
|
|
Similar Threads
|
%% Compare WoW Gold Prices & CDKey/Timecard Prices (EU/US) %%
11/03/2010 - World of Warcraft Trading - 8 Replies
Sick of looking around at many WoW Gold sites to find who has the lowest price?... Worried about which seller sites are safe?... Want the fastest delivery time?... Looking for coupons for your favorite vendor?...
Compare Prices and find the lowest and safest price for WoW Gold, WoW Cdkeys, and WoW Game Time Cards @
http://www.mmoshift.com
http://www.mmoshift.com/images/logo.gif
Mouse over the red http://www.mmoshift.com/images/coupon.gif tags next to the prices, to see coupons that...
|
All times are GMT +2. The time now is 10:19.
|
|