• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Release] Arena Score 1.2

Junior Spellweaver
Joined
Jan 25, 2010
Messages
151
Reaction score
16
Hi im confuse of to my compiling of the arena score cuz i dont have error on the compile but the arena score nothing happen or no score at the side. Its just like a normal PVP arena..

Please Help ASAP...!!!

Sorry for the Bad English ...
 
Junior Spellweaver
Joined
Jan 8, 2012
Messages
100
Reaction score
25
Did someone know how to fix it? :p

WndWorld.cpp
\Test\Source\_Interface\WndWorld.cpp(720) : error C2065: 'nChar' : undeclared identifier
 
X

xFuture

Guest
LoL roflmao. Oh well I checked the code and I'll say you placed the tab button( if( nChar == VK_TAB ) ) in the wrong place.
 
Junior Spellweaver
Joined
Jan 8, 2012
Messages
100
Reaction score
25
LoL roflmao. Oh well I checked the code and I'll say you placed the tab button( if( nChar == VK_TAB ) ) in the wrong place.
:/
I started trying to add that arena system 1 week ago, and got alot of erros, like 50+ (Yes, I don't have any knowledge in c++ :*:)
I think that i "fixed" those errors by just reading the error and changing the code place, like you said.
but that one still a bit hard, and that's the last error :)

Anyway, thx.
I'll check it again :p

Edit: Fixed it, thanks again.
Time to test
ςωаg - [Release] Arena Score 1.2 - RaGEZONE Forums
 
Last edited:
Experienced Elementalist
Joined
May 17, 2011
Messages
282
Reaction score
9
Help with this .

\Users\\Desktop\V19\Source\Virtuos_v17\Build\Program\_Common\MoverRender.cpp(2262) : error C2059: syntax error : 'if'
\Users\\Desktop\V19\Source\Virtuos_v17\Build\Program\_Common\MoverRender.cpp(2263) : error C2447: '{' : missing function header (old-style formal list?)
\Users\\Desktop\V19\Source\Virtuos_v17\Build\Program\_Common\MoverRender.cpp(2434) : fatal error C1004: unexpected end of file found

Code:
Where do i actually place it on MoverRender
#ifdef __ARENA_SCORE
            //Arena Score
        if( GetWorld()->IsArena() && !strcmp( m_szName , g_ArenaScore.m_vecUserInfo[0].szName) );
        {
			{
                    pTexture = g_Neuz.m_pHeroIconArena;
                    if( pTexture )
                    {
                        long oldpointx=point.x;
                        long oldpointy=point.y;
                        point.y -= pTexture->m_size.cy + 5;
                        point.y = point.y+1;
                        //point.x = point.x + 15;
                        if(pGuild==NULL)
                        {
                            point.x -= cs1.cx + 27;    
                        }
                        else
                        {
                            if( cs1.cx > cs2.cx )
                            {
                                if(this->GetGuild()->m_dwLogo!=NULL)
                                {
                                    point.x -= cs1.cx + 52;    
                                }
                                else
                                {
                                    point.x -= cs1.cx + 27;    
                                }
                            }
                            else
                            {
                                if(this->GetGuild()->m_dwLogo!=NULL)
                                {
                                    point.x -= cs2.cx + 52;    
                                }
                                else
                                {
                                    point.x -= cs2.cx + 27;    
                                }
                            }
                        }

                            pTexture->Render( &g_Neuz.m_2DRender, point );

                        point.x=oldpointx;
                        point.y=oldpointy;
                    }
            }
#endif
 
Last edited:
Newbie Spellweaver
Joined
Feb 13, 2009
Messages
9
Reaction score
2
Code:
Where do i actually place it on MoverRender
#ifdef __ARENA_SCORE
            //Arena Score
        if( GetWorld()->IsArena() && !strcmp( m_szName , g_ArenaScore.m_vecUserInfo[0].szName) );
        {
			{
                    pTexture = g_Neuz.m_pHeroIconArena;
                    if( pTexture )
                    {
                        long oldpointx=point.x;
                        long oldpointy=point.y;
                        point.y -= pTexture->m_size.cy + 5;
                        point.y = point.y+1;
                        //point.x = point.x + 15;
                        if(pGuild==NULL)
                        {
                            point.x -= cs1.cx + 27;    
                        }
                        else
                        {
                            if( cs1.cx > cs2.cx )
                            {
                                if(this->GetGuild()->m_dwLogo!=NULL)
                                {
                                    point.x -= cs1.cx + 52;    
                                }
                                else
                                {
                                    point.x -= cs1.cx + 27;    
                                }
                            }
                            else
                            {
                                if(this->GetGuild()->m_dwLogo!=NULL)
                                {
                                    point.x -= cs2.cx + 52;    
                                }
                                else
                                {
                                    point.x -= cs2.cx + 27;    
                                }
                            }
                        }

                            pTexture->Render( &g_Neuz.m_2DRender, point );

                        point.x=oldpointx;
                        point.y=oldpointy;
                    }
            }
#endif

Delete this "{" over
Code:
	{ //<- delete only THIS!
                    pTexture = g_Neuz.m_pHeroIconArena;
 
Experienced Elementalist
Joined
May 17, 2011
Messages
282
Reaction score
9
when i delete that i got an error missing {
 
Newbie Spellweaver
Joined
May 14, 2013
Messages
21
Reaction score
0
Anyone that has an up to date version of this?

Link = broken
 
Newbie Spellweaver
Joined
Jul 3, 2022
Messages
22
Reaction score
0
Doesn't work on v19 -- can someone update this guide please?
 
Back
Top