Results 1 to 3 of 3
  1. #1
    hoschi111's Avatar
    Join Date
    Aug 2007
    Gender
    male
    Location
    127.0.0.1
    Posts
    59
    Reputation
    10
    Thanks
    98
    My Mood
    Amazed

    Red face Teleport: Where is forward?

    In Frostzorn's Server Control a saw 6 Buttons which allows you to teleport in the "View-Direction".
    How did he did it?

    I know, how to teleport a player in X,Y,Z direction
    Player 1: Up;Down : 01D00FE4
    Player 1: North;South : 01D00FDC
    Player 1: West;East : 01D00FE0

    I also found the "Viewangle" or "Viewdegree" (don't know how to call it)
    Player 1 (Every adress returns the same value (float):
    P1View1: 01D0111C
    P1View2: 01D045B8
    P1View3: 01D046A4

    If you are looking in a 180° angle from 0,1°North to 179,9°South on the EAST side (real compass), the Value IS NEGATIV.
    Example:
    MW3 East = -90°
    "Real East" = 90°

    If you are looking in a 180 angle from 359,9°North to 180,1°South on the WEST side (real compass), the Value is POSITIV.
    Example:
    MW3 West = 90°
    "Real West" = 270°


    My Question:
    Is there any solution for calculating where "forward" is with these 6 adresses?

    I hope you understood what i want to reach.
    => No teleport on X,Y,Z Axis BUT teleport on view-direction.

    Thanks for any help!


    Maybe my Player 1 Viewangle adress just helped you
    Hint:
    P1View1 + 38EC = P2View1
    P2View1 + 38EC = P3View1
    and so on...

    [Please apologize my english, i'm not a native english speaker]
    Last edited by hoschi111; 08-14-2012 at 07:41 AM.

  2. #2
    Frostzorn's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    38
    Reputation
    10
    Thanks
    1,422
    My Mood
    Busy
    you need :

    Trigonometrie and Pythagoras!

    Trigonometrische Funktion
    Satz des Pythagoras

    HF and GL
    Last edited by Frostzorn; 08-15-2012 at 03:51 PM. Reason: nothing

  3. #3
    hoschi111's Avatar
    Join Date
    Aug 2007
    Gender
    male
    Location
    127.0.0.1
    Posts
    59
    Reputation
    10
    Thanks
    98
    My Mood
    Amazed
    Hätte ich fast schon gedacht
    [I'd expected it]

Similar Threads

  1. Replies: 6
    Last Post: 01-05-2016, 08:42 PM
  2. Where could I learn C++? (Beginner, and Advanced stuff)
    By TsumikiriX in forum C++/C Programming
    Replies: 8
    Last Post: 07-19-2006, 08:11 PM
  3. where can i get older client?
    By DrKaOs in forum WarRock - International Hacks
    Replies: 5
    Last Post: 02-05-2006, 10:04 AM
  4. Where do i find WPE Pro?
    By Rileyman1211 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 01-16-2006, 09:52 AM
  5. Plz I Want Maple Global Hacks And Where Do I Get Game Engine 2 Make The Hacks Work???
    By mattinthehat in forum MapleStory Hacks, Cheats & Trainers
    Replies: 3
    Last Post: 01-15-2006, 06:12 PM