The Curse of Satan Claus

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderators: Forum Moderators, Developers

Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Re: The Curse of Satan Claus

Post by Choicerer » January 6th, 2018, 10:50 am

ForestDragon wrote:bugreport, when playing on the current latest version (1.4.0c, if I'm not mistaken (or maybe 1,4,0b, not sure)) satan doesn't spawn on the turn he should, and instead the following error message appears in the chat:
error.png
Thanks! Can you provide more info so I can recreate the bug, as all is in order here.

User avatar
ForestDragon
Forum Regular
Posts: 1480
Joined: March 6th, 2014, 1:32 pm

Re: The Curse of Satan Claus

Post by ForestDragon » January 6th, 2018, 11:48 am

Choicerer wrote:Thanks! Can you provide more info so I can recreate the bug, as all is in order here.
could you specify what exact details do you need?
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned),The Golden Age (1.12/1.13, abandoned),XP Bank (1.14),Alliances Mod(1.12, unplayable), with a large add-on in development
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Re: The Curse of Satan Claus

Post by Choicerer » January 6th, 2018, 12:16 pm

The map, the turn on which Satan was set to spawn. Any units in the centre of the map?

User avatar
ForestDragon
Forum Regular
Posts: 1480
Joined: March 6th, 2014, 1:32 pm

Re: The Curse of Satan Claus

Post by ForestDragon » January 6th, 2018, 12:21 pm

Choicerer wrote:The map
Hamlets 2p. reproduceable on any other map too.
Choicerer wrote:the turn on which Satan was set to spawn.
happens with any selected turn.
Choicerer wrote:Any units in the centre of the map?
none. the previous version (1.3.x) worked fine for me. if you have a backup, maybe check what changed since them?
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned),The Golden Age (1.12/1.13, abandoned),XP Bank (1.14),Alliances Mod(1.12, unplayable), with a large add-on in development
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Re: The Curse of Satan Claus

Post by Choicerer » January 6th, 2018, 12:24 pm

Okay, it's not happening here. What are the settings you are using (slider positions)?

User avatar
ForestDragon
Forum Regular
Posts: 1480
Joined: March 6th, 2014, 1:32 pm

Re: The Curse of Satan Claus

Post by ForestDragon » January 6th, 2018, 12:26 pm

Choicerer wrote:Okay, it's not happening here. What are the settings you are using (slider positions)?
max available hp/damage/strikes, turn 1, restrictions 3, and impassable terrain on (though I doubt these the cause. the more likely reason would be a typo in the code)
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned),The Golden Age (1.12/1.13, abandoned),XP Bank (1.14),Alliances Mod(1.12, unplayable), with a large add-on in development
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Re: The Curse of Satan Claus

Post by Choicerer » January 6th, 2018, 12:32 pm

Omg, yes, now I remember. I've already encountered the bug before, but forgot to fix it. It's actually caused by the number of strikes (5). You didn't get it before because the slider didn't work. 1.4b fixed the slider, previously it used to always be 3 no matter what you'd set. Apparently the max allowed number of strikes you can set is 4. Time for bugfix c. Thanks for the heads-up.
Last edited by Choicerer on January 6th, 2018, 12:37 pm, edited 1 time in total.

User avatar
ForestDragon
Forum Regular
Posts: 1480
Joined: March 6th, 2014, 1:32 pm

Re: The Curse of Satan Claus

Post by ForestDragon » January 6th, 2018, 12:33 pm

Choicerer wrote:Omg, yes, now I remember. I've already encountered the bug before, but forgot to fix it. It's actually caused by the number of strikes (5). You didn't get it before because the slider didn't work. 1.4b fixed the slider, previously it used to always be 3 no matter what you'd set. Apparently max allowed number of strikes you can set is 4. Time for bugfix c. Thanks for the heads-up.
glad to help!
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned),The Golden Age (1.12/1.13, abandoned),XP Bank (1.14),Alliances Mod(1.12, unplayable), with a large add-on in development
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

User avatar
ForestDragon
Forum Regular
Posts: 1480
Joined: March 6th, 2014, 1:32 pm

Re: The Curse of Satan Claus

Post by ForestDragon » January 6th, 2018, 12:39 pm

EDIT: oddly enough, the same bug still persists even in the fixed version, with the same error message (and not matter the amount of strikes I select) :hmm:
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned),The Golden Age (1.12/1.13, abandoned),XP Bank (1.14),Alliances Mod(1.12, unplayable), with a large add-on in development
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Re: The Curse of Satan Claus

Post by Choicerer » January 6th, 2018, 1:14 pm

