Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server > Flyff PServer Guides & Releases
You last visited: Today at 10:21

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

Advertisement



[Release] Teleport System - Extended

Discussion on [Release] Teleport System - Extended within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1

 
elite*gold: 21
Join Date: Nov 2010
Posts: 2,062
Received Thanks: 2,320
[Release] Teleport System - Extended

HeyHo,


Habe mich mal rangesetzt und mein Teleport System etwas erweitert.

Geflame und so könnt ihr euch sparen, wenns euch nicht gefällt lasst es bleiben.

Es ist nicht das schönste Fenster, aber es erfüllt seinen Zweck

------------------------------------------------------------------------------------------

In die VersionCommon.h vom WORLDSERVER & NEUZ das:

PHP Code:
#define __TELEPORT_SYSTEM 
------------------------------------------------------------------------------------------

MsgHdr.h

unter:
PHP Code:
#define PACKETTYPE_QUERYMAILBOX_COUNT                (DWORD)0x88100241 
das:
PHP Code:
#ifdef __TELEPORT_SYSTEM
#define PACKETTYPE_SENDTELEPORTPOSITION             (DWORD)0x88100299  
#endif //__TELEPORT_SYSTEM 
------------------------------------------------------------------------------------------

DPClient.cpp

unter:
PHP Code:
void CDPClient::SendSwapVisint nPos1int nPos2 )
{
    
BEFORESENDSOLEarPACKETTYPE_VISPET_SWAPVISDPID_UNKNOWN );
    
ar << nPos1 << nPos2;
    
SENDarthisDPID_SERVERPLAYER );

das:
PHP Code:
#ifdef __TELEPORT_SYSTEM
void CDPClient::SendTeleportPositionBYTE nID )
{
    
BEFORESENDSOLEarPACKETTYPE_SENDTELEPORTPOSITIONDPID_UNKNOWN );
    
ar << nID;
    
SENDarthisDPID_SERVERPLAYER );
}  
#endif //__TELEPORT_SYSTEM 

------------------------------------------------------------------------------------------

DPClient.h

unter:
PHP Code:
    void    SendGuildHouseTenderJoinOBJID objGHIdint nTenderPerinint nTenderPenya );
#endif // __GUILD_HOUSE_MIDDLE 
das:
PHP Code:
#ifdef __TELEPORT_SYSTEM
public:
    
void SendTeleportPositionBYTE nID );  
#endif //__TELEPORT_SYSTEM 

------------------------------------------------------------------------------------------

FuncApplet.cpp

ÜBER:
PHP Code:
DECLAREAPPLETAppMain_WndNavigator    , new CWndNavigator   ); 
das:
PHP Code:
#ifdef __TELEPORT_SYSTEM
DECLAREAPPLETAppMain_TeleportTool        , new CWndTeleporter );
#endif //__TELEPORT_SYSTEM 

unter:
PHP Code:
    AddAppletFuncAppMain_WndTrade        APP_TRADE                   _T"WndTrade"     )    , _T"Icon_Trade.dds"     )    , GETTEXTTID_TIP_TRADE          ),  0  ); 
das:
PHP Code:
#ifdef __TELEPORT_SYSTEM
    
AddAppletFuncAppMain_TeleportTool      APP_TELEPORTUSER         _T"WndMotion"    )    , _T"Icon_Motion.dds"   )     , GETTEXTTID_TIP_MOTION         ),  'Z'  );
#endif //__TELEPORT_SYSTEM 

------------------------------------------------------------------------------------------

WndField.cpp

