Register for your free account! | Forgot your password?

You last visited: Today at 16:57

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

Advertisement



RarityItem.inc

Discussion on RarityItem.inc within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2018
Posts: 12
Received Thanks: 0
RarityItem.inc

How can i write this ?

im getting this error and world server crash LoadPropMover : bIfParts

Code:
BOOL CProject::LoadRarityProp()
{
	CScript s;
	if (!s.Load("RarityItem.inc"))
		return FALSE;

	for (int i = 0; i < 4; i++)
	{
		s.GetToken();
		int nMax = s.GetNumber();
		s.GetToken();	// {
		for (int y = 0; y < nMax; y++)
		{
			int nDestParam = s.GetNumber();
			int nRarity = s.GetNumber();
			//Error("[%d]: nDestParam: %d, nRarity: %d", i, nDestParam, nRarity);
			switch (i)
			{
			case 0:
				m_map_Rarity1.insert(MAP_RARITY1::value_type(nDestParam, nRarity)); break;
			case 1:
				m_map_Rarity2.insert(MAP_RARITY2::value_type(nDestParam, nRarity)); break;
			case 2:
				m_map_Rarity3.insert(MAP_RARITY3::value_type(nDestParam, nRarity)); break;
			case 3:
				m_map_Rarity4.insert(MAP_RARITY4::value_type(nDestParam, nRarity)); break;
			}
		}
		s.GetToken();
	}
	return TRUE;
}
i tried this but not working

Code:
SNOX1 9
{
	DST_STAT_ALLUP 	16
	DST_STR 	16
	DST_STA 	16
	DST_DEX	16
	DST_INT 	16
	DST_CHR_CHANCECRITICAL 	50
	DST_CRITICAL_BONUS 	50
	DST_SPELL_RATE 	5
	DST_SPEED 	5

}

SNOX2 15
{
	DST_STAT_ALLUP 	30
	DST_STR 	30
	DST_STA 	30
	DST_DEX	30
	DST_INT 	30
	DST_CHR_CHANCECRITICAL 	75
	DST_CRITICAL_BONUS 	75
	DST_SPELL_RATE 	10
	DST_SPEED 	10
	DST_ATKPOWER_RATE 	5
	DST_HP_MAX_RATE 	5
	DST_FP_MAX_RATE 	5
	DST_MP_MAX_RATE	5
	DST_MONSTER_DMG	1
	DST_PVP_DMG	1

}

SNOX3 15
{
	DST_STAT_ALLUP 	50
	DST_STR 	50
	DST_STA 	50
	DST_DEX	50
	DST_INT 	50
	DST_CHR_CHANCECRITICAL 	100
	DST_CRITICAL_BONUS 	100
	DST_SPELL_RATE 	15
	DST_SPEED 	15
	DST_ATKPOWER_RATE 	15
	DST_HP_MAX_RATE 	15
	DST_FP_MAX_RATE 	15
	DST_MP_MAX_RATE	15
	DST_MONSTER_DMG	2
	DST_PVP_DMG	2

}

SNOX4 15
{
	DST_STAT_ALLUP 	100
	DST_STR 	100
	DST_STA 	100
	DST_DEX	100
	DST_INT 	100
	DST_CHR_CHANCECRITICAL 	150
	DST_CRITICAL_BONUS 	150
	DST_SPELL_RATE 	20
	DST_SPEED 	20
	DST_ATKPOWER_RATE 	25
	DST_HP_MAX_RATE 	25
	DST_FP_MAX_RATE 	25
	DST_MP_MAX_RATE	25
	DST_MONSTER_DMG	5
	DST_PVP_DMG	5

}
thanks

bump
Dattix is offline  
Old 09/08/2018, 01:24   #2
 
elite*gold: 0
Join Date: Aug 2018
Posts: 12
Received Thanks: 0
bump

bump
Dattix is offline  
Reply


Similar Threads Similar Threads
RarityItem.inc
06/14/2018 - Flyff Private Server - 12 Replies
how to i write this in rarityitem.inc? BOOL CProject::LoadRarityProp() { CScript s; if (!s.Load("RarityItem.inc")) return FALSE;
RarityItem.inc
04/10/2018 - Flyff Private Server - 3 Replies
how to i write this in rarityitem.inc? BOOL CProject::LoadRarityProp() { CScript s; if (!s.Load("RarityItem.inc")) return FALSE; for (int i = 0; i < 4; i++) {
[Selling] BNET Acc 5x90 WoW (Inc WoD), SC2 (Inc HOTS), Diablo 3 (Inc ROS)
05/01/2014 - World of Warcraft Trading - 11 Replies
WoW (Include WoD, 90 boost used) 90 shaman (full gear, both enc and ele) 90 mage (full gear) 90 k (496 ilvl pvp gear) 90 rogue (s14 pvp gear) 90 hunter (bad gear) about 3k gold, no ach, a few mounts, no pve set



All times are GMT +1. The time now is 17:04.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.