Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    Help Teleport


    boi2gangster
     Share

    Recommended Posts

    error

    --------------------Configuration: Tele2 - Win32 Debug--------------------
    Compiling...
    tete.cpp
    c:\documents and settings\chris-pc\my documents\tele2\tete.h(45) : error C2065: 'SetTeleportCoor' : undeclared identifier
    c:\documents and settings\chris-pc\my documents\tele2\tete.h(51) : error C2373: 'SetTeleportCoor' : redefinition; different type modifiers
    Error executing cl.exe.
    
    Tele2.dll - 2 error(s), 0 warning(s)

     

    the source

     

    // tete.h: interface for the tete class.
    //
    //////////////////////////////////////////////////////////////////////
    
    #if !defined(AFX_TETE_H__4B9B5D02_2164_4D66_92C7_C8FC2A5BE32A__INCLUDED_)
    #define AFX_TETE_H__4B9B5D02_2164_4D66_92C7_C8FC2A5BE32A__INCLUDED_
    
    #if _MSC_VER > 1000
    #pragma once
    #endif // _MSC_VER > 1000
    
    class tete  
    {
    public:
    tete();
    virtual ~tete();
    
    };
    
    #endif // !defined(AFX_TETE_H__4B9B5D02_2164_4D66_92C7_C8FC2A5BE32A__INCLUDED_)
    
    #include <windows.h>
    #include <stdio.h>
    /*Creditz goes to ZeaS*/
    
    DWORD *PlayerIsIngame = (DWORD*)0x010FF4D8;
    
    int ArrayX[100];
    int ArrayY[100];
    int ArrayZ[100];
    
    int curx, cury, curz;
    int ArraySwitch=0, ArraySwitch2=0;
    
    DWORD X, Y, Z;
    
    DWORD WINAPI SaveTeleportCoor(LPVOID);
    DWORD WINAPI ArrayTeleport(LPVOID);
    
    BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
    {
      if(dwReason == DLL_PROCESS_ATTACH)
      {
      CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SaveTeleportCoor, NULL, NULL, NULL);
      CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SetTeleportCoor, NULL, NULL, NULL);
      }
      return TRUE;
    }
    
    DWORD WINAPI SetTeleportCoor(LPVOID)
    {
      for(;;)
      {
      if(*PlayerIsIngame)
      {
    	 X = (0x010FF4D8);
     X = *(DWORD*)X;
     X += 0x18c; //Offset X
     curx = *(int*)X;
    
     Y = (0x010FF4D8);
     Y = *(DWORD*)Y;
     Y += 0x194; //Offset Y
     cury = *(int*)Y;
    
     Z = (0x010FF4D8);
    	 Z = *(DWORD*)Z;
     Z += 0x190; //Offset Z
    	 curz = *(int*)Z;
    
    	 if(GetAsyncKeyState(VK_NUMPAD8)&1) // Saving Current Possition
    	 {
    
    	ArrayX[ArraySwitch] = curx;
    	ArrayY[ArraySwitch] = cury;
    	ArrayZ[ArraySwitch] = curz;
    	ArraySwitch++;
    	Sleep(2);
    
     }
      }
      }
      return 0;
    }
    
    DWORD WINAPI ArrayTeleport(LPVOID)
    {
      for(;;)
      {
      if(GetAsyncKeyState(VK_NUMPAD1)&1) //Teleport Forward
      {
    
    	 DWORD *first = (DWORD*)X;
     *(int*)X = ArrayX[ArraySwitch2];
     DWORD *secound = (DWORD*)Y;
     *(int*)Y = ArrayY[ArraySwitch2];
     DWORD *third = (DWORD*)Z;
     *(int*)Z = ArrayZ[ArraySwitch2];
     Sleep(1);
     ArraySwitch2++;
    
      }
      if(GetAsyncKeyState(VK_NUMPAD2)&1) //Teleport Backward
      {
    
    	 ArraySwitch2--;
    
     DWORD *first = (DWORD*)X;
     *(int*)X = ArrayX[ArraySwitch2];
     DWORD *secound = (DWORD*)Y;
     *(int*)Y = ArrayY[ArraySwitch2];
     DWORD *third = (DWORD*)Z;
     *(int*)Z = ArrayZ[ArraySwitch2];
     Sleep(1);
      }
      Sleep(21);
      }
      return 0;
    }

    Edited by boi2gangster
    Link to comment
    Share on other sites

    // cac.h: interface for the cac class.
    //
    //////////////////////////////////////////////////////////////////////
    
    #if !defined(AFX_CAC_H__6F5BBB57_5D44_4353_BE78_83DCB1B1DCD8__INCLUDED_)
    #define AFX_CAC_H__6F5BBB57_5D44_4353_BE78_83DCB1B1DCD8__INCLUDED_
    
    #if _MSC_VER > 1000
    #pragma once
    #endif // _MSC_VER > 1000
    
    class cac  
    {
    public:
    cac();
    virtual ~cac();
    
    };
    
    #endif // !defined(AFX_CAC_H__6F5BBB57_5D44_4353_BE78_83DCB1B1DCD8__INCLUDED_)
    
    #include <windows.h>
    #include <stdio.h>
    DWORD WINAPI SaveTeleportCoor(LPVOID);
    DWORD WINAPI ArrayTeleport(LPVOID);
    /*Creditz goes to ZeaS*/
    
    DWORD *PlayerIsIngame = (DWORD*)0x010FF4D8;
    
    int ArrayX[100];
    int ArrayY[100];
    int ArrayZ[100];
    
    int curx, cury, curz;
    int ArraySwitch=0, ArraySwitch2=0;
    
    DWORD X, Y, Z;
    
    DWORD WINAPI SaveTeleportCoor(LPVOID);
    DWORD WINAPI ArrayTeleport(LPVOID);
    
    BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
    {
      if(dwReason == DLL_PROCESS_ATTACH)
      {
      CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SaveTeleportCoor, NULL, NULL, NULL);
      CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)SetTeleportCoor, NULL, NULL, NULL);
      }
      return TRUE;
    }
    
    DWORD WINAPI SetTeleportCoor(LPVOID)
    {
      for(;;)
      {
      if(*PlayerIsIngame)
      {
    	 X = (0x010FF4D8);
     X = *(DWORD*)X;
     X += 0x18c; //Offset X
     curx = *(int*)X;
    
     Y = (0x010FF4D8);
     Y = *(DWORD*)Y;
     Y += 0x194; //Offset Y
     cury = *(int*)Y;
    
     Z = (0x010FF4D8);
    	 Z = *(DWORD*)Z;
     Z += 0x190; //Offset Z
    	 curz = *(int*)Z;
    
    	 if(GetAsyncKeyState(VK_NUMPAD8)&1) // Saving Current Possition
    	 {
    
    	ArrayX[ArraySwitch] = curx;
    	ArrayY[ArraySwitch] = cury;
    	ArrayZ[ArraySwitch] = curz;
    	ArraySwitch++;
    	Sleep(2);
    
     }
      }
      }
      return 0;
    }
    
    DWORD WINAPI ArrayTeleport(LPVOID)
    {
      for(;;)
      {
      if(GetAsyncKeyState(VK_NUMPAD1)&1) //Teleport Forward
      {
    
    	 DWORD *first = (DWORD*)X;
     *(int*)X = ArrayX[ArraySwitch2];
     DWORD *secound = (DWORD*)Y;
     *(int*)Y = ArrayY[ArraySwitch2];
     DWORD *third = (DWORD*)Z;
     *(int*)Z = ArrayZ[ArraySwitch2];
     Sleep(1);
     ArraySwitch2++;
    
      }
      if(GetAsyncKeyState(VK_NUMPAD2)&1) //Teleport Backward
      {
    
    	 ArraySwitch2--;
    
     DWORD *first = (DWORD*)X;
     *(int*)X = ArrayX[ArraySwitch2];
     DWORD *secound = (DWORD*)Y;
     *(int*)Y = ArrayY[ArraySwitch2];
     DWORD *third = (DWORD*)Z;
     *(int*)Z = ArrayZ[ArraySwitch2];
     Sleep(1);
      }
      Sleep(21);
      }
      return 0;
    }

     

    still same 2 errors

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...