|
You last visited: Today at 03:00
Advertisement
Make a super scroll of awakening
Discussion on Make a super scroll of awakening within the Flyff Private Server forum part of the Flyff category.
03/25/2019, 15:29
|
#16
|
elite*gold: 0
Join Date: Jul 2016
Posts: 230
Received Thanks: 7
|
Quote:
Originally Posted by Rhyder`
I have one and i sell it pm me if you want ��
Proof (Normal): 
Proof (All Pisitive): 
|
Thanks for offering but i'm not interested because i'm trying to find the solution to return two values at the same time.
Maybe you can just help me?
|
|
|
03/25/2019, 18:18
|
#17
|
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
|
Quote:
Originally Posted by elitemember21
Thanks for offering but i'm not interested because i'm trying to find the solution to return two values at the same time.
Maybe you can just help me?
|
the idea already given to those who comment to your thread! you must understand what they say and don't wait that they will code it for you because they won't.
|
|
|
03/25/2019, 18:50
|
#18
|
elite*gold: 0
Join Date: Apr 2018
Posts: 139
Received Thanks: 18
|
.
|
|
|
03/26/2019, 06:47
|
#19
|
elite*gold: 0
Join Date: Jul 2016
Posts: 230
Received Thanks: 7
|
Okay i have tried this code and it's working However it has a little confusing problem because if you use the scroll on HELMET, SUIT, GLOVES and BOOTS it will read the "Awakening" values in randomoption.inc that gives me NEGATIVE awakes and if i use it on Shield and Weapon it will read the "AwakeingSuper" in randomoption.inc with ALL THE POSITIVE awakes.
I wonder what the problem is.
Hope to hear back from you guys.
|
|
|
03/26/2019, 14:19
|
#20
|
elite*gold: 0
Join Date: Apr 2018
Posts: 139
Received Thanks: 18
|
Quote:
Originally Posted by elitemember21
Okay i have tried this code and it's working However it has a little confusing problem because if you use the scroll on HELMET, SUIT, GLOVES and BOOTS it will read the "Awakening" values in randomoption.inc that gives me NEGATIVE awakes and if i use it on Shield and Weapon it will read the "AwakeingSuper" in randomoption.inc with ALL THE POSITIVE awakes.
I wonder what the problem is.
Hope to hear back from you guys.
|
check if you miss something, and change it also in randomoption.inc.. not just str lol XD like awakening have str,sta,dex,int same as in awakeningsuper..
|
|
|
03/26/2019, 14:57
|
#21
|
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
|
at this function
Code:
CRandomOptionProperty::AwakeningExtension
check your Enumeration lol
|
|
|
03/26/2019, 15:18
|
#22
|
elite*gold: 0
Join Date: Jul 2016
Posts: 230
Received Thanks: 7
|
Quote:
Originally Posted by Rhyder`
at this function
Code:
CRandomOptionProperty::AwakeningExtension
check your Enumeration lol
|
I think you are right about it.
Which one should i edit there?
Quote:
Originally Posted by xToffer
check if you miss something, and change it also in randomoption.inc.. not just str lol XD like awakening have str,sta,dex,int same as in awakeningsuper..
|
Thanks for the reply.
I have triple checked everything and everything is in place as i mentioned the scroll is working fine if i use it on Weapon, shield and suit. All it's awakening values such as str, dex, int, sta , speed, critical chance etc are working but if i use it on gloves, helmet and boots it will give negative awakes.
According this Rhyder i should check the enumeration here
CRandomOptionProperty::AwakeningExtension
|
|
|
03/26/2019, 16:09
|
#23
|
elite*gold: 0
Join Date: Apr 2018
Posts: 139
Received Thanks: 18
|
Quote:
Originally Posted by elitemember21
I think you are right about it.
Which one should i edit there?
Thanks for the reply.
I have triple checked everything and everything is in place as i mentioned the scroll is working fine if i use it on Weapon, shield and suit. All it's awakening values such as str, dex, int, sta , speed, critical chance etc are working but if i use it on gloves, helmet and boots it will give negative awakes.
According this Rhyder i should check the enumeration here
CRandomOptionProperty::AwakeningExtension
|
you miss this:
Code:
for (DWORD i = 0; i < m_aRandomOption[eAwakeningSuper].size(); i++)
{
RANDOM_OPTION* pRandomOption = &m_aRandomOption[eAwakeningSuper][i];
int nProb = (i == 0 ?
m_aRandomOption[eAwakeningSuper][i].nProb :
m_aRandomOption[eAwakeningSuper][i].nProb - m_aRandomOption[eAwakeningSuper][i - 1].nProb);
for (int j = 0; j < eAwakeningExtension; j++)
{
int iRandomOptionKindIndex = GetRandomOptionKindIndex(eAwakeningSuper, PARTS_HAND + j);
for (int k = 0; k < 6; k++)
if (pRandomOption->nDst == anDst[j][k])
{
RANDOM_OPTION ro(pRandomOption);
ro.nProb = anTotal[j] + nProb;
anTotal[j] = ro.nProb;
m_aRandomOption[iRandomOptionKindIndex].push_back(ro);
}
}
}
|
|
|
03/26/2019, 16:15
|
#24
|
elite*gold: 0
Join Date: Jul 2016
Posts: 230
Received Thanks: 7
|
Quote:
Originally Posted by xToffer
you miss this:
Code:
for (DWORD i = 0; i < m_aRandomOption[eAwakeningSuper].size(); i++)
{
RANDOM_OPTION* pRandomOption = &m_aRandomOption[eAwakeningSuper][i];
int nProb = (i == 0 ?
m_aRandomOption[eAwakeningSuper][i].nProb :
m_aRandomOption[eAwakeningSuper][i].nProb - m_aRandomOption[eAwakeningSuper][i - 1].nProb);
for (int j = 0; j < eAwakeningExtension; j++)
{
int iRandomOptionKindIndex = GetRandomOptionKindIndex(eAwakeningSuper, PARTS_HAND + j);
for (int k = 0; k < 6; k++)
if (pRandomOption->nDst == anDst[j][k])
{
RANDOM_OPTION ro(pRandomOption);
ro.nProb = anTotal[j] + nProb;
anTotal[j] = ro.nProb;
m_aRandomOption[iRandomOptionKindIndex].push_back(ro);
}
}
}
|
Thanks for the reply. I actually have that already.
I wonder what the issue is.
It seems to work on other parts like the suit , weapon and shield but on other parts it gives negative stats.
|
|
|
03/26/2019, 17:03
|
#25
|
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
|
Quote:
Originally Posted by elitemember21
Thanks for the reply. I actually have that already.
I wonder what the issue is.
It seems to work on other parts like the suit , weapon and shield but on other parts it gives negative stats.
|
because you have two directory of enumeration  that's why it does that :P clue make the enumeration could do one place by place :P
Code:
if(Sample == TRUE)
//.. one enum
else
//..other enum
|
|
|
03/26/2019, 18:22
|
#26
|
elite*gold: 0
Join Date: Jul 2016
Posts: 230
Received Thanks: 7
|
Quote:
Originally Posted by Rhyder`
because you have two directory of enumeration  that's why it does that :P clue make the enumeration could do one place by place :P
Code:
if(Sample == TRUE)
//.. one enum
else
//..other enum
|
Can't you just share it. I'm not sure if you're actually helping me or you're trolling.
Anyways i'll just wait. Thanks anyway
|
|
|
03/26/2019, 18:24
|
#27
|
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
|
Quote:
Originally Posted by elitemember21
Can't you just share it. I'm not sure if you're actually helping me or you're trolling.
Anyways i'll just wait. Thanks anyway
|
I just want you to learn
|
|
|
03/26/2019, 18:36
|
#28
|
elite*gold: 0
Join Date: Jul 2016
Posts: 230
Received Thanks: 7
|
Quote:
Originally Posted by Rhyder`
I just want you to learn 
|
Sorry man but i'm not good as you, i'm a bit new.
I'll just wait other for other users to actually help me with my problem.
|
|
|
03/26/2019, 18:39
|
#29
|
elite*gold: 115
Join Date: Jan 2012
Posts: 1,156
Received Thanks: 894
|
Quote:
Originally Posted by elitemember21
Sorry man but i'm not good as you, i'm a bit new.
I'll just wait other for other users to actually help me with my problem.
|
How could you be good as we, if you dont learn by yourself
|
|
|
03/26/2019, 18:45
|
#30
|
elite*gold: 0
Join Date: Jul 2016
Posts: 230
Received Thanks: 7
|
It seems to work on other parts like the suit , weapon and shield but on other parts it gives negative stats.
Anyone? I can't seem to find the issue.
|
|
|
 |
