LUA error at end of Hasty Alliance in Heir to the Throne

All questions/issues/feedback for the iOS version of Wesnoth belong here.

Moderators: Forum Moderators, Developers

Post Reply
BlueThing00
Posts: 8
Joined: May 19th, 2018, 1:56 am

LUA error at end of Hasty Alliance in Heir to the Throne

Post by BlueThing00 » May 19th, 2018, 2:12 am

I get this error at the end of Hasty Alliance:

Code: Select all

Map generator error: Error when running lua_map_generator create_map

The generator was: LUA Cave Generator
The callstack is all in mapgen_helper.lua
Callstack Lines: 93, 79, 163

The main error is in tostring.

I’d paste the error message in verbatim, but there is no way to copy it from the iPad dialog. I also don’t have a good way to put the screenshot in here, given that I’m on my iPad.

Game data:

Code: Select all

The Battle for Wesnoth version 1.14.1
Running on Darwin 17.5.0 Darwin Kernel Version 17.5.0: Tue Mar 13 21:32:12 PDT 2018; root:xnu-4570.52.2~8/RELEASE_ARM64_T7001 iPad5,3

Game paths
==========

Data dir:        /private/var/containers/Bundle/Application/7CE2BF3A-E851-40F9-9E12-4F2CA64560F2/battleforwesnoth-iPad.app
User config dir: /private/var/USER/Containers/Data/Application/00354247-F536-485F-A21D-CE34B383C96E/Library/Application Support/wesnoth.org/iWesnoth/.wesnoth1.14
User data dir:   /private/var/USER/Containers/Data/Application/00354247-F536-485F-A21D-CE34B383C96E/Library/Application Support/wesnoth.org/iWesnoth/.wesnoth1.14
Saves dir:       /private/var/USER/Containers/Data/Application/00354247-F536-485F-A21D-CE34B383C96E/Library/Application Support/wesnoth.org/iWesnoth/.wesnoth1.14/saves
Add-ons dir:     /private/var/USER/Containers/Data/Application/00354247-F536-485F-A21D-CE34B383C96E/Library/Application Support/wesnoth.org/iWesnoth/.wesnoth1.14/data/add-ons
Cache dir:       /private/var/USER/Containers/Data/Application/00354247-F536-485F-A21D-CE34B383C96E/Library/Application Support/wesnoth.org/iWesnoth/.wesnoth1.14/cache

Libraries
=========

Boost:     1.60
Cairo:     1.10.0 (runtime 1.10.0)
Pango:     1.28.3 (runtime 1.28.3)
SDL:       2.0.5  (runtime 2.0.5)
SDL_image: 2.0.1  (runtime 2.0.1)
SDL_mixer: 2.0.1  (runtime 2.0.1)
SDL_ttf:   2.0.14 (runtime 2.0.14)

Features
========

Experimental OpenMP support:    no
JPG screenshots:                no
Lua console completion:         no
Legacy bidirectional rendering: no
Cocoa notifications back end:   yes

gfgtdf
Developer
Posts: 1090
Joined: February 10th, 2013, 2:25 pm

Re: LUA error at end of Hasty Alliance in Heir to the Throne

Post by gfgtdf » May 19th, 2018, 2:27 am

yes this is a knwon issue and will be fixed in the next version, this error happens randomly so you can simply try it again until it works.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.

BlueThing00
Posts: 8
Joined: May 19th, 2018, 1:56 am

Re: LUA error at end of Hasty Alliance in Heir to the Throne

Post by BlueThing00 » May 19th, 2018, 3:57 am

gfgtdf wrote:
May 19th, 2018, 2:27 am
yes this is a knwon issue and will be fixed in the next version, this error happens randomly so you can simply try it again until it works.
I’ve tried about half a dozen times and it has failed each time. How likely is this to reproduce when it happens?

BlueThing00
Posts: 8
Joined: May 19th, 2018, 1:56 am

Re: LUA error at end of Hasty Alliance in Heir to the Throne

Post by BlueThing00 » May 19th, 2018, 4:53 am

...and I did it one more time and it worked. Weird, but it’s working now, so I won’t complain. :)

User avatar
singalen
iOS Port Maintainer
Posts: 220
Joined: January 3rd, 2007, 10:18 am
Location: bay

Re: LUA error at end of Hasty Alliance in Heir to the Throne

Post by singalen » May 19th, 2018, 5:08 am

BlueThing00,

Thanks for your effort to make the report, and welcome to the forums!

BlueThing00
Posts: 8
Joined: May 19th, 2018, 1:56 am

Re: LUA error at end of Hasty Alliance in Heir to the Throne

Post by BlueThing00 » May 24th, 2018, 4:00 pm

singalen wrote:
May 19th, 2018, 5:08 am
BlueThing00,

Thanks for your effort to make the report, and welcome to the forums!
Thanks for the welcome. I’ve been enjoying the game. :)

It would be really convenient to get a Copy Text button on that error dialog.

User avatar
singalen
iOS Port Maintainer
Posts: 220
Joined: January 3rd, 2007, 10:18 am
Location: bay

Re: LUA error at end of Hasty Alliance in Heir to the Throne

Post by singalen » May 27th, 2018, 7:30 am

Great idea, I think. Maybe even for mainline.
I don't have the time to implement it in the nearest week, though.
Registered an issue in iOS tracker: https://github.com/singalen/wesnoth/issues/91

Post Reply