unter:
PHP Code:
#define MAX_GUILDCOMBAT_LIST_PER_PAGE 11
#define MAX_MAIL_LIST_PER_PAGE 6
#define MAX_GUILDCOMBAT_LIST          100 
das:
PHP Code:
#ifdef __TELEPORT_SYSTEM
//--------------- Teleport ----------------------------------
//-----------------------------------------------------------------------------
CWndTeleporter::CWndTeleportervoid 
{
}
//-----------------------------------------------------------------------------
CWndTeleporter::~CWndTeleportervoid )
{
    
DeleteDeviceObjects();
}
//-----------------------------------------------------------------------------
BOOL CWndTeleporter::InitializeCWndBasepWndParentDWORD dwType )
{
    return 
CWndNeuz::InitDialogg_Neuz.GetSafeHwnd(), APP_TELEPORTUSER0CPoint0), pWndParent );
}
//-----------------------------------------------------------------------------
BOOL CWndTeleporter::OnCommandUINT nIDDWORD dwMessageCWndBasepWndBase 

    return 
CWndNeuz::OnCommandnIDdwMessagepWndBase ); 

void CWndTeleporter::OnSizeUINT nTypeint cxint cy 

    
CWndNeuz::OnSizenTypecxcy ); 

void CWndTeleporter::OnLButtonUpUINT nFlagsCPoint point 


void CWndTeleporter::OnLButtonDownUINT nFlagsCPoint point 


void CWndTeleporter::OnDrawC2DRenderp2DRender )
{
}
HRESULT CWndTeleporter::RestoreDeviceObjects()
{
    
CWndNeuz::RestoreDeviceObjects();
    return 
S_OK;
}
HRESULT CWndTeleporter::InvalidateDeviceObjects()
{
    
CWndNeuz::InvalidateDeviceObjects();
    return 
S_OK;
}
HRESULT CWndTeleporter::DeleteDeviceObjects()
{
    
CWndNeuz::DeleteDeviceObjects();
    
InvalidateDeviceObjects();
    return 
S_OK;
}
void CWndTeleporter::OnInitialUpdatevoid )
{
    
CWndNeuz::OnInitialUpdate(); 
    
RestoreDeviceObjects();
    
CRect rectRoot m_pWndRoot->GetLayoutRect();
    
CRect rectWindow GetWindowRect();
    
CPoint pointrectRoot.right rectWindow.Width(), 110 );
    
Movepoint );
    
MoveParentCenter();
}
BOOL CWndTeleporter::OnChildNotifyUINT messageUINT nIDLRESULTpLResult )
{
    switch (
nID)
    {
    case 
WIDC_BUTTON_FLARIS1:// Flaris
        

            
g_DPlay.SendTeleportPosition);
            
Destroy();
            break;
        }
    case 
WIDC_BUTTON_SM1:// Saint Morning
        
{
            
g_DPlay.SendTeleportPosition);
            
Destroy();
            break;
        }
    case 
WIDC_BUTTON_DARKON1:// Darkon
        
{
            
g_DPlay.SendTeleportPosition);
            
Destroy();
            break;
        }
    case 
WIDC_BUTTON_DARKON11:// Darkon1
        
{
            
g_DPlay.SendTeleportPosition);
            
Destroy();
            break;
        }
    case 
WIDC_BUTTON_DARKON3:// Darkon3
        
{
            
g_DPlay.SendTeleportPosition);
            
Destroy();
            break;
        }
    case 
WIDC_BUTTON_VULCANO1:// VOLCANO
        
{
            
g_DPlay.SendTeleportPosition);
            
Destroy();
            break;
        }
    case 
WIDC_BUTTON_PVP1:// Vorm Behemoth Dungeon
        
{
            
g_DPlay.SendTeleportPosition);
            
Destroy();
            break;
        }
    case 
WIDC_BUTTON_HERODUNGEON:// Aminus Hero
        
{
            
g_DPlay.SendTeleportPosition);
            
Destroy();
            break;
        }
    case 
WIDC_BUTTON_MASTERDUNGEON:// Aminus Master
        
{
            
g_DPlay.SendTeleportPosition);
            
Destroy();
            break;
        }
    case 
WIDC_BUTTON_TRAMNUKM:// Tramnuk Master
        
{
            
g_DPlay.SendTeleportPosition10 );
            
Destroy();
            break;
        }
    case 
WIDC_BUTTON_TRAMNUK:// Tramnuk Normal
        
{
            
g_DPlay.SendTeleportPosition11 );
            
