Warcraft II Forum

Warcraft II => Server.War2.ru => Topic started by: tk[as] on December 26, 2014, 11:13:23 PM

Title: Can hosting be fixed?
Post by: tk[as] on December 26, 2014, 11:13:23 PM
I know we've asked this before ... but I really want to know if its possible

if it is possible, what would it take?

how much money?

who would we talk to to fix it?

PLEASE stay on topic ... i'd like this thread to be strictly about fixing our hosting issue on the server... A good healthy discussion/brainstorming session about fixing our hosting on the server.

Thoughts iL ? ... Blid told me to mention "upnp"  im not exactly sure what that is but maybe you will know.
Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 26, 2014, 11:39:26 PM
uPNP would probably be the easiest and was already done with war2custom client, although it would only work on routers that support pnp and have it enabled. I would suspect this would solve a good amount of people's problems.

ICCUP uses this too with their laucher. So I would say a custom launcher built into combat that opens the port using uPNP like ICCUP has would be the best and easiest way.
Title: Re: Can hosting be fixed?
Post by: SmurfKinG on December 27, 2014, 12:14:02 AM
Cant be fixed, (or depends on your definition of fixing)

War2 isnt the only game with this issue.
A VAST number of games are also affected by this, it just happens that in other games there are more players so that translates into more available games hosted from people who have their routers set right.


Title: Re: Can hosting be fixed?
Post by: tk[as] on December 27, 2014, 01:09:40 AM
uPNP would probably be the easiest and was already done with war2custom client, although it would only work on routers that support pnp and have it enabled. I would suspect this would solve a good amount of people's problems.

ICCUP uses this too with their laucher. So I would say a custom launcher built into combat that opens the port using uPNP like ICCUP has would be the best and easiest way.

do a lot of routers support pnp?   have it enabled?   do u have an estimate? maybe 50%?
Title: Re: Can hosting be fixed?
Post by: tk[as] on December 27, 2014, 01:11:33 AM
Cant be fixed, (or depends on your definition of fixing)

War2 isnt the only game with this issue.
A VAST number of games are also affected by this, it just happens that in other games there are more players so that translates into more available games hosted from people who have their routers set right.



well right now i would say at least 90% of everyone who logs on to .ru has to forward their ports in able to host. probably slightly less than 50% done it to actually fix their own hosting.

i guess by "fix" i mean at least 90% of the server being able to host without too much effort.
Title: Re: Can hosting be fixed?
Post by: tk[as] on December 27, 2014, 01:14:15 AM
obviously 100% would be nice. but even 80% who can host problem free combined with hosting bots would be pretty "acceptable" in my opinion .. i dont think many people would have a problem getting a game if that scenario were true
Title: Re: Can hosting be fixed?
Post by: EviL~Ryu on December 27, 2014, 01:28:38 AM
Most are just lazy to port their routers

Sent from my Motorola DynaTAC 8000X

Title: Re: Can hosting be fixed?
Post by: tk[as] on December 27, 2014, 02:22:46 AM
agreed but even some who do portforward still claim not to host.. maybe they're not doing it right or soemthing else is interfering
Title: Re: Can hosting be fixed?
Post by: EviL~Ryu on December 27, 2014, 02:23:36 AM
Who? I can work with them. PM names.

Sent from my Motorola DynaTAC 8000X

Title: Re: Can hosting be fixed?
Post by: I hate naggers on December 27, 2014, 04:13:50 AM
prolly no external ip
Title: Re: Can hosting be fixed?
Post by: XsarahX on December 27, 2014, 04:51:39 AM
I was able to host before, and now I cant. Ports are open, I didnt change anything.
Title: Re: Can hosting be fixed?
Post by: EviL~Ryu on December 27, 2014, 04:56:19 AM
Check ur internal ip...see if it has changed from the one you orginally used to portforward

Sent from my Motorola DynaTAC 8000X

Title: Re: Can hosting be fixed?
Post by: XsarahX on December 27, 2014, 05:04:13 AM
Just checked it. It changed for only one number and now I can host again. Thank you!
Title: Re: Can hosting be fixed?
Post by: tk[as] on December 27, 2014, 05:33:05 AM
same thing has happened to me, it's normally after a router gets reset. the way mine works is it designates an address for each machine/divice going through the router

my computer might be 11.111.111.1 since its the first device to connect to the router, secondary computer is 11.111.111.2, maybe dvd player connecting for netflix would be 11.111.111.3
Title: Re: Can hosting be fixed?
Post by: tk[as] on December 27, 2014, 05:35:35 AM
im really interested to hear what iL says about upnp and ICCUP ... or any other thoughts on fixing the hosting aside from the bots (which do work really well most of the time... so thanks iL)
Title: Re: Can hosting be fixed?
Post by: EviL~Ryu on December 27, 2014, 05:54:36 AM
Just checked it. It changed for only one number and now I can host again. Thank you!
You need to create a static internal ipaddress to avoid this problem. Let me know if you need help doing this.

