--- Log opened Tue Jun 26 00:00:08 2018 20180626 01:06:56-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180626 01:07:02-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180626 02:10:57-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180626 02:11:03-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180626 06:03:45-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180626 06:03:51-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180626 10:57:30< discordbot2> Ah! I knew I wasn't totally off-track before 😄 the key I was looking for was the help_text one. It might be trait-specific, however 20180626 11:01:18< discordbot2> Would be nice if weapon specials and abilities had help_text too. Maybe they do. Will test. 20180626 11:24:57< discordbot2> I've made a new trait and added it to my new race, but it's not showing up in help info for units that has this race. A comma is shown behind fearless, however, seemingly indicating that my new trait is supposed to show up behind it? The units can get the trait, however, when recruited, but how do I make it show up in help files? 20180626 11:24:58< discordbot2> https://cdn.discordapp.com/attachments/442775044590927873/461129725125984256/unknown.png 20180626 12:22:08< discordbot2> It does show up under TRAITS in help, but just not showing up as a unit's available traits 20180626 12:22:08< discordbot2> https://cdn.discordapp.com/attachments/442775044590927873/461144115787333642/unknown.png 20180626 12:28:16< discordbot2> maybe it needs a description too (in addition to the help_text) 20180626 12:29:25< discordbot2> It has both 😦 20180626 12:29:46< discordbot2> Currently looks like this: #define TRAIT_GOOB_RESISTANT [trait] id=goob_resistant name="resistant" availability="any" description="Resistant to damage." help_text="text='Resistant' units take less damage from any source." [effect] apply_to=resistance replace=no [resistance] blade=-10 pierce=-10 impact=-10 fire=-10 20180626 12:29:47< discordbot2> cold=-10 arcane=-10 [/resistance] [/effect] [/trait] #enddef 20180626 12:30:30< discordbot2> And it's added to the race, as such: [race] id=goob name="Goob" plural_name="Goob" description="
text='Habitat'
The obscure goob dwell in various more or less forested wetlands and in other damp or soggy areas (like caves), preferably in the vicinity of abundant fungi.
text='Appearance'
Goob exist in a semi-liquid state, being made up of some sort of combination of ooze and fungi. 20180626 12:30:31< discordbot2>
text='Society'
Little is known of goob society." markov_chain_size=2 {GOOB_NAMES} num_traits=2 ignore_global_traits=no {TRAIT_FEARLESS} {TRAIT_GOOB_RESISTANT} [/race] 20180626 12:37:19< discordbot2> 🤷 20180626 12:41:11< discordbot2> Do you have any other add-ons installed, with eventually the same name, or id. Or have it defined multiple times? 20180626 12:42:27< discordbot2> Nothing else has goob_resistant as ID, nope 20180626 12:42:47< discordbot2> and the name? It matters as well 20180626 12:43:41< discordbot2> Hmm, that I'm not as sure about. Maybe another addon has one named resistant, too. I'll change and see what happens. Although, when I've seen duplicates before, it has always created separate ones in lists. 20180626 12:44:53< discordbot2> Okay, changing name changed nothing :/ 20180626 12:44:54< discordbot2> There was some change, I think in 1.14.3, with something about ids and names in the help. Don't recall the details 20180626 12:45:05< discordbot2> cache purged too? 20180626 12:45:41< discordbot2> Aye, I always purge :3 20180626 12:45:50< discordbot2> And, hmm, I see 20180626 12:49:58< discordbot2> Found it? 20180626 12:51:32< discordbot2> No, I've no idea what else to try, I'm afraid 20180626 12:56:08< discordbot2> the hard way.... remove other addons.... check stderr.txt for warnings and errors ... try it with other units or traits... oh, and there is no ignore_race_traits 20180626 12:56:42< discordbot2> and start wesnoth with the --debug option, then look at the stderr.txt 20180626 12:57:57< discordbot2> maybe also look if some other add-on does not have this problem, to rule out an regression in the game 20180626 12:59:49< discordbot2> Where do I find this stderr.txt ? 20180626 13:01:42< discordbot2> I guessed you are on windows, it's in the game directory (and to find that, press the "i" buttion ingame) On other OS it doesn't exist, you must start wesnoth from terminal there instead. 20180626 13:03:50< discordbot2> I am on Windows, yes 🙂 I am not finding the file in the game directory, however, nor does "i" open anything in-game 20180626 13:04:46< discordbot2> I mean, iin the bottom left corner of the titlescreen and/or the preferences is a button which looks like an "i" 20180626 13:06:31< Soliton> what do you mean "there is no ignore_race_traits"? 20180626 13:06:33< discordbot2> Ah, that one. Yeah, that's where I've been looking (the directory indicated there) 20180626 13:08:45< discordbot2> All my units have ignore_race_traits=no 20180626 13:08:49< discordbot2> If that's what you meant 20180626 13:09:08< discordbot2> yes, that's what I meant 20180626 13:11:20< discordbot2> maybe you can find the file with the file managers search.... Though, I don't have a particular idea what goes wrong, and the reason I would ask you too look there is more of generall bug finding. A relevant thing you could find there would be warnings if you redefine the macro somewhere. 20180626 13:12:39< discordbot2> I've searched for the file, using the file manager search, but I can't find it 🤷 20180626 13:12:46< discordbot2> Yeah it's puzzling 20180626 13:13:51< discordbot2> IIRC, stderr.txt is something that SDL 1.x creates on its own. 20180626 13:14:07< discordbot2> Since Wesnoth 1.14.0 and up use SDL2, they don't create such a file. 20180626 13:14:42< discordbot2> Ah 20180626 13:15:59< discordbot2> Anyway, adding another default trait, like TRAIT_DEXTROUS, to the race, instead of TRAIT_GOOB_RESISTANT, makes that trait show up like it should do in the unit's help file. Can't figure out why my custom one doesn't show up, at all. Meep. 20180626 13:17:17< discordbot2> https://cdn.discordapp.com/attachments/442775044590927873/461157993929506816/unknown.png 20180626 13:17:28< discordbot2> It's as if the trait's name just isn't shown, for some reason 20180626 13:18:06< discordbot2> ^ between resilient and fearless 20180626 13:19:13< discordbot2> In some circumstances, e.g. nameless traits, they are not supposed to show up. That there is a comma is a known bug. 20180626 13:19:15< Soliton> try male_name and female_name. 20180626 13:20:05< discordbot2> I'll try adding gender strings 20180626 13:21:31< discordbot2> Yes! 20180626 13:21:35< discordbot2> That was it, Soliton 😃 20180626 13:21:50< discordbot2> Thank you 😃 20180626 13:22:19< discordbot2> Thank you, too, sevu and jyrk, for your input! ❤ 20180626 13:22:22< Soliton> according to the wiki name should work as well though. sounds like a bug. 20180626 13:23:05< discordbot2> *Jyrki 20180626 13:23:17< discordbot2> Sorry! Jyrki 20180626 13:44:45-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180626 13:44:51-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180626 14:01:20-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180626 14:01:27-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180626 16:03:54-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180626 16:04:00-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180626 16:38:35-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180626 16:38:42-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180626 18:13:33-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180626 18:13:39-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180626 19:04:05-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180626 19:04:11-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev 20180626 19:05:35-!- Ravana_ [~Ravana@unaffiliated/ravana/x-2327071] has quit [] 20180626 19:06:43-!- Ravana_ [~Ravana@unaffiliated/ravana/x-2327071] has joined #wesnoth-umc-dev 20180626 21:23:43-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has quit [Remote host closed the connection] 20180626 21:23:49-!- janebot [~Gambot@unaffiliated/gambit/bot/gambot] has joined #wesnoth-umc-dev --- Log closed Wed Jun 27 00:00:11 2018