|
Similar Threads
|
How to make a scroll can't be use outzone like guild member summon scroll ?
01/18/2019 - SRO Private Server - 11 Replies
How to make a scroll can't be use outzone like guild member summon scroll ?
or maybe like the job suits,
i want that scroll can be use at only towns, can't be use out the towns
thanks in advance!
|
how i can make other scroll of awakening?
10/21/2017 - Flyff Private Server - 12 Replies
hellow elitepvpers
It's been about 1 month that I'm looking for how to create a new scroll to do awak, I need to create a new scroll for donator, can someone help me please?
|
Mit Scroll of Awakening drüber awaken.
09/06/2012 - Flyff Private Server - 16 Replies
Ich habe nachgeguckt wie das gehen könnte aber ich finde keine weg das zu machen.
Ich möchte das man die Scroll of Awakening ohne zu canceln nochmal erwecken kann.
1.Scroll of Awakening anklicken.
2.Helmet erwecken.
3.Scroll of Awakening again wenn die erweckung nicht gut war.
Hilfe wäre schön mfg Selfmade <3
|
Scroll of Fix awakening
02/20/2012 - Flyff Private Server - 0 Replies
Hellow someone knows source code for a scroll which gives an awake when use and can be use 3times in 1item?
|
[Source TuT] /gro mit kosten 'ala' Scroll of Awakening
01/07/2012 - Flyff Private Server - 12 Replies
Damit der /gro Befehl genau wie die Scroll of Awakening einen Betrag für die Erweckung verlangt muss lediglich die Funktion
BOOL TextCmd_GenRandomOption( CScanner & s )
in der FuncTextCmd
wie folgt umgeschrieben/ausgetauscht werden werden:
|
All times are GMT +1. The time now is 03:02.
|
|