Accessories upgrade chance

11/05/2016 14:12 khemomo#1
I've tried to edit the success rate of accessories in the itemupgrade.lua


but when I try to upgrade my accessories the success rate is so low
I've done using 100+ of moonstone and scrolls but the plus of the ring is still
+1

Please help me where can i Edit the upgrade chance rate for accessories thanks in advance! :handsdown:
11/05/2016 23:12 raventh1984#2
Accessory is not inside ItemGrade.lua its located inside S.txt

Code:
Accessory_Probability	// 1 / 10000 기준	
{		
	10000	// 0 - 1
	10000	// 1 - 2
	6300	// 2 - 3
	4500	// 3 - 4
	3300	// 4  - 5
	2600	// 5 - 6
	2100	// 6 - 7
	1700	// 7 - 8
	1400	// 8 - 9
	1100	// 9 - 10
	900	// 10 - 11
	800	// 11 - 12
	600	// 12 - 13	
	500	// 13 - 14	
	400	// 14 - 15	
	300	// 15 - 16	
	200	// 16 - 17	
	100	// 17 - 18	
	70	// 18 - 19	
	10	// 19 - 20	
}
11/06/2016 01:17 khemomo#3
Quote:
Originally Posted by raventh1984 View Post
Accessory is not inside ItemGrade.lua its located inside S.txt

Code:
Accessory_Probability	// 1 / 10000 기준	
{		
	10000	// 0 - 1
	10000	// 1 - 2
	6300	// 2 - 3
	4500	// 3 - 4
	3300	// 4  - 5
	2600	// 5 - 6
	2100	// 6 - 7
	1700	// 7 - 8
	1400	// 8 - 9
	1100	// 9 - 10
	900	// 10 - 11
	800	// 11 - 12
	600	// 12 - 13	
	500	// 13 - 14	
	400	// 14 - 15	
	300	// 15 - 16	
	200	// 16 - 17	
	100	// 17 - 18	
	70	// 18 - 19	
	10	// 19 - 20	
}
thanks! but I've tried to change the success rate to 10000 which is equal to 100% but the success rate is still not 100% it takes money moonstone to upgrade my acce to +2 :/ I'am sure that i copied the data's (Using Merge) in my client. is there any problem you think?
11/06/2016 07:46 raventh1984#4
void CUser::RefineAccessory( CItemElem* pTarget, CItemElem* pMaterial )

Check your dwRandom.
11/06/2016 22:27 khemomo#5
Quote:
Originally Posted by raventh1984 View Post
void CUser::RefineAccessory( CItemElem* pTarget, CItemElem* pMaterial )

Check your dwRandom.
I got the same probablity with the other source

I've Tried to change this

To this



But nothings happen :/

I'am now losing my hope please help me :confused:

in my User.cpp