Results 1 to 2 of 2
  1. #1
    tomstichi's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Location
    Germany :)
    Posts
    70
    Reputation
    10
    Thanks
    2,210
    My Mood
    Amused

    Forward Teleport

    hey,
    i made a server control with teleport. Now i want to make a forward telelport....
    my question is which functions and addresses do i need to port forward?

    sorry for my english^^
    Last edited by tomstichi; 10-16-2012 at 03:49 PM.

  2. #2
    CyanideC00kies's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Location
    Canada
    Posts
    24
    Reputation
    12
    Thanks
    14
    Here are some addresses for Player0
    view yaw: 0x01D0599C
    x position: 0x01D0585C
    y position: 0x01D05860
    You can add 0x38EC to each as you increment through your player list.

    We know that yaw is your forward direction in radians and lets say we want to teleport 100 units forward.
    We simply convert the player's yaw to degrees and then use trigonometry to split our teleport distance into an x and y value.

    Code:
    xdist = 100 * cos(yaw * 180 / PI);
    ydist = 100 * sin(yaw * 180 / PI);
    Then you simply write the resulting values into the above x and y addresses. Ask questions if anything's unclear.
    Last edited by CyanideC00kies; 10-17-2012 at 05:24 AM.

  3. The Following 2 Users Say Thank You to CyanideC00kies For This Useful Post:

    reloe (10-17-2012),tomstichi (10-21-2012)

Similar Threads

  1. [Help Request] Teleport: Where is forward?
    By hoschi111 in forum Call of Duty Modern Warfare 3 Coding, Programming & Source Code
    Replies: 2
    Last Post: 08-16-2012, 07:15 AM
  2. How to Port Forward
    By arunforce in forum Game Hacking Tutorials
    Replies: 1
    Last Post: 01-07-2012, 10:13 PM
  3. how to port forward a DSL modem?
    By AN1MAL in forum Suggestions, Requests & Help
    Replies: 8
    Last Post: 11-20-2006, 01:24 PM
  4. Teleportation Turret
    By Dreimos in forum WarRock - International Hacks
    Replies: 15
    Last Post: 06-01-2006, 12:54 PM
  5. Movies you look forward to seeing?
    By Dave84311 in forum Entertainment
    Replies: 13
    Last Post: 02-20-2006, 09:24 PM

Tags for this Thread