Duke4.net Forums: NetDuke32 - Enhanced Duke3D Netplay! - Duke4.net Forums

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

NetDuke32 - Enhanced Duke3D Netplay!  "Netplay-centric EDuke32 fork, the successor to EDuke32-OldMP."

User is offline   Striker 

  • Auramancer

#1

https://shadowmavericks.com/files/ShareX/logo2.png
NetDuke32 - Enhanced Duke3D Netplay!

NetDuke32 is the successor to EDuke32-OldMP. The "OldMP" moniker was incredibly unfitting, and even misleading considering the years of work put into it, and how drastically the netcode has evolved from the old code from 1996.

While the netcode is still lockstep*, it has been overhauled with brand new prediction code, and all kinds of under-the-hood fixes/cleanup, resulting in what I hope to be the smoothest Duke3D Multiplayer experience so far.

* (C/S will be prototyped in a future NetDuke32 release before being merged with mainline EDuke32, unless plans change.)

Most tests since OldMP r33 have shown that most, if not all game-breaking bugs from that release are dead and buried. This took me over a year and a ton of work to get to this point, so I'm praying this release candidate works as well for others!

Here are some defining features of NetDuke32:


  • New prediction code - Probably NetDuke32's most defining feature. The aim is to provide a LAN-like experience, even under heavy latency. Nearly all player actions, such as firing and inventory use, will immediately display their visuals and play their sounds without delay- thus making it easier to tell where your shots will end up when the network catches up. This also means a lot of things like stomping shrunken enemies, is much smoother and easier to do. This may require some getting used to for veteran Duke players, but it will feel more familiar for people coming from games like Quake 3 Arena and Unreal Tournament, and hopefully will be a much more enjoyable experience for everyone overall.

  • 16 player support - While not exactly new, as OldMP technically supported this for a long time, only now can I say it's stable enough to be playable, and it's a feature no other ports have.

  • CO-OP scoreboard - (Shows kills/deaths, health/armor, inventory, ping, etc).

  • CO-OP intermission screens. - See stats between levels, like in singleplayer.

  • SP-only maps playable in CO-OP - No CO-OP player starts? No problem! All players will start from the default level start if their spawn point is missing, opening up many maps to be playable online.

  • New DukeBot AI - DukeBots are far more intelligent than Duke3D Atomic. They can pathfind better, they remember where items are, can swim, use jetpacks, elevators, and steroids! They even retreat when they are out of ammo or low on health. You can also add them to online matches!

  • Screenpeek name display - See the name of the person you're spectating in CO-OP spy mode.

  • FOV adjustment - Game making you dizzy? Adjust the FOV! (Currently only via console command at the moment. The range is slightly more limited than mainline, capping at 120 to reduce potential advantage in MP. May be reduced further if considered too advantageous.)

  • Many, many bugfixes for legacy CO-OP and DM bugs - Fixes for things such as not being able to pick up more than one Tripmine or Pipebomb. Or, the incorrect player being credited for kills in CO-OP.


Future plans involve a lobby system akin to Megaton Edition, further house-cleaning and polishing to Duke3D's mess of a codebase, among a plethora of other things I'm not quite ready to share yet.

Links:


This post has been edited by Striker: 29 May 2022 - 06:41 PM

33

User is offline   Striker 

  • Auramancer

#2

FAQ:

How do I install this?
Grab a release build from the links above. There's a readme.txt included with each build with complete installation instructions.

How do I use this with YANG?
Point YANG's entry for EDuke32 to your installation of NetDuke32.exe. When hosting lobbies, select "Master/Slave" as the connection type.
0

User is offline   Kylie 

#3

I've been looking forward to this! I really appreciate all your hard work.
2

User is offline   jkas789 

#4

Congratulations on the release Striker!
2

User is offline   Forge 

  • Speaker of the Outhouse

#5

glad you're part of the community
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#6

Right on.
2

User is offline   Striker 

  • Auramancer

#7

View PostForge, on 30 September 2021 - 07:17 AM, said:

glad you're part of the community

