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 20:11

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

Advertisement



[Release] Teleporter by Mentus ;d

Discussion on [Release] Teleporter by Mentus ;d within the Flyff PServer Guides & Releases forum part of the Flyff Private Server category.

Reply
 
Old   #1
 
Мentus's Avatar
 
elite*gold: 30
Join Date: Sep 2012
Posts: 426
Received Thanks: 1,021
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:

Мentus is offline  
Thanks
41 Users
Old 10/21/2012, 00:28   #2
 
Sony.'s Avatar
 
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 10/21/2012, 02:19   #3
 
TrøublêMakêr's Avatar
 
elite*gold: 51
Join Date: Sep 2012
Posts: 1,141
Received Thanks: 575
Das ding abzubauen ist 5 Min Aufgabe.
TrøublêMakêr is offline  
Old 10/21/2012, 02:33   #4
 
Мentus's Avatar
 
elite*gold: 30
Join Date: Sep 2012
Posts: 426
Received Thanks: 1,021
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 10/21/2012, 03:58   #5

 
™Dryad's Avatar
 
elite*gold: 380
Join Date: Oct 2008
Posts: 2,262
Received Thanks: 381
Schade das es jetze Releast worden ist -.- ...
Aber okay , wozu was kaufen wenn eh alles releast würd ..

lg
™Dryad is offline  
Old 10/21/2012, 06:13   #6


 
iLogix'.'s Avatar
 
elite*gold: 73
Join Date: Sep 2008
Posts: 2,093
Received Thanks: 160
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 10/21/2012, 10:20   #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 10/21/2012, 10:49   #8
 
Sony.'s Avatar
 
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 10/21/2012, 12:15   #9
 
elite*gold: 0
Join Date: Apr 2011
Posts: 319
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/21/2012, 12:57   #10
ベトナム警察




 
Lumi's Avatar
 
elite*gold: 725
The Black Market: 516/0/0
Join Date: Jan 2012
Posts: 16,357
Received Thanks: 3,425
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 10/21/2012, 13:03   #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 10/21/2012, 13:23   #12
 
elite*gold: 0
Join Date: Apr 2011
Posts: 319
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 10/21/2012, 13:29   #13


 
iLogix'.'s Avatar
 
elite*gold: 73
Join Date: Sep 2008
Posts: 2,093
Received Thanks: 160
Yes, if you got the maps in your Server then all this teleports are available
iLogix'. is offline  
Old 10/21/2012, 13:39   #14
ベトナム警察




 
Lumi's Avatar
 
elite*gold: 725
The Black Market: 516/0/0
Join Date: Jan 2012
Posts: 16,357
Received Thanks: 3,425
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 10/23/2012, 17:07   #15
 
Мentus's Avatar
 
elite*gold: 30
Join Date: Sep 2012
Posts: 426
Received Thanks: 1,021
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


Similar Threads Similar Threads
[RELEASE]Shaiya teleporter
04/12/2012 - Shaiya Hacks, Bots, Cheats & Exploits - 4 Replies
Hey Leute ich stelle euch heute meinen kleinen teleporter vor... http://shaiya.bplaced.de/porter.PNG er kann nicht viel und ist zimlich selbsterklärend ^^ habs noch nicht getestet aber möglicherweise kann man sich mit ihm durchs gr porten ... also durch die unsichtbaren wände hindurch in die anderen gebitete zb mit den 60er char ins 15er gebiet werde es sonntag testen und euch sagen obs klapt ^^
[RELEASE] Teleporter Quest DE like
04/02/2012 - Metin2 PServer Guides & Strategies - 12 Replies
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 habe das viele das brauchen könnten mach ich sie mal pub :) Download findet ihr am anhang ! Viel spass noch :)
[Release] Teleporter V1
03/28/2012 - S4 League Hacks, Bots, Cheats & Exploits - 24 Replies
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 HTD -> Bypass Tutorial Teleport-Manager + English Tutorial:
[Release] How to Create a Teleporter!
02/14/2011 - EO PServer Hosting - 12 Replies
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. INSERT INTO `cq_action` VALUES ('id 0', 'id 1', '0000', '0101', '1020010', 'Hello~my~Name~is~Kayla~i~can~Teleport~you~to~any~ map!'); INSERT INTO `cq_action` VALUES ('id 1', 'id 2', '0000', '0102', '0', 'I~want~to~go~to~*what ever map name you want here*. id 4'); INSERT INTO `cq_action` VALUES ('id 2', 'id 3', '0000', '0102', '0',...
[RELEASE]T4 waypoints for War Teleporter
11/11/2008 - General Gaming Releases - 1 Replies
This has every waypoint for each T4 zone They are listed by zone and include: All battle objectives All keeps All chapter camps (ORDER ONLY)



All times are GMT +2. The time now is 20:11.


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.