Register for your free account! | Forgot your password?

You last visited: Today at 12:43

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

Advertisement



[TUT]Arena Score System

Discussion on [TUT]Arena Score System within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old 06/21/2012, 11:30   #16
 
Luffiy's Avatar
 
elite*gold: 0
Join Date: May 2012
Posts: 38
Received Thanks: 10
Thanks,
nice ! :P
Luffiy is offline  
Old 06/22/2012, 10:20   #17
 
elite*gold: 0
Join Date: Jan 2012
Posts: 27
Received Thanks: 2
i just copy paste but it shows like this T.T
rizzy.maidenF is offline  
Old 06/22/2012, 11:24   #18
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 227
It's not a member of CUser? Add inside the CUser class.
alfredico is offline  
Old 06/22/2012, 13:05   #19
 
elite*gold: 0
Join Date: Jan 2012
Posts: 27
Received Thanks: 2
Quote:
Originally Posted by alfredico View Post
It's not a member of CUser? Add inside the CUser class.
What? How?
rizzy.maidenF is offline  
Old 06/22/2012, 14:58   #20
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 227
wow

Class CUser
{
//Place vars here-.-
};
alfredico is offline  
Old 06/22/2012, 20:47   #21
 
.S0urce's Avatar
 
elite*gold: 6
Join Date: May 2012
Posts: 349
Received Thanks: 190
In welchen Projekten muss ich die Sachen adden die im Download waren, bitte um hilfe.

MfG
.S0urce is offline  
Old 06/22/2012, 21:21   #22
 
elite*gold: 0
Join Date: Jun 2011
Posts: 274
Received Thanks: 103
ArenaScoreClient.cpp & .h in Neuz

ArenaScoreWorld.cpp & .h im WorldServer

und ArenaScoreQuery.cpp & .h im Database Server (? Weiß es gerade nicht)
Shiaru is offline  
Old 06/22/2012, 22:00   #23
 
elite*gold: 0
Join Date: May 2011
Posts: 77
Received Thanks: 13
ArenaScoreQuery.cpp & .h _Common
Teresaty is offline  
Old 06/22/2012, 23:56   #24
 
elite*gold: 0
Join Date: Mar 2008
Posts: 665
Received Thanks: 227
ArenaScoreQuery it's just a copy of query that was used in the first version of this arena score for update and save scores of each player. It's not usseful anymore, so you can delete.
Oh and this is not really completed, so better use the v1.2
alfredico is offline  
Old 06/25/2012, 23:42   #25

 
™Dryad's Avatar
 
elite*gold: 380
Join Date: Oct 2008
Posts: 2,262
Received Thanks: 381
Nettes tut aber eins versteh ich net ..

Und zwar die Mover.cpp

Stehn tut

PHP Code:
int CMover::DoDieCCtrl *pAttackCtrlDWORD dwMsg )
{
#ifdef __WORLDSERVER
    
if( IsPlayer() && m_nDead )
    {
        
Error"CMover::DoDie : %s Á×Àº ÈÄ 5ÃÊÀ̳» ¶ÇÁ×¾ú´Ù. µÎ¹øÁ×Àºµí?"GetName() );
        return 
0;
    }

    
// Å¬¶óÀ̾ðÆ®´Â ÀÌÂÊÀ¸·Î ¿ÀÁö ¾ÊÀ½.
    
BOOL    bBehavior FALSE;
    
CMover *pAttacker NULL;

    if( 
pAttackCtrl && pAttackCtrl->GetType() == OT_MOVER )        // ¾îÅÂÄ¿°¡ ¹«¹ö¶ó¸é ¹«¹ö Æ÷ÀÎÅÍ ¸¸µé¾î µÐ´Ù.
        
pAttacker = (CMover *)pAttackCtrl;

    
m_bLastPK FALSE;
    if( 
pAttacker && pAttacker != this && pAttacker->IsPlayer() )        // ÀÚ»ìÇÑ°Ô ¾Æ´Ï°í, Ç÷¹À̾°Ô Á×¾ú³Ä ¾Æ´Ï³Ä.
    