Destroy();
            break;
        }
    case 
WIDC_BUTTON_EVENT:// Khaldera
        
{
            
g_DPlay.SendTeleportPosition12 );
            
Destroy();
            break;
        }
    case 
WIDC_BAHARA:// Bahara Desert
        
{
            
g_DPlay.SendTeleportPosition13 );
            
Destroy();
            break;
        }
        case 
WIDC_SANPRESS_1:// Sanpress 1
        
{
            
g_DPlay.SendTeleportPosition14 );
            
Destroy();
            break;
        }
        case 
WIDC_SANPRESS_2:// Sanpress 2
        
{
            
g_DPlay.SendTeleportPosition15 );
            
Destroy();
            break;
        }
        case 
WIDC_UPRESIA_1:// Upresia 1
        
{
            
g_DPlay.SendTeleportPosition16 );
            
Destroy();
            break;
        }
        case 
WIDC_UPRESIA_2:// Upresia 2
        
{
            
g_DPlay.SendTeleportPosition17 );
            
Destroy();
            break;
        }
        case 
WIDC_HERNEOS_1:// Herneos 1
        
{
            
g_DPlay.SendTeleportPosition18 );
            
Destroy();
            break;
        }
        case 
WIDC_HERNEOS_2:// Herneos 2
        
{
            
g_DPlay.SendTeleportPosition19 );
            
Destroy();
            break;
        }
        case 
WIDC_KNOCHENPFAD:// Knochenpfad / Valley of the Risen
        
{
            
g_DPlay.SendTeleportPosition20 );
            
Destroy();
            break;
        }
        case 
WIDC_CRYSTAL:// Crystal Dungeon
        
{
            
g_DPlay.SendTeleportPosition21 );
            
Destroy();
            break;
        }
        case 
WIDC_KALGAS:// Kalgas Cave
        
{
            
g_DPlay.SendTeleportPosition22 );
            
Destroy();
            break;
        }
        case 
WIDC_EILLUN:// Eillun
        
{
            
g_DPlay.SendTeleportPosition23 );
            
Destroy();
            break;
        }
    }
    return 
CWndNeuz::OnChildNotifymessagenIDpLResult );
}
//---------------- Teleport --------------------  
#endif //__TELEPORT_SYSTEM 

------------------------------------------------------------------------------------------

WndField.h

unter:
PHP Code:
#ifdef __MAIL_REQUESTING_BOX
#include "WndMailRequestingBox.h"
#endif // __MAIL_REQUESTING_BOX 
das:
PHP Code:
#ifdef __TELEPORT_SYSTEM
class CWndTeleporter : public CWndNeuz
{
public:
    
CWndTeleportervoid );
    ~
CWndTeleportervoid );

    
virtual HRESULT RestoreDeviceObjects();
    
virtual HRESULT InvalidateDeviceObjects();
    
virtual HRESULT DeleteDeviceObjects();

public:
    
virtual BOOL InitializeCWndBasepWndParent NULLDWORD nType MB_OK ); 
    
virtual BOOL OnChildNotifyUINT messageUINT nIDLRESULTpLResult ); 
    
virtual void OnDrawC2DRenderp2DRender ); 
    
virtual    void OnInitialUpdate(); 
    
virtual BOOL OnCommandUINT nIDDWORD dwMessageCWndBasepWndBase ); 
    
virtual void OnSizeUINT nTypeint cxint cy ); 
    
virtual void OnLButtonUpUINT nFlagsCPoint point ); 
    
virtual void OnLButtonDownUINT nFlagsCPoint point ); 

}; 
#endif //__TELEPORT_SYSTEM 

------------------------------------------------------------------------------------------

DPSrvr.cpp

unter:
PHP Code:
#ifdef __QUIZ
    
ON_MSGPACKETTYPE_QUIZ_ENTRANCEOnQuizEventEntrance );
    
ON_MSGPACKETTYPE_QUIZ_TELEPORTOnQuizEventTeleport );
#endif // __QUIZ 
das:
PHP Code:
#ifdef __TELEPORT_SYSTEM
    
