Duke4.net Forums: Client/server multiplayer prototype issues thread - Duke4.net Forums

Jump to content

  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • This topic is locked

Client/server multiplayer prototype issues thread

User is offline   TerminX 

  • el fundador

  #1

Hey, could you guys post any issues you have with the new client/server multiplayer prototype in this thread? I know there are currently tons of them, but I want a good list of them somewhere so I can knock some of them out soon. I can't really expect everyone to register and post things on the bug tracker on SourceForge, so just post them here instead.

I'm also accepting multiplayer related patches at this time. The real hard work is already done, so this would be a good time for anyone that always wanted to contribute to the multiplayer aspect of things but could never handle doing it all solo to give something back to EDuke32.

I'll start the list off with a few currently known problems:

Players often respawn where they died, in the floor, or in some other incorrect location
Players sometimes spawn invisible or with the dying animation looping indefinitely
Dead players positions glitch up and down between regular and dead height before they respawn
Clients sometimes come up with incorrect results for random spawns, producing "ghost" sprites on individual clients that don't do anything when interacted with
0

User is offline   Jblade 

#2

Is there a link for us non-compilers to grab a compiled exe, or would you rather restrict it to the people who know what they're doing with it?
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#3

View PostJames, on Dec 12 2009, 11:24 PM, said:

Is there a link for us non-compilers to grab a compiled exe, or would you rather restrict it to the people who know what they're doing with it?

Here,
http://dukeworld.duk...ke32/synthesis/

Or,
http://hendricks266.duke4.net/eduke32/ (This has the latest compiled source)