Yes, damage set to more than 9 causes it, too. I'll fix it shortly.

User avatar
ForestDragon
Forum Regular
Posts: 1480
Joined: March 6th, 2014, 1:32 pm

Re: The Curse of Satan Claus

Post by ForestDragon » January 6th, 2018, 1:50 pm

some more ideas for the mod:
-you can give satan 50% defense on impassable terrain by using the following effect inside an [object] (right now his ability to pass though walls can be exploited in some cave maps due to his having 0% defense in the walls):

Code: Select all

        [effect]
            apply_to=defense
            replace=true
            [defense]
                impassable=50
            [/defense]
        [/effect]
-you can change satan's profile image to be red-tinted red using the following:

Code: Select all

        [effect]
            apply_to=profile
            portrait="portraits/undead/spectre.png~GS()~BLEND(255,0,0,0.5)"
        [/effect]
-it would be nice if satan claus had a [message] when appearing, like "Ho ho ho!"
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned),The Golden Age (1.12/1.13, abandoned),XP Bank (1.14),Alliances Mod(1.12, unplayable), with a large add-on in development
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

User avatar
ForestDragon
Forum Regular
Posts: 1480
Joined: March 6th, 2014, 1:32 pm

Re: The Curse of Satan Claus

Post by ForestDragon » January 6th, 2018, 2:04 pm

more ideas:
-it would be nice if there was a lvl4 option for satan claus, instead of just 1,2,3
-checkbox idea: option to give satan the regeneration ability
-it would be nice if the "Jingle Bells" attack damage scaled accordingly to the selected level. this will both allow
-in the restrictions option menu, the difference between the first/second options isn't very clear. It would be a good idea to specify what exactly the second option does.
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned),The Golden Age (1.12/1.13, abandoned),XP Bank (1.14),Alliances Mod(1.12, unplayable), with a large add-on in development
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

Choicerer
Posts: 238
Joined: April 29th, 2017, 11:37 pm

Re: The Curse of Satan Claus

Post by Choicerer » January 6th, 2018, 2:06 pm

ForestDragon wrote:some more ideas for the mod:
-you can give satan 50% defense on impassable terrain by using the following effect inside an [object] (right now his ability to pass though walls can be exploited in some cave maps due to his having 0% defense in the walls):

Code: Select all

        [effect]
            apply_to=defense
            replace=true
            [defense]
                impassable=50
            [/defense]
        [/effect]
Done.
ForestDragon wrote: -you can change satan's profile image to be red-tinted red using the following:

Code: Select all

        [effect]
            apply_to=profile
            portrait="portraits/undead/spectre.png~GS()~BLEND(255,0,0,0.5)"
        [/effect]
Done.
ForestDragon wrote: -it would be nice if satan claus had a [message] when appearing, like "Ho ho ho!"
I've thought about that, but I didn't want to spam multiplayer scenarios with messages too much. He does scream, though. Like a griphon.
Choicerer wrote: Yes, damage set to more than 9 causes it, too. I'll fix it shortly.
I've identified the bug. It was caused by Wesnoth not being able to handle double negative values. Now the limit's been increased to 20 damage and 10 strikes (crazy, I know) and it works.

User avatar
ForestDragon
Forum Regular
Posts: 1480
Joined: March 6th, 2014, 1:32 pm

Re: The Curse of Satan Claus

Post by ForestDragon » January 6th, 2018, 2:09 pm

Choicerer wrote:I've identified the bug. It was caused by Wesnoth not being able to handle double negative values. Now the limit's been increased to 20 damage and 10 strikes (crazy, I know) and it works.
Well, the more customization possibility, the better :)
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned),The Golden Age (1.12/1.13, abandoned),XP Bank (1.14),Alliances Mod(1.12, unplayable), with a large add-on in development
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

User avatar
ForestDragon
Forum Regular
Posts: 1480
Joined: March 6th, 2014, 1:32 pm

Re: The Curse of Satan Claus

Post by ForestDragon » January 6th, 2018, 2:19 pm

bugreport, in the 1.4.0e version when satan tries to attack, the following error message appears during each attack attempt, and the attack doesn't happen (I set hp to 30 damage to 8, and strikes to 2 (works when damage is set to 10 or, though, but sometimes doesn't work even then)):
error2.png
Co-creator of Era of Magic
Creator of Tale of Alan (1.12 abandoned),The Golden Age (1.12/1.13, abandoned),XP Bank (1.14),Alliances Mod(1.12, unplayable), with a large add-on in development
"Real life is like a hyper-realistic VR game, but with permadeath and boring gameplay"

Post Reply