ON_MSGPACKETTYPE_SENDTELEPORTPOSITIONOnSendTeleportPosition);
#endif //__TELEPORT_SYSTEM 


unter:
PHP Code:
void CDPSrvr::OnGuildHouseTenderJoinCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long )
{
    
CUserpUser g_UserMng.GetUserdpidCachedpidUser );
    if( 
IsValidObjpUser ) == TRUE )
    {
        
OBJID objGHId;
        
int nTenderPerinnTenderPenya;
        
ar >> objGHId >> nTenderPerin >> nTenderPenya;
        
        
GuildHouseMng->OnGuildHouseTenderJoinpUserobjGHIdnTenderPerinnTenderPenya );
    }
}
#endif // __GUILD_HOUSE_MIDDLE 
das:
PHP Code:
#ifdef __TELEPORT_SYSTEM
void CDPSrvr::OnSendTeleportPositionCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long )//Teleport Fenster Stuff
{
    
CUserpUser g_UserMng.GetUserdpidCachedpidUser );
        
    if( 
IsValidObjpUser ) )
        {
        
BYTE nID;
        
D3DXVECTOR3 vPos;
        
int dwWorldID;

        
ar >> nID;

        switch( 
nID )
        {
            case 
1:
                
vPos D3DXVECTOR3(6973.0F100.0F3328.0F); dwWorldID 1;
            break;
            case 
2:
                
vPos D3DXVECTOR3(8321.0F100.0F3720.0F); dwWorldID 1;
            break;
            case 
3:
                
vPos D3DXVECTOR3(3900.250732F59.0F4377.806641F); dwWorldID 1;
            break;
            case 
4:
                
vPos D3DXVECTOR3(5574.530273F75.001129F3900.282227F); dwWorldID 1;
            break;
            case 
5:
                
vPos D3DXVECTOR3(3240.482910F11.316653F3409.634766F); dwWorldID 1;
            break;
            case 
6:
                
vPos D3DXVECTOR3(881.142883F183.273331F1008.118652F); dwWorldID 206;
            break;
            case 
7:
                
vPos D3DXVECTOR3(8268.617F70.0F9378.295F); dwWorldID 1;
            break;
            case 
8:
                
vPos D3DXVECTOR3(6785.000000F100.699989F6062.000000F); dwWorldID 1;
            break;
            case 
9:
                
vPos D3DXVECTOR3(6642.931152F58.000000F6454.676758F); dwWorldID 1;
            break;
            case 
10:
                
vPos D3DXVECTOR3(4908.647F100.000F3457.677F); dwWorldID 1;
            break;
            case 
11:
                
vPos D3DXVECTOR3(5267.235F100.000F4719.388F); dwWorldID 1;
            break;
            case 
12:
                
vPos D3DXVECTOR3(5946.719F100.392F5406.160F); dwWorldID 1;//Khaldera
            
break;
            case 
13:
                
vPos D3DXVECTOR3(6501.000F66.000F9095.00F); dwWorldID 1;//Bahara Wüste
            
break;
            case 
14:
                
vPos D3DXVECTOR3(6593.000F100.000F5076.000F); dwWorldID 1;//Sanpress 1
            
break;
            case 
15:
                
vPos D3DXVECTOR3(5159.000F100.000F5273.000F); dwWorldID 1;//Sanpress 2
            
break;
            case 
16:
                
vPos D3DXVECTOR3(2762.000F150.000F5242.000F); dwWorldID 1;//Upresia 1
            
break;
            case 
17:
                
vPos D3DXVECTOR3(2734.000F150.000F5239.000F); dwWorldID 1;//Upresia 2
            
break;
            case 
18:
                
vPos D3DXVECTOR3(1826.000F96.600F2756.000F); dwWorldID 1;//Herneos 1
            
break;
            case 
19:
                
vPos D3DXVECTOR3(2011.000F96.900F2307.000F); dwWorldID 1;//Herneos 2
            
break;
            case 
20:
                
vPos D3DXVECTOR3(7065.011F90.962F6457.552F); dwWorldID 1;//Knochenpfad / Valley of the Risen
            
break;
            case 
21:
                
vPos D3DXVECTOR3(6366.140F100.000F8050.609F); dwWorldID 1;//Crystal Dungeon
            
break;
            case 
22:
                
vPos D3DXVECTOR3(5730.762F87.762F8141.579F); dwWorldID 1;//Kalgas Cave
            
break;
            case 
23:
                
vPos D3DXVECTOR3(7956.923F70.000F8822.327F); dwWorldID 1;//Eillun
            
break;
        }

        
pUser->REPLACEg_uIdofMultidwWorldID vPosREPLACE_NORMALnDefaultLayer );
        }
}  
#endif //__TELEPORT_SYSTEM 
------------------------------------------------------------------------------------------

