PDA

View Full Version : 2.0.2 Client



kevjoh
02-01-2004, 11:16 PM
Having same problem with 2.0.2 that I did with 2.0.1 its only showing like 6-9 spawns. Im running win xp on a p4 1.5g as the server and win98se on a cel 500mhz for the client. Im running 2.0.2 on both server and client.

kevjoh
02-04-2004, 07:51 AM
Does 2.0.2 use port 5555 or port 6969? And could that be causing the problems since im using port 6969?

MQSEQ2
02-04-2004, 08:04 AM
Clinet and Server 2.0.2 both are set to use Port 6969 and you can verify it by checking the Client options and the Servers Ini file.

Verify you haven't turned off the NPCs and Players under the View menu options. If you hit F10 it toggles the NPCs and if you hit F11 toggles the Players.

slartibartfast
02-04-2004, 08:23 AM
I think the problem is because when client and server are on different machines, the packet the server sends gets split into multiple smaller packets for transport over the network.

When client + server are on the same machine, the packets do not seem to get broken up.

Version 1 of the client had code that coped with the arrival of partial packets, but there does not appear to be any such code in version 2 yet.

MQSEQ2
02-04-2004, 08:53 AM
I develop the software on two different machines so the Server is on one machine that's running EQ and the Client on another. I hate doing Client and Server on the smae machine since EQ is such a CPU hog and makes Client dev'ing sluggish on 1 1.8GHz with 1 Gig Ram which is very sad to see hehe.

The reason I don't need to worry about the split packets is becuase of this line of Code:



pSocketClient = new CSocketClient(500000, null,
new CSocketClient.MESSAGE_HANDLER(MessageHandlerClient ),
new CSocketClient.CLOSE_HANDLER(CloseHandler),
new CSocketClient.ERROR_HANDLER(ErrorHandler));


I have setup the packet buffer size to 500,000 bytes so it can handle aprox 300 packets before any issues and based on the data structure calculations we should never have an issue with that.

The main issues I've seen lately is the Microsoft .Net Framework 1.1

kevjoh
02-04-2004, 06:56 PM
Ok I checked both NPC and PC are on. The Port is 6969 on both so isnt that. Now atm im gettin strange asci symbols in place of names on 2 of the 3 spawns listed.

MQSEQ2
02-04-2004, 06:57 PM
Move this to the new site so we can resolve it there. Also supply all the data required for troubleshooting.