{
        
PVP_MODE mode GetPVPCasepAttacker ); 
        if( 
mode == PVP_MODE_PK )    // PK°æ¿ì
        
{
#ifdef __JEFF_11_4
#endif    // __JEFF_11_4
            
if( g_eLocal.GetStateEVE_PKCOST )
#ifdef __JEFF_11_4
                
&& GetWorld()->IsArena() == FALSE
#endif    // __JEFF_11_4
                
)
                
m_bLastPK FALSE;    // °æÇèÄ¡ ´Ù¿î 
            
else
                
m_bLastPK TRUE;    // °æÇèÄ¡ ´Ù¿î ¾øÀ½ 

            
if( GetWorld()->IsArena() && IsPlayer() )
            {
#ifdef __WORLDSERVER
#endif 

aber ich find das komischerweise in meiner Mover net bei mir steht

PHP Code:
#ifdef __WORLDSERVER
    
if( IsPlayer() && m_nDead )
    {
        
Error"CMover::DoDie : %s Á×Àº ÈÄ 5ÃÊÀ̳» ¶ÇÁ×¾ú´Ù. µÎ¹øÁ×Àºµí?"GetName() );
        return 
0;
    }

    
// Å¬¶óÀ̾ðÆ®´Â ÀÌÂÊÀ¸·Î ¿ÀÁö ¾ÊÀ½.
    
BOOL    bBehavior FALSE;
    
CMover *pAttacker NULL;

    if( 
pAttackCtrl && pAttackCtrl->GetType() == OT_MOVER )        // ¾îÅÂÄ¿°¡ ¹«¹ö¶ó¸é ¹«¹ö Æ÷ÀÎÅÍ ¸¸µé¾î µÐ´Ù.
        
pAttacker = (CMover *)pAttackCtrl;

    
m_bLastPK FALSE;
    if( 
pAttacker && pAttacker != this && pAttacker->IsPlayer() )        // ÀÚ»ìÇÑ°Ô ¾Æ´Ï°í, Ç÷¹À̾°Ô Á×¾ú³Ä ¾Æ´Ï³Ä.
    
{
        
PVP_MODE mode GetPVPCasepAttacker ); 
        if( 
mode == PVP_MODE_PK )    // PK°æ¿ì
        
{
#ifdef __JEFF_11_4
#endif    // __JEFF_11_4
            
if( g_eLocal.GetStateEVE_PKCOST )
#ifdef __JEFF_11_4
                
&& GetWorld()->IsArena() == FALSE
#endif    // __JEFF_11_4
                
)
                
m_bLastPK FALSE;    // °æÇèÄ¡ ´Ù¿î 
            
else
                
m_bLastPK TRUE;    // °æÇèÄ¡ ´Ù¿î ¾øÀ½                         
        
}
        else
            
m_bLastPK TRUE;    // °æÇèÄ¡ ´Ù¿î ¾øÀ½ 
        
        
m_bGuildCombat FALSE;
        if( 
GetWorld()->GetID() == WI_WORLD_GUILDWAR && g_GuildCombatMng.m_nState != CGuildCombat::CLOSE_STATE )
            
m_bGuildCombat TRUE;
#if __VER >= 11 // __GUILD_COMBAT_1TO1
        
if( g_GuildCombat1to1Mng.IsPossibleUser( (CUser*)this ) )
            
m_bGuildCombat TRUE;
#endif // __GUILD_COMBAT_1TO1
#if __VER >= 13 // __HONORABLE_TITLE            // ´ÞÀΠ

versteh i net ...

würde mich über hilfe freuen..

lg
™Dryad is offline  
Thanks
1 User
Old 06/26/2012, 16:47   #26
 
elite*gold: 300
Join Date: Aug 2009
Posts: 92
Received Thanks: 42
hi

