The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Yona-TYT on July 10, 2017, 01:31:13 AM

Title: Loading Script Scenario failed
Post by: Yona-TYT on July 10, 2017, 01:31:13 AM
With the r8262 does not work any scenario.  ???
I have made a complete update on a new simutrans directory.  :o

(http://files.simutrans.com/index.php/apps/files_sharing/ajax/publicpreview.php?x=1440&y=372&a=true&file=error_script.png&t=lqO789q1RXqZlvf&scalingup=0)

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
}

Title: Re: Loading Script Scenario failed
Post by: Dwachs on July 10, 2017, 05:35:15 PM
Thanks for the report. Fixed with r8264.