Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 06:41

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

Advertisement



Statted Item Modification

Discussion on Statted Item Modification within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2018
Posts: 32
Received Thanks: 3
Statted Item Modification

Hey there.

I just decided to create a "unique drop system" such that items dropping are statted with different kind of stats. I increased and edited the number of available kind of stats up to 773 types.
The problem is that not all of those can be dropped. I edited the randomly chosen
DWORD dwRandom = xRandom(3000000000);
in the function GenRandomOptItem of Project.cpp to
DWORD dwRandom = xRandom(773);
The last stat i dropped has got ID 257.

Maybe you have an idea to help me out.

Greetz

This is the important part of LoadPiercingAvail:
else if( s.Token == _T( "RandomOptItem" ) )
{
RANDOMOPTITEM randomOptItem;
randomOptItem.nId = s.GetNumber();
s.GetToken();
lstrcpy( randomOptItem.pszString, s.Token );
randomOptItem.nLevel = s.GetNumber();
randomOptItem.dwProbability = s.GetNumber();
s.GetToken(); // {
int nDstParam = s.GetNumber();
while( *s.token != '}' )
{
int nAdjParam = s.GetNumber();
randomOptItem.ia.anDstParam[randomOptItem.ia.nSize] = nDstParam;
randomOptItem.ia.anAdjParam[randomOptItem.ia.nSize] = nAdjParam;
randomOptItem.ia.nSize++;
nDstParam = s.GetNumber();
}
CRandomOptItemGen::GetInstance()->AddRandomOption( &randomOptItem );
}
s.GetToken();

And here is the last entry of propItemEtc.inc:
RandomOptItem 773 IDS_PROPITEMETC_INC_000130 1 500000
{
DST_PVP_DMG_RATE 10
}

I really need help

Greetz

Push
TestUrSkillz is offline  
Old 03/01/2024, 07:48   #2
 
elite*gold: 0
Join Date: Feb 2018
Posts: 32
Received Thanks: 3
Is there anyone who knows how to increase the maximum available ID of randomoptitem?
TestUrSkillz is offline  
Reply


Similar Threads Similar Threads
Statted Drop
05/01/2016 - Flyff Private Server - 2 Replies
Weiß einer wo ich das Dex,Str,Int,Sta löschen kann oben im Namen wenn man ein Statted Sachen droppt? http://www.bilder-upload.eu/thumb/160d77-14620905 75.png
Droprate von Statted Parts
12/13/2015 - Flyff Private Server - 5 Replies
Kann mir zufällig jemand erklären, wie man die Dropchance / Rate von Setteilen einstellt mit Stats? bsp.: Sta+ Luzaka Axe danke schon mal
[Mosha] verkaufe rund 20 Items+9 statted
03/17/2012 - Metin2 Trading - 0 Replies
Hey ich verkaufe rund 20 Items+9 und statted auf Mosha Ich nehm nur euro oda paysafecard :D oder auch sachen in metin2.sg 61 ninja+9 61 schami+9 und +8 kristal und amnethyst halkette+9 extaseschuhe+9 nimbus+9 3 61 iger schilde+9
WTF FLYFF Lawolf 10X BP + Bloody / Statted + 8.6 Billion penya!
12/21/2009 - Flyff Trading - 2 Replies
Interested? EMAIL or gCHAT - [email protected] EMAIL or MSN - [email protected]



All times are GMT +1. The time now is 06:43.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.