Jump to content

Dune 2000 WOL patches - 6Player, reduced lag, 1star handicap tourney games


Recommended Posts

Posted

Patches:

6 Player patch (6p is the default setting when you host a game, once you move the slider the original values are used):

0043BD81 |. C605 EC8B4E00 >MOV BYTE PTR DS:[4E8BEC],6

0043BD88 \. C2 1000 RETN 10

1 Star handicap for tournament games (WOL was using 2 star handicap by default):

004099F2 . C605 48986B00 >MOV BYTE PTR DS:[6B9848],0

004099F9 . C2 0C00 RETN 0C

00419A45 |. C685 B2284F00 >MOV BYTE PTR SS:[EBP+4F28B2],0

Changed multiplayer vars to remove the huge delay WOL games had (copied the LAN settings over and improved them... recon time-out has been change to 15seconds):

0045A9C1 |> C705 E8936B00 >MOV DWORD PTR DS:[6B93E8],0B4

0045A9CB |. C605 E83A4E00 >MOV BYTE PTR DS:[4E3AE8],28

0045A9D2 |. C705 1C3B4E00 >MOV DWORD PTR DS:[4E3B1C],12C

0045A9DC |. C605 60946B00 >MOV BYTE PTR DS:[6B9460],0F

0045A9E3 |. C705 EC3A4E00 >MOV DWORD PTR DS:[4E3AEC],64

0045A9ED |. C705 F03A4E00 >MOV DWORD PTR DS:[4E3AF0],5DC

0045A9F7 |. 90 NOP

Raised the game version to make the patch incompatible to the original 1.06 to avoid oos (only for WOL, LAN is still compatible):

00413EBE |. 83F8 04 CMP EAX,4

0041A291 |. 6A 04 PUSH 4

...

Maybe someone knows what these variables could be ? Here are the default settings for LAN and WOL (var 5 and 6 are already identified)

vars: (start 0045A955)

LAN: (Cases 0,1 of switch 0045A977)

1 = 40066666 (1074161254)

2 = 0B4 (180)

3 = 28 (40)

4 = 12C (300)

5 = 6 (6) [Reconnect time-out to a single player during the game]

6 = 96 (150) [send rate, lower = faster/more packets]

7 = 5DC (1500)

WOL: (Cases 2,3 of switch 0045A977)

1 = 40000000 (1073741824)

2 = 12C (300)

3 = 4B (75)

4 = 3E8 (1000)

5 = 1E (30) [Reconnect time-out to a single player during the game]

6 = 12C (300) [send rate, lower = faster/more packets]

7 = 5DC (1500)

  • Upvote 6
Posted

Cool, so this means no Hamachi needed eventually? I like that.

 

I'm afraid I don't know what those values do. Did you try extreme values and see how the game works different or what for errors you get with too high values?

Posted

Hamachi is still needed at the moment :( It would work without it but then everyone would need to open a port in his router and most people dont know how to do that :/

I didnt play around with the values yet, just copied them over from LAN and didnt notice a difference except for the send rate and recon time-out

Posted

Hamachi is still needed at the moment :( It would work without it but then everyone would need to open a port in his router and most people dont know how to do that :/ I didnt play around with the values yet, just copied them over from LAN and didnt notice a difference except for the send rate and recon time-out

Wouldn't the host be the only one who needs that?

Posted

nope :( once the game starts its peer-to-peer and everyone needs to have the port open to connect to each other

hamachi does some nice port magic (it even got tunnel servers for the case people cant get a peer-to-peer connection working)

Posted

nope :( once the game starts its peer-to-peer and everyone needs to have the port open to connect to each other

hamachi does some nice port magic (it even got tunnel servers for the case people cant get a peer-to-peer connection working)

Couldn't get it to connect. Game keeps crashing as soon as I enter the internet lobby.

Posted

Did you use the launcher ? Cause without it you cant go in there

If you use the launcher and you crash right after you click the internet button then it fails cause it couldnt register the WOLAPI.dll (blocked by your anti-virus)

Posted

Did you use the launcher ? Cause without it you cant go in there

If you use the launcher and you crash right after you click the internet button then it fails cause it couldnt register the WOLAPI.dll (blocked by your anti-virus)

I do not run anti virus ( I have an arsenal of offline malware removal tools). I used the download provided and the updated launcher with the provided address while connected to hamachi. I get the error "URL not found" even though I allowed the game in the window firewall. I can manually visit the IP of the server in a browser which means I am at least able to make the connection to the server outside the game (they need to setup apache btw).

Posted

I do not run anti virus ( I have an arsenal of offline malware removal tools). I used the download provided and the updated launcher with the provided address while connected to hamachi. I get the error "URL not found" even though I allowed the game in the window firewall. I can manually visit the IP of the server in a browser which means I am at least able to make the connection to the server outside the game (they need to setup apache btw).

We're gonna start working on a website, i'm already working on a forum for it.

 

About your issue, I suggest you join our Hamachi channel where u can talk with us live. Should be easier to fix this problem.

ID: 208-032-867

pass: dune

Posted

Oh, i forgot to mention -> when it asks you to register, click cancel :D then just enter your name and any password, it will register your acc automatically

Same issue. I figured thats how it worked because they had it like that when I played on the old server.

Posted

it still complains about a URL ? can you show a screenshot ?

It might have been an issue with hamachi, I'm not sure. I tried again today and it didn't crash, it froze instead. I remembered I had uninstalled hamachi, so I ran the installer again overtop the existing install and now its working.

Posted

there was a bug with an "Fail GetHelpUrl" error, maybe you had that one ? I made a patch for that yesterday, it was related to bad registry keys of previous installations of WOL

  • Upvote 1
Posted

if i go at skirmish and set house ix to play i get error illegal house

managed to run it but then got error house =3 and game crash

Why do u need this patch for modded skirmish.. it's for online, for vanilla online

  • Upvote 1
Posted

there was a bug with an "Fail GetHelpUrl" error, maybe you had that one ? I made a patch for that yesterday, it was related to bad registry keys of previous installations of WOL

That was the one, but I don't recall ever having it on this windows installation (that may jut be my memory though). Either way its working now.

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.