1.9.1 Found bugs.

Discussion of Lua and LuaWML support, development, and ideas.

Moderator: Forum Moderators

Post Reply
User avatar
Xudo
Posts: 563
Joined: April 3rd, 2009, 5:26 pm

1.9.1 Found bugs.

Post by Xudo »

MS Win XP SP3
BfW 1.9.1

First one:
1) I Add to my custom addon next strings::
2) Open and save _main.cfg of my add-on. Close txt editor.
3) Run the game, click Multiplayer-Local Game.
After this actions game just closes without any usual windows errors.
stderr.txt:
(And I want to know what I do with lua code wrong there.)

Spam of:
"warning gui/event: Can't execute timer since it no longer exists." starts right after the Wesnoth Logo at the title screen shows. (trouble with gui-draw threading?) I tried to close place where logo will be drawed with other window and number of such errors decreases to 1-5. Also I tried to do nothing and number of strings always equals to 25-32.

And I'v got conditions when in stderr.txt shows "20100924 16:09:41 warning gui/event: Unhandled event 17."
To see it:
1) Run game.
2) Wait until Logo be completely drawn.
3) Open any other window. #Here are bug procs
4) Copy stderr.txt
5) Open copy of stderr.txt. #Here too
Last edited by Xudo on September 26th, 2010, 8:13 am, edited 1 time in total.
Anonymissimus
Inactive Developer
Posts: 2461
Joined: August 15th, 2008, 8:46 pm
Location: Germany

Re: 1.9.1 Founded bugs.

Post by Anonymissimus »

The wesnoth gui engine is being ported to new code in the engine (which you rely upon when using the lua dialog functionalities). That new engine code (gui2) is very unstable, resulting in more or less all of the problems mentioned by you (I guess).

Your lua dialog code contains some mistake probably which you should get a stack traceback for but instead the engine crashes, this happens to me too...
projects (BfW 1.12):
A Simple Campaign: campaign draft for wml startersPlan Your Advancements: mp mod
The Earth's Gut: sp campaignSettlers of Wesnoth: mp scenarioWesnoth Lua Pack: lua tags and utils
updated to 1.8 and handed over: A Gryphon's Tale: sp campaign
User avatar
pauxlo
Posts: 1047
Joined: September 19th, 2006, 8:54 pm

Re: 1.9.1 Founded bugs.

Post by pauxlo »

About your lua-tag: The code should not be directly in the tag, but inside of

Code: Select all

[lua]
code = << ... (here comes the code) ... >>
[/lua]
grammar nitpick:
Post Reply