Register for your free account! | Forgot your password?

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

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

Advertisement



Question Regarding the old "Dice Game" in FlyFF

Discussion on Question Regarding the old "Dice Game" in FlyFF within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2021
Posts: 2
Received Thanks: 0
Question Regarding the old "Dice Game" in FlyFF

Recently I've been messing around with CE on several P-Servers,

And in doing this i have also been going through NPC namestrings and

changing them to different ones to see if i could find any useful exchange

menus and whatnot, then i stumbled upon this old "Dice game" where you have
6 slots to put penya in and in return five-double your wager if you win,

So now im wondering if there ever were any known exploits to this and if

anyone here has any knowledge about them. TIA
jägermeister1 is offline  
Old 04/11/2021, 23:25   #2
 
netHoxInc's Avatar
 
elite*gold: 117
Join Date: Jan 2008
Posts: 790
Received Thanks: 992
Quote:
Originally Posted by jägermeister1 View Post
Recently I've been messing around with CE on several P-Servers,

And in doing this i have also been going through NPC namestrings and

changing them to different ones to see if i could find any useful exchange

menus and whatnot, then i stumbled upon this old "Dice game" where you have
6 slots to put penya in and in return five-double your wager if you win,

So now im wondering if there ever were any known exploits to this and if

anyone here has any knowledge about them. TIA
Could be used to crash the server, i think it was nBetNum -1 or smth
netHoxInc is offline  
Old 04/13/2021, 23:42   #3
 
cookie69's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 627
Received Thanks: 688
Quote:
Originally Posted by netHoxInc View Post
Could be used to crash the server, i think it was nBetNum -1 or smth
in the offi v21 leaked version they still did not fix it but anyway I am not sure that would crash the server at 100% but it may lead to a weird behavior of the server.

Problem is in the code below: they use nBetNum before to check the bounds (they do check them in the line after but it must be done at the beginning of the function)

Code:
int CMiniGame::Bet_FiveSystem( FLWSUser* pUser, int nBetNum, int nBetPenya )
{
	// ÀÔÂû ¹øÈ£¿¡ ÀÌÀü °ªÀÌ 0À̰í ÇöÀç ÀÔÂû±ÝÀÌ 0À϶§ ¾Æ¹«Àϵµ ¾ÈÇÔ(·Î±× X)
	if( pUser->m_nBetFiveSystem[nBetNum] == 0 && nBetPenya == 0 )
		return TRUE;
	// À߸øµÈ ÀÔÂû ¹øÈ£°¡ µé¾î ¿ÔÀ» ¶§
	if( nBetNum < 0 || 5 < nBetNum )
		return FIVESYSTEM_FAILED;
	// ÀÔÂû±ÝÀº 0º¸´Ù ÀÛÀ» ¼ö ¾ø´Ù.
	if(nBetPenya < 0)
		return FIVESYSTEM_FAILED;
........
cookie69 is offline  
Old 04/14/2021, 06:10   #4
 
netHoxInc's Avatar
 
elite*gold: 117
Join Date: Jan 2008
Posts: 790
Received Thanks: 992
Quote:
Originally Posted by cookie69 View Post
in the offi v21 leaked version they still did not fix it but anyway I am not sure that would crash the server at 100% but it may lead to a weird behavior of the server.

Problem is in the code below: they use nBetNum before to check the bounds (they do check them in the line after but it must be done at the beginning of the function)

Code:
int CMiniGame::Bet_FiveSystem( FLWSUser* pUser, int nBetNum, int nBetPenya )
{
	// ÀÔÂû ¹øÈ£¿¡ ÀÌÀü °ªÀÌ 0À̰í ÇöÀç ÀÔÂû±ÝÀÌ 0À϶§ ¾Æ¹«Àϵµ ¾ÈÇÔ(·Î±× X)
	if( pUser->m_nBetFiveSystem[nBetNum] == 0 && nBetPenya == 0 )
		return TRUE;
	// À߸øµÈ ÀÔÂû ¹øÈ£°¡ µé¾î ¿ÔÀ» ¶§
	if( nBetNum < 0 || 5 < nBetNum )
		return FIVESYSTEM_FAILED;
	// ÀÔÂû±ÝÀº 0º¸´Ù ÀÛÀ» ¼ö ¾ø´Ù.
	if(nBetPenya < 0)
		return FIVESYSTEM_FAILED;
........
I dont think it can be used for official anymore but it should crash i think, out of bounds exception or even access violation not sure which one would kick in
netHoxInc is offline  
Old 04/15/2021, 13:15   #5
 
elite*gold: 0
Join Date: Jul 2020
Posts: 81
Received Thanks: 10
as far as I know this system didnt have any major or known bugs.

Only the RPS NPC / System was exploitable
TheAllfather is offline  
Old 04/16/2021, 16:43   #6
 
netHoxInc's Avatar
 
elite*gold: 117
Join Date: Jan 2008
Posts: 790
Received Thanks: 992
Quote:
Originally Posted by TheAllfather View Post
as far as I know this system didnt have any major or known bugs.

Only the RPS NPC / System was exploitable
It definetly crashed on v15 systems. Untested on v21 tho.
netHoxInc is offline  
Reply


Similar Threads Similar Threads
[Selling] 【IOS & Android】Random Dice / Royal Dice - Dice,Diamond,Gold
05/09/2020 - Mobile Games Trading - 0 Replies
【IOS&Android】Random Dice / Royal Dice 【IOS & Android system】 Choose your plan⬇️ 《Plan S》19.99 USD All dice+Card max+All legend highest level+200K Diamonds+1M Gold 《Plan A》15.99 USD All dice+Card max+400K Diamonds+4M Gold
WEAPONSCRIPT!!!!!!!!!!!!!!!!!!!!!!!!!HOT"""""""""" """""""""""""""""""""
08/06/2011 - WarRock Hacks, Bots, Cheats & Exploits - 7 Replies
detetected



All times are GMT +1. The time now is 23:07.


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.