[ISSUE] Can't get teleport system to work

11/02/2019 19:00 kuibi1234#1
Hey, i use the recent clean v15 files from Blouflash and since its VS2017 based i can't get most of the systems i want in my server to work properly because theyre mostly VS2003 based.
I used this Teleport System:

[Only registered and activated users can see links. Click Here To Register...]

The Teleporter itself shows up if i open it ingame, but i can't teleport anywhere. I already doublechecked everything if i maybe did something wrong but everything seems to be right.
11/02/2019 19:43 -Valor#2
Are your buttons in ResData similar to the names of these buttons?

Code:
BOOL CWndTeleporter::OnChildNotify( UINT message, UINT nID, LRESULT* pLResult )
{
    switch (nID)
    {
    case WIDC_BUTTON_FLARIS1:// Flaris
        { 
            g_DPlay.SendTeleportPosition( 1 );
            Destroy();
            break;
        }
    case WIDC_BUTTON_SM1:// Saint Morning
        {
            g_DPlay.SendTeleportPosition( 2 );
            Destroy();
            break;
        }
    case WIDC_BUTTON_DARKON1:// Darkon
        {
            g_DPlay.SendTeleportPosition( 3 );
            Destroy();
            break;
        }
    case WIDC_BUTTON_DARKON11:// Darkon1
        {
            g_DPlay.SendTeleportPosition( 4 );
            Destroy();
            break;
        }
    case WIDC_BUTTON_DARKON3:// Darkon3
        {
            g_DPlay.SendTeleportPosition( 5 );
            Destroy();
            break;
        }
    case WIDC_BUTTON_VULCANO1:// VOLCANO
        {
            g_DPlay.SendTeleportPosition( 6 );
            Destroy();
            break;
        }
    case WIDC_BUTTON_PVP1:// Vorm Behemoth Dungeon
        {
            g_DPlay.SendTeleportPosition( 7 );
            Destroy();
            break;
        }
    case WIDC_BUTTON_HERODUNGEON:// Aminus Hero
        {
            g_DPlay.SendTeleportPosition( 8 );
            Destroy();
            break;
        }
    case WIDC_BUTTON_MASTERDUNGEON:// Aminus Master
        {
            g_DPlay.SendTeleportPosition( 9 );
            Destroy();
            break;
        }
    case WIDC_BUTTON_TRAMNUKM:// Tramnuk Master
        {
            g_DPlay.SendTeleportPosition( 10 );
            Destroy();
            break;
        }
    case WIDC_BUTTON_TRAMNUK:// Tramnuk Normal
        {
            g_DPlay.SendTeleportPosition( 11 );
            Destroy();
            break;
        }
    case WIDC_BUTTON_EVENT:// Khaldera
        {
            g_DPlay.SendTeleportPosition( 12 );
            Destroy();
            break;
        }
    case WIDC_BAHARA:// Bahara Desert
        {
            g_DPlay.SendTeleportPosition( 13 );
            Destroy();
            break;
        }
        case WIDC_SANPRESS_1:// Sanpress 1
        {
            g_DPlay.SendTeleportPosition( 14 );
            Destroy();
            break;
        }
        case WIDC_SANPRESS_2:// Sanpress 2
        {
            g_DPlay.SendTeleportPosition( 15 );
            Destroy();
            break;
        }
        case WIDC_UPRESIA_1:// Upresia 1
        {
            g_DPlay.SendTeleportPosition( 16 );
            Destroy();
            break;
        }
        case WIDC_UPRESIA_2:// Upresia 2
        {
            g_DPlay.SendTeleportPosition( 17 );
            Destroy();
            break;
        }
        case WIDC_HERNEOS_1:// Herneos 1
        {
            g_DPlay.SendTeleportPosition( 18 );
            Destroy();
            break;
        }
        case WIDC_HERNEOS_2:// Herneos 2
        {
            g_DPlay.SendTeleportPosition( 19 );
            Destroy();
            break;
        }
        case WIDC_KNOCHENPFAD:// Knochenpfad / Valley of the Risen
        {
            g_DPlay.SendTeleportPosition( 20 );
            Destroy();
            break;
        }
        case WIDC_CRYSTAL:// Crystal Dungeon
        {
            g_DPlay.SendTeleportPosition( 21 );
            Destroy();
            break;
        }
        case WIDC_KALGAS:// Kalgas Cave
        {
            g_DPlay.SendTeleportPosition( 22 );
            Destroy();
            break;
        }
        case WIDC_EILLUN:// Eillun
        {
            g_DPlay.SendTeleportPosition( 23 );
            Destroy();
            break;
        }
    }
    return CWndNeuz::OnChildNotify( message, nID, pLResult );
}
11/02/2019 20:01 kuibi1234#3
Yes they are, if they wouldn't be, i couldn't have compiled them. As i said the teleporter itself shows up ingame, i just can not teleport anywhere because nothing happens if i press the buttons which is due to the 2003VS formating and i use 2017VS formating. I think the error is somewhere in the source that won't let me teleport. Do you have any other ideas?

Thanks
11/03/2019 13:01 -Valor#4
Compiling has nothing to-do with your resource.
If your button in resdata.inc isn't matching with your source, nothing will happen.
11/03/2019 13:31 kuibi1234#5
Everything fixed now, i had it definited on a wrong spot in versioncommon.h

#CloseRequest