Register for your free account! | Forgot your password?

You last visited: Today at 13:15

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

 

[Release] Teleporter by Mentus ;d

Reply
 
Old   #1
 
elite*gold: 30
Join Date: Sep 2012
Posts: 436
Received Thanks: 1,005
Talking [Release] Teleporter by Mentus ;d

Da ja nicht alle Leecher es schaffen es aus meinem Source zu holen release ich es nun.

WndField am Ende der Datei:
PHP Code:
#ifdef __APP_TELEPORTER
CWndTeleporter::CWndTeleportervoid 
{
    
m_nSelected NULL;
    
m_pPicTexture NULL;
}
CWndTeleporter::~CWndTeleportervoid )
{
    
DeleteDeviceObjects();
}
BOOL CWndTeleporter::InitializeCWndBasepWndParentDWORD dwType )
{
    return 
CWndNeuz::InitDialogg_Neuz.GetSafeHwnd(), APP_TELEPORTER0CPoint0), 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 )
{

    
CWndStaticpStatic = (CWndStatic*)GetDlgItemWIDC_STATIC2 );
    
CWndTextpText = (CWndText*)GetDlgItemWIDC_TEXT1 );
    
CString strFilestrLandNamestrDes;
    switch( 
m_nSelected )
    {
    case 
0:
        
strFile "flaris.tga"
        
strLandName ="Flaris"
        
strDes""
        break;
    case 
1
        
strFile "SM.tga"
        
strLandName ="Saint Morning"
        
strDes=""
        break;
    case 
2
        
strFile "darkon.tga"
        
strLandName ="Darkon"
        
strDes""
        break;
    case 
3
        
strFile "darkon1.tga"
        
strLandName ="Darkon 1"
        
strDes""
        break;
    case 
4
        
strFile "darkon3.tga"
        
strLandName ="Darkon 3"
        
strDes""
        break;
    case 
5
        
strFile "vulcano.tga"
        
strLandName ="Vulcano"
        
strDes""
        break;
    case 
6
        
strFile "behemoth.tga"
        
strLandName ="Behemoth Dungeon"
        
strDes""
        break;
    case 
7
        
strFile "animush.tga"
        
strLandName ="Animus - Hero Dungeon"
        
strDes""
        break;
    case 
8
        
strFile "animusm.tga"
        
strLandName ="Animus - Master Dungeon"
        
strDes""
        break;
    case 
9
        
strFile "tramnukm.tga"
        
strLandName ="Tramnuk - Master Dungeon"
        
strDes""
        break;
    case 
10
        
strFile "tramnuk.tga"
        
strLandName ="Tramnuk Dungeon"
        
strDes""
        break;
    case 
11
        
strFile "khaldera.tga"
        
strLandName ="Khaldera"
        
strDes""
        break;
    case 
12
        
strFile "Bahara.tga"
        
strLandName ="Bahara"
        
strDes""
        break;
    case 
13
        
strFile "Sanpres.tga"
        
strLandName ="Sanpres 1 Dungeon"
        
strDes""
        break;
    case 
14
        
strFile "Sanpres.tga"
        
strLandName ="Sanpres 2 Dungeon"
        
strDes""
        break;
    case 
15
        
strFile "Upresia.tga";
        
strLandName ="Upresia 1 Dungeon"
        
strDes"."
        break;
    case 
16
        
strFile "Upresia.tga"
        
strLandName ="Upresia 2 Dungeon"
        
strDes""
        break;
    case 
17
        
strFile "Herneos.tga"
        
strLandName ="Herneos 1 Dungeon"
        
strDes""
        break;
    case 
18
        
strFile "Herneos.tga"
        
strLandName ="Herneos 2 Dungeon"
        
strDes""
        break;
    case 
19
        
strFile "Knochenpfad.tga"
        
strLandName ="Knochenpfad"
        
strDes""
        break;
    case 
20
        
strFile "Crystal.tga"
        
strLandName ="Crystal Dungeon"
        
strDes""
        break;
    case 
21
        
strFile "Kalgas.tga"
        
strLandName ="Kalgas Dungeon"
        
strDes""
        break;
    case 
22
        
strFile "Eillun.tga"
        
strLandName ="Eillun"
        
strDes""
        break;
    default: 
strFile "flaris.tga"strLandName ="Error"strDes"Error"; break;
    }
    
