Author Topic: WC3Connect  (Read 10231 times)

uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: WC3Connect
« Reply #15 on: February 15, 2014, 10:08:03 am »
Well either way you can change GHost to listen on all ports and only use bindaddress to connect to Battle.net.

Profforg

  • Average Member
  • ***
  • Posts: 187
  • Karma: +23/-27
    • View Profile
Re: WC3Connect
« Reply #16 on: February 15, 2014, 10:18:56 am »
Well either way you can change GHost to listen on all ports and only use bindaddress to connect to Battle.net.
Wow, you are a genius) Why i didn't thought about it....
I'm offering most advanced Warcraft 3 bot hosting.

Feel free to contact me:
E-Mail: admin@rusdota.net

Artyom91

  • Advanced Member
  • ****
  • Posts: 257
  • Karma: +2/-43
    • View Profile
Re: WC3Connect
« Reply #17 on: February 16, 2014, 03:50:39 am »
This tool generates a keystore that you can use to sign your applet. Note that it will be a self-signed certificate. keytool error: java.lang.NumberFormatException: For input string: ""

Grief-Code

  • Guest
Re: WC3Connect
« Reply #18 on: August 05, 2014, 12:27:14 pm »
Code: [Select]
javac -classpath ../bin/lib/* net/entgaming/wc3connect/WC3Connect.java
net/entgaming/wc3connect/WC3Connect.java:28: error: cannot find symbol
        WCHost host;
        ^
  symbol:   class WCHost
  location: class WC3Connect
net/entgaming/wc3connect/WC3Connect.java:29: error: cannot find symbol
        WCList list;
        ^
  symbol:   class WCList
  location: class WC3Connect
net/entgaming/wc3connect/WC3Connect.java:36: error: cannot find symbol
                Config.init(this);
                ^
  symbol:   variable Config
  location: class WC3Connect
net/entgaming/wc3connect/WC3Connect.java:89: error: cannot find symbol
                if(Config.getString("sound_gamestarted", null) != null) {
                   ^
  symbol:   variable Config
  location: class WC3Connect
net/entgaming/wc3connect/WC3Connect.java:90: error: cannot find symbol
                        clipGameStart = this.getAudioClip(getCodeBase(), Config.getString("sound_gamestarted", null));
                                                                         ^
  symbol:   variable Config
  location: class WC3Connect
net/entgaming/wc3connect/WC3Connect.java:93: error: cannot find symbol
                host = new WCHost(this);
                           ^
  symbol:   class WCHost
  location: class WC3Connect
net/entgaming/wc3connect/WC3Connect.java:96: error: cannot find symbol
                list = new WCList(this, host);
                           ^
  symbol:   class WCList
  location: class WC3Connect
net/entgaming/wc3connect/WC3Connect.java:155: error: cannot find symbol
                String logTarget = Config.getString("log_target", null);
                                   ^
  symbol:   variable Config
  location: class WC3Connect
net/entgaming/wc3connect/WC3Connect.java:164: error: cannot find symbol
                                writer.write("username=" + Config.getString("connection_username", "unknown") + "\n");
                                                           ^
  symbol:   variable Config
  location: class WC3Connect
9 errors

How are we able to compile us wc3d.jar?

uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: WC3Connect
« Reply #19 on: August 05, 2014, 12:38:14 pm »
You need .:../bin/lib/* for classpath.

Grief-Code

  • Guest
Re: WC3Connect
« Reply #20 on: August 05, 2014, 01:07:09 pm »
thx

Grief-Code

  • Guest
Re: WC3Connect
« Reply #21 on: August 05, 2014, 01:28:04 pm »
One more question:
Where is the new jar file?  :o

Code: [Select]
ls net/entgaming/wc3connect
ColorPanel.class  Config.java      GameInfo.class  WC3Connect$1.class  WC3Connect.class  WCConnection$EmptyActionTask.class  WCConnection.java           WCHost.class  WCList.class  WCUtil.class
Config.class      ECForward.class  GameInfo.java   WC3Connect$2.class  WC3Connect.java   WCConnection.class                  WCHost$RestartThread.class  WCHost.java   WCList.java   WCUtil.java

uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: WC3Connect
« Reply #22 on: August 06, 2014, 09:36:16 am »
javac is to compile it, not pack it into JAR.

Grief-Code

  • Average Member
  • ***
  • Posts: 149
  • Karma: +25/-8
    • View Profile
Re: WC3Connect
« Reply #23 on: November 16, 2014, 08:55:33 am »
is this way correctly to pack them:
Code: [Select]
jar cf wc3connect.jar net/entgamig/wc3connect/*

uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: WC3Connect
« Reply #24 on: November 16, 2014, 10:24:55 am »
Sure, something like that. Pretty sure you need manifest file though.

Grief-Code

  • Average Member
  • ***
  • Posts: 149
  • Karma: +25/-8
    • View Profile
Re: WC3Connect
« Reply #25 on: November 19, 2014, 09:27:21 am »
Without adding the manifest its autogenerated.

However on WC3Connect.jar (default) There is a manifest which only include the version number.

Im having an issue that i have a class not found exception now. Also when its included in my system.

Code: [Select]
  inflating: /net/entgaming/wc3connect/WC3Connect.class
Is there something i missed to do?

uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: WC3Connect
« Reply #26 on: November 19, 2014, 03:32:34 pm »
You can't run it directly, it is for applet. Applets do not have main method. Or you are saying it has the .class file and you have set it to that in your <applet> tag but it doesn't work?
« Last Edit: November 19, 2014, 03:34:24 pm by uakf.b »

Grief-Code

  • Average Member
  • ***
  • Posts: 149
  • Karma: +25/-8
    • View Profile
Re: WC3Connect
« Reply #27 on: November 20, 2014, 12:20:18 am »
I am using still the main type of wc3connect:

- compiled the classes & generated the package (.jar) file
- then i put it into my public_html direction and used this code from index.html, from your repository:
Code: [Select]
<APPLET CODE="net/entgaming/wc3connect/WC3Connect.class" ARCHIVE="SWC3Connect.jar" height="30" width="30">And there im getting the class not found exception

- Probably I haven't done it with eclipse
I used to unzip your default type of wc3connect.jar and saw a .project as well as a .class file which have both eclipse parameters.

uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: WC3Connect
« Reply #28 on: November 21, 2014, 04:30:02 pm »
I don't know then. Can you paste the full exception output?

Grief-Code

  • Average Member
  • ***
  • Posts: 149
  • Karma: +25/-8
    • View Profile
Re: WC3Connect
« Reply #29 on: March 12, 2015, 03:57:10 am »
Seems like since the java update 40, XP users are unable to connect to wc3connect. Application is blocked for some reason.

Anyone else experience that issue?