Game Development Community

Dedicated not working

by Michael Ruben Lugo · in General Discussion · 12/13/2009 (1:19 am) · 2 replies

Hello. I have been interested in restarting my education with TGE on a dedicated server setting. When I specify the mission and dedicated status to the engine, there is the consistent error of

Illegal CodeBlock path detected (no mod directory): demodatamissionsfeatures.mis
(TypeFilename) illegal filename detected: ~/data/shapes/trees/shrub.dts

when the mission is executed until the engine crashes.

I have tried to solve this by looking around the forums, but following the advice I've been able to find has not fixed it. I would be very grateful for any help. Thank you.

About the author

Occasional hobbyist. Been meddling in the demo for years due to a lack of cash.

Recent Threads

  • Theora Video Encoding

  • #1
    12/13/2009 (10:54 pm)
    Just for more information, the crash occurs with a slightly modified version of TGE 1.5.2. If I go dedicated with the original 1.5.2, it shows the same errors for all filenames, but it does not crash and at least sends a heartbeat.
    #2
    12/14/2009 (11:03 pm)
    Aha! It appears that the only problem was the fact that all the filenames and shapefiles were in shortened form (with the "./" and "~/"). Whenever I manually changed the file references to expanded form, the dedicated mission loaded without a flaw.

    The only problem that I'll work on tomorrow is that the mission editor saves all the mission files in shortened format, so I will have to change that to expanded unless someone happens to know why shortened paths are no longer accepted for that mission. What still seems fuzzy to me is that shortened paths are bad for the mission, but the dedicated server exec the datablocks without a problem, all with shortened paths.