DPSrvr.h

unter:
PHP Code:
#ifdef __GUILD_HOUSE_MIDDLE
    
void    OnGuildHouseTenderMainWndCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long );
    
void    OnGuildHouseTenderInfoWndCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long );
    
void    OnGuildHouseTenderJoinCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long );
#endif // __GUILD_HOUSE_MIDDLE 
das:
PHP Code:
#ifdef __TELEPORT_SYSTEM
    
public:
    
void    OnSendTeleportPositionCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long );
#endif //__TELEPORT_SYSTEM 
------------------------------------------------------------------------------------------



Fügt die Snippets aus diesen ResData's bei euch ein BEVOR ihr compilen tut:




Und zuletzt noch ein Screen, so sieht es aus, wenn ihr alles richtig gemacht habt:




Credits:
Me - 90%
yannick****(keine ahnung wie du grad heisst) - 10%


Fragen bitte hier stellen.



Greez.



Deda94 is offline  
Thanks
10 Users
Old 04/13/2012, 20:29   #2
 
elite*gold: 0
Join Date: Dec 2011
Posts: 616
Received Thanks: 71
Hab ich was übersehen oder lässt sich das wie beim release einfach im Client verändern und so die Teleportkooardinaten verändern ?


inFlame' is offline  
Old 04/13/2012, 20:35   #3
 
elite*gold: 0
Join Date: Oct 2009
Posts: 1,123
Received Thanks: 264
Quote:
Originally Posted by inFlame' View Post
Hab ich was übersehen oder lässt sich das wie beim release einfach im Client verändern und so die Teleportkooardinaten verändern ?
Würde beim alten thread schon lang überarbeitet das es sourcemässig ist
Synxx© is offline  
Old 04/13/2012, 20:37   #4

 
elite*gold: 21
Join Date: Nov 2010
Posts: 2,062
Received Thanks: 2,320
hab den Fix von yannick drin.

Sollte nun auch keine Probleme geben beim adden im Source.


Deda94 is offline  
Old 04/13/2012, 20:44   #5
 
elite*gold: 0
Join Date: Oct 2009
Posts: 1,123
Received Thanks: 264
Halt nicht jeder hat Herneos und so drinnen also bitte aufpassen wenn es einer versucht einzubauen...
Synxx© is offline  
Old 04/13/2012, 20:47   #6

 
elite*gold: 21
Join Date: Nov 2010
Posts: 2,062
Received Thanks: 2,320
Da bleibt man schlimmstenfalls in der Luft irgendwo hängen, aber man kann sich ja woanders hinteleportieren.

Wäre natürlich vorteilhaft die neuen Dungeons zu adden
Deda94 is offline  
Old 04/13/2012, 21:18   #7
 
elite*gold: 0
Join Date: Oct 2009
Posts: 1,123
Received Thanks: 264
Aber ich frag mich, wo ist der unterschied zwischen den beiden,halt außer das du noch andere orte geaddet hast und den "Kasten" da verschönert hast bzw. die neuen Sachen geaddet?
Und noch eine Sache,mach bei den Credit's die Prozente weg,
führt schnell zum flame sowas...
Synxx© is offline  
Old 04/13/2012, 21:30   #8

 
elite*gold: 21
Join Date: Nov 2010
Posts: 2,062
Received Thanks: 2,320
Nur neue Orte, reicht ja schon da 90% der Leute hier keine Koordinaten eintragen können

Soll es ruhig geflame geben, hoffe auf gute Moderatoren Arbeit.
Deda94 is offline  
Old 04/13/2012, 21:40   #9
 
elite*gold: 15
Join Date: Oct 2007
Posts: 450
Received Thanks: 474
habe alles so gemacht wie du es gesagt hast habe nun erros wegen den case ka was ich falsch gemacht habe vilt kannst mir mal helfen^^:

PHP Code:
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(210) : error C2065'WIDC_BAHARA' undeclared identifier
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(210) : error C2051: case expression not constant
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(216) : error C2065'WIDC_SANPRESS_1' undeclared identifier
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(216) : error C2051: case expression not constant
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(222) : error C2065'WIDC_SANPRESS_2' undeclared identifier
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(222) : error C2051: case expression not constant
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(228) : error C2065'WIDC_UPRESIA_1' undeclared identifier
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(228) : error C2051: case expression not constant
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(234) : error C2065'WIDC_UPRESIA_2' undeclared identifier
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(234) : error C2051: case expression not constant
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(240) : error C2065'WIDC_HERNEOS_1' undeclared identifier
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(240) : error C2051: case expression not constant
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(246) : error C2065'WIDC_HERNEOS_2' undeclared identifier
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(246) : error C2051: case expression not constant
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(252) : error C2065'WIDC_KNOCHENPFAD' undeclared identifier
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(252) : error C2051: case expression not constant
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(258) : error C2065'WIDC_CRYSTAL' undeclared identifier
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(258) : error C2051: case expression not constant
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(264) : error C2065'WIDC_KALGAS' undeclared identifier
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(264) : error C2051: case expression not constant
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(270) : error C2065'WIDC_EILLUN' undeclared identifier
\Users\root\Desktop\FLYFF_SERVER\SOURCE\Build\Program\_Interface\WndField.cpp(270) : error C2051: case expression not constant 
gelöst^^ hate die resdata.h vergessen^^
[LS]Michael is offline  
Thanks
1 User
Old 04/13/2012, 22:09   #10

 
elite*gold: 21
Join Date: Nov 2010
Posts: 2,062
Received Thanks: 2,320
Jop habe noch dazu geschrieben resdata vor dem Compilen adden^^
Deda94 is offline  
Old 04/13/2012, 23:06   #11
 
elite*gold: 6
Join Date: Oct 2011
Posts: 506
Received Thanks: 84
gefällt mir is dir gut gelungen jetzt gibts echt net mehr viel was man da noch adden könnte...