pStatic->SetTitlestrLandName );
    
pText->SetStringstrDes0xFF1e90ff );
    
m_pPicTexture m_textureMng.AddTexturem_pApp->m_pd3dDevice,  MakePath"Theme\\Default\\LoadMap\\"strFile ), 0xff000000 );
    if( 
m_pPicTexture != NULL )
    {
        
LPWNDCTRL lpWndCtrl GetWndCtrlWIDC_STATIC1 );
        if( 
g_Option.m_nWindowAlpha 200 )
            
m_pPicTexture->Renderp2DRenderlpWndCtrl->rect.TopLeft(), g_Option.m_nWindowAlpha 55 );
        else
            
m_pPicTexture->Renderp2DRenderlpWndCtrl->rect.TopLeft(), g_Option.m_nWindowAlpha );
    }
}
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();
    
CWndListBoxpListBox = (CWndListBox*)GetDlgItemWIDC_LISTBOX1 );
    
pListBox->AddString("Flaris");
    
pListBox->AddString("Saint Morning");
    
pListBox->AddString("Darkon");
    
pListBox->AddString("Darkon 1");
    
pListBox->AddString("Darkon 3");
    
pListBox->AddString("Vulcano");
    
//pListBox->AddString("Behemoth D.");
    
pListBox->AddString("Amnius Hero");
    
pListBox->AddString("Amnius Master");
    
//pListBox->AddString("Master Tramnuk");
    //pListBox->AddString("Tramnuk");
    
pListBox->AddString("Khaldera");
    
//pListBox->AddString("Bahara Desert");
    //pListBox->AddString("Sanpres 1");
    //pListBox->AddString("Sanpres 2");
    //pListBox->AddString("Upresia 1");
    //pListBox->AddString("Upresia 2");
    //pListBox->AddString("Herneos 1");
    //pListBox->AddString("Herneos 2");
    //pListBox->AddString("Knochenpfad");
    //pListBox->AddString("Crystal Dungeon");
    //pListBox->AddString("Kalgas Cave");
    //pListBox->AddString("Eillun");
}
BOOL CWndTeleporter::OnChildNotifyUINT messageUINT nIDLRESULTpLResult )
{
    if( 
nID == WIDC_LISTBOX1 )
    {
        
CWndListBoxpWndListBox = (CWndListBox*)GetDlgItemWIDC_LISTBOX1 );
        if( 
pWndListBox->GetCurSel() != -|| pWndListBox->GetCurSel() > 22 )
            
m_nSelectedpWndListBox->GetCurSel();

    }
    else if( 
nID == WIDC_BUTTON1 )
    {
        
g_DPlay.SendTeleportm_nSelected );
        
Destroy();
    }
    return 
CWndNeuz::OnChildNotifymessagenIDpLResult );
}
#endif 
WndField.h:
Am Ende vor dem letzten "#endif"

PHP Code:
#ifdef __APP_TELEPORTER
class CWndTeleporter : public CWndNeuz
{
public:
    
int m_nSelected;
    
CTexturem_pPicTexture;
    
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 //__APP_TELEPORTER 
DPClient.h
in die Klasse eintragen, muss in einem Public "scope" sein.
PHP Code:
#ifdef __APP_TELEPORTER
    
void    SendTeleportint nCurSel );
#endif 
DPClient.cpp ( Client )
Am Ende, VOR
PHP Code:
CDPClient    g_DPlay
kommt das hier hin:
PHP Code:
#ifdef __APP_TELEPORTER
void CDPClient::SendTeleportint nCurSel )
{
    
BEFORESENDSOLEarPACKETTYPE_APP_TELEPORTDPID_UNKNOWN );
    
ar << nCurSel;
    
