Maybe It's not a big issue, but I ran into an interesting problem when trying to connect and play a multiplayer game via SWP's built-in frontend or using Yang.
Designated ports are all forwarded, both nodes seem like they connect, then finally reaching the Shadow Warrior splash screen with "Lo Wang is waiting for other players" and it just hangs there for several minutes without the screen changing unless pressing escape to close the application before it crashes on its own.
So, just for testing purposes decided to run the DOS registered version under DOSbox to see if it will connect using the IPX emulation (TCP/IP etc..) under the same ports of course and executing from the Yang client.
Long story short, connected without a problem, and loaded into the title menu screen to select the maps and whatnot.
Just wondering what SWP is doing differently in the ways of establishing a connection versus the IPXnet from DOSbox?
Poda at
Re: SWP: multiplayer connect issue.
I just added both the DOS and SWP version to my netplay program Meltdown: http://duke3d.org/Tutorials/meltdown.php
Besides the issue Maligned is getting, I'm getting an issue where it does connect up a lot and goes into the multiplayer menu for both players. But, if anyone clicks apply, the other person's SWP crashes, and on the person's who clicked apply, it simply has no effect and goes back to the main menu.
Any idea what could cause this?
ProAsm at
Looks like a bug has crept in with multiplayer. I will look at this as soon as I get some time. Btw what OS's you guys using, Xp, Win7 or what ?
Poda at
XP. But, I need to test with Maligned again because I know we got it to work. I also noticed I ignored the message about the client not having to specify certain parameters, so I just made them both specify the skill and level. But, I think I read it's ignored anyway on the client's end. But, I may try without them and see if it changes anything.
Poda at
Hi, Proasm, me and Maligned figured it out. Although, one other person just couldnt' connect, his went straight into single player, our issue was this. First, we both had to be using the default port of 23513. Anything where we specified the port with the /p option seemed to fail, for example: /net /p187
Also, if we were using default port, we couldn't explicitly specify it, for would fail, like: /net /p23513.
What would happen is it would get to game menu for both people, but whoever clicks apply, the other guy's crashes and their apply has no effect basically but to go back to main menu.
So, for now, we'll stick to default port and no explicit specifying.
Actually, I just read the JFSW release notes. It doesn't make it clear if that /p option even pertains to p2p mode, but I'm thinking you would want to do that. For instance, I use port 187.
Edited by Poda at
Poda at
Ok, even the guy's who went straight into single player works now. So, as long as everyone uses port 23513 for now, it should work out ok.
Maligned at
I'm mainly using a Vista box, but swapping between XP and Vista for testing purposes.
As Poda mentioned we were successful in solving the port problem. On the other hand I still have that strange issue that pops up occasionally where it would just stay at the "Lo wang is waiting for players" splash screen and wouldn't go any further than that.
ProAsm at
The port /p does not exist in the code as far as I remember but will check it. If my memory serves me correct, basically the 'Apply' button that should only appear in the 'client' menu where the 'host' menu will have 'Start Game'. The 'Apply' was something I experimented with because sometimes after the host has selected a map etc and started a new game, some clients did not switch to the new selected map, so when bringing up their menu they could receive the Host's information then just click 'Apply' to switch and get into sync with everyone else. So for the time being leave the 'Apply' alone, and let the Host start a game ;)