EDIT: Vileicht ne shopping insel aber die hat wieder net jeder^^
N8Schatten is offline  
Old 04/14/2012, 04:05   #12


 
elite*gold: 0
Join Date: Dec 2010
Posts: 506
Received Thanks: 115
Hab auch mal versucht aber da kommen ne menge errors
Code:
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\FuncApplet.cpp(66): error C2061: syntax error : identifier 'CWndTeleporter'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(77): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(79): warning C4508: 'CWndTeleporter' : function should return a value; 'void' return type assumed
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(81): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(82): error C2084: function 'int CWndTeleporter(void)' already has a body
        \Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(77) : see previous definition of 'CWndTeleporter'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(83): error C3861: 'DeleteDeviceObjects': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(86): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(88): error C2352: 'CWndNeuz::InitDialog' : illegal call of non-static member function
        ..\_Interface\WndNeuz.h(91) : see declaration of 'CWndNeuz::InitDialog'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(91): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(93): error C2352: 'CWndNeuz::OnCommand' : illegal call of non-static member function
        ..\_Interface\WndNeuz.h(109) : see declaration of 'CWndNeuz::OnCommand'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(95): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(97): error C2352: 'CWndNeuz::OnSize' : illegal call of non-static member function
        ..\_Interface\WndNeuz.h(111) : see declaration of 'CWndNeuz::OnSize'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(99): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(102): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(105): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(108): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(110): error C2352: 'CWndBase::RestoreDeviceObjects' : illegal call of non-static member function
        ..\_Interface\WndBase.h(339) : see declaration of 'CWndBase::RestoreDeviceObjects'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(113): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(115): error C2352: 'CWndBase::InvalidateDeviceObjects' : illegal call of non-static member function
        ..\_Interface\WndBase.h(340) : see declaration of 'CWndBase::InvalidateDeviceObjects'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(118): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(119): error C2365: 'DeleteDeviceObjects' : redefinition; previous definition was a 'formerly unknown identifier'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(120): error C2352: 'CWndBase::DeleteDeviceObjects' : illegal call of non-static member function
        ..\_Interface\WndBase.h(341) : see declaration of 'CWndBase::DeleteDeviceObjects'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(124): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(126): error C2352: 'CWndNeuz::OnInitialUpdate' : illegal call of non-static member function
        ..\_Interface\WndNeuz.h(106) : see declaration of 'CWndNeuz::OnInitialUpdate'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(128): error C2065: 'm_pWndRoot' : undeclared identifier
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(128): error C2227: left of '->GetLayoutRect' must point to class/struct/union
        type is ''unknown-type''
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(129): error C2660: 'GetWindowRect' : function does not take 0 arguments
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(131): error C3861: 'Move': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(132): error C3861: 'MoveParentCenter': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(134): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(141): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(147): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(153): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(159): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(165): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(171): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(177): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(183): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(189): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(195): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(201): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(207): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(211): error C2352: 'CWndNeuz::OnChildNotify' : illegal call of non-static member function
™Daywalker is offline  
Old 04/14/2012, 05:41   #13
 
elite*gold: 0
Join Date: Oct 2011
Posts: 178
Received Thanks: 113
Quote:
Originally Posted by Nightr0ad View Post
Hab auch mal versucht aber da kommen ne menge errors
Code:
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\FuncApplet.cpp(66): error C2061: syntax error : identifier 'CWndTeleporter'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(77): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(79): warning C4508: 'CWndTeleporter' : function should return a value; 'void' return type assumed
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(81): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(82): error C2084: function 'int CWndTeleporter(void)' already has a body
        \Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(77) : see previous definition of 'CWndTeleporter'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(83): error C3861: 'DeleteDeviceObjects': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(86): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(88): error C2352: 'CWndNeuz::InitDialog' : illegal call of non-static member function
        ..\_Interface\WndNeuz.h(91) : see declaration of 'CWndNeuz::InitDialog'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(91): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(93): error C2352: 'CWndNeuz::OnCommand' : illegal call of non-static member function
        ..\_Interface\WndNeuz.h(109) : see declaration of 'CWndNeuz::OnCommand'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(95): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(97): error C2352: 'CWndNeuz::OnSize' : illegal call of non-static member function
        ..\_Interface\WndNeuz.h(111) : see declaration of 'CWndNeuz::OnSize'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(99): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(102): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(105): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(108): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(110): error C2352: 'CWndBase::RestoreDeviceObjects' : illegal call of non-static member function
        ..\_Interface\WndBase.h(339) : see declaration of 'CWndBase::RestoreDeviceObjects'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(113): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(115): error C2352: 'CWndBase::InvalidateDeviceObjects' : illegal call of non-static member function
        ..\_Interface\WndBase.h(340) : see declaration of 'CWndBase::InvalidateDeviceObjects'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(118): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(119): error C2365: 'DeleteDeviceObjects' : redefinition; previous definition was a 'formerly unknown identifier'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(120): error C2352: 'CWndBase::DeleteDeviceObjects' : illegal call of non-static member function
        ..\_Interface\WndBase.h(341) : see declaration of 'CWndBase::DeleteDeviceObjects'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(124): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(126): error C2352: 'CWndNeuz::OnInitialUpdate' : illegal call of non-static member function
        ..\_Interface\WndNeuz.h(106) : see declaration of 'CWndNeuz::OnInitialUpdate'
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(128): error C2065: 'm_pWndRoot' : undeclared identifier
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(128): error C2227: left of '->GetLayoutRect' must point to class/struct/union
        type is ''unknown-type''
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(129): error C2660: 'GetWindowRect' : function does not take 0 arguments
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(131): error C3861: 'Move': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(132): error C3861: 'MoveParentCenter': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(134): error C2653: 'CWndTeleporter' : is not a class or namespace name
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(141): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(147): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(153): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(159): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(165): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(171): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(177): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(183): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(189): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(195): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(201): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(207): error C3861: 'Destroy': identifier not found, even with argument-dependent lookup
C:\Users\Nightr0ad\Desktop\Legends of Ardunia\Source\Source\_Interface\WndField.cpp(211): error C2352: 'CWndNeuz::OnChildNotify' : illegal call of non-static member function
PHP Code:
'CWndTeleporter' is not a class or namespace name 
Hast den Header - Teil vergessen.