SENDarthisDPID_SERVERPLAYER );
}
#endif 
MsgHdr.h
Über die Snapshots:
PHP Code:
#ifdef __APP_TELEPORTER
#define PACKETTYPE_APP_TELEPORT                    (DWORD)0xDDD00026
#endif 
DPSrvr.cpp ( WorldServer )
Unter
PHP Code:
BEGIN_MSG
Das hier:
PHP Code:
#ifdef __APP_TELEPORTER
    
ON_MSGPACKETTYPE_APP_TELEPORTOnTeleportByAPP );
#endif // __APP_TELEPORTER 
Dann noch am Ende der Datei das hier einfügen:

PHP Code:
#ifdef __APP_TELEPORTER
void CDPSrvr::OnTeleportByAPPCAr arDPID dpidCacheDPID dpidUserLPBYTEu_long )
{
#ifdef __NEW_DEBUG
    
g_Guard.LogDebug("CDPSrvr::OnTeleportByAPP");
#endif
    
CUserpUser g_UserMng.GetUserdpidCachedpidUser );
    
int nCurSel;
    if( 
IsValidObjpUser ) )
    {
        
ar >> nCurSel;
        
DWORD dwWorldID;
        
D3DXVECTOR3 vPos;
        switch( 
nCurSel )
        {
            case 
0vPos D3DXVECTOR3(6973.0F100.0F3328.0F); dwWorldID 1; break;
            case 
1vPos D3DXVECTOR3(8321.0F100.0F3720.0F); dwWorldID 1; break;
            case 
2vPos D3DXVECTOR3(3900.250732F59.0F4377.806641F); dwWorldID 1; break;
            case 
3vPos D3DXVECTOR3(5574.530273F75.001129F3900.282227F); dwWorldID 1; break;
            case 
4vPos D3DXVECTOR3(3240.482910F11.316653F3409.634766F); dwWorldID 1; break;
            case 
5vPos D3DXVECTOR3(881.142883F183.273331F1008.118652F); dwWorldID 206; break;
            case 
6vPos D3DXVECTOR3(6642.931152F58.000000F6454.676758F); dwWorldID 1; break;
            case 
7vPos D3DXVECTOR3(6785.000000F100.699989F6062.000000F); dwWorldID 1; break;
            case 
8vPos D3DXVECTOR3(5986.8989f100.0f5414.0f); dwWorldID 1; break;
          
/*  case 9: vPos = D3DXVECTOR3(4908.647F, 100.000F, 3457.677F); dwWorldID = 1; break;
            case 10: vPos = D3DXVECTOR3(5267.235F, 100.000F, 4719.388F); dwWorldID = 1; break;
            case 11: vPos = D3DXVECTOR3(5946.719F, 100.392F, 5406.160F); dwWorldID = 1; break;
            case 12: vPos = D3DXVECTOR3(6501.000F, 66.000F, 9095.00F); dwWorldID = 1; break; 
            case 13: vPos = D3DXVECTOR3(6593.000F, 100.000F, 5076.000F); dwWorldID = 1; break;
            case 14: vPos = D3DXVECTOR3(5159.000F, 100.000F, 5273.000F); dwWorldID = 1; break;
            case 15: vPos = D3DXVECTOR3(2762.000F, 150.000F, 5242.000F); dwWorldID = 1; break;
            case 16: vPos = D3DXVECTOR3(2734.000F, 150.000F, 5239.000F); dwWorldID = 1; break;
            case 17: vPos = D3DXVECTOR3(1826.000F, 96.600F, 2756.000F); dwWorldID = 1; break;
            case 18: vPos = D3DXVECTOR3(2011.000F, 96.900F, 2307.000F); dwWorldID = 1; break;
            case 19: vPos = D3DXVECTOR3(7065.011F, 90.962F, 6457.552F); dwWorldID = 1; break;
            case 20: vPos = D3DXVECTOR3(6366.140F, 100.000F, 8050.609F); dwWorldID = 1; break;
            case 21: vPos = D3DXVECTOR3(5730.762F, 87.762F, 8141.579F); dwWorldID = 1; break;
            case 22: vPos = D3DXVECTOR3(7956.923F, 70.000F, 8822.327F); dwWorldID = 1; break;*/
            
default: Error("CDPSrvr::OnTeleportByAPP - %s"pUser->GetName() ); return;
        }
        
pUser->REPLACEg_uIdofMultidwWorldIDvPosREPLACE_NORMALnDefaultLayer );
    }
}
#endif 
Das Gelbe ist alles auskommentiert, ob es alles wieder funktioniert wenn ihr es wieder aktiviert weiß ich nicht. Müsst ihr schauen welche Koordinaten zu was gehören.


