EI-Northern Outpost

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
appo
Posts: 8
Joined: May 18th, 2025, 1:46 pm

EI-Northern Outpost

Post by appo »

Hello,
probably there is a bug... or I am stupid and excuse me by advance.

Code: Select all

Battle for Wesnoth v1.18.4 x86_64
Started on Sun May 18 15:24:47 2025


Data directory:               /usr/share/wesnoth
User configuration directory: /home/USER/.config/wesnoth
User data directory:          /home/USER/.local/share/wesnoth/1.18
Cache directory:              /home/USER/.cache/wesnoth


Setting mode to 1920x1080
Checking lua scripts... ok
20250518 15:26:10 warning engine: Could not find move_unit_fake route from 19,5 to 21,5: ignoring complexities
20250518 15:26:10 warning engine: Could not find move_unit_fake route from 19,5 to 22,3: ignoring complexities
20250518 15:26:10 error scripting/lua: campaigns/Eastern_Invasion/lua/bandits.lua:65: attempt to index a nil value (local 'loc')
stack traceback:
	campaigns/Eastern_Invasion/lua/bandits.lua:65: in upvalue 'bandits_found'
	campaigns/Eastern_Invasion/lua/bandits.lua:86: in local 'cmd'
	lua/wml-utils.lua:145: in field 'handle_event_commands'
	lua/wml-flow.lua:5: in function <lua/wml-flow.lua:4>
	[C]: in ?
and in attachments.

If I forgot anything, excuse me.
Attachments
slackware.jpg
wesnoth_3.jpg
wesnoth_2.jpg
wesnoth_1.jpg
appo
Posts: 8
Joined: May 18th, 2025, 1:46 pm

Re: EI-Northern Outpost

Post by appo »

...And a savefile. Now, excuse me.
Attachments
EI-Northern Outpost replay 20250530-115412.gz
(46.71 KiB) Downloaded 9 times
User avatar
Straff
Posts: 124
Joined: September 27th, 2020, 2:53 pm

Re: EI-Northern Outpost

Post by Straff »

If I read the code correctly, I don't know much about LUA, then the bandit leader should appear in a radius of two hexes around the village. So the game is looking for a free hex in a radius of two hexes around the village. but all these hexes are occupied by your troops, so the game can't find a free hex to place the bandit leader. The developer obviously did not foresee this possibility, which is why you get this error message. The game cannot place the bandit leader.

Try this: Go back a few turns and give the bandit leader some space to appear.
appo
Posts: 8
Joined: May 18th, 2025, 1:46 pm

Re: EI-Northern Outpost

Post by appo »

Straff wrote: May 30th, 2025, 11:03 am If I read the code correctly, I don't know much about LUA, then the bandit leader should appear in a radius of two hexes around the village. So the game is looking for a free hex in a radius of two hexes around the village. but all these hexes are occupied by your troops, so the game can't find a free hex to place the bandit leader. The developer obviously did not foresee this possibility, which is why you get this error message. The game cannot place the bandit leader.

Try this: Go back a few turns and give the bandit leader some space to appear.
Thank you, but I finished the EI-Northern Outpost, so it is fine.
But, at this point, the bug or the issue exist.
User avatar
Straff
Posts: 124
Joined: September 27th, 2020, 2:53 pm

Re: EI-Northern Outpost

Post by Straff »

That is true.

Are you willing to make a bug report?

You can do it here:

https://github.com/wesnoth/wesnoth/issues/

If no one fills out a bug report the issue will probably not reach the right people and be overlooked.
appo
Posts: 8
Joined: May 18th, 2025, 1:46 pm

Re: EI-Northern Outpost

Post by appo »

Ah, I didn't know, thank you very much!
appo
Posts: 8
Joined: May 18th, 2025, 1:46 pm

Re: EI-Northern Outpost

Post by appo »

Straff wrote: May 30th, 2025, 2:26 pm That is true.

Are you willing to make a bug report?

You can do it here:

https://github.com/wesnoth/wesnoth/issues/

If no one fills out a bug report the issue will probably not reach the right people and be overlooked.
Thank you again, the bug is online.
User avatar
Straff
Posts: 124
Joined: September 27th, 2020, 2:53 pm

Re: EI-Northern Outpost

Post by Straff »

Thank you for doing the bug report.

If you like you can add a link to this thread to the bug report.
Because the thread gives the developers some additional information.
appo
Posts: 8
Joined: May 18th, 2025, 1:46 pm

Re: EI-Northern Outpost

Post by appo »

Thanks and sorry.

The link: https://github.com/wesnoth/wesnoth/issues/10239

It is my, so to say, first time in github...
User avatar
Straff
Posts: 124
Joined: September 27th, 2020, 2:53 pm

Re: EI-Northern Outpost

Post by Straff »

Perfect, thank you. :)
Post Reply