Den hier:

PHP Code:
#ifdef __TELEPORT_SYSTEM 
class CWndTeleporter : public CWndNeuz 

public: 
    
CWndTeleportervoid ); 
    ~
CWndTeleportervoid ); 

    
virtual HRESULT RestoreDeviceObjects(); 
    
virtual HRESULT InvalidateDeviceObjects(); 
    
virtual HRESULT DeleteDeviceObjects(); 

public: 
    
virtual BOOL InitializeCWndBasepWndParent NULLDWORD nType MB_OK );  
    
virtual BOOL OnChildNotifyUINT messageUINT nIDLRESULTpLResult );  
    
virtual void OnDrawC2DRenderp2DRender );  
    
virtual    void OnInitialUpdate();  
    
virtual BOOL OnCommandUINT nIDDWORD dwMessageCWndBasepWndBase );  
    
virtual void OnSizeUINT nTypeint cxint cy );  
    
virtual void OnLButtonUpUINT nFlagsCPoint point );  
    
virtual void OnLButtonDownUINT nFlagsCPoint point );  

};  
#endif //__TELEPORT_SYSTEM 
Sekkusu[DW] is offline  
Old 04/14/2012, 13:09   #14


 
elite*gold: 0
Join Date: Dec 2010
Posts: 506
Received Thanks: 115
Kay Danke hab ich ganz vergessen xD jetzt hab ich bloß noch 3 Errors
Code:
Neuz error LNK2019: unresolved external symbol "public: __thiscall CWndDropItem::CWndDropItem(void)" ([email protected]@[email protected]) referenced in function "public: virtual int __thiscall CWndWorld::OnDropIcon(struct tagSHORTCUT *,class CPoint)" ([email protected]@@[email protected]@[email protected]@@Z)
Neuz error LNK2019: unresolved external symbol "public: __thiscall CWndDropItem::CWndDropItem(void)" ([email protected]@[email protected]) referenced in function "public: void __thiscall CWndHonor::RefreshList(void)" ([email protected]@@QAEXXZ)
Neuz fatal error LNK1120: 1 unresolved externals
™Daywalker is offline  
Old 04/14/2012, 13:16   #15
 
elite*gold: 40
Join Date: Aug 2011
Posts: 453
Received Thanks: 281
hab alles so eingefügt wie es da stand und es klappt perfekt


edit: hat sich doch ein kleiner fehler eingeschleust, ich krieg wenn ich die neuz starte so nen mini fenster wo drin steht APP_TELEPORTUSER ....
:/


Ultimate™ is offline  
Thanks
1 User
Reply



« Release Website Files | Ready to play Files »

Similar Threads
[Release] Teleport System
02/16/2013 - Flyff PServer Guides & Releases - 124 Replies
Heute Release ich etwas, undzwar das Teleport System von Fantasy Core, da ich das Team verlassen habe. Fangen wir an



All times are GMT +2. The time now is 10:21.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2019 elitepvpers All Rights Reserved.