Post: Save CCAPI IP in settings and not a file
05-03-2014, 02:59 PM #1
Citadel
Samurai Poster
(adsbygoogle = window.adsbygoogle || []).push({});
Alright so I noticed 99.9% of the threads that get[are] posted have the IP.txt file to save the IP address. That looks like shit. Either hide the IP.txt or remove it.
Now You can use settings like I do in my personal tools.

Step 1: Do this You must login or register to view this content. (textbox name is IPBox and 2 buttons (I'm using metro dll, just use the normal buttons and theme later)

Step 2: Set max length to 15 You must login or register to view this content. (15 is the most you can have for an ip ,(xxx.xxx.xxx.xxx ), have to add the dots too unless you use maskbox)

Step 3: At the top add 'using (solutionname).Properties;

Step 4: Go to the solution properties( You must login or register to view this content. )

Step 5: Look for 'Settings'. Now type ip ( you can use anything but will need to edit the code I supply soon)
The 'string' is type and 'User' is Scope. Put Value as your ps3 IP (mine is 192.168.1.3)so it looks like You must login or register to view this content.

Step 6: I have a huge code for my connect button so here are the snippets I'll supply. Apply to connect button
    
PS3.CCAPI.ConnectTarget(IPBox.Text); - This reads the box while when you push the connect button(only works on ccapi)
PS3.CCAPI.SUCCESS(PS3.CCAPI.ConnectTarget(IPBox.Text)); - Just another part I use so it connects to the ps3 faster
PS3.CCAPI.Notify(CCAPI.NotifyIcon.GRAB, Text + " Loaded"); -leave a space after the first " otherwise it's 1 word
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Double); - Makes 'beep' noise on ps3 (single double or continuous can be used)
IPBox.Text = Settings.Default["ip"].ToString(); Settings.Default.Save(); - this saves the IP to the program.
IPBox.Enabled = true; IPBox.ReadOnly = false; - This goes in the ccapi radiobutton so it's read by ccapi but not tmapi
IPBox.Enabled = false;IPBox.ReadOnly = true; - This goes in the tmapi radiobutton so it's read by ccapi and not tmapi


Step 7: Now you need to double click on the 'form'(the GUI). I suggest by the top(title) so you don't click on an item.
You now should see Public Void Form1_Load(object sender, EventArgs e) { }
Inside that you put IPBox.Text = Settings.Default["ip"].ToString(); See You must login or register to view this content.


You must login or register to view this content.
Not posting a virus scan. It's a project file you open in visual studios


I have this tut myself. Not posted anywhere else.
If you need more help with it or I fucked up on something, quote me or PM me and I'll help you fix it :p
Password: nguCitadel

Remove the
    Process [] proc = Process.GetProcessesByName("vshost");
proc[0].Kill();
from the form1 load. It was for testing purposes only Happy
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to Citadel for this useful post:

Cain532, Dan Dactyl, EternalHabit, IDontbreak, Slinky

The following user groaned Citadel for this awful post:

jerrmy12
05-03-2014, 03:07 PM #2
Dan Dactyl
One Among The Fence
Originally posted by Citadel View Post
Alright so I noticed 99.9% of the threads that get[are] posted have the IP.txt file to save the IP address. That looks like shit. Either hide the IP.txt or remove it.
Now You can use settings like I do in my personal tools.

Step 1: Do this You must login or register to view this content. (textbox name is IPBox and 2 buttons (I'm using metro dll, just use the normal buttons and theme later)

Step 2: Set max length to 15 You must login or register to view this content. (15 is the most you can have for an ip ,(xxx.xxx.xxx.xxx ), have to add the dots too unless you use maskbox)

Step 3: At the top add 'using (solutionname).Properties;

Step 4: Go to the solution properties( You must login or register to view this content. )

Step 5: Look for 'Settings'. Now type ip ( you can use anything but will need to edit the code I supply soon)
The 'string' is type and 'User' is Scope. Put Value as your ps3 IP (mine is 192.168.1.3)so it looks like You must login or register to view this content.

Step 6: I have a huge code for my connect button so here are the snippets I'll supply. Apply to connect button
    
PS3.CCAPI.ConnectTarget(IPBox.Text); - This reads the box while when you push the connect button(only works on ccapi)
PS3.CCAPI.SUCCESS(PS3.CCAPI.ConnectTarget(IPBox.Text)); - Just another part I use so it connects to the ps3 faster
PS3.CCAPI.Notify(CCAPI.NotifyIcon.GRAB, Text + " Loaded"); -leave a space after the first " otherwise it's 1 word
PS3.CCAPI.RingBuzzer(CCAPI.BuzzerMode.Double); - Makes 'beep' noise on ps3 (single double or continuous can be used)
IPBox.Text = Settings.Default["ip"].ToString(); Settings.Default.Save(); - this saves the IP to the program.
IPBox.Enabled = true; IPBox.ReadOnly = false; - This goes in the ccapi radiobutton so it's read by ccapi but not tmapi
IPBox.Enabled = false;IPBox.ReadOnly = true; - This goes in the tmapi radiobutton so it's read by ccapi and not tmapi


Step 7: Now you need to double click on the 'form'(the GUI). I suggest by the top(title) so you don't click on an item.
You now should see Public Void Form1_Load(object sender, EventArgs e) { }
Inside that you put IPBox.Text = Settings.Default["ip"].ToString(); See You must login or register to view this content.


You must login or register to view this content.
Not posting a virus scan. It's a project file you open in visual studios


I have this tut myself. Not posted anywhere else.
If you need more help with it or I fucked up on something, quote me or PM me and I'll help you fix it :p


Gunna be trying as soon as I get to my PC. Thanks man I really appreciate it and I'm sure alot more do too!
05-03-2014, 03:12 PM #3
Citadel
Samurai Poster
Originally posted by Dan
Gunna be trying as soon as I get to my PC. Thanks man I really appreciate it and I'm sure alot more do too!


Took me long enogh to postit though lol

The following user thanked Citadel for this useful post:

Exploited
05-03-2014, 03:29 PM #4
Cain532
Vault dweller
Nice tutorial Smile This is the code I use in all of my MGS tools, thanks to you.
05-06-2014, 12:45 PM #5
Exploited
Award Winner
As always citadel you da man and hope u get some recognition for your 1337 skills lol

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo