Starting single player game fails on win32

Bug #566773 reported by Tino
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Undecided
Unassigned

Bug Description

trunk 5244, mingw32:
If you do start a single player map, widelands fails to load the winning condition lua script:

Unerwarteter Fehler im Spielverlauf
Could not find file: could not find file or directory: scripting/win_conditions/win_conditions\00_endless_game.lua

But stdout shows the script loaded and registered:

[snip]
Registering script: (aux,table)
Registering script: (win_conditions,win_conditions\00_endless_game)
Registering script: (win_conditions,win_conditions\01_defeat_all)
Registering script: (win_conditions,win_conditions\02_collectors)
Registering script: (win_conditions,win_conditions\03_tribes_together)
textdomain win_conditions @ H:\wl_build\locale
textdomain win_conditions @ H:\wl_build\locale
[...]

Looks like a /,\ file path problem to me...

Tags: lua scripting
Tino (tino79)
description: updated
Revision history for this message
Tino (tino79) wrote :

Should add that the error happens at some point during the loading screen and is independent on which win condition i choose on game creation.
Campaigns and the tutorial are ok...

Revision history for this message
SirVer (sirver) wrote :

This should be fixed in r5245. Please try again.

While you're at it Tino, could you please run the testsuite and the persistence tests as documented here and report back to me:
http://wl.widelands.org/docs/making_scenarios/implementation/#testing

Changed in widelands:
status: New → Fix Committed
Revision history for this message
Tino (tino79) wrote :

Nice job, it works fine now.
I've also run the two tests, please find the console output attached (stdout.txt for both cases).

Revision history for this message
SirVer (sirver) wrote :

Thanks 8)

all tests passed fine and the output is completely as expected. Seems like Lua is really flying now!

Revision history for this message
SirVer (sirver) wrote :

Released in build16-rc1

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.