Thanks. Means a lot. I know it takes me a stupidly long time to get shit done, but I keep my word.

Duke Nukem 3D is probably one of my favorite games to play online, so I'm very highly motivated to get this thing working the best it can. I still have a long way to go before things are exactly how I want it to be (the end goal is still getting an Async C/S implementation... but, alas, shit's bloody hard. Especially when I'm trying to balance this work with my personal life), but I hope this will end up being the next best thing until I reach that point.

This post has been edited by Striker: 30 September 2021 - 02:54 PM

6

User is offline   jkas789 

#8

Remember to take care of yourself Striker.
1

User is offline   Striker 

  • Auramancer

#9

Updated NetLauncher to play sounds and show connection/disconnection messages to clients when people join a lobby. It can be found on the releases page. (See links in the first post)

This post has been edited by Striker: 01 October 2021 - 08:54 PM

1

User is offline   PhilSwitch 

#10

You da man, Striker! I'll have to get some more Dukematching done! Big thanks!
1

User is offline   Striker 

  • Auramancer

#11

In the upcoming release of NetDuke32 v1.1, I've fixed some clipping issues that caused you to instantly gib in the RPG ammo secret in E2L1.

I've also gone and added a notification in the main menu when a usermap ends, so that way others know that the session is still alive, and just waiting for a map change or vote to begin.

Lastly, I've fixed the map vote buttons not working in the main menu.

https://shadowmavericks.com/files/ShareX/duke0201.png
3

User is offline   Harlock 

#12

Hey Striker, I'm so glad you are still workin on this project, thanks! My friends and I used to play Duke when it came out, so it's great to be able to get back to one of the best shooters ever. Just one question though. Do we need to use the bundled NetLauncher for best performance or can we also use another matchmaking tool like yang (which we are used to)?

Your work for the community is very much appreciated :)
1

User is offline   Striker 

  • Auramancer

#13

View PostHarlock, on 18 October 2021 - 11:25 PM, said:

Hey Striker, I'm so glad you are still workin on this project, thanks! My friends and I used to play Duke when it came out, so it's great to be able to get back to one of the best shooters ever. Just one question though. Do we need to use the bundled NetLauncher for best performance or can we also use another matchmaking tool like yang (which we are used to)?

Your work for the community is very much appreciated :)

You can use YANG, but it might be a little tricky. Make sure to use Master/Slave mode if you do.
1

User is offline   Harlock 

#14

View PostStriker, on 21 October 2021 - 07:29 PM, said:

You can use YANG, but it might be a little tricky. Make sure to use Master/Slave mode if you do.


Ok, I guess we'll use NetLauncher then ; ) Thanks a lot.
0

User is offline   Striker 

  • Auramancer

#15

Work is ongoing. I've natively implemented a compact fragbar, akin to the one that has been in StrikerDM for a few years. Can be controlled via the CVar "hud_fragbarstyle". Styles are "Off", "Classic", and "Compact".

Some work is still needed, like a display for team scores in Team Dukematch.
https://shadowmavericks.com/files/ShareX/duke0275.png

EDIT: Done. This is the largest it can get, at 16 players. Still better than the positively massive classic fragbar:
https://cdn.discordapp.com/attachments/483672920808357928/931425207934148608/duke0281.png
4

User is offline   Striker 

  • Auramancer

#16

In order to keep myself from burning out doing the more menial shit with NetDuke32 that still needs to be done, I've gone and worked on improving the DukeBots and their ability to navigate maps. Here's a small demo:


6

User is offline   Elvisish 

#17

View PostStriker, on 19 February 2022 - 06:32 AM, said:

In order to keep myself from burning out doing the more menial shit with NetDuke32 that still needs to be done, I've gone and worked on improving the DukeBots and their ability to navigate maps. Here's a small demo:





Really great to see backspace for crouch saves in the settings, I'm not sure if it's netduke or eduke but x-axis and y-axis scale don't save in settings for some reason and have to be manually set each time. Also, mouse-lock isn't released for the window if you alt+tab away, so there's not real way of bringing it out of fullscreen to do something else.
0

