Results 1 to 2 of 2
  1. #1
    NitroSmily's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    99
    Reputation
    10
    Thanks
    1,055
    My Mood
    Tired

    Exclamation Converting Integer to Float (FOV changer)

    Hello guys!
    So I was trying to convert integer to Float by having two buttons that can decrease and increase FOV. (field of view)

    Code:
        Dim myFloatVal As Double = 0.0
        Dim myIntVal As Integer = 90
        Private Sub Button66_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button66.Click
            myFloatVal = Convert.ToDouble(myIntVal)
            If MW3.Process_Handle("iw5mp") Then
                WriteFloat("iw5mp", Address, myFloatVal)
            End If
        End Sub
    Now when I tried to to do this, my FOV just changes to 1,234745475 and that is really frustrating me.
    The problem is that I don't know how to make an Float = 90 or 65 do you?
    If you do please help me!

  2. #2
          ( ° ͜ʖ͡°)╭∩╮
    Former Staff
    MarkHC's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    2,751
    Reputation
    66
    Thanks
    14,311
    My Mood
    Angelic
    Check the value myFloatVal and see if it is correct... cause it might be a problem when you write it, not when you're converting...

    And try converting it to a byte array and write the bytes...
    Last edited by MarkHC; 10-03-2012 at 10:13 AM.


    CoD Minion from 09/19/2012 to 01/10/2013

Similar Threads

  1. [Solved] MW3 Fov Changer
    By StylishCas. in forum Call of Duty Modern Warfare 3 Help
    Replies: 3
    Last Post: 02-14-2012, 12:30 PM
  2. FOV changer
    By princsce in forum Call of Duty Modern Warfare 2 Help
    Replies: 7
    Last Post: 12-25-2011, 02:44 AM
  3. [Patched] MW3 FOV Changer (1.2.359)
    By silentrunner2 in forum Call of Duty - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 22
    Last Post: 11-19-2011, 07:15 AM
  4. [Release] MW2 FOV Changer (1.0.172)
    By silentrunner2 in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 30
    Last Post: 02-09-2010, 11:30 PM
  5. [Release] MW2 FOV Changer (1.0.174)
    By silentrunner2 in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 33
    Last Post: 01-20-2010, 01:11 AM

Tags for this Thread