Game Development Community

Join Server Button Does not Work in Realmwars - HEAD(2002/08/04)

by James Urquhart · in Torque Game Engine · 08/04/2002 (1:39 pm) · 6 replies

To my horror, the functionality of the join server button has flown off somewhere...

I tried joining a RW server with the latest HEAD code, but after frantically pressing the join server button several times, i noticed that nothing was happening.

When pressing the button, this error comes up in the console :

Quote:
rw/client/ui/joinServerGui.gui (285): Unable to find function connect

And even more terrifying, was the fact that the multiplayer game option did not work at all @_@

This error pops up when attempting to use it :

Quote:
*** LOADING MISSION: rw/data/missions/stronghold.mis
*** Stage 1 load
*** Stage 2 load
Executing rw/data/missions/stronghold.mis.
*** Mission loaded
rw/client/ui/startMissionGui.gui (151): Unable to find function localConnect
Sending heartbeat to master server [IP:216.116.33.156:28002]
Received info request from a master server [IP:216.116.33.156:28002].


Were changes to these files made during the recent netcode changes? Mark must've totally missed RealmWars... Does he have anything against the orc or something? (j/k)

The code works fine for the FPS game, but the Realwars game is the only one that has this error.

#1
08/04/2002 (2:07 pm)
Theres quite a few places in the scripts in the HEAD version that don't work.

E.g :

Stopping Recording a Demo:
Quote:
Unknown command stopRecord.

Pressing one of the F keys(forgot which one)
Quote:
/fps/client/scripts/default.bind.cs (300): Unable to find function GLEnableOutline

Trying to playback a demo:
Quote:
Connection established 2009
Unable to open demo file 0.
common/client/recordings.cs (50): Unable to find object: 'ServerConnection' attempting to call function 'delete'

Hope they get fixed eventually :D
#2
08/04/2002 (4:54 pm)
Actually the connect thing was due to some changes in netcode im assuming..

if (setServerInfo(%index)) {
%conn = new GameConnection(ServerConnection);
%conn.setConnectArgs($pref::Player::Name);
%conn.setJoinPassword($Client::Password);
%conn.connect($ServerInfo::Address);


It use to just be connect(); or localconnect();

but the above is whats currently used..

I posted as well, that Item pickup messages arent working for me right out of HEAD..
#3
08/05/2002 (6:33 pm)
Yeah I ran into the localConnect function missing also. I resolved it by get the startMission.gui from the .../fps/client/ui area and copying it into my .../rw/client/ui area. Seems that diff versions are causing merge issues. The one fixed is rev 1.10 in fps and the one in rw is 1.2 but you need 1.10 changes with the latest head.
#4
08/05/2002 (9:59 pm)
Mark recently made some changes to fps/client/scripts/serverConnection.cs, fps/client/ui/joinServerGui.gui, and /fps/client/ui/startMissionGui.gui. I assume the same sorts of changes need to be made in the rw hierarchy. I'll see what I can do about that.

--

Public Service Announcement: remember folks, report bugs using the Project Manager if you want to have a good chance of them getting fixed.
#5
08/05/2002 (10:21 pm)
Okee doke, that should fix it.
#6
08/06/2002 (5:24 am)
Thanks...

I believe the demo recording/playback is still a bit broken(aka calling the wrong functions)... can anybody confirm this?