Breaking tutorial script

Bug #571237 reported by Kiscsirke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Medium
Unassigned

Bug Description

When the tutorial tries to build you your first lumberjack, you can easily move your screen away before it does. Then, when it tries to click on the offscreen location, the game just crashes out to desktop (for me on Windows), without error handling.

One possible solution would be that when the cursor gets to the edge of the screen, it drags the screen with it, though I don't know how hard that would be to implement. But at least some error handling would be nice.

I assign this to SirVer, as this is almost definitely a bug with Lua.

Tags: lua tutorial

Related branches

Kiscsirke (csirkeee)
Changed in widelands:
assignee: nobody → SirVer (sirver)
SirVer (sirver)
Changed in widelands:
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
SirVer (sirver) wrote :

thanks for testing the tutorial! all feedback is most welcome. I pushed a fix for this into my tutorial_mission branch, could you check this out?

Revision history for this message
Kiscsirke (csirkeee) wrote : Re: [Bug 571237] Re: Breaking tutorial script

Okay, this part works now, one more thing I found:

When the script builds me a road, if I hold down the Ctrl key, I place
a flag mid-way. If I do this when it first connects the lumberjack, I
can make the scenario unwinnable: it says "not so hasty", destroys the
road, and does this again if I try to replace the road. So, the
lumberjack can't have a road, and it can't be finished. If I do this
while he connects the quarry, it just looks a bit stupid that he only
destroys the first half of the road, not the whole.

On 28 April 2010 18:13, Launchpad Bug Tracker <email address hidden> wrote:
> ** Branch linked: lp:~sirver/widelands/tutorial_mission
>
> --
> Breaking tutorial script
> https://bugs.launchpad.net/bugs/571237
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Widelands: In Progress
>
> Bug description:
> When the tutorial tries to build you your first lumberjack, you can easily move your screen away before it does. Then, when it tries to click on the offscreen location, the game just crashes out to desktop (for me on Windows), without error handling.
>
> One possible solution would be that when the cursor gets to the edge of the screen, it drags the screen with it, though I don't know how hard that would be to implement. But at least some error handling would be nice.
>
> I assign this to SirVer, as this is almost definitely a bug with Lua.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/widelands/+bug/571237/+subscribe
>

Revision history for this message
SirVer (sirver) wrote :

I'll look into that.

Changed in widelands:
status: In Progress → Confirmed
milestone: none → build16-rc1
Revision history for this message
SirVer (sirver) wrote :

fixed in my tutorial_scenario branch.

Changed in widelands:
status: Confirmed → In Progress
SirVer (sirver)
Changed in widelands:
status: In Progress → Fix Committed
SirVer (sirver)
Changed in widelands:
assignee: SirVer (sirver) → nobody
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.