Register for your free account! | Forgot your password?

You last visited: Today at 10:19

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

Advertisement



Itemtype Prices

Discussion on Itemtype Prices within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #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
zTek is offline  
Old 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.
djneo31 is offline  
Old 07/12/2011, 07:35   #3
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Quote:
Originally Posted by zTek View Post
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,
-Shunsui- is offline  
Thanks
1 User
Old 07/12/2011, 09:40   #4
 
S/W's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 159
Received Thanks: 39
Quote:
Originally Posted by zTek View Post
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
S/W is offline  
Thanks
1 User
Old 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
zTek is offline  
Old 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 View Post
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.
Santa is offline  
Reply


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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