News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

Loading Script Scenario failed

Started by Yona-TYT, July 10, 2017, 01:31:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT

With the r8262 does not work any scenario.  ???
I have made a complete update on a new simutrans directory.  :o



Edit.

It seems that removing commas "," solves the problem.  ;D

Line (485) /simutrans/script/script_base.nut
class slope {
    static flat=0
    static north = 3+1    ///< North slope
    static west = 9+3     ///< West slope
    static east = 27+1    ///< East slope
    static south = 27+9   ///< South slope
    static northwest = 27 ///< NW corner
    static northeast = 9  ///< NE corner
    static southeast = 3  ///< SE corner
    static southwest = 1  ///< SW corner
    static raised = 80    ///< special meaning: used as slope of bridgeheads
    static all_up_slope   = 82 ///< used for terraforming tools
    static all_down_slope = 83 ///< used for terraforming tools
}


Dwachs

Thanks for the report. Fixed with r8264.
Parsley, sage, rosemary, and maggikraut.