schreibe mich in icq an
chris18ea is offline  
Thanks
1 User
Old 06/27/2012, 18:25   #27

 
™Dryad's Avatar
 
elite*gold: 380
Join Date: Oct 2008
Posts: 2,262
Received Thanks: 381
Bitte weiter um hilfe ...

Quote:
Originally Posted by ™Ep!sch View Post
Nettes tut aber eins versteh ich net ..

Und zwar die Mover.cpp

Stehn tut

PHP Code:
int CMover::DoDieCCtrl *pAttackCtrlDWORD dwMsg )
{
#ifdef __WORLDSERVER
    
if( IsPlayer() && m_nDead )
    {
        
Error"CMover::DoDie : %s Á×Àº ÈÄ 5ÃÊÀ̳» ¶ÇÁ×¾ú´Ù. µÎ¹øÁ×Àºµí?"GetName() );
        return 
0;
    }

    
// Å¬¶óÀ̾ðÆ®´Â ÀÌÂÊÀ¸·Î ¿ÀÁö ¾ÊÀ½.
    
BOOL    bBehavior FALSE;
    
CMover *pAttacker NULL;

    if( 
pAttackCtrl && pAttackCtrl->GetType() == OT_MOVER )        // ¾îÅÂÄ¿°¡ ¹«¹ö¶ó¸é ¹«¹ö Æ÷ÀÎÅÍ ¸¸µé¾î µÐ´Ù.
        
pAttacker = (CMover *)pAttackCtrl;

    
m_bLastPK FALSE;
    if( 
pAttacker && pAttacker != this && pAttacker->IsPlayer() )        // ÀÚ»ìÇÑ°Ô ¾Æ´Ï°í, Ç÷¹À̾°Ô Á×¾ú³Ä ¾Æ´Ï³Ä.
    
{
        
PVP_MODE mode GetPVPCasepAttacker ); 
        if( 
mode == PVP_MODE_PK )    // PK°æ¿ì
        
{
#ifdef __JEFF_11_4
#endif    // __JEFF_11_4
            
if( g_eLocal.GetStateEVE_PKCOST )
#ifdef __JEFF_11_4
                
&& GetWorld()->IsArena() == FALSE
#endif    // __JEFF_11_4
                
)
                
m_bLastPK FALSE;    // °æÇèÄ¡ ´Ù¿î 
            
else
                
m_bLastPK TRUE;    // °æÇèÄ¡ ´Ù¿î ¾øÀ½ 

            
if( GetWorld()->IsArena() && IsPlayer() )
            {
#ifdef __WORLDSERVER
#endif 

aber ich find das komischerweise in meiner Mover net bei mir steht

PHP Code:
#ifdef __WORLDSERVER
    
if( IsPlayer() && m_nDead )
    {
        
Error"CMover::DoDie : %s Á×Àº ÈÄ 5ÃÊÀ̳» ¶ÇÁ×¾ú´Ù. µÎ¹øÁ×Àºµí?"GetName() );
        return 
0;
    }

    
// Å¬¶óÀ̾ðÆ®´Â ÀÌÂÊÀ¸·Î ¿ÀÁö ¾ÊÀ½.
    
BOOL    bBehavior FALSE;
    
CMover *pAttacker NULL;

    if( 
pAttackCtrl && pAttackCtrl->GetType() == OT_MOVER )        // ¾îÅÂÄ¿°¡ ¹«¹ö¶ó¸é ¹«¹ö Æ÷ÀÎÅÍ ¸¸µé¾î µÐ´Ù.
        
pAttacker = (CMover *)pAttackCtrl;

    
m_bLastPK FALSE;
    if( 
pAttacker && pAttacker != this && pAttacker->IsPlayer() )        // ÀÚ»ìÇÑ°Ô ¾Æ´Ï°í, Ç÷¹À̾°Ô Á×¾ú³Ä ¾Æ´Ï³Ä.
    
