Bug when saving a game, i think.

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Nickisaacson
Posts: 24
Joined: Thu May 14, 2020 1:34 pm

Bug when saving a game, i think.

Post by Nickisaacson »

In Exult when you go to save a game, you add a description. If you use the 10-key part of the keyboard (to add the date), then it adds some extra characters.

The game will still save, but the description will be confusing.
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: Bug when saving a game, i think.

Post by Knight Captain »

Seeing the same thing, using one version behind on Windows 10.

It looks to be related to the NumLock key, since with NumLock off you don't get anything but the unintended character. Yet if you have NumLock on you get both the unintended and intended character.

https://sourceforge.net/p/exult/bugs/2035/
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Bug when saving a game, i think.

Post by Dominus »

It's a regression of the switch to SDL2. Old SDL1.2 builds still work as expected. Maybe I can figure it out.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Nickisaacson
Posts: 24
Joined: Thu May 14, 2020 1:34 pm

Re: Bug when saving a game, i think.

Post by Nickisaacson »

Glad to help folks!
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Bug when saving a game, i think.

Post by Dominus »

So, Marzo fixed it in a development branch and as soon as some other bugs of that branch are fixed it is going to be merged into the master branch and will be available as a snapshot (along with the notebook gump).
Thanks for bringing this to our attention!
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Knight Captain
Posts: 1219
Joined: Thu May 14, 2020 1:34 pm

Re: Bug when saving a game, i think.

Post by Knight Captain »

Does that include ye olde Studio?
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Bug when saving a game, i think.

Post by Dominus »

Yes ;)
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Gotcha!
Posts: 354
Joined: Thu May 14, 2020 1:34 pm

Re: Bug when saving a game, i think.

Post by Gotcha! »

Lots of thanks to all involved. :)
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Bug when saving a game, i think.

Post by Dominus »

and panning the map via the mousewheel as well as scrolling the savegame list and sliders is also fixed.
SDL 1.2x recognized mousewheel as button 4 and 5 events while SDL2 actually recognizes the mousewheel itself. So the SDL 1.2x code did not do anything at all on SDL2.
But also only in the experimental branch which has no snapshots yet.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Locked