Search found 128 matches
- September 18th, 2023, 9:31 pm
- Forum: Tournaments
- Topic: [Complete] Ladder Tournament #4
- Replies: 96
- Views: 143138
Re: [Open] Ladder Tournament #4
I'd like to join please.
- July 30th, 2021, 7:41 pm
- Forum: Lua Labs
- Topic: Can we now assume all clients in MP have the same units loaded?
- Replies: 7
- Views: 5360
Re: Can we now assume all clients in MP have the same units loaded?
It seems to me that if different clients have different unit type lists, they could have any amount of other conflicting data, such as unit type stats. I don't see any way to ever protect against that, except by asking everyone to update their add-ons.
- July 28th, 2021, 3:20 pm
- Forum: Lua Labs
- Topic: Can we now assume all clients in MP have the same units loaded?
- Replies: 7
- Views: 5360
Re: Can we now assume all clients in MP have the same units loaded?
That looks like it's a good find, but I'm down a huge rabbit hole trying to investigate it. For one thing, we're using two different Wesnoth versions, so nothing you find is guaranteed to work in 1.15. Currently, `wesnoth.game_config.mp_settings.mp_eras` is nil, so the method in that add-on isn't po...
- July 28th, 2021, 3:04 am
- Forum: Lua Labs
- Topic: Can we now assume all clients in MP have the same units loaded?
- Replies: 7
- Views: 5360
Can we now assume all clients in MP have the same units loaded?
I have an add-on called Random Units that randomly chooses recruits from all available unit types. In 1.14, the only way to do this without OOS is to include the unit WML in a custom [randomUnits_loadUnitTypes] tag and get the unit type ids from the resulting cfg. I was able to include units from bo...
- July 26th, 2021, 4:24 pm
- Forum: Lua Labs
- Topic: Mod to Random Units
- Replies: 7
- Views: 4695
Re: Mod to Random Units
I seemed to have only gotten Loyalists and boats. Does it use units from faction addons, or only default? I assume you're on Wesnoth 1.14, because Random Campaign isn't on the 1.15 server yet. That version only includes units from core and Era of Myths. The one for 1.15 only uses core, because EoM ...
- July 26th, 2021, 3:30 pm
- Forum: Lua Labs
- Topic: Mod to Random Units
- Replies: 7
- Views: 4695
Re: Mod to Random Units
It is not explicitly unsafe, but controller has behaved differently in different wesnoth versions. You would need to test if it fits your use case with the version you develop for. Reasoning for that note is that at some point it was decided to not publish if side is controlled by player, or player...
- July 26th, 2021, 8:48 am
- Forum: Lua Labs
- Topic: Mod to Random Units
- Replies: 7
- Views: 4695
Re: Mod to Random Units
Also, I'm not sure how the community feels about uploading mods to addons, which is why I simply posted the code here, in case anyone else wants to try it. This add-on is under the GPL , so you have the right to upload a tweaked version of this code under a different name. I've already ported this ...
- June 30th, 2021, 5:07 pm
- Forum: Lua Labs
- Topic: Utter lua consufion
- Replies: 3
- Views: 4298
Re: Utter lua consufion
This line looks like a syntax error: local set_floor = tonumber(cfg.floor) or set_floor = tonumber(set_amount) You can't do an assignment in the middle of an expression. Change it to this: local set_floor = tonumber(cfg.floor) or tonumber(set_amount) See if that works. Lua errors should show up both...
- May 24th, 2021, 3:58 pm
- Forum: Lua Labs
- Topic: Lua newbie custom tag query
- Replies: 12
- Views: 6189
Re: Lua newbie custom tag query
Lua syntax Can someone please clarify the difference (if any) between assigning var ::== something vs. var = something as the manual seems to swap between them without explanantion (to be fair I have not read the entire manual as it's huge). ::= is not Lua syntax. It's a notation for defining techn...
- May 19th, 2021, 4:36 pm
- Forum: Lua Labs
- Topic: Lua error after adding factions to wc2
- Replies: 12
- Views: 5181
Re: Lua error after adding factions to wc2
Lord-Knightmare seems to know better than me what he's talking about, but there's an explanation of how to define _ at: https://wiki.wesnoth.org/GettextForWesn ... ngs_in_Lua
- May 19th, 2021, 3:35 pm
- Forum: Lua Labs
- Topic: Lua error after adding factions to wc2
- Replies: 12
- Views: 5181
Re: Lua error after adding factions to wc2
Could you show us the statement at line 233? I see two possibilities: (1) Someone is using _ as a dummy variable, in which case you can replace it with nil, or (2) _ is the translation function that hasn't been defined for some reason.
- April 28th, 2021, 11:36 pm
- Forum: Technical Support
- Topic: How should we play Legend of Wesmere with 3 players?
- Replies: 2
- Views: 972
Re: How should we play Legend of Wesmere with 3 players?
Thanks for the advice. I'll check out WC2.
- April 28th, 2021, 10:07 pm
- Forum: Technical Support
- Topic: How should we play Legend of Wesmere with 3 players?
- Replies: 2
- Views: 972
How should we play Legend of Wesmere with 3 players?
I've never played Legend of Wesmere, and I've never played an MP campaign before. Today, I was playing Wesnoth online with two of my friends, and I suggested we play an MP campaign. Legend of Wesmere says it's for 2-4 players, so I started it up. The setup screen only showed 2 player sides, and I co...
- December 23rd, 2019, 11:36 pm
- Forum: Translations & Internationalization
- Topic: Esperanto translation / Esperanta traduko
- Replies: 36
- Views: 36715
Re: Esperanto translation / Esperanta traduko
Saluton, ĉiuj! Mi nune laboras traduki po/wesnoth/eo.po-on. La retpoŝto de Manuel ne funkcias.
- April 1st, 2014, 4:34 pm
- Forum: Release Announcements, Compiling & Installation
- Topic: Wesnoth 1.11.12 (1.12 beta 3)
- Replies: 21
- Views: 16506
Re: Wesnoth 1.11.12 (1.12 beta 3)
Alert to git users: I've just discovered that the name of the wesnoth repository has changed. As far as I can tell, the 1.11.12 tag does not appear in 'wesnoth-old', while, according to Github, it does appear in 'wesnoth'. I'll go clone the new repo now, even though there's probably better ways to f...