Game Development Community

CVS HEAD (30 July, 2002) Error in new net code

by DavidRM · in Torque Game Engine · 07/30/2002 (11:05 am) · 4 replies

Some of the client-side scripting event handlers for "GameConnection" aren't being called in the new netInterface.cc file.

Example:
fps/client/scripts/serverConnection.cs
function GameConnection::onConnectionAccepted(%this)

There may be others...there probably are, in fact, but that's the one that I noticed immediately.

-David

#1
07/31/2002 (3:48 pm)
Any estimated time on when this will be addressed? There's at least one other thread having issues with the new net connection code.

I'm reluctant to make the changes myself because then I have to contend with the CVS merge when the netInterface.cc/h are fixed/completed. And me and CVS are on shakey terms at best...

Mark? Anybody?

-David
#2
07/31/2002 (5:44 pm)
Working on it... sorry for the delay. I've got the missing script call fixed, and I'll check it in once I test it (along with some other changes I'm making).
#3
07/31/2002 (6:37 pm)
Ok, I added the GameConnection::onConnectionAccepted script function callback.

Real soon now I'll doco up all the changes I made in the addition of the NetInterface class...
#4
08/01/2002 (7:47 am)
Grabbing the new HEAD now. Thanks a lot!

-David