Game Development Community

Wrong mission loads when joining server over internet...

by Jason Davis · in Torque Game Engine · 03/12/2008 (5:52 am) · 4 replies

Okay, this is kind of strange... maybe someone will have some clues...

When I start the dedicated server version of TGE 1.5.2 on my home computer (which is sitting on a public IP address), then go to my work PC, I can start up TGE (the client version) on my work PC just fine. It sees the dedicated server on the list when I query for servers from the master server... so far, so good...

When I try and join the server, however, instead of launching my own mission that I created from scratch (which I started on the dedicated server), it loads up the sample mission "cpdemo2.mis" every time. EVEN IF I DELETE ALL MISSIONS BESIDES MY OWN MISSION, it STILL loads the sample mission. I don't have this sample mission on the server machine nor the client anymore... when doing that, it is trying to download cpdemo2.ter, the terrain file over the internet! I am totally blasted here, can't figure out why it keeps wanting that file no matter what I do.

Any ideas? I'm open to any suggestions at this point because this is keeping me from testing my game over the internet with others. Thanks in advance very much!

-Jason

#1
03/12/2008 (9:28 am)
Are you running the client from a desktop shortcut? Maybe the shortcut has a parameter that's trying to load a specific mission?

Just a guess as I had that happen to me once :)
#2
03/12/2008 (12:39 pm)
Hello Rodney...
Unfortunately, no... I am not using any parameters on the shortcut at all. On the dedicated server, here's the batch file I am starting with:

@echo off
torqueDemo.exe -game tgGame -dedicated -mission tgGame/data/missions/sandbox.mis

To me, it seems pretty straightforward... but I am obviously doing something wrong.
#3
03/14/2008 (7:05 am)
Probably not your problem, but when I was testing connections quite a while back, I kept connecting to someone else's server instead of my own and wondering why my changes weren't there. "I'm not running Stronghold...WTF?"
#4
03/15/2008 (12:18 pm)
I have been digging into the source on this one, since most of the real work for connecting to a server seems to be done in source code with very little intervention from script. So far, I can't figure out why this phantom mission wants to load. I will keep you guys posted if I find a catalyst.

Please, if anyone that has more experience in this than me knows what items to check, feel free to share. :-)

Regards,
Jason