|
You last visited: Today at 14:40
Advertisement
RarityItem.inc
Discussion on RarityItem.inc within the Flyff Private Server forum part of the Flyff category.
06/10/2018, 00:36
|
#1
|
elite*gold: 0
Join Date: May 2018
Posts: 50
Received Thanks: 3
|
RarityItem.inc
how to i write this in rarityitem.inc?
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 tryed with that but is not working , world server crash
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
}
Any help ? , thanks.
|
|
|
06/10/2018, 10:21
|
#2
|
elite*gold: 0
Join Date: May 2018
Posts: 18
Received Thanks: 7
|
You have to put this 4 times
Code:
for (int i = 0; i < 4; i++)
|
|
|
06/10/2018, 21:52
|
#3
|
elite*gold: 0
Join Date: May 2018
Posts: 50
Received Thanks: 3
|
hmm
help
|
|
|
06/11/2018, 19:12
|
#4
|
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
|
The first loop forces to make it x4 times. The loading is very lame, even for use flyff style.
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
}
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
}
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
}
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
}
|
|
|
06/11/2018, 19:25
|
#5
|
elite*gold: 60
Join Date: Sep 2017
Posts: 424
Received Thanks: 138
|
Quote:
Originally Posted by alfredico
The first loop forces to make it x4 times. The loading is very lame, even for use flyff style.
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
}
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
}
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
}
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
}
|
Are you sure to use x4 Times ''SNOX1 9'' , why x4 the same code ? o:
Isn't it like this:
---------------------
SNOX1 = Rare
SNOX2 = Goodly
SNOX3 = Epic
SNOX4 = Legendary
---------------------
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 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
}
SNOX3 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
}
SNOX4 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
}
PS: I dont know the FULL Source code.
|
|
|
06/11/2018, 19:34
|
#6
|
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
|
Quote:
Originally Posted by Dr. Peacock
Are you sure to use x4 Times ''SNOX1 9'' , why x4 the same code ? o:
Isn't it like this:
---------------------
SNOX1 = Rare
SNOX2 = Goodly
SNOX3 = Epic
SNOX4 = Legendary
---------------------
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 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
}
SNOX3 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
}
SNOX4 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
}
PS: I dont know the FULL Source code.
|
Doesn't matter the text.
for (int i = 0; i < 4; i++)
{
s.GetToken();
int nMax = s.GetNumber();
Is just reading the string whatsoever you put.
|
|
|
06/11/2018, 20:36
|
#7
|
elite*gold: 0
Join Date: May 2018
Posts: 50
Received Thanks: 3
|
still crash..
2018/ 6/11 15:36:22 LoadPropMover : bIfParts엔 -1을 넣으면 안된다. 10
컬럼이 밀렸거나 워킹폴더를 잘못지정했을수도있음
2018/ 6/11 15:36:22 Last read:10, ID:10 is duplicated. 컬럼이 밀려도 이런에러가 난다. FILE  ropMover.txt
2018/ 6/11 15:36:51 LoadPropMover : bIfParts엔 -1을 넣으면 안된다. 10
컬럼이 밀렸거나 워킹폴더를 잘못지정했을수도있음
2018/ 6/11 15:36:51 Last read:10, ID:10 is duplicated. 컬럼이 밀려도 이런에러가 난다. FILE  ropMover.txt
2018/ 6/11 15:36:51 OpenProject ERROR check Masquerade.prj
2018/ 6/11 15:36:58 LoadPropMover : bIfParts엔 -1을 넣으면 안된다. 10
컬럼이 밀렸거나 워킹폴더를 잘못지정했을수도있음
2018/ 6/11 15:36:58 Last read:10, ID:10 is duplicated. 컬럼이 밀려도 이런에러가 난다. FILE  ropMover.txt
2018/ 6/11 15:36:58 OpenProject ERROR check Masquerade.prj
I dont know why this error , because when i dont have the system i dont get this error ..
|
|
|
06/11/2018, 22:27
|
#8
|
elite*gold: 0
Join Date: Mar 2009
Posts: 481
Received Thanks: 218
|
Quote:
Originally Posted by Tiparaco
still crash..
2018/ 6/11 15:36:22 LoadPropMover : bIfParts엔 -1을 넣으면 안된다. 10
컬럼이 밀렸거나 워킹폴더를 잘못지정했을수도있음
2018/ 6/11 15:36:22 Last read:10, ID:10 is duplicated. 컬럼이 밀려도 이런에러가 난다. FILE  ropMover.txt
2018/ 6/11 15:36:51 LoadPropMover : bIfParts엔 -1을 넣으면 안된다. 10
컬럼이 밀렸거나 워킹폴더를 잘못지정했을수도있음
2018/ 6/11 15:36:51 Last read:10, ID:10 is duplicated. 컬럼이 밀려도 이런에러가 난다. FILE  ropMover.txt
2018/ 6/11 15:36:51 OpenProject ERROR check Masquerade.prj
2018/ 6/11 15:36:58 LoadPropMover : bIfParts엔 -1을 넣으면 안된다. 10
컬럼이 밀렸거나 워킹폴더를 잘못지정했을수도있음
2018/ 6/11 15:36:58 Last read:10, ID:10 is duplicated. 컬럼이 밀려도 이런에러가 난다. FILE  ropMover.txt
2018/ 6/11 15:36:58 OpenProject ERROR check Masquerade.prj
I dont know why this error , because when i dont have the system i dont get this error ..
|
Then don't use this system if you cant handle this errors.
Back to the topic.
You got problems with yer propmover i guess.
|
|
|
06/12/2018, 23:13
|
#9
|
elite*gold: 0
Join Date: May 2018
Posts: 50
Received Thanks: 3
|
still not working.
|
|
|
06/13/2018, 19:07
|
#10
|
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
|
Check propmover.txt and Masquerade.prj
|
|
|
06/13/2018, 20:44
|
#11
|
elite*gold: 0
Join Date: May 2018
Posts: 50
Received Thanks: 3
|
Quote:
Originally Posted by alfredico
Check propmover.txt and Masquerade.prj
|
Wait but i dont made changes on propmover.txt and masquerade.prj .. if i remove the system of rarity works , i only modify the source , im using the v15 clean resource , ..
|
|
|
06/13/2018, 20:55
|
#12
|
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 230
|
Quote:
Originally Posted by Tiparaco
Wait but i dont made changes on propmover.txt and masquerade.prj .. if i remove the system of rarity works , i only modify the source , im using the v15 clean resource , ..
|
Nothing more to say. If you are having problems with the system, don't use it or pay someone to fix it.
The error might come from system but I doubt is related to the loading, hard to tell without seeing the whole system.
|
|
|
06/14/2018, 03:56
|
#13
|
elite*gold: 60
Join Date: Sep 2017
Posts: 424
Received Thanks: 138
|
Quote:
Originally Posted by alfredico
Nothing more to say. If you are having problems with the system, don't use it or pay someone to fix it.
The error might come from system but I doubt is related to the loading, hard to tell without seeing the whole system.
|
SkyFire Source...
|
|
|
 |
Similar Threads
|
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++)
{
|
ㄨ [B] Fiesta Online Acc [inc. 85er Krieger] + Acc [inc. 35200 Taler]ㄨ
11/24/2014 - Trading - 11 Replies
Hallo Leute. :)
Ich verkaufe meinen Fiesta Online Account! Mit 5 Charaktern! -• Auf APOLINE !! •-
Imba Krieger Level 85, Magier Level 41, Kleri Level 33, Jäger Level 26 und aus Fun erstellt einen Level 17er Joker!
Krieger:
Level 85.
|
[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
|
[Selling] BNET Acc 5x90 WoW (Inc WoD), SC2 (Inc HOTS), Diablo 3 (Inc ROS)
05/01/2014 - Diablo 3 Trading - 15 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 14:43.
|
|