Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[HELP]Legend Game Reward

Junior Spellweaver
Joined
Dec 2, 2012
Messages
146
Reaction score
24
asd4129 - [HELP]Legend Game Reward - RaGEZONE Forums
how to make?
 
Joined
Apr 23, 2013
Messages
1,172
Reaction score
1,786
Very cool of you to try and do before you ask for help.Do a followingFor Premium is X2 double XP, in this line make up to Legend, good luck


Code:
// get sell price		int itemPrice = 0;		{			const GearConfig* gc = g_pWeaponArmory->getGearConfig(itm.itemID);			const WeaponConfig* wc = g_pWeaponArmory->getWeaponConfig(itm.itemID);			const BackpackConfig* bpc = g_pWeaponArmory->getBackpackConfig(itm.itemID);			//const WeaponAttachmentConfig* wac = g_pWeaponArmory->getAttachmentConfig(slot.Items[a].itemID);			if (gc || wc || bpc/* || wac*/)			{				[B][COLOR=#ff0000]profile_.ProfileData.PremiumAcc > 0 ? itemPrice = (int(ItemPriceGD(itm) *itm.quantity *0.2)) : itemPrice = (int(ItemPriceGD(itm) *itm.quantity *0.1));[/COLOR][/B]			}		}
 
Upvote 0
Joined
Apr 23, 2013
Messages
1,172
Reaction score
1,786
Thx for reply how to add new count?
Thx for hint

asd4129 - [HELP]Legend Game Reward - RaGEZONE Forums
I make two code but it did not

Nice, but no usage "IsLegend" you will need make a bool for it.
Use .AccountType == 0
0 = Legend
1 = Pionner
2 = Survivor
3 = Guest (48hours)
20 ~ 29 = Trial
50 = Russian

This is usage only in UsersData table
 
Upvote 0
Junior Spellweaver
Joined
Dec 2, 2012
Messages
146
Reaction score
24
Nice, but no usage "IsLegend" you will need make a bool for it.
Use .AccountType == 0
0 = Legend
1 = Pionner
2 = Survivor
3 = Guest (48hours)
20 ~ 29 = Trial
50 = Russian

This is usage only in UsersData table

isLegend only test I did everything in the picture

I logged in game but not working

What else do I have to do?
 
Upvote 0
Back
Top