Page 1 of 1

WC3Connect - How it works? (Programming)

Posted: Sat Nov 17, 2018 4:43 pm
by DarkMage01
Hi :)

At my custom installation (windows 7 modded, some unneeded components removed) wc3 not showing up any hosted game. For first I could not figure out what was wrong, but then I tried Windows 7 vanilla (non-changed) version just for make sure and there it was working. So the reason why it's not working on my custom is, that wc3connect need/using any windows component. So, my question is - how it works exactly?

I would like to keep using my custom installation (never had any problems with other programs/games before), for that I need to know what wc3connect needs, so I can keep that in my mod, for make wc3connect work on. Does it make any special call to any executable/library/whatever from windows folder? @uakf.b

Here I have a little list of possible components they could be affected (because some of them I am removing in my custom):

Spoiler!
https://ibb.co/ggVZef
Image



Whats need for?
Thanks in advance.
Best regards.

Re: WC3Connect - How it works? (Programming)

Posted: Mon Nov 19, 2018 9:52 am
by DarkMage01
No any ideas?

Re: WC3Connect - How it works? (Programming)

Posted: Sat Nov 24, 2018 1:29 am
by uakf.b
@DarkMage01 you can use Java version if the .exe version doesn't work. You need to install Java though.
The .exe uses web browser library to display the UI. On Windows it uses Internet Explorer library.

Java version is open source: https://github.com/uakfdotb/wc3connect-java

Re: WC3Connect - How it works? (Programming)

Posted: Sat Nov 24, 2018 9:44 am
by DarkMage01
For first, thank you for answer. :)

The UI isn't the problem, its shown and working as long, but in Warcraft 3 it don't show me the games. The network lobby is empty. I just found out, it must be any of the above listed network components. The java version don't use any windows components?

Re: WC3Connect - How it works? (Programming)

Posted: Sat Nov 24, 2018 10:45 pm
by uakf.b
That's correct, the Java version doesn't use any Windows components directly, instead it uses Java runtime which has to be downloaded separately. The Java runtime in turn interacts with the OS to do things like open sockets.

I don't see anything on the list that would affect the app not being able to send games to Warcraft III. But maybe the Java version would work.

Re: WC3Connect - How it works? (Programming)

Posted: Wed Nov 28, 2018 9:27 am
by DarkMage01
Alright. Thanks.

Yea, right now I'm just using my mod without any network components removed, I'm fine with yet.
I need to test so step by step which one it (missing) it causing, there are not much left, I guess it's "simple TCP/IP services".

Will report about, when my further investigation is successful.

Re: WC3Connect - How it works? (Programming)

Posted: Sat Jan 05, 2019 11:40 pm
by Quetra
Processing