Game Development Community

TGEA + Torsion = StartClientReplication error

by Robert Rose · in Torsion · 11/17/2007 (1:45 pm) · 5 replies

Trying to see if I can use Torsion with TGEA.. It seems to work fine, but it gives a compile error every time I go to run the game:

common/client/missionDownload.cs (67): Unable to find function StartClientReplication

This function StartClientReplication() doesn't exist anywhere that I can find.

If I remove the line from the file Torsion *still* complains about the line. (???)

I've tried adding this console command to the game and it still complains about it.

I've tried removing the common directory from the project and it still complains about it.

If I remove the file completely it still complains about it. (???)

#1
11/19/2007 (6:13 am)
Have you removed the .dso?

We've had this problem before if a dso accidentally gets source controlled or marked read-only, it won't get overwritten if the .cs file was changed.


Try Project->Delete DSOs and see if you get any can not remove file errors.
#2
11/19/2007 (9:22 am)
Deleting compiled scripts...

demo - 0 compiled script(s), 0 deleted, 0 skipped


The only file I have in the depot with 'dso' in the name is 'cloudsotrm.png'. (?)
#3
11/19/2007 (1:00 pm)
That console function is not defined anywhere in C++ but nevertheless calls to it remain hanging around in script. Its not a problem at all, and if you don't want to see the error just comment out the call in script.
#4
11/19/2007 (6:02 pm)
James wrote:
> ...if you don't want to see the error just comment out the call in script.

I wrote:
> If I remove the line from the file Torsion *still* complains about the line. (???)

Yeah, I did that. I even deleted the file and it still complains about it. What's the deal??? :-)
#5
11/20/2007 (6:33 am)
The only thing I can think of with you deleting a line and it not updating would be a read only .cs.dso somewhere, or your executable is running in a working directory with other files that you aren't changing