Warcraft II Forum
Warcraft II => Server.War2.ru => Topic started by: iL on January 11, 2015, 07:10:34 AM
-
Here's a result of my last 1,5 weeks job:
Warcraft 2 Process Loader.
Will be alternative for War2 Process Patcher.
1. The main feature in this version is UPNP.
Checks the Game Data Port on the computer and forwards it through the router, allowing to host games.
Should be used instead of manual router configuration.
Also works for computers from the same newtork (you should manually add different game data ports into the registry. Will be an option in next combat version.)
2. Another feature: it's a loader, not a patcher.
Just copy it into the combat OR ANY OTHER war2 version and start.
War2PLoader will be 100% compatible with all the war2 versions, same as War2Ppatcher.
It will try to find WPpatch.exe and then (if not found) Warcraft II BNE.exe. Then it will start the found version.
Also includes NoCD. In future versions all the features from WPpatch will be moved to War2PLoader.
3. Auto report logs.
Each time you start it, it will send it's result to the server if it works fine or any errors occured. This should help me to check it's work and support the clients.
Also will help to collect statistics, how many users does actually have UPNP routers.
4. Auto update from server.war2.ru.
Each time you start it, it checks the new version and asks you to update it. All you need it just to click "yes".
I plan to make several updates, adding more functionality to this project.
5. Should be fully compatible with new windows.
I tested it on win vista x86, win 7 x86 and win 7 x64. Should have appropriate reaction for all new windows security updates, with working UAC, DEP, virtual store, etc. Should reqest admin privileges just for autoupdate, also should work correctly in "Program Files" directory or w/e.
Combat will also have some new improvements for UAC/DEP/etc compatibility in next versions.
Plans for future:
Several updates for this project:
- to add the same functionality as War2Ppatcher+NoCD and WPpatch.
- to add some hardware binding, to make effective cheater detection.
- to add some kind of antihack checks to block all the existing cheating software and possibly some more general protections.
- possibly some more features, like new games notifier, streaming software, etc.
- this project should be the core of future combat versions, but also 100% compatible with any other war2 version.
Here's the archive: ftp://ftp.war2.ru/war2/utils/War2PLoader.rar
Copy these 2 files into your war2 directory and start exe. Just updated the archive and removed 2 dlls, now useless from there.
-
right on :D
-
so you think this will fix many hosting issues?
if it does, can it be added to server.war2.ru so anyone who downloads war2 gets these updates?
-
It takes like 30 seconds to open war2, then it launches with the screen blacked out with green border.
-
It takes like 30 seconds to open war2, then it launches with the screen blacked out with green border.
I am pretty sure he fucked something up...i mean we all know the person we're dealing with here. The guy got a F in reading comprehension just in another thread...[emoji45]!
Edit: http://forum.war2.ru/index.php/topic,217.30.html (http://forum.war2.ru/index.php/topic,217.30.html)
Sent from my Motorola DynaTAC 8000X
-
so you think this will fix many hosting issues?
if it does, can it be added to server.war2.ru so anyone who downloads war2 gets these updates?
Yes, i hope so,
And sure, it will be added to the next combat version after this test period. That's why i need help with testing it on several different configurations before the final release.
It takes like 30 seconds to open war2, then it launches with the screen blacked out with green border.
Checked it, your router wrote it supports UPNP but caused an unknown error while port mapping...
I'll move UPNP section after war2 starting in next version, to save your 30 sec.
What green border do you mean?
-
The whole screen is like in negative and everything is black except the writing is white and the border of the program turns green.
-
Updated to 1.0.0.2. Now it starts war2 firstly, then tries to forward ports, while you already playing.
Just start it, it will ask about autoupdate, click yes and try.
You can use it to start war2 every time. It will be autoupdated when i resolve your router forwarding problem and release the new version.
Also let me know about green border or w/e. It uses the same logic as existing NoCD loader, so that should not be any bugs with it, maybe just a glitch?
-
Its quite bad, the whole screen is blacked (like a worse color bug) and makes client unusable. When I tried it on my Windows XP virtual machine, there is no color problem, maybe windows 7 64 bit has problems.
-
See this is what happens, it still takes 30 seconds to load with the new version.
http://youtu.be/Jhd6whcY1Ic (http://youtu.be/Jhd6whcY1Ic)
-
It takes like 30 seconds to open war2, then it launches with the screen blacked out with green border.
I am pretty sure he fucked something up...i mean we all know the person we're dealing with here. The guy got a F in reading comprehension just in another thread...[emoji45]!
Edit: [url]http://forum.war2.ru/index.php/topic,217.30.html[/url] ([url]http://forum.war2.ru/index.php/topic,217.30.html[/url])
Sent from my Motorola DynaTAC 8000X
I extracted 2 files from an archive. Pretty hard to mess that up. Also, just for the record, I comprehended that other post perfectly.
-
I can report success with this app. I did not get any color problems and I did confirm that it used UPnP to open the correct port. I then closed my manual port opening and ran with just UPnP. I have about 6 hours of twitch video with me hosting using this app from last night ;) I've changed my desktop shortcut to point to this and will run it for a while to see if any oddball issues come up. None so far.
Oh, there was 1 issue. The icon that it uses was all broken up, so I removed it and used the war2 exe icon.
-
Its quite bad, the whole screen is blacked (like a worse color bug) and makes client unusable. When I tried it on my Windows XP virtual machine, there is no color problem, maybe windows 7 64 bit has problems.
Did you ever get such black screen with WPpatch or activated war2.bat? I have no idea what's wrong with loader: it uses the same war2 call logic...
Does it work fine now via WPpatch or War2NoCDLoader now? Can you try? Maybe you just copied some broken ddraw.dll to combat dir or w/e?
Maybe to try to start the program as administrator?..
See this is what happens, it still takes 30 seconds to load with the new version.
That's strange, i just checked logs, it looks like updated version on your side, but works like not updated.
How do you run it? It that the file W2PLupdater.exe in you combat directory you start? Is it version 1.0.0.2?
I'll add some additional checks tomorrow to be sure how it works...
I also got your problem with UPNP not working:
Your router doesn't support UPNP. That UPNP device been detected by Loader, was another UPNP device. That's why you have 30 sec timeout with UPNP failed.
I can report success with this app.
That's great! I hope it will also work for less experienced people too.
Oh, there was 1 issue. The icon that it uses was all broken up, so I removed it and used the war2 exe icon.
That's not quite broken, that was just my try to redesign it, lol... The only broken is the biggest icon (48x48x32 or w/e, it's just a white square with blue border).
I'm not a good designer, need to ask somebody to draw some beautiful icon...
-
I was using War2PLoader. I tried with the NoCDLoader and WPPatch and there are no color problems. I even uninstalled combat and reinstalled it and its the same issue. When I right click on W2PLupdater it says version 1.0.0.1
-
I wonder how it works for you...
I see it's starting as the lastest version, but working as 1.0.0.1...
Version update don't depend on UPNP. My thoughts: maybe it's a result of some UAC feature? Do you have UAC enabed? I have no idea what it can be else...
-
Nope UAC disabled. Also I looked up my router and it indeed does support uPnP.
-
Nope UAC disabled.
That's strange...
Also I looked up my router and it indeed does support uPnP.
That's even more strange.
Maybe it's UPNP feature is disabled now? Can you send me an internal ip of your router? Maybe PM if you don't want to post it to forum...
-
That's great stuff iL. Awesome job! Hopefully this can be integrated into the combat client.
-
Nope UAC disabled.
That's strange...
Also I looked up my router and it indeed does support uPnP.
That's even more strange.
Maybe it's UPNP feature is disabled now? Can you send me an internal ip of your router? Maybe PM if you don't want to post it to forum...
I lost the password to my router a year ago when I formated and forgot to backup my saved passwords in firefox so I cannot check if it is enabled or not. 192.168.0.1
-
One thing to check would be to see if someone else disables uPNP and gets the same problem I am getting or not.
-
Nope UAC disabled.
That's strange...
Also I looked up my router and it indeed does support uPnP.
That's even more strange.
Maybe it's UPNP feature is disabled now? Can you send me an internal ip of your router? Maybe PM if you don't want to post it to forum...
I lost the password to my router a year ago when I formated and forgot to backup my saved passwords in firefox so I cannot check if it is enabled or not. 192.168.0.1
reset the router settings completely
-
did not seem to work for me ... no issues, but nobody could join my game. "high latency"
-
Remember that UPnP wont punch holes through the built in Winblowz firewall or any Antivirus firewalls (many come with one by default)
-
i temporarily disabled both.. still a no go =/
-
I deleted the old War2PLoader and re-upgraded it when it was extracted from the file and now it shows 1.0.0.2 and is working with no color problems and no big delay anymore but the hosting doesn't work.
-
did not seem to work for me ... no issues, but nobody could join my game. "high latency"
Hm, you started it, it requested update from the site?
I don't see your attempts to start it ever...
Either you didn't start it or your firewall blocked it's connection to the world or any internal error occured...
I'll add the messagebox for possible connection problems to new version...
Remember that UPnP wont punch holes through the built in Winblowz firewall or any Antivirus firewalls (many come with one by default)
Yes, i don't touch any firewalls.
But i tried it with internal windows firewall, it requested me to allow several outgoing connections for this program, so you should get it before starting the game. I'll check that for the firewalls rejecting packets by default.
I deleted the old War2PLoader and re-upgraded it when it was extracted from the file and now it shows 1.0.0.2 and is working with no color problems and no big delay anymore but the hosting doesn't work.
Hm, you just deleted current 1.0.0.1 from combat, unpacked it again there, started, got the update dialog, accepted and got 1.0.0.2, right?
And how did you do before? Unpacked 1.0.0.1 from the archive, started, then updated, retruned back to 1.0.0.1 from archive to make video and then you had problem with update it again?
I wonder how it works for you...
I also didn't change anything with palette between versions, so i wonder how that problem appeared for you...
Your router 19.268.0.1 is not listed as existing UPNP device (that means UPNP is eighter disabled or not supported), that's why this loader definitely will not help you to resolve your port forwarding problems, but i appreciate your help with autoupdate mechanism. Loader could have serious problems with it, i hope to resolve it with your help.
You should reset and then reconfigure your router if you want to resolve your hosting problems and lost the password.
-
i extracted the 2 files and started war2... it didnt ask me to update anything/version check.
-
i extracted the 2 files and started war2... it didnt ask me to update anything/version check.
Did you start War2PLoader.exe? You should start war2 using it. Then it checks itself and then it starts war2...
Maybe some problems with connection caused if it didn't get an update...
-
I think my problem was caused by the auto updater. First time I downloaded it and ran it, it asked me to upgrade and I did but the version stayed at 1.0.0.1 and had color problems. Then I deleted it, extracted files again, and it asked me to update again and I did and it updated to 1.0.0.2 and works with no color problems. Maybe the problem was with the older version.
-
im stupid. i didnt load with War2PLoader.
i just tried it and it worked. i turned off port forwarding, ran War2PLoader, and people were able to join my game no problem
-
can we make it so the first time you ever host a game on a fresh install, it loads up garden of war high resources even faster as the default?
thanks
-
i just tried it and it worked. i turned off port forwarding, ran War2PLoader, and people were able to join my game no problem
Great! I see your connection, looks fine.
can we make it so the first time you ever host a game on a fresh install, it loads up garden of war high resources even faster as the default?
thanks
Hm, that's food idea for new people. I'll add it to the next combat version.
So, next version 1.0.0.3 is released.
Just some code refactoring, several additional checks for stability, also added the messagebox if your network connection is down or blocked by firewall.
Let's update to this version.
-
one possible bug:
Normally when i change the volume on my laptop i hear "BEEP". If i turn the volume up, the BEEP gets louder. If i turn the volume down, the BEEP gets quieter.
When I load War2PLoader i cannot hear the "beeps" when i change volume. The volume does change, but i cannot hear how loud i set the volume to until i perform another action that has sound like join a game.
-
Normally when i change the volume on my laptop i hear "BEEP". If i turn the volume up, the BEEP gets louder. If i turn the volume down, the BEEP gets quieter.
Fn+up/down?
When I load War2PLoader i cannot hear the "beeps" when i change volume.
During the war2 playing in fullscreen? Did if work while playing via war2nocd or wppatch?
-
yes the FN up/down buttons.... they used to work before the war2plpoader but im not sure if it was the "latest version" that made them stop working or not.
-
the volume up/down buttons do make sound with normal War2patcher. only problem is with War2PLoader
-
That's a weird one. It seems to me that the two shouldnt even be related lol.
-
That's a weird one. It seems to me that the two shouldnt even be related lol.
Exactly. Loader uses absolutely the same method as nocd and wppatch.
That's weird, same as Ganz problems with black window and green border, i can't explain that...
the volume up/down buttons do make sound with normal War2patcher. only problem is with War2PLoader
Can you check and confirm it for now:
1. start War2NoCDLoader, use FN up/down and hear "BEEP".
2. start WPpatch, use FN up/down and hear "BEEP".
3. start War2Ploader, use FN up/down and NOT hear "BEEP".
Also as an experiment:
4. right-click War2NoCDLoader, run as administrator, use FN up/down and what about "BEEP"?
5. right-click War2Ploader, run as administrator, use FN up/down and what about "BEEP"?
I'll also continue refactoring and try to change 1 more small difference between old loaders and this one when i have time.
-
War2noCDloader - yes, beep works
War2patch - no, beep does not work
war2PLoader - no, beep does not work
running as administrator does not fix.
-
War2patch
Do you mean War2Ppatcher.exe or WPpatch.exe? These are 2 absolutely different utilities.
War2Ppatcher.exe is my patcher for war2 process
WPpatch.exe is zzzKOTzzz's loader with mostly the same functionality
-
wppatch
-
wppatch
Oh, you mean WPpatch have the same feature as War2PLoader?..
That's strange especially, because War2noCDloader and WPpatch have been generated by the same builder...
Ok, i'll publish the test truncated version for test purposes, special for you. If beep will work, i'll update the main fork of the project.
Not sure if i have WPpatch sources to compare with War2noCDloader, i'll check that...
-
Lol, i was stupid:
War2noCDloader - yes, beep works
War2patch - no, beep does not work
war2PLoader - no, beep does not work
War2PLoader will be 100% compatible with all the war2 versions, same as War2Ppatcher.
It will try to find WPpatch.exe and then (if not found) Warcraft II BNE.exe. Then it will start the found version.
So, "no beep" is not a War2PLoader problem, it just calls WPpatch having this problem.
Try to delete (or rename/move) WPpatch from your war2 directory and start War2PLoader then. It will not find WPpatch and start Warcraft II BNE.
Then check if beep works.
-
why does war2ploader call wppatch?
-
renaming Wppatch worked
beep fixed when launching warploader
-
why does war2ploader call wppatch?
The main thing for that moment was UPNP, I prefer to release it as fast as possible, to add wppatch featuers into the new loader later. I'll do it later and then it will not call wppatch.
renaming Wppatch worked
beep fixed when launching warploader
That's great! Nice to resolve the problem ;)
-
The new loader worked for me. People were not able to join my game ever, aside from my friend, who would manage to get in every once in a while. After I tried the loader, I hosted a game and a bunch of people got in.
The only problem now is that neither my WarVideo or Insight recognize the game as Warcraft 2. They don't work for me with that loader, so I am unable to record games.
-
The only problem now is that neither my WarVideo or Insight recognize the game as Warcraft 2. They don't work for me with that loader, so I am unable to record games.
Time to join the 21st century and stream instead ;)
-
The only problem now is that neither my WarVideo or Insight recognize the game as Warcraft 2. They don't work for me with that loader, so I am unable to record games.
Time to join the 21st century and stream instead ;)
-
LOL
Sent from my Motorola DynaTAC 8000X
-
iL: player gklemenc tried the hosting fix and it did not work for him... let me know if you saw any errors or anything else that can help
-
so far it seems to have a pretty high success rate, it should be added to the download asap
-
well it wont solve anything if some1 doesnt have external ip or upnp on the router
-
so basically this just fixes hosting for people who cannot figure out how to port forward?
kinda like a program that does it for them?
-
iL: player gklemenc tried the hosting fix and it did not work for him... let me know if you saw any errors or anything else that can help
No IGD UPnP Device found on the network.
so far it seems to have a pretty high success rate, it should be added to the download asap
Sure, UPNP will be one of options in the new war2 loader.
well it wont solve anything if some1 doesnt have external ip or upnp on the router
exactly, you still need external ip (dynamic or static) to host games.
If you have it, but use upnp-compatible router between you and your ISP, that is the only situation when this upnp feature will be useful for you.
so basically this just fixes hosting for people who cannot figure out how to port forward?
kinda like a program that does it for them?
generally yes.
-
let me know when the hosting fix is included in the new war2combat download and i will advertise again.
-
Sure, i think your idea of deadline for nearest weekend is good, i'll try to follow that