Resdata.inc:

PHP Code:
APP_TELEPORTER "WndTile08.tga" "" 1 640 464 0x2410000 26
{
// Title String
IDS_RESDATA_INC_006762
}
{
// Help Key
IDS_RESDATA_INC_006763
}
{
    
WTYPE_LISTBOX WIDC_LISTBOX1 "WndEditTile00.tga" 1 40 22 194 346 0x20020000 0 0 0 0 0 0 0
    
{
    
// Title String
IDS_RESDATA_INC_006764
    
}
    {
    
// ToolTip
IDS_RESDATA_INC_006765
    
}
    
WTYPE_BUTTON WIDC_BUTTON1 "ButtApply.tga" 0 72 374 144 394 0x220010 0 0 0 0 0 0 0
    
{
    
// Title String
IDS_RESDATA_INC_006766
    
}
    {
    
// ToolTip
IDS_RESDATA_INC_006767
    
}
    
WTYPE_STATIC WIDC_STATIC1 "" 0 284 56 534 306 0x2220002 0 0 0 0 0 0 0
    
{
    
// Title String
IDS_RESDATA_INC_006768
    
}
    {
    
// ToolTip
IDS_RESDATA_INC_006769
    
}
    
WTYPE_TEXT WIDC_TEXT1 "WndEditTile00.tga" 1 268 328 568 404 0x20020000 0 0 0 0 0 0 0
    
{
    
// Title String
IDS_RESDATA_INC_006770
    
}
    {
    
// ToolTip
IDS_RESDATA_INC_006771
    
}
    
WTYPE_STATIC WIDC_STATIC2 "WndEditTile200.tga" 1 365 20 498 36 0x2222481 0 0 0 0 0 0 0
    
{
    
// Title String
IDS_RESDATA_INC_006772
    
}
    {
    
// ToolTip
IDS_RESDATA_INC_006773
    
}


Resdata.h

PHP Code:
#define APP_TELEPORTER    2024 
Die Bilder:

Müsst ihr in Theme/Default/LoadMap reinklatschen.

Das wars schon, aber ihr müsst natürlich die Weise wie ihr den Teleporter aufrufen wollt noch bestimmen.


Screen:

You must register and activate your account in order to view images.



Мentus is offline  
Thanks
38 Users
Old   #2
 
elite*gold: 0
Join Date: Oct 2012
Posts: 58
Received Thanks: 21
Der Teleporter ist nice, dafür hast du ein Thx.

Aber wer zu blöd ist, den aus einem auszubauen und in einen anderen einzubauen, der sollte lieber die Finger vom Source lassen.


Sony. is offline  
Old   #3
 
elite*gold: 51
Join Date: Sep 2012
Posts: 1,213
Received Thanks: 573
Das ding abzubauen ist 5 Min Aufgabe.
TrøublêMakêr is offline  
Old   #4
 
elite*gold: 30
Join Date: Sep 2012
Posts: 436
Received Thanks: 1,005
Quote:
Originally Posted by Bloodyrain' View Post
Das ding abzubauen ist 5 Min Aufgabe.
Jo, aber da manche meinen sich cool - fühlen zu müssen, weil sie meinen Teleporter nutzen.


Мentus is offline  
Thanks
1 User
Old   #5


 
elite*gold: 132
Join Date: Oct 2008
Posts: 2,216
Received Thanks: 376
Schade das es jetze Releast worden ist -.- ...
Aber okay , wozu was kaufen wenn eh alles releast würd ..

lg
™Dryad is offline  
Old   #6
 
elite*gold: 288
Join Date: Sep 2008
Posts: 2,035
Received Thanks: 155
ja sauber. danke, nene teleporter hat mir noch gefehlt und deiner ist echt super
bin aber zu doof den in nen npc zu integrieren Dx
iLogix'. is offline  
Old   #7
 
elite*gold: 0
Join Date: Jun 2012
Posts: 96
Received Thanks: 79
Wtf & das von dir Mentus? Seit wann bist du zu den Leechern freundlich xD?
Naja für mich unnötig, jeder der diesen Teleporter nicht alleinen ausbauen kann sollte sich lieber NIE mehr mit der Flyff Source beschäftigen.
uKn0w' is offline  
Old   #8
 
elite*gold: 0
Join Date: Oct 2012
Posts: 58
Received Thanks: 21
Der Teleporter ist schon lange Released, unzwar in Mentus Source, er hat lediglich hier die Einträge gepostet und wo hin kommen.
Sony. is offline  
Old   #9
 
elite*gold: 0
Join Date: Apr 2011
Posts: 315
Received Thanks: 20
how could you add more places? how can i add all the place's whare you got a photo from?
arnootie is offline  
Old   #10



 
elite*gold: 0
The Black Market: 480/0/0
Join Date: Jan 2012
Posts: 12,439
Received Thanks: 2,915
Quote:
Originally Posted by arnootie View Post
how could you add more places? how can i add all the place's whare you got a photo from?
Use the Example from this Code. (C & P)

________

Quote:
case 0:
strFile = "flaris.tga";
strLandName ="Flaris";
strDes= "";
break;
Quote:
case 0: vPos = D3DXVECTOR3(6973.0F, 100.0F, 3328.0F); dwWorldID = 1; break;
X Y Z
World ID (defineWorld.h)

Quote:
pListBox->AddString("Khaldera");
This Code is for adding the Name in the List Box (Window).
​Lumi is offline  
Thanks
2 Users
Old   #11
 
elite*gold: 0
Join Date: Oct 2012
Posts: 163
Received Thanks: 90
Nice Teleporter. Er sieht gut aus und erfüllt auch sehr gut seine Aufgabe, ich habe es ausprobiert.

Deshalb
Timmy' is offline  
Old   #12
 
elite*gold: 0
Join Date: Apr 2011
Posts: 315
Received Thanks: 20
Quote:
Originally Posted by Lumi' View Post
Use the Example from this Code. (C & P)

________





X Y Z
World ID (defineWorld.h)



This Code is for adding the Name in the List Box (Window).
case 1-22 is already thare, look at this:

Code:
dif 
    CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser ); 
    int nCurSel; 
    if( IsValidObj( pUser ) ) 
    { 
        ar >> nCurSel; 
        DWORD dwWorldID; 
        D3DXVECTOR3 vPos; 
        switch( nCurSel ) 
        { 
            case 0: vPos = D3DXVECTOR3(6973.0F, 100.0F, 3328.0F); dwWorldID = 1; break; 
            case 1: vPos = D3DXVECTOR3(8321.0F, 100.0F, 3720.0F); dwWorldID = 1; break; 
            case 2: vPos = D3DXVECTOR3(3900.250732F, 59.0F, 4377.806641F); dwWorldID = 1; break; 
            case 3: vPos = D3DXVECTOR3(5574.530273F, 75.001129F, 3900.282227F); dwWorldID = 1; break; 
            case 4: vPos = D3DXVECTOR3(3240.482910F, 11.316653F, 3409.634766F); dwWorldID = 1; break; 
            case 5: vPos = D3DXVECTOR3(881.142883F, 183.273331F, 1008.118652F); dwWorldID = 206; break; 
            case 6: vPos = D3DXVECTOR3(6642.931152F, 58.000000F, 6454.676758F); dwWorldID = 1; break; 
            case 7: vPos = D3DXVECTOR3(6785.000000F, 100.699989F, 6062.000000F); dwWorldID = 1; break; 
            case 8: vPos = D3DXVECTOR3(5986.8989f, 100.0f, 5414.0f); dwWorldID = 1; break; 
          /*  case 9: vPos = D3DXVECTOR3(4908.647F, 100.000F, 3457.677F); dwWorldID = 1; break; 
            case 10: vPos = D3DXVECTOR3(5267.235F, 100.000F, 4719.388F); dwWorldID = 1; break; 
            case 11: vPos = D3DXVECTOR3(5946.719F, 100.392F, 5406.160F); dwWorldID = 1; break; 
            case 12: vPos = D3DXVECTOR3(6501.000F, 66.000F, 9095.00F); dwWorldID = 1; break;  
            case 13: vPos = D3DXVECTOR3(6593.000F, 100.000F, 5076.000F); dwWorldID = 1; break; 
            case 14: vPos = D3DXVECTOR3(5159.000F, 100.000F, 5273.000F); dwWorldID = 1; break; 
            case 15: vPos = D3DXVECTOR3(2762.000F, 150.000F, 5242.000F); dwWorldID = 1; break; 
            case 16: vPos = D3DXVECTOR3(2734.000F, 150.000F, 5239.000F); dwWorldID = 1; break; 
            case 17: vPos = D3DXVECTOR3(1826.000F, 96.600F, 2756.000F); dwWorldID = 1; break; 
            case 18: vPos = D3DXVECTOR3(2011.000F, 96.900F, 2307.000F); dwWorldID = 1; break; 
            case 19: vPos = D3DXVECTOR3(7065.011F, 90.962F, 6457.552F); dwWorldID = 1; break; 
            case 20: vPos = D3DXVECTOR3(6366.140F, 100.000F, 8050.609F); dwWorldID = 1; break; 
            case 21: vPos = D3DXVECTOR3(5730.762F, 87.762F, 8141.579F); dwWorldID = 1; break; 
            case 22: vPos = D3DXVECTOR3(7956.923F, 70.000F, 8822.327F); dwWorldID = 1; break;*/ 
            default: Error("CDPSrvr::OnTeleportByAPP - %s", pUser->GetName() ); return; 
        } 
        pUser->REPLACE( g_uIdofMulti, dwWorldID, vPos, REPLACE_NORMAL, nDefaultLayer ); 
    } 
}
if you look under case 8 thare is a
Code:
  /*
icon, if i remove thad, will all the teleports add?
arnootie is offline  
Old   #13
 
elite*gold: 288
Join Date: Sep 2008
Posts: 2,035
Received Thanks: 155
Yes, if you got the maps in your Server then all this teleports are available
iLogix'. is offline  
Old   #14



 
elite*gold: 0
The Black Market: 480/0/0
Join Date: Jan 2012
Posts: 12,439
Received Thanks: 2,915
Quote:
Originally Posted by arnootie View Post
case 1-22 is already thare, look at this:

Code:
dif 
    CUser* pUser = g_UserMng.GetUser( dpidCache, dpidUser ); 
    int nCurSel; 
    if( IsValidObj( pUser ) ) 
    { 
        ar >> nCurSel; 
        DWORD dwWorldID; 
        D3DXVECTOR3 vPos; 
        switch( nCurSel ) 
        { 
            case 0: vPos = D3DXVECTOR3(6973.0F, 100.0F, 3328.0F); dwWorldID = 1; break; 
            case 1: vPos = D3DXVECTOR3(8321.0F, 100.0F, 3720.0F); dwWorldID = 1; break; 
            case 2: vPos = D3DXVECTOR3(3900.250732F, 59.0F, 4377.806641F); dwWorldID = 1; break; 
            case 3: vPos = D3DXVECTOR3(5574.530273F, 75.001129F, 3900.282227F); dwWorldID = 1; break; 
            case 4: vPos = D3DXVECTOR3(3240.482910F, 11.316653F, 3409.634766F); dwWorldID = 1; break; 
            case 5: vPos = D3DXVECTOR3(881.142883F, 183.273331F, 1008.118652F); dwWorldID = 206; break; 
            case 6: vPos = D3DXVECTOR3(6642.931152F, 58.000000F, 6454.676758F); dwWorldID = 1; break; 
            case 7: vPos = D3DXVECTOR3(6785.000000F, 100.699989F, 6062.000000F); dwWorldID = 1; break; 
            case 8: vPos = D3DXVECTOR3(5986.8989f, 100.0f, 5414.0f); dwWorldID = 1; break; 
          /*  case 9: vPos = D3DXVECTOR3(4908.647F, 100.000F, 3457.677F); dwWorldID = 1; break; 
            case 10: vPos = D3DXVECTOR3(5267.235F, 100.000F, 4719.388F); dwWorldID = 1; break; 
            case 11: vPos = D3DXVECTOR3(5946.719F, 100.392F, 5406.160F); dwWorldID = 1; break; 
            case 12: vPos = D3DXVECTOR3(6501.000F, 66.000F, 9095.00F); dwWorldID = 1; break;  
            case 13: vPos = D3DXVECTOR3(6593.000F, 100.000F, 5076.000F); dwWorldID = 1; break; 
            case 14: vPos = D3DXVECTOR3(5159.000F, 100.000F, 5273.000F); dwWorldID = 1; break; 
            case 15: vPos = D3DXVECTOR3(2762.000F, 150.000F, 5242.000F); dwWorldID = 1; break; 
            case 16: vPos = D3DXVECTOR3(2734.000F, 150.000F, 5239.000F); dwWorldID = 1; break; 
            case 17: vPos = D3DXVECTOR3(1826.000F, 96.600F, 2756.000F); dwWorldID = 1; break; 
            case 18: vPos = D3DXVECTOR3(2011.000F, 96.900F, 2307.000F); dwWorldID = 1; break; 
            case 19: vPos = D3DXVECTOR3(7065.011F, 90.962F, 6457.552F); dwWorldID = 1; break; 
            case 20: vPos = D3DXVECTOR3(6366.140F, 100.000F, 8050.609F); dwWorldID = 1; break; 
            case 21: vPos = D3DXVECTOR3(5730.762F, 87.762F, 8141.579F); dwWorldID = 1; break; 
            case 22: vPos = D3DXVECTOR3(7956.923F, 70.000F, 8822.327F); dwWorldID = 1; break;*/ 
            default: Error("CDPSrvr::OnTeleportByAPP - %s", pUser->GetName() ); return; 
        } 
        pUser->REPLACE( g_uIdofMulti, dwWorldID, vPos, REPLACE_NORMAL, nDefaultLayer ); 
    } 
}
if you look under case 8 thare is a
Code:
  /*
icon, if i remove thad, will all the teleports add?
You can Remove that (/*), if you already have the Maps in your Server.
And under Case 22 you can add more Maps example Custom Maps.
​Lumi is offline  
Old   #15
 
elite*gold: 30
Join Date: Sep 2012
Posts: 436
Received Thanks: 1,005
DPClient. part added ;d

DPClient.h
in die Klasse eintragen, muss in einem Public "scope" sein.
PHP Code:
#ifdef __APP_TELEPORTER
    
void    SendTeleportint nCurSel );
#endif 
Hab's vergessen, i'm sry @ all lieschas.


Мentus is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[RELEASE]Shaiya teleporter
Hey Leute ich stelle euch heute meinen kleinen teleporter vor... http://shaiya.bplaced.de/porter.PNG er kann nicht viel und ist zimlich...
4 Replies - Shaiya Hacks, Bots, Cheats & Exploits
[RELEASE] Teleporter Quest DE like
So meine lieben epvp freunde ^^ Ich hab hier ein geschenk für euch :D Teleporter quest DE like.. ist zwar keine 1:1 kopie aber da ich mir gedacht...
12 Replies - Metin2 PServer Guides & Strategies
[Release] Teleporter V1
http://www7.pic-upload.de/24.03.12/4yn3mlhgka3.jpg Hey guys today I released a teleporter Use the bypass or maybe you'll get a...
24 Replies - S4 League Hacks, Bots, Cheats & Exploits
[Release] How to Create a Teleporter!
Hey, i know how hard it is to create a teleporter for some people... so i decided to create a sql and show you how to do it... Hope you like. ...
12 Replies - EO PServer Hosting
[RELEASE]T4 waypoints for War Teleporter
This has every waypoint for each T4 zone They are listed by zone and include: All battle objectives All keeps All chapter camps...
1 Replies - General Gaming Releases



All times are GMT +1. The time now is 13:15.


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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.