It is currently 26 Apr 2024, 18:07
   
Text Size

[fixed] New alert and crash to desktop. (playing Khalni Gem)

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

[fixed] New alert and crash to desktop. (playing Khalni Gem)

Postby etphonehome » 14 Aug 2021, 15:35

New alert and crash to desktop...
Attachments
dump.rar
(312 Bytes) Downloaded 71 times
Captura de ecrã 2021-08-14 095631.jpg
Last edited by etphonehome on 15 Aug 2021, 09:42, edited 1 time in total.
etphonehome
 
Posts: 299
Joined: 21 May 2020, 12:50
Has thanked: 270 times
Been thanked: 39 times

Re: New alert and crash to desktop.

Postby cardscan12 » 15 Aug 2021, 02:48

This looks like a memory dump, I'll look into it. Can you give me details as to what you were doing leading up to the error so I can try to reproduce it?
cardscan12
 
Posts: 2
Joined: 30 Aug 2018, 13:39
Has thanked: 0 time
Been thanked: 1 time

Re: New alert and crash to desktop.

Postby etphonehome » 15 Aug 2021, 09:40

The game crashes when i play Khalni Gem.

THX
etphonehome
 
Posts: 299
Joined: 21 May 2020, 12:50
Has thanked: 270 times
Been thanked: 39 times

Re: New alert and crash to desktop.

Postby drool66 » 15 Aug 2021, 15:44

Khalni Gem isn't validating its targets. Fixed, uncommitted
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times

Re: [fixed] New alert and crash to desktop. (playing Khalni

Postby Korath » 15 Aug 2021, 16:33

It doesn't need to validate; there's no opportunity for a response between selection and bouncing for the "targets" to become invalid. The problem here is that new_pick_target(&td, "Select a land you control.", 0, GS_LITERAL_PROMPT) is saying to store the selected permanent in card_instance_t::targets[0] for both lands, instead of the first in targets[0] and second in targets[1]. You want to pass either -1 or i instead of 0 for the third argument.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: [fixed] New alert and crash to desktop. (playing Khalni

Postby drool66 » 17 Aug 2021, 18:13

Yessir, that's it. Fixed in 23b95b9
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times


Return to Archived Reports

Who is online

Users browsing this forum: No registered users and 45 guests


Who is online

In total there are 45 users online :: 0 registered, 0 hidden and 45 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 45 guests

Login Form