Register for your free account! | Forgot your password?

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

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

Advertisement



How i can put /awak comand for normal players?

Discussion on How i can put /awak comand for normal players? within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2011
Posts: 86
Received Thanks: 2
How i can put /awak comand for normal players?

Good Morning !

how i can put /awak comand for normal players?
igorgv is offline  
Old 09/06/2017, 02:07   #2
 
Grening's Avatar
 
elite*gold: 0
Join Date: Dec 2013
Posts: 228
Received Thanks: 99
FuncTextCmd.cpp

replace the function
PHP Code:
BOOL TextCmd_GenRandomOptionCScanner 
with
PHP Code:
BOOL TextCmd_GenRandomOptionCScanner )
{
#ifdef __WORLDSERVER 
    
CUserpUser = (CUser*)s.dwValue;
    
CItemElempItemElem    pUser->m_Inventory.GetAt);

#ifdef __AWA_WITH_PENYACOST
    
if( pItemElem )
    {
        
int nCost 500000;  
        
int nRandomOptionKind    g_xRandomOptionProperty->GetRandomOptionKindpItemElem );

        if( 
nCost )
        {
            if( 
nRandomOptionKind >= )
            {
                if( 
pUser->GetGold() > nCost )    
                {    
                    if(
pUser->HasActivatedSystemPet() && pItemElem->GetProp()->dwItemKind3 == IK3_EGG || pUser->HasActivatedEatPet() && pItemElem->GetProp()->dwItemKind3 == IK3_PET 
                    {
                        
char chMessage[100];
                        
sprintfchMessage"Unsummon your pet/cs pet or you wont be able to awake it !" );
                        
pUser->AddTextchMessage );
                    }
                    else
                    {
                        
pUser->AddGold( -( nCost ) );
                        
g_xRandomOptionProperty->InitializeRandomOptionpItemElem->GetRandomOptItemIdPtr() );
                        
g_xRandomOptionProperty->GenRandomOptionpItemElem->GetRandomOptItemIdPtr(), nRandomOptionKindpItemElem->GetProp()->dwParts );
                        
pUser->UpdateItemEx( (BYTE)( pItemElem->m_dwObjId ), UI_RANDOMOPTITEMIDpItemElem->GetRandomOptItemId() );
                    }
                }
                else    
                {
                    
pUser->AddText"You dont have enough money!" );
                }
            }
        }
    }
    else
    {
        
pUser->AddText" To awake an item it has to be in the first slot of your inventory !" );
    }
#else
    
if( pItemElem )
    {
        
int nRandomOptionKind    g_xRandomOptionProperty->GetRandomOptionKindpItemElem );
        if( 
nRandomOptionKind >= )    // ¾ÆÀÌÅÛ °¢¼º, ¿©½ÅÀÇ ÃູÀÌ °¡´ÉÇÑ ´ë»ó
        
{
            if(
pUser->HasActivatedSystemPet() && pItemElem->GetProp()->dwItemKind3 == IK3_EGG || pUser->HasActivatedEatPet() && pItemElem->GetProp()->dwItemKind3 == IK3_PET 
            {
                
char chMessage[100];
                
sprintfchMessage"Unsummon your pet/cs pet or you wont be able to awake it !" );
                
pUser->AddTextchMessage );
            }
            else
            {
                
g_xRandomOptionProperty->InitializeRandomOptionpItemElem->GetRandomOptItemIdPtr() );
                
g_xRandomOptionProperty->GenRandomOptionpItemElem->GetRandomOptItemIdPtr(), nRandomOptionKindpItemElem->GetProp()->dwParts );
                
pUser->UpdateItemEx( (BYTE)( pItemElem->m_dwObjId ), UI_RANDOMOPTITEMIDpItemElem->GetRandomOptItemId() );
            }
        }
    }
#endif //__AWA_WITH_PENYACOST

#endif    // __WORLDSERVER
    
return TRUE;

under
PHP Code:
ON_TEXTCMDFUNCTextCmd_gml,            "gmlist",        "gm",            "",            "",        TCM_SERVERAUTH_GENERAL  "" 
this
PHP Code:
ON_TEXTCMDFUNCTextCmd_GenRandomOption,        "Awakening",    "awa",    "°¢¼ºÃູ""°¢Ãà",    TCM_BOTH,    AUTH_GENERAL"" 
Versioncommon.h from Neuz an Worldserver
PHP Code:
#define    __AWA_WITH_PENYACOST 
Grening is offline  
Thanks
3 Users
Old 10/19/2017, 13:27   #3
 
elite*gold: 0
Join Date: Aug 2011
Posts: 86
Received Thanks: 2
thx sir
igorgv is offline  
Old 10/09/2020, 00:21   #4
 
elite*gold: 0
Join Date: Aug 2008
Posts: 49
Received Thanks: 0
Quote:
Originally Posted by Grening View Post
FuncTextCmd.cpp

replace the function
PHP Code:
BOOL TextCmd_GenRandomOptionCScanner 
with
PHP Code:
BOOL TextCmd_GenRandomOptionCScanner )
{
#ifdef __WORLDSERVER 
    
CUserpUser = (CUser*)s.dwValue;
    
CItemElempItemElem    pUser->m_Inventory.GetAt);

#ifdef __AWA_WITH_PENYACOST
    
if( pItemElem )
    {
        
int nCost 500000;  
        
int nRandomOptionKind    g_xRandomOptionProperty->GetRandomOptionKindpItemElem );

        if( 
nCost )
        {
            if( 
nRandomOptionKind >= )
            {
                if( 
pUser->GetGold() > nCost )    
                {    
                    if(
pUser->HasActivatedSystemPet() && pItemElem->GetProp()->dwItemKind3 == IK3_EGG || pUser->HasActivatedEatPet() && pItemElem->GetProp()->dwItemKind3 == IK3_PET 
                    {
                        
char chMessage[100];
                        
sprintfchMessage"Unsummon your pet/cs pet or you wont be able to awake it !" );
                        
pUser->AddTextchMessage );
                    }
                    else
                    {
                        
pUser->AddGold( -( nCost ) );
                        
g_xRandomOptionProperty->InitializeRandomOptionpItemElem->GetRandomOptItemIdPtr() );
                        
g_xRandomOptionProperty->GenRandomOptionpItemElem->GetRandomOptItemIdPtr(), nRandomOptionKindpItemElem->GetProp()->dwParts );
                        
pUser->UpdateItemEx( (BYTE)( pItemElem->m_dwObjId ), UI_RANDOMOPTITEMIDpItemElem->GetRandomOptItemId() );
                    }
                }
                else    
                {
                    
pUser->AddText"You dont have enough money!" );
                }
            }
        }
    }
    else
    {
        
pUser->AddText" To awake an item it has to be in the first slot of your inventory !" );
    }
#else
    
if( pItemElem )
    {
        
int nRandomOptionKind    g_xRandomOptionProperty->GetRandomOptionKindpItemElem );
        if( 
nRandomOptionKind >= )    // ¾ÆÀÌÅÛ °¢¼º, ¿©½ÅÀÇ ÃູÀÌ °¡´ÉÇÑ ´ë»ó
        
{
            if(
pUser->HasActivatedSystemPet() && pItemElem->GetProp()->dwItemKind3 == IK3_EGG || pUser->HasActivatedEatPet() && pItemElem->GetProp()->dwItemKind3 == IK3_PET 
            {
                
char chMessage[100];
                
sprintfchMessage"Unsummon your pet/cs pet or you wont be able to awake it !" );
                
pUser->AddTextchMessage );
            }
            else
            {
                
g_xRandomOptionProperty->InitializeRandomOptionpItemElem->GetRandomOptItemIdPtr() );
                
g_xRandomOptionProperty->GenRandomOptionpItemElem->GetRandomOptItemIdPtr(), nRandomOptionKindpItemElem->GetProp()->dwParts );
                
pUser->UpdateItemEx( (BYTE)( pItemElem->m_dwObjId ), UI_RANDOMOPTITEMIDpItemElem->GetRandomOptItemId() );
            }
        }
    }
#endif //__AWA_WITH_PENYACOST

#endif    // __WORLDSERVER
    
return TRUE;

under
PHP Code:
ON_TEXTCMDFUNCTextCmd_gml,            "gmlist",        "gm",            "",            "",        TCM_SERVERAUTH_GENERAL  "" 
this
PHP Code:
ON_TEXTCMDFUNCTextCmd_GenRandomOption,        "Awakening",    "awa",    "°¢¼ºÃູ""°¢Ãà",    TCM_BOTH,    AUTH_GENERAL"" 
Versioncommon.h from Neuz an Worldserver
PHP Code:
#define    __AWA_WITH_PENYACOST 
How to /Awakenig use scrolls?
McSpeed is offline  
Reply


Similar Threads Similar Threads
[Selling] Lvl 57 Sorc 194/174/210 AP/Awak/DP
10/21/2016 - Black Desert Trading - 0 Replies
NA - UNO Level: 57 Class: Sorceress Energy: 288 Contribution: 189 http://i.imgur.com/pMoVtXF.png http://i.imgur.com/YkW5aQA.png http://i.imgur.com/pgwtIfF.png
(Windrest)CHEAP/Verkaufe 40Gold//Kung Fu Master.45.Awak Siren////Suche Paypal
05/09/2016 - Blade & Soul Trading - 11 Replies
Wie das Topic schon sagt verkaufe ich 40g und/oder/zusammen einen Account mit 13 Tagen Premium noch , Premium Level 4,Awakened Siren Gauntlet(ist Kung Fu Master) und kompletten True Infernal Schmuck. Einzig nennenswertes Crafting ist Tree Fellers auf Stufe 3. Der Account hat noch ein paar Mats , ist Crimson Faction Warrior und hat eine ganze Menge Auswahl an Outfits (Luna,Crimson Robe, Fire Lord,Old Stratus....). Bei Interesse kann ich gerne Screenshots nachliefern. Das Gold würde ich so für...
[Selling] Ancient Axe 2h (7/7) (Awak +22STA) <- Clockwork!
12/30/2014 - Flyff Trading - 0 Replies
Hey, i wanna sell my Ancient Axe 2h for Penya or ingame WCoins (no PP/PSC and the other ...) So far i would say its currently the best Ancient Axe 2h on Clockwork http://fs1.directupload.net/images/141230/mmvz29m d.png Ancient Axe 2h (7/7) Wind B's
[S] Awak Bot für Pserver
02/13/2012 - Flyff Private Server - 3 Replies
Hey Community, Ich suche einen Awak Bot für Pserver die mit /awake funktionieren. Ich suche es den trotz dem schnellen awaken verklick ich mich wenn erwünschte Ziel raus kommt es dauert trotzdem seine Zeit. Ich weiß nicht ob einer existiert, doch wenn würde es mich sehr freuen. Man sollte eingeben können wann er stoppt. Danke im vorraus.



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


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.