User is offline   Striker 

  • Auramancer

#18

View PostElvisish, on 26 March 2022 - 03:12 AM, said:

Really great to see backspace for crouch saves in the settings, I'm not sure if it's netduke or eduke but x-axis and y-axis scale don't save in settings for some reason and have to be manually set each time. Also, mouse-lock isn't released for the window if you alt+tab away, so there's not real way of bringing it out of fullscreen to do something else.

If you're going to alt-tab, bring the console down. It will release the mouse.

Also X/Y axis scales are saved properly in the upcoming NetDuke32 v1.1.
0

User is offline   Elvisish 

#19

View PostStriker, on 27 March 2022 - 11:36 AM, said:

If you're going to alt-tab, bring the console down. It will release the mouse.

Also X/Y axis scales are saved properly in the upcoming NetDuke32 v1.1.



Ahh thanks, I'll try alt+tab. Also, does World Tour work with ND32?
0

User is offline   Mav3r1ck 

#20

I heard this supports 16 players. Can you play against 16 dukebots?
0

User is offline   Striker 

  • Auramancer

#21

View PostMav3r1ck, on 04 April 2022 - 01:18 PM, said:

I heard this supports 16 players. Can you play against 16 dukebots?

Yes, you can.
0

User is offline   Mav3r1ck 

#22

How exactly do I do that? :o

EDIT: Also, does this support Eduke's latest variables/features you would use in the game con files and linear filtering?

This post has been edited by Mav3r1ck: 05 April 2022 - 02:45 PM

0

User is offline   Striker 

  • Auramancer

#23

View PostMav3r1ck, on 05 April 2022 - 02:37 PM, said:

How exactly do I do that? :o

EDIT: Also, does this support Eduke's latest variables/features you would use in the game con files and linear filtering?

Same way you add bots in the DOS version.
-q16 -a
in the command line.

And no, doesn't support all the latest CON features, just some of them (that were backported as needed for my own projects). And yeah, you can enable linear filtering, but I have no idea why you'd want to (it's very ugly, and causes the ripper to have a giant gap where the barrels connect).
0

User is offline   Mav3r1ck 

#24

I'm not used to using CMD. How would I set the game up?

EDIT: Nvm, I figured it out.

This post has been edited by Mav3r1ck: 06 April 2022 - 07:48 PM

0

User is offline   Elvisish 

#25

Is World Tour supported with the stopgap?
0

User is offline   Striker 

  • Auramancer

#26

View PostElvisish, on 10 April 2022 - 12:16 AM, said:

Is World Tour supported with the stopgap?

I don't think so, but it's supported with StrikerDM.
0

User is offline   Nash 

#27

!Hello, just tried this port, seems to run well in a quick coop test.

Will there be an option to prevent deathmatch weapons from spawning in coop?
0

User is offline   Striker 

  • Auramancer

#28

View PostNash, on 15 May 2022 - 04:59 AM, said:

!Hello, just tried this port, seems to run well in a quick coop test.

Will there be an option to prevent deathmatch weapons from spawning in coop?

Good idea, I'll look into that in the future.
0

User is offline   Radar 

#29

Is that unique from co-op exclusive weapons? (not sure if that even exists) Weapons in co-op mode are scarce as it is. It's worth noting that in co-op mode, that the players can't pick up weapon sprites if they already have that weapon in their arsenal. They can only pick up ammo. That itself already screws up the balance in so many maps.
0

User is offline   Striker 

  • Auramancer

#30

View PostRadar, on 15 May 2022 - 06:40 PM, said:

Is that unique from co-op exclusive weapons? (not sure if that even exists) Weapons in co-op mode are scarce as it is. It's worth noting that in co-op mode, that the players can't pick up weapon sprites if they already have that weapon in their arsenal. They can only pick up ammo. That itself already screws up the balance in so many maps.

It'll just be an option, nice for those who might want a challenge. NetDuke32 has a system of assorted toggle-able gameplay flags in v1.1, making it easy to implement. Also, the Weapon Stay setting isn't forced in NetDuke COOP, and hasn't been for a long while.
2

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options