{
        
PVP_MODE mode GetPVPCasepAttacker ); 
        if( 
mode == PVP_MODE_PK )    // PK°æ¿ì
        
{
#ifdef __JEFF_11_4
#endif    // __JEFF_11_4
            
if( g_eLocal.GetStateEVE_PKCOST )
#ifdef __JEFF_11_4
                
&& GetWorld()->IsArena() == FALSE
#endif    // __JEFF_11_4
                
)
                
m_bLastPK FALSE;    // °æÇèÄ¡ ´Ù¿î 
            
else
                
m_bLastPK TRUE;    // °æÇèÄ¡ ´Ù¿î ¾øÀ½                         
        
}
        else
            
m_bLastPK TRUE;    // °æÇèÄ¡ ´Ù¿î ¾øÀ½ 
        
        
m_bGuildCombat FALSE;
        if( 
GetWorld()->GetID() == WI_WORLD_GUILDWAR && g_GuildCombatMng.m_nState != CGuildCombat::CLOSE_STATE )
            
m_bGuildCombat TRUE;
#if __VER >= 11 // __GUILD_COMBAT_1TO1
        
if( g_GuildCombat1to1Mng.IsPossibleUser( (CUser*)this ) )
            
m_bGuildCombat TRUE;
#endif // __GUILD_COMBAT_1TO1
#if __VER >= 13 // __HONORABLE_TITLE            // ´ÞÀΠ

versteh i net ...

würde mich über hilfe freuen..

lg
™Dryad is offline  
Old 06/30/2012, 11:50   #28
 
elite*gold: 0
Join Date: Feb 2012
Posts: 5
Received Thanks: 0
HELP PLEASE....

I GET ERROR


WorldServer error LNK2001: unresolved external symbol "class CArenaScore g_ArenaScore" (?g_ArenaScore@@3VCArenaScore@@A)


WorldServer error LNK2019: unresolved external symbol "public: void __thiscall CArenaScore::ArenaOnExit(class CUser *)" (?ArenaOnExit@CArenaScore@@QAEXPAVCUser@@@Z) referenced in function "public: void __thiscall CUserMng::KickOutArena(void)" (?KickOutArena@CUserMng@@QAEXXZ)
I-Daisy is offline  
Old 06/30/2012, 12:27   #29
 
elite*gold: 0
Join Date: May 2011
Posts: 77
Received Thanks: 13
@Daisy
add the solution for Worldserveur: ArenaScoreQuery.cpp/ h and ArenaScoreWorld.cpp/h
Teresaty is offline  
Old 07/01/2012, 11:10   #30
 
elite*gold: 0
Join Date: Feb 2012
Posts: 5
Received Thanks: 0
Quote:
Originally Posted by Teresaty View Post
@Daisy
add the solution for Worldserveur: ArenaScoreQuery.cpp/ h and ArenaScoreWorld.cpp/h
Still Error
I-Daisy is offline  
Reply


Similar Threads Similar Threads
[Release] Arena Score 1.2
04/18/2018 - Flyff PServer Guides & Releases - 25 Replies
Für alle die nicht in Kokurenzforen unterwegs sind:
Arena score system
05/01/2012 - Flyff Private Server - 3 Replies
I added arena score to my source and compile with 0 errors but when I'm in game and enter arena it crashes my neuz. has any one else had this happen, can any one help me out? thanks in advance 2012/ 4/19 23:16:24 DPClient::OnReplace BEGIN 2012/ 4/19 23:16:26 DPClient::OnReplace END OK
[Show] Arena Score
01/13/2012 - Flyff Private Server - 10 Replies
http://i41.tinypic.com/1z4bcpi.jpg
Insanity FlyFF ? Arena score and stuff ?
07/19/2011 - Flyff Private Server - 7 Replies
wow does this Insanity FlyFF really have this arena score and all custom features they say ? i just registered at #removed and they rock o.o i love the class balance and all come check too and tell me if its worth to play at them :O they got v17 glows custom too :O



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


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.