EDIT:
To start a game, the host must launch with the command: "EDuke32.exe -server"
You should go straight to the main menu, stay on this menu till the first player joins. (Can't start a server with out one other person in the game)

Joiners need to launch with the command: EDuke32.exe -connect XXX.XXX.XXX.XXX
XXX being the IP address, you don't put a port address either as for now it is defaulted to using 23513

Once someone has joined your game (you can tell by repeatedly hitting enter on "New Game" and escape till it changes to the MP setup screen) set up your game options and launch it.
From then on players are free to come and go as they please (apart from the host :lol:) Though expect bugs as listed above in TX's post.

This post has been edited by The Commander: 12 December 2009 - 03:04 AM

0

User is offline   Jblade 

#4

Cool! but I get a bizarre con error that doesn't happen when I use the October 17th snapshot :lol:

EDIT: I grabbed the latest copy from the synthesis directory but Hendrick's has some newer ones so I'll try those.
EDIT2: Nope, the 9th December one still gives me the same error.
EDuke32 2.0.0devel 20091106
Application parameters: /gAMCTC.grp /xAMCGAME.con /map test.map 
Using CON file 'AMCGAME.con'.
addsearchpath(): Added D:/AMCTHETC/
OS: Windows XP (5.1.2600) Service Pack 2
Large page support available
Loading opengl32.dll
Loading glu32.dll
Initializing DirectDraw...
Using config file 'eduke32.cfg'.
Scanning for GRP files...
Warning: could not find main group file 'duke3d.grp'!
Using group file 'AMCTC.grp'.
Using group file 'AMCTC.grp'.
Compiling: AMCGAME.con (480199 bytes)
Using dynamic tile remapping
Including: AMCVARS.CON (16679 bytes)
Including: AMCDEFS.CON (112148 bytes)
Including: AMCUSER.CON (164664 bytes)
Including: PSTATS.CON (335284 bytes)
PSTATS.CON: In state `PLAYERSTATS':
PSTATS.CON:7773: warning: found `ifsound' outside of a local event.
PSTATS.CON:8014: error: expected a keyword but found `'.
PSTATS.CON:8014: error: expected a keyword but found `'.
PSTATS.CON:8014: error: expected a keyword but found `'.
.etc .etc .etc
fatal error: too many errors: Aborted
Found 1 warning(s), 64 error(s).
Uninitializing DirectDraw...


This post has been edited by James: 12 December 2009 - 03:10 AM

0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#5

Looks like the same issue that Dr. Kylstein reported about the con compiler.

http://forums.duke4....wtopic=1269&hl=
0

User is offline   Jblade 

#6

I don't think so since that's back in November and the con compiler's telling me I'm using `' even though there's nothing like that in PSTATS.CON at all.
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#7

It might be worth sending that con to TX to help address any con parsing issues.
0

User is offline   Spiker 

#8

can I play this online? If so how can I find available games?
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#9

View PostSpiker, on Dec 13 2009, 12:41 AM, said:

can I play this online? If so how can I find available games?

There is no master server listings etc right now, so the only way play is possible is if you know when your friend etc is hosting a game (MSN etc)

Right now there is no possible way for YANG to let you join a game in progress.
0

#10

It doesn't even let me go to the menu...
0

#11

Cant start that build.. after the Logo it crashes
0

#12

View PostBrOiler1985, on Dec 12 2009, 04:58 PM, said:

Cant start that build.. after the Logo it crashes


Same happens to me
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#13

View Postinsane_metalhead, on Dec 13 2009, 04:42 AM, said:

It doesn't even let me go to the menu...

View PostBrOiler1985, on Dec 13 2009, 04:58 AM, said:

Cant start that build.. after the Logo it crashes

MP is broken with Revision 1560 and up to 1565 at this current time of posting.

If it is launched from the main menu the host gets into the map but the client just gets a waiting for server screen and crashes back to the desktop, at which point if the client tries to reconnect again it will crash both to the desktop.

This post has been edited by The Commander: 12 December 2009 - 07:43 PM

0

#14

After making a clean installation (without hrp and polymer hrp) the build works.. (r1565)
0

#15

Oke I fixed it, you just have to delete your textures.cache file in your dir...

This post has been edited by insane_metalhead: 13 December 2009 - 11:43 AM

0

User is offline   Plagman 

  • Former VP of Media Operations

#16

Rev 1566 should fix the crash problem on join that clients/servers were having.
http://dukeworld.duk.../20091213-1566/
And yeah, if you're coming from an earlier build don't forget to delete your texture cache as loading an old one will cause crashes.
0

User is offline   Jblade 

#17

The CON compiler error still occurs - who should I e-mail the cons to? (or rather what address to mail them to) It occurs with the AMC TC but also with some pretty basic V1.5 cons with only a few Eduke32 commands added.
0

User is online   Danukem 

  • Duke Plus Developer

#18

View PostJames, on Dec 13 2009, 01:24 PM, said:

It occurs with... some pretty basic V1.5 cons with only a few Eduke32 commands added.


Why don't you attach those CONs here?
0

User is offline   Jblade 

#19

A sound idea, thanks!

Attached File(s)


0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#20

View PostPlagman, on Dec 14 2009, 09:01 AM, said:

Rev 1566 should fix the crash problem on join that clients/servers were having.
http://dukeworld.duk.../20091213-1566/
And yeah, if you're coming from an earlier build don't forget to delete your texture cache as loading an old one will cause crashes.

That fixed the issue of starting a MP game, but from some quick testing it seems that if the client leaves and then tries to return to the game they are then faced with the "waiting for sever" screen and then crashes both host and the client.
0

User is offline   TerminX 

  • el fundador

  #21

r1567 fixes a bunch of issues.

I wouldn't even try running mods with this yet... let's make the regular game work first, k? :lol:
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#22

View PostTX, on Dec 14 2009, 06:27 PM, said:

r1567 fixes a bunch of issues.

I wouldn't even try running mods with this yet... let's make the regular game work first, k? :lol:

That works a lot more smother. :lol:

This post has been edited by The Commander: 14 December 2009 - 12:05 AM

0

User is offline   Skulldog 

#23

TX, this is really great. Is it possible to make a dedicated server? I have only tried with 2 players using 1572 build it works just fine.
0

User is offline   Replica 

#24

I don't have a sound card on dedi and try to start it using

eduke32.exe -ns -nm -server

And get the following error

EDuke32 2.0.0devel 20091215

Sound startup error: Directsound error: DirectSoundCreate failed

Though tryed it on laptop with someone and works. Will test more when get home.

This post has been edited by Replica: 19 December 2009 - 06:47 PM

0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#25

Im trying to LAN game r1573.

I get the same results on both computers.
I tried multiple fresh installs as well, as there been another command added that needs to be defined that I have missed?

EDuke32 2.0.0devel 20091215
Application parameters: -connect 192.168.1.12 
Connection to 192.168.1.12:23513 succeeded.
addsearchpath(): Added C:/Duke Nukem/MP/
OS: Windows XP (5.1.2600) Service Pack 3
Large page support available
Loading opengl32.dll
Loading glu32.dll
Initializing DirectDraw...
Using config file 'eduke32.cfg'.
Scanning for GRP files...
Using group file 'duke3d.grp' as main group file.
Server protocol is version 196.79, expecting 195.79
Version mismatch!  You cannot play Duke with different versions!
Compiling: GAME.CON (151190 bytes)
Including: DEFS.CON (35992 bytes)
Including: USER.CON (45482 bytes)
GAME.CON: In actor `ORGANTIC':
GAME.CON:3968: warning: found `else' with no `if'.
GAME.CON: In state `pigshootenemystate':
GAME.CON:5891: warning: found `else' with no `if'.
Found 2 warning(s), 0 error(s).
Resizing code buffer to 16187*4 bytes
Relocating compiled code from to 0x7f850014 to 0xac364dc
Script compiled in 22ms
Compiled code size: 16179*4 bytes, version 1.4+
Pointer bitmap size: 2024 bytes
1918/11264 labels, 321/2048 variables
125/16384 quotes, 0 quote redefinitions
0/88 event definitions, 207 defined actors
Initialized 32.0M cache
RTS file DUKE.RTS was not found
Initializing OSD...
Initializing DirectInput...
  - Enumerating attached input devices
	* MOUSE: Mouse
	* KEYBOARD: Keyboard
Executing "eduke32_binds.cfg"
Setting video mode 800x600 (32-bit fullscreen)
Enabling ATI FBO color attachment workaround.
OpenGL Information:
 Version:  2.1.9026
 Vendor:   ATI Technologies Inc.
 Renderer: VisionTek Radeon HD 2600 XT AGP
Initializing music...
Initializing sound...
 
Uninitializing DirectInput...
Wrote eduke32.cfg
Wrote eduke32_binds.cfg
Uninitializing DirectDraw...


This post has been edited by The Commander: 20 December 2009 - 06:12 AM

0

User is offline   Replica 

#26

View PostThe Commander, on Dec 20 2009, 02:09 PM, said:

Im trying to LAN game r1573.

I get the same results on both computers.
I tried multiple fresh installs as well, as there been another command added that needs to be defined that I have missed?

EDuke32 2.0.0devel 20091215
Application parameters: -connect 192.168.1.12 
Connection to 192.168.1.12:23513 succeeded.
addsearchpath(): Added C:/Duke Nukem/MP/
OS: Windows XP (5.1.2600) Service Pack 3
Large page support available
Loading opengl32.dll
Loading glu32.dll
Initializing DirectDraw...
Using config file 'eduke32.cfg'.
Scanning for GRP files...
Using group file 'duke3d.grp' as main group file.
Server protocol is version 196.79, expecting 195.79
Version mismatch!  You cannot play Duke with different versions!
Compiling: GAME.CON (151190 bytes)
Including: DEFS.CON (35992 bytes)
Including: USER.CON (45482 bytes)
GAME.CON: In actor `ORGANTIC':
GAME.CON:3968: warning: found `else' with no `if'.
GAME.CON: In state `pigshootenemystate':
GAME.CON:5891: warning: found `else' with no `if'.
Found 2 warning(s), 0 error(s).
Resizing code buffer to 16187*4 bytes
Relocating compiled code from to 0x7f850014 to 0xac364dc
Script compiled in 22ms
Compiled code size: 16179*4 bytes, version 1.4+
Pointer bitmap size: 2024 bytes
1918/11264 labels, 321/2048 variables
125/16384 quotes, 0 quote redefinitions
0/88 event definitions, 207 defined actors
Initialized 32.0M cache
RTS file DUKE.RTS was not found
Initializing OSD...
Initializing DirectInput...
  - Enumerating attached input devices
	* MOUSE: Mouse
	* KEYBOARD: Keyboard
Executing "eduke32_binds.cfg"
Setting video mode 800x600 (32-bit fullscreen)
Enabling ATI FBO color attachment workaround.
OpenGL Information:
 Version:  2.1.9026
 Vendor:   ATI Technologies Inc.
 Renderer: VisionTek Radeon HD 2600 XT AGP
Initializing music...
Initializing sound...
 
Uninitializing DirectInput...
Wrote eduke32.cfg
Wrote eduke32_binds.cfg
Uninitializing DirectDraw...




Strange as r1573 lan works fine here. It seems to be saying you have differant versions?
If your absolutely sure files are intact then maybe if it was me I would check if have multicore machine and set process to use 1 cpu only by affinity or so in task manager as sometimes it ran to fast on my duel core AMD.

Should only need 2 commands as far as I have tested.

-server - For host or dedi waits at main duke menu you can pop up console and see a message when they connect and it plays a sound then start new game

-connect {ipaddress} << for clients they soon connect to the host or dedi ip address



Once server is inside the game I noticed they can exit even rejoin with a in game join.


It did crash if I went into the game 1st before waiting for the 1st client to join but once inside the game then people could start joining and exiting the game.


So far still to run into new bugs except the common ones already known. Not tested greatly. But this is really good stuff.

Well done Termx...

This post has been edited by Replica: 22 December 2009 - 03:27 PM

0

User is offline   Skulldog 

#27

Everytime I install the newest version and I start the game, then I get the firewall Allow or block. Whick is normal. I allow it then nothing happens. I have to reboot
computer. Then it works fine.
0

#28

The mouse lacks when facing a lot of dynamic spotlights, you can move around the player but looking around with the mouse lacks very hard. I dont think it's my video card. Does someone have this problem too? I use the last build: r1573
I don't know if I had this with previous builds.

Ive got a Quad Core CPU Q8300 @ 2.5 Ghz, 3gb RAM, Windows Vista Home Premium with Service Pack 2, Geforce GT220 with 1Gb VRAM.

This post has been edited by insane_metalhead: 26 December 2009 - 06:11 PM

0

#29

Sorry for my english,if you can't understand that,just wait,a friend gonna fix this problem langage...

Ok,ingame joining is super-cool,and with some devellopement,master Server,i think the multiplay of Duke can get popularity and have more people than Yang have actually,maybe like Zdaemon or Skulltag for Doom =D..

After playing DM with 2 persons on Hollywood Holocaust and LA Rumble,here some bugs... (in game joining working perfectly).
Oh,it's r1573

-When i (server) kill my partner with shotgun,and chaingun (haven't tried Pistol) he get killed,but he corpse explode into gibs,just like ive killed him with RPG...But when he kill me with shotgun (he is client) nothing wrong happen...£

-Sometimes when i kill him,he corpse explode 2 time (i think,im not sure but i believe that more gibs are spawned) and 2 weapons are spawned...

-I don't see that,its my partner...The Door of the entryway of hollywood holocaust (don't know if its the exterior or the interior doors,need to ask) has closed on me,and gibs spawned,but i've don't died,and when this happen, we don't get Out of synch...Is just a illusion

-Not really a bug...But...In someway this netcode is really stable!We don't get any Out of synch,and eduke32 don't lag at all,and the game never crash! (exept for regular bug,and we have not tried eduke32mod,but like TerminX says,let's regular Duke work first)

-of course,bug with dead animations already know,occurs,but always with the client...

I don't remember other bug for now...Gonna try it on other map with more people later...
But its awesome!Now we gonna get a good multiplayer port,and playing gonna be more easy...Hope more people gonna play with that!

Oh,it is possible to enhance the max number of player in the future?in some way useless for now cause there is'nt 8 player at the same time on the same server...But just for know =D

This post has been edited by Kenny mckormick: 29 December 2009 - 07:39 AM

0

User is offline   TerminX 

  • el fundador

  #30

r1574 is in svn now, with mostly more multiplayer improvements. Less bandwidth usage, etc.
0

Share this topic:


  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • This topic is locked


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