Sent from my Motorola DynaTAC 8000X

Title: Re: Can hosting be fixed?
Post by: XsarahX on December 27, 2014, 08:37:10 AM
I fixed it already....  ;)
Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 27, 2014, 10:23:17 AM
This program is for broodwar and is open source.

https://github.com/mca64/mca64Launcher (https://github.com/mca64/mca64Launcher)

It has lots of good stuff like easy streaming on twitch, color fix (might be better than the one we use), auto port forwarding. Someone could probably farily easy change the code to make it work for war2.

(http://i.imgur.com/t3VpfAY.png)

Features:

Features:
- One launcher for the two main servers (iCCup and Fish)
- Streaming on Twitch
- Twitch chat in-game
- APM, auto-replay, observer mode etc,
- Watch pro streams (all snipealots channels)
- UPnP (automatic port forwarding)
and much more!
Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 27, 2014, 10:27:37 AM
Quote from: tk[as
do a lot of routers support pnp?   have it enabled?   do u have an estimate? maybe 50%?


Yea most do i think, and most ship with it enabled by default. I would say over 50%.
Title: Re: Can hosting be fixed?
Post by: I hate naggers on December 27, 2014, 10:36:35 AM
gogogogo niggerz do eeeet!!! XDDD
Title: Re: Can hosting be fixed?
Post by: SmurfKinG on December 27, 2014, 11:24:50 AM
Quote from: tk[as
do a lot of routers support pnp?   have it enabled?   do u have an estimate? maybe 50%?


Yea most do i think, and most ship with it enabled by default. I would say over 50%.

Mhhhhhh.....    50%. Isnt "most",   That'd be HALF.   Heh.  Heh
Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 27, 2014, 11:31:48 AM
I said over 50% probably something like 60-70%. Even fixing half the peoples hosting issues would be a godsend.
Title: Re: Can hosting be fixed?
Post by: tk[as] on December 27, 2014, 12:52:26 PM
Even fixing half the peoples hosting issues would be a godsend.
Title: Re: Can hosting be fixed?
Post by: SmurfKinG on December 27, 2014, 01:59:06 PM
yeah i have seen, personally,  a ratio 50%/50% of the routers have upnp disabled/enabled
Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 27, 2014, 02:02:57 PM
It should be done then.
Title: Re: Can hosting be fixed?
Post by: iL on December 28, 2014, 08:14:17 AM
I know we've asked this before ... but I really want to know if its possible

if it is possible, what would it take?

how much money?

who would we talk to to fix it?

PLEASE stay on topic ... i'd like this thread to be strictly about fixing our hosting issue on the server... A good healthy discussion/brainstorming session about fixing our hosting on the server.

Thoughts iL ? ... Blid told me to mention "upnp"  im not exactly sure what that is but maybe you will know.

Sorry, was busy in reallife for last days, just got enough time...

"Fix hosting" is too common, it depends on many small things.
uPNP? It's really one of high-priority projects, i think it have to be transparently implemented into combat (and compatible with any other war2 version), as a loader.
You can use this: http://forum.war2.ru/index.php/topic,165.msg1466.html#msg1466 (http://forum.war2.ru/index.php/topic,165.msg1466.html#msg1466) , thanks to Lance, but it requires manual clicking several buttons, that's not obvious for most casual players therefore.

Not sure which % of players will it cover.

UDP NAT traversal? It's a very interesting and new technology, that could be used also, but release steps are not clean for me now...

Some kind of VPN? Also one of tasks to implement for those who will not being covered by uPNP and nat traversal. We can do that after providing smurf-detection project, which is also one of high-priority project, to be included to loader. Because VPN is easy way to bypass an ipban system.

All of this is about to let people host games and let others join. That doesn't cover coflicts as here: http://forum.war2.ru/index.php/topic,205.msg526.html#new (http://forum.war2.ru/index.php/topic,205.msg526.html#new)

So, "fixing the hosting" in definitely the thing to be implemented, but it's not the question we can answer just "yes" or "no".
We will implement it gradually, step by step.

About "how much money":
This is a big question also. I don't see an easy answer. We have to make a clear technical project before to hire anobody. Otherwise we will get some kind of useful trash...
Well, let me say: i have plans to begin to implement all these things myself, i have plans for everything for years. I can begin to find some kind of 3-rd part programmer, to make some source-code of such projects after we have $1000 or more. I don't think it's possible to find good and fully qualified programmer with less money. I'd prefer to it myself, but my main problem is time.

This program is for broodwar and is open source.

[url]https://github.com/mca64/mca64Launcher[/url] ([url]https://github.com/mca64/mca64Launcher[/url])

Yes, that would be the greatest project, could resolve most of our problems, but... this program is not opensource... :o
Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 28, 2014, 09:43:52 AM
Darn, that sux. The guy who made this seems quite active and updates it alot. Maybe if we told him about our situation and raised some money, he would port it over to Warcraft 2? Not sure how big of a task that would be, but I can't imagine it being that hard considering war2 and broodwar are very similar.
Title: Re: Can hosting be fixed?
Post by: EviL~Ryu on December 28, 2014, 02:39:12 PM
I believe they were made of the same game engine.

Sent from my Motorola DynaTAC 8000X

Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 28, 2014, 02:42:57 PM
I would think so, same problems with color bug, hosting etc.
Title: Re: Can hosting be fixed?
Post by: EviL~Ryu on December 28, 2014, 02:49:06 PM
Its not that hard port a router correctly to host...idk this is such a big problem.

Sent from my Motorola DynaTAC 8000X

Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 28, 2014, 02:49:49 PM
I beat you to 200, gg no re.
Title: Re: Can hosting be fixed?
Post by: EviL~Ryu on December 28, 2014, 02:56:19 PM
I beat you to 200, gg no re.

(http://rs1img.memecdn.com/rmx-good-grade_o_414339.jpg)

Sent from my Motorola DynaTAC 8000X

Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 28, 2014, 04:20:33 PM
I emailed the creator of mca64Launcher, lets see if he will help us.
Title: Re: Can hosting be fixed?
Post by: iL on December 28, 2014, 04:39:45 PM
I emailed the creator of mca64Launcher, lets see if he will help us.
Let's see, anyway, upnp thing is definitely the same, but i think i can get it myself: they use upnpc-static.exe it looks like working console application and it's opensource also.
Color fix could be similar that we need, not sure, but color fix should be the same or a little different.
Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 28, 2014, 04:50:11 PM
The color fix we have doesn't work for everyone and gets screwed up with the custom banners.
Title: Re: Can hosting be fixed?
Post by: iL on December 28, 2014, 06:16:42 PM
Sure, color fix have to be refactored...

I have good news about uPNP, looks like that source code has just been built by me. I hope to release something working for uPNP in several days...
Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 28, 2014, 06:39:48 PM
Cool that can help a lot with the biggest current problem, hosting.
Title: Re: Can hosting be fixed?
Post by: GreenPlastic on December 28, 2014, 07:21:11 PM
2nd to last post on this might help with color fix.  ht tp://www.neowin.net/forum/topic/927140-win7-fixing-old-256-color-games-with-distorted-palettes/            remove space between ht and tp
Title: Re: Can hosting be fixed?
Post by: O4L on December 28, 2014, 09:59:06 PM
More great news.
Title: Re: Can hosting be fixed?
Post by: iL on December 28, 2014, 11:45:48 PM
2nd to last post on this might help with color fix.  ht tp://www.neowin.net/forum/topic/927140-win7-fixing-old-256-color-games-with-distorted-palettes/            remove space between ht and tp
There are different ways to fix colors, no one works perfectly. This DirectDraw registry fix is one of them. The main problem is war2 is not only DirectDraw game, but also uses some more technologies, especially for chat with it's icons.
I think should do something like to write custom directdraw wrapper for war2 especially.
Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 29, 2014, 04:40:25 PM
I emailed the creator of mca64Launcher, lets see if he will help us.
Let's see, anyway, upnp thing is definitely the same, but i think i can get it myself: they use upnpc-static.exe it looks like working console application and it's opensource also.
Color fix could be similar that we need, not sure, but color fix should be the same or a little different.


The creator of it has got back to me and said he will try to port it to warcraft 2 but not right now cause he is busy on other things.
Title: Re: Can hosting be fixed?
Post by: tk[as] on December 29, 2014, 05:27:38 PM
I emailed the creator of mca64Launcher, lets see if he will help us.
Let's see, anyway, upnp thing is definitely the same, but i think i can get it myself: they use upnpc-static.exe it looks like working console application and it's opensource also.
Color fix could be similar that we need, not sure, but color fix should be the same or a little different.


The creator of it has got back to me and said he will try to port it to warcraft 2 but not right now cause he is busy on other things.


nice :D
Title: Re: Can hosting be fixed?
Post by: Winchester on December 29, 2014, 07:11:55 PM
Nice work Ganz
Title: Re: Can hosting be fixed?
Post by: EviL~Ryu on December 30, 2014, 12:57:16 AM
cool
Title: Re: Can hosting be fixed?
Post by: {Lance} on December 31, 2014, 05:09:36 PM
I do have statistics on the % of community that had UPnP capable routers (that were enabled AND disabled) from when I ran War2Custom.  Of the 841 unique users that connected to the server 93% had UPnP capable routers.  Of that 93%, 78% were actually enabled.  These are based on numbers that are several years old and I would only expect that to increase as time progresses.  UPnP is better than nothing right now,  but a real solution is in the works that will make UPnP irrelevant ;)
Title: Re: Can hosting be fixed?
Post by: GaNzTheLegend on December 31, 2014, 05:38:44 PM
78% ? holy crap. The new solution sounds quite intriguing, but if nothing else having upnp with 80%+ being able to host would be more than sufficient.