Advertisement
Aerotactics

Sims 3 Trainer Source

Sep 16th, 2014
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Class Form1
  2.     Dim Base As Int32
  3.     Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  4.         MsgBox("Please make sure the game is loaded before the trainer!")
  5.         Dim p As Process = Process.GetProcessesByName("TS3W")(0)
  6.         For Each moz As System.Diagnostics.ProcessModule In p.Modules
  7.             If moz.FileName.IndexOf("TS3W.exe") <> -1 Then
  8.                 Base = moz.BaseAddress.ToInt32
  9.             End If
  10.         Next
  11.     End Sub
  12.     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  13.         Dim ammount As String = TextBox1.Text
  14.         Try
  15.             WriteDMAInteger("TS3W", Base + &HDF282C, Offsets:={&H238, &HC0, &H14, &H8, &H120}, Value:=ammount, Level:=5, nsize:=4)
  16.             My.Computer.Audio.PlaySystemSound(System.Media.SystemSounds.Asterisk)
  17.         Catch
  18.         End Try
  19.     End Sub
  20. End Class
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement