Homebrew [Release] SocketPunch - FBI network CIA installer for Android & PC

  • Thread starter Thread starter Olmectron
  • Start date Start date
  • Views Views 430,321
  • Replies Replies 671
  • Likes Likes 54
It's for telling people the field has a value of 5 if they don't write anything. Heh, sorry, didn't make It clear enough. It sounds strange now that I think about It. :)
AAAAAAAAH! Ok, now i understood! So if people don't write anything, the value will be 5, perfect!

--------------------- MERGED ---------------------------

Here the translation! I made it more accurate. Will you implement it?
 

Attachments

AAAAAAAAH! Ok, now i understood! So if people don't write anything, the value will be 5, perfect!

--------------------- MERGED ---------------------------

Here the translation! I made it more accurate. Will you implement it?
Thanks! Yes, I will. It's just I couldn't decide between the three Italian versions I've received so far. But I've noticed yours is more adjusted to the GUI (in terms of line length, and such). One more favor, could you please add these lines (and translate them) to the file?

connection_failed=Connection to update server failed
settings=Settings
 
  • Like
Reactions: Real.96
fcfd8ef6b5.jpg

Hmm?
 
Thanks! Yes, I will. It's just I couldn't decide between the three Italian versions I've received so far. But I've noticed yours is more adjusted to the GUI (in terms of line length, and such). One more favor, could you please add these lines (and translate them) to the file?

connection_failed=Connection to update server failed
settings=Settings
OK, give me two minutes
 
  • Like
Reactions: Olmectron
Okay, then. Please open a command line, enter the directory where you have the JAR file, and type java -jar SocketPunch.jar (or however your app is named), please.

Also, type java -version and post the output, please.
 
Okay, then. Please open a command line, enter the directory where you have the JAR file, and type java -jar SocketPunch.jar (or however your app is named), please.

Also, type java -version and post the output, please.
That's how I launched it in a first place. 1.7.0_51-b13 btw
Code:
Exception in thread "main" java.lang.UnsupportedClassVersionError: socketpunch/SocketPunch : Unsupported major.minor version 52.0
Should I update my java?
 
That's how I launched it in a first place. 1.7.0_51-b13 btw
Code:
Exception in thread "main" java.lang.UnsupportedClassVersionError: socketpunch/SocketPunch : Unsupported major.minor version 52.0
Should I update my java?
Well, yes. Update to latest version. Don't know what number it is right now, but it should be at least Java 8u73.
 
Thanks! Yes, I will. It's just I couldn't decide between the three Italian versions I've received so far. But I've noticed yours is more adjusted to the GUI (in terms of line length, and such). One more favor, could you please add these lines (and translate them) to the file?

connection_failed=Connection to update server failed
settings=Settings

Done
 

Attachments

Thank you! I'll add it in the next update.

--------------------- MERGED ---------------------------

Hmm, can I still keep an old one too? UUupdater says that it will uninstall previous release...
I'm not sure. Oracle recommends to remove older builds. You can always try to download zip binaries and put them in different directories, and then create different environment variables for your different versions. Don't know how'd that work, though.

Edit: forget what I said, that's possible on Linux distros, but not on Windows (at least not as easily).
 
Last edited by Olmectron,
  • Like
Reactions: Real.96
Thank you! I'll add it in the next update.

--------------------- MERGED ---------------------------


I'm not sure. Oracle recommends to remove older builds. You can always try to download zip binaries and put them in different directories, and then create different environment variables for your different versions. Don't know how'd that work, though.
I'll just get the new binaries then. Theoretically, I can choose with what version I wanna launch my apps, so it will be ok.
BTW, can I use Cyrillic in you lang file? And what encoding should I use for it? I can translate it to Russian and Ukrainian
 
I'll just get the new binaries then. Theoretically, I can choose with what version I wanna launch my apps, so it will be ok.
BTW, can I use Cyrillic in you lang file? And what encoding should I use for it? I can translate it to Russian and Ukrainian
It should work. You just need to use UTF-8 without BOM encoding. You can use https://notepad-plus-plus.org/ for easily assuring your file has that encoding (the program has encoding options).

Added: By the way, the sample.txt in the OP isn't updated. Use the "Export language" option from within the SocketPunch app, and select the English file for getting the updated text file.
 
Last edited by Olmectron,
  • Like
Reactions: Real.96
It should work. You just need to use UTF-8 without BOM encoding. You can use https://notepad-plus-plus.org/ for easily assuring your file has that encoding (the program has encoding options).

Added: By the way, the sample.txt in the OP isn't updated. Use the "Export language" option from within the SocketPunch app, and select the English file for getting the updated text file.
Sublime have encoding settings too. Oh for fu... Ok, I'll export now

--------------------- MERGED ---------------------------

Oh, wanna bugreport? Your Socketpunch didn't replace original config.txt, it just added new line, so now I have two ip settings in it.
 
Sublime have encoding settings too. Oh for fu... Ok, I'll export now

--------------------- MERGED ---------------------------

Oh, wanna bugreport? Your Socketpunch didn't replace original config.txt, it just added new line, so now I have two ip settings in it.
Thanks! Would there be a way of replicating the bug? I haven't seen it yet.

Edit: Oh, did you have an older config.txt (probably from the original SocketPunch)? If so, it could be that I changed encoding from Unicode (which was used before) to UTF-8, deleting the old one should fix the double field issue.

If not, I will play with the app around the ip Field for trying to get the bug. Thanks for your help!
 
Last edited by Olmectron,
Thanks! Would there be a way of replicating the bug? I haven't seen it yet.
In the folder with your .jar place config.txt with
Code:
// This file contains settings for SocketPunch
// Please keep in mind that buffersize should match with FBI (default 128)
savelog=true
buffersize=128
ip=192.168.137.33
That's exact contents of mine. Start your SocketPunch mod. That's all.
And btw: What's Initial code: and I'm a five thingy?

--------------------- MERGED ---------------------------

And it doesn't start with Cyrillic chars even with right encoding
Code:
Exception in Application start method
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(Unk
nown Source)
        at com.sun.javafx.application.LauncherImpl.launchApplication(Unknown Sou
rce)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source)
Caused by: java.lang.RuntimeException: Exception in Application start method
        at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown So
urce)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(
Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ExceptionInInitializerError
        at socketpunch.MainLayout.<init>(MainLayout.java:58)
        at socketpunch.SocketPunch$1.<init>(SocketPunch.java:150)
        at socketpunch.SocketPunch.start(SocketPunch.java:150)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162
(Unknown Source)
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(Unknown
 Source)
        at com.sun.javafx.application.PlatformImpl.lambda$null$173(Unknown Sourc
e)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(Unknown S
ource)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
        at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)
        ... 1 more
Caused by: java.lang.NullPointerException
        at java.io.Reader.<init>(Unknown Source)
        at java.io.InputStreamReader.<init>(Unknown Source)
        at socketpunch.languages.R$string.getInternalLanguageFile(R.java:113)
        at socketpunch.languages.R$string.<clinit>(R.java:39)
        ... 12 more
Exception running application socketpunch.SocketPunch
 

Site & Scene News

Popular threads in this forum