VB Error [Help]

SexyDev Dec 2, 2013

  1. Se

    SexyDev Queen of Darkness
    0/47

    Joined:
    Aug 24, 2012
    Messages:
    588
    Likes Received:
    99
    Trophy Points:
    0
    Gender:
    Female
    Console:
    Xbox
    ReadFile()

    Readfile is not declared?

    Will someone please give me a hand.
     
  2. gold972

    gold972 团队XPG影响 Effect XPG Developer TeamXPG
    205/282

    Joined:
    Dec 6, 2010
    Messages:
    6,833
    Likes Received:
    14,866
    Trophy Points:
    205
    Gender:
    Male
    Location:
    France Kernal XDK
    Console:
    Xbox
    Public Sub ReadFile()
    Try
    Dim reader As New PackageIO.Reader(Filepath, Endian.Big)

    reader.Close()
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
    End Try
    End Sub
     
  3. slyfuldragon

    slyfuldragon 360Revolution Developer XPG Moderator
    195/282

    Joined:
    Nov 22, 2009
    Messages:
    1,792
    Likes Received:
    379
    Trophy Points:
    195
    Console:
    Xbox
    To clarify:
    It is as Obyto stated




    In other words, as an example since your are using PackageIO:
    Code:
    Public Sub ReadFile()
            Try
                Dim reader As New PackageIO.Reader(Filepath, Endian.Big)
               
                Reader.Position = &H23941 : NumericUpDown1.value = Reader.ReadInt32
                '&H represents Hexadecimal, so you are pointing at the Hex offset position you want the tool to read, in this case I am pointing the reader at the offset 0x23941 which is Int32 long hence the Reader.ReadInt32'
    
                reader.Close()
            Catch ex As Exception
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
            End Try
        End Sub
     
  4. Se

    SexyDev Queen of Darkness
    0/47

    Joined:
    Aug 24, 2012
    Messages:
    588
    Likes Received:
    99
    Trophy Points:
    0
    Gender:
    Female
    Console:
    Xbox
    Thanks guys!

    Also, I'm having trouble locating the offsets in my Skyrim save for gold, lockpicks and carry weight. Any ideas?
     
  5. Iamcoolz

    Iamcoolz Forum Administrator Staff Member XPG Administrator
    205/282

    Joined:
    Mar 30, 2012
    Messages:
    1,232
    Likes Received:
    509
    Trophy Points:
    205
    Gender:
    Male
    Location:
    XPG
    Console:
    Xbox One
    Mostly everything in a save, can be found at the adress of using a hex editor.. but you have to know how to work a hex editor to understand the max amount of strings and so on. Get the gold you have, and then open your save in a Hex Editor and use this converter - http://www.mathsisfun.com/binary-decimal-hexadecimal-converter.html, and use the decimal column, enter it in and you will get a hex code like - 303F and then search for it in your hex editor and you will find it. Read more about hex editing and how to do it here - http://www.flexhex.com/docs/howtos/hex-editing.phtml
     
  6. Se

    SexyDev Queen of Darkness
    0/47

    Joined:
    Aug 24, 2012
    Messages:
    588
    Likes Received:
    99
    Trophy Points:
    0
    Gender:
    Female
    Console:
    Xbox
    This is annoying! I put &1101D and it says "Expression Expected"

    Starting to irritate me....
     
  7. slyfuldragon

    slyfuldragon 360Revolution Developer XPG Moderator
    195/282

    Joined:
    Nov 22, 2009
    Messages:
    1,792
    Likes Received:
    379
    Trophy Points:
    195
    Console:
    Xbox
    The offsets are extremely tricky for Skyrim, They are compress upon encrypted (of sorts) in character blocks of the game/save.
    So far people have only been able to hex editor gold located in barrels.

    Something I would not recommend a novice to tackle without the help of a reverse engineer.

    Best bet (in regards to Skyrim) would be to Console Modify the save on the PC then transfer the save over to the 360, vise versa.

    you need &H before the offset

    Like this:
    Code:
    Reader.Position = &H1101D : NumericUpDown1.value = Reader.ReadInt32
     
  8. Se

    SexyDev Queen of Darkness
    0/47

    Joined:
    Aug 24, 2012
    Messages:
    588
    Likes Received:
    99
    Trophy Points:
    0
    Gender:
    Female
    Console:
    Xbox
    That's what it was, thanks so much :D
     
  9. KillerVidz

    KillerVidz Rocky BANNED
    0/47

    Joined:
    Feb 20, 2012
    Messages:
    3,312
    Likes Received:
    1,279
    Trophy Points:
    0
    Gender:
    Male
    Location:
    XPG-UK
    Console:
    Xbox One
    Beat me to it dude haha ;)
     

Share This Page

Close