Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 17:49

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

Advertisement



[Request]/awa Command

Discussion on [Request]/awa Command within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2013
Posts: 25
Received Thanks: 1
[Request]/awa Command

Request Close
(Y)
AppleLike is offline  
Old 04/26/2013, 11:13   #2
 
elite*gold: 59
Join Date: Aug 2009
Posts: 1,595
Received Thanks: 490
Do it by ur own? oO
u only have to change the /gro command and have to fix if an pet is active it cant be awaken. o.o

It isnt hard to do it.. o_O
.Tear is offline  
Thanks
1 User
Old 04/26/2013, 12:38   #3
 
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
if you only change the auth of the command you are able to stack with this command.
Velmore is offline  
Thanks
1 User
Old 04/26/2013, 12:47   #4



 
- DK's Avatar
 
elite*gold: 7
Join Date: Sep 2012
Posts: 4,466
Received Thanks: 3,218
Quote:
Originally Posted by Velmore View Post
if you only change the auth of the command you are able to stack with this command.
Man kann diesen Befehl aber auch erweitern bzw es fixen und das wäre in dem Fall nur ein simples Copy & Paste.

MfG Armageddon
- DK is offline  
Thanks
1 User
Old 04/26/2013, 12:54   #5
 
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
Quote:
Originally Posted by Armageddon ™ View Post
Man kann diesen Befehl aber auch erweitern bzw es fixen und das wäre in dem Fall nur ein simples Copy & Paste.

MfG Armageddon
Klar nur wenn oben steht einfach den Befehl Kopieren und die auth ändern ist das nicht gegeben.
Velmore is offline  
Thanks
1 User
Old 04/26/2013, 13:19   #6
 
elite*gold: 0
Join Date: Apr 2013
Posts: 25
Received Thanks: 1
@Armageddon , @Velmore
Please give me a tut how can i ..
i dont know how to make that
please please please
AppleLike is offline  
Old 04/26/2013, 20:39   #7
 
Chriѕ's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,084
Received Thanks: 504
FuncTextCmd.cpp

Search for GenRandomOption -> Replace

PHP Code:
ON_TEXTCMDFUNCTextCmd_GenRandomOption,        "Awakening",    "awa",    "°¢¼ºÃູ""°¢Ãà",    TCM_BOTH,    AUTH_GENERAL"" 

und

Search for BOOL TextCmd_GenRandomOption -> Replace

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"Hol dein Pet oder CS Pet rein! Sonst kannst du es nicht erwecken!" );
                    
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"Du hast nicht genug Geld." );
                }
            }
        }
    }
    else
    {
        
pUser->AddText"Das zu erweckende Item muss im ersten Slot deines Inventars liegen!" );
    }
#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"Hol dein Pet oder CS Pet rein! Sonst kannst du es nicht erwecken!" );
                
pUser->AddTextchMessage );
            }
            else
            {
                
g_xRandomOptionProperty->InitializeRandomOptionpItemElem->GetRandomOptItemIdPtr() );
                
g_xRandomOptionProperty->GenRandomOptionpItemElem->GetRandomOptItemIdPtr(), nRandomOptionKindpItemElem->GetProp()->dwParts );
                
pUser->UpdateItemEx( (BYTE)( pItemElem->m_dwObjId ), UI_RANDOMOPTITEMIDpItemElem->GetRandomOptItemId() );
            }
        }
    }
#endif // 

VersionCommon.h


#define __AWA_WITH_PENYACOST



Hf
Chriѕ is offline  
Thanks
2 Users
Old 02/15/2018, 11:34   #8
 
elite*gold: 0
Join Date: Jan 2018
Posts: 16
Received Thanks: 3
bei mir ist TextCmd_InitalizeRandomOption nichtdeklarierter Bezeichner.. was muss ich ändern ?
flyffhack123 is offline  
Reply


Similar Threads Similar Threads
[Request]/maxplayer command
05/07/2010 - CO2 Private Server - 2 Replies
Anyone can help me to make a new command for 5165 ? I see that command in tq binary with can make a players login limit !
[REQUEST]/ban command for 5165
01/10/2010 - CO2 Private Server - 16 Replies
Could someone please give me a /ban command that works for a 5165 server? I can't get rid of these damn bug abusers. And does it just ban the char or IP ban? I'd prefer IP. Please help, Thanks.
[Request] Mob Spawn command
06/28/2009 - CO2 Private Server - 0 Replies
#Request close! found it hehe sorry
[Request] NPC Or Command please
01/07/2009 - CO2 Private Server - 2 Replies
I would like please if possible NpC that allot attribute points that you get after reborn or a command please .. I tried to use the one in kinshis source but the command doesn't work . Thank you very much



All times are GMT +1. The time now is 17:50.


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.