BaSs_HaXoR

MyPS3Console.exe : By BaSs_HaXoR

Sep 3rd, 2014
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 2.84 KB | None | 0 0
  1. ' #SetCID #SetConsoleID #SetPS3ConsoleID #setCIDTool #BaSs_HaXoR #BaSs #HaXoR
  2. ' Download: http://adf.ly/rt4hk
  3. Imports System
  4. Imports System.Collections.Generic
  5. Imports System.ComponentModel
  6. Imports System.Data
  7. Imports System.Drawing
  8. Imports System.Linq
  9. Imports System.Text
  10. Imports System.Threading.Tasks
  11. Imports System.Windows.Forms
  12. Imports PS3Lib
  13. Public Class Form1
  14.     Dim ps3treyIp As String = MyPS3Console.My.Settings.PS3IP
  15.     Dim CID As String = MyPS3Console.My.Settings.CID
  16.     Dim PSID As String = MyPS3Console.My.Settings.PSID
  17.         Dim PS3 As PS3API = New PS3Lib.PS3API(PS3Lib.SelectAPI.ControlConsole)
  18.     Private Sub setcidbtn_Click(sender As Object, e As EventArgs) Handles setcidbtn.Click
  19.         My.Settings.CID = cidtxt.Text
  20.         My.Settings.Save()
  21.         PS3.CCAPI.SetConsoleID(cidtxt.Text)
  22.         PS3.CCAPI.Notify(CCAPI.NotifyIcon.FRIEND, "CID changed!")
  23.     End Sub
  24.     Private Sub cidtext_TextChanged(sender As Object, e As EventArgs) Handles cidtxt.TextChanged
  25.  
  26.     End Sub
  27.     Private Sub RButton2_Click(sender As Object, e As EventArgs) Handles PSIDbtn.Click
  28.         My.Settings.PSID = PSIDtxt.Text
  29.         ' PS3.CCAPI.SetPSID()
  30.         '   PS3.CCAPI.Notify(CCAPI.NotifyIcon.FRIEND, "PSID changed!")
  31.     End Sub
  32.     Private Sub TextBox1_TextChanged(sender As Object, e As EventArgs) Handles PSIDtxt.TextChanged
  33.  
  34.     End Sub
  35.  
  36.     Private Sub RSeperator3_Click(sender As Object, e As EventArgs) Handles RSeperator3.Click
  37.  
  38.     End Sub
  39.  
  40.     Private Sub form_load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  41.         ps3ip.Text = My.Settings.PS3IP
  42.         cidtxt.Text = My.Settings.CID
  43.         PSIDtxt.Text = My.Settings.PSID
  44.     End Sub
  45.  
  46.     Private Sub connectbtn_Click(sender As Object, e As EventArgs) Handles connectbtn.Click
  47.         ps3treyIp = MyPS3Console.My.Settings.PS3IP
  48.         PS3.CCAPI.ConnectTarget(ps3treyIp)
  49.         PS3.CCAPI.Notify(CCAPI.NotifyIcon.FRIEND, "Connected to: " + ps3ip.Text)
  50.         PS3.CCAPI.AttachProcess()
  51.         PS3.CCAPI.Notify(CCAPI.NotifyIcon.FRIEND, "Attached!")
  52.         PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Single)
  53.     End Sub
  54.  
  55.     Private Sub RSeperator2_Click(sender As Object, e As EventArgs) Handles RSeperator2.Click
  56.  
  57.     End Sub
  58.  
  59.     Private Sub RButton2_Click_1(sender As Object, e As EventArgs) Handles RButton2.Click
  60.         FormIP.Show()
  61.     End Sub
  62.  
  63.     Private Sub RButton1_Click(sender As Object, e As EventArgs) Handles RButton1.Click
  64.         Me.Close()
  65.         FormIP.Close()
  66.     End Sub
  67.  
  68.     Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
  69.         ps3ip.Text = MyPS3Console.My.Settings.PS3IP
  70.         My.Settings.Save()
  71.         '    Dim CID As String = MyPS3Console.My.Settings.CID
  72.         '   Dim PSID As String = MyPS3Console.My.Settings.PSID
  73.         Timer1.Start()
  74.     End Sub
  75. End Class
Add Comment
Please, Sign In to add comment