It's to tell people to input 5, right?
It's to tell people to input 5, right?
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.It's to tell people to input 5, right?
AAAAAAAAH! Ok, now i understood! So if people don't write anything, the value will be 5, perfect!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.![]()
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?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?
OK, give me two minutesThanks! 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
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.nope
That's how I launched it in a first place. 1.7.0_51-b13 btwOkay, 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.
Exception in thread "main" java.lang.UnsupportedClassVersionError: socketpunch/SocketPunch : Unsupported major.minor version 52.0
Well, yes. Update to latest version. Don't know what number it is right now, but it should be at least Java 8u73.That's how I launched it in a first place. 1.7.0_51-b13 btw
Should I update my java?Code:Exception in thread "main" java.lang.UnsupportedClassVersionError: socketpunch/SocketPunch : Unsupported major.minor version 52.0
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
Hmm, can I still keep an old one too? UUupdater says that it will uninstall previous release...Well, yes. Update to latest version. Don't know what number it is right now, but it should be at least Java 8u73.
Thank you! I'll add it in the next update.Done
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.Hmm, can I still keep an old one too? UUupdater says that it will uninstall previous release...
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.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.
Thank you! I'll add it in the next update.
--------------------- MERGED ---------------------------
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).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
Sublime have encoding settings too. Oh for fu... Ok, I'll export nowIt 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.
Thanks! Would there be a way of replicating the bug? I haven't seen it yet.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.
In the folder with your .jar place config.txt withThanks! Would there be a way of replicating the bug? I haven't seen it yet.
// 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
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
