Dictionary bug ?

Bugs will be moved here once resolved.

Post » Fri Apr 11, 2014 11:13 am

Problem Description
Problem using dicionary's keys to store doors & keys lock/unlock states.
Depending of the orders the dictionary keys are being called...it works or it doesnt...

If i click the red key (red square) first and then the yellow one, it works.
If I click the yellow first and then the red one, it doesnt.

Capx
https://www.dropbox.com/s/5vd9zmtrcwx1xpx/dictionary_bug.capx

Description of Capx
2 objects: 1 door, 1 key, each one instanced 2 times (red & yellow)
2 instances variables: door_number, key_number
2 dictionary key: door_1, door_2

Screenshot of the event_sheet, in case the problem can be spotted from there:
Image

Affected Browsers
  • Chrome: (YES)
  • FireFox: (?)
  • Internet Explorer: (YES)

Operating System and Service Pack
Win 7 32bits SP1

Construct 2 Version ID
r166
Lunar Mission for Android & iOS
B
16
S
2
Posts: 44
Reputation: 1,365

Post » Fri Apr 11, 2014 11:45 am

I haven't looked at the code, but I can say it probably isn't isn't dictionary.
The r166 unfortunetly has a number of bugs. My guess it is trigger once which is a known problem with r166
I think ashley will be releasing a fix shortly.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,728

Post » Fri Apr 11, 2014 12:12 pm

Seems like you're right, just recreated theses events with R163 and it works flawlessly.
Too bad I can't use my project on r163 anymore :/

Looking forward to the fix :)
Lunar Mission for Android & iOS
B
16
S
2
Posts: 44
Reputation: 1,365

Post » Fri Apr 11, 2014 1:59 pm

you can. Just install r165 and use an autosave file.
delete .backup3 or .autosave
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,728

Post » Fri Apr 11, 2014 3:31 pm

Ah all right, thanks for the tip ! )
Lunar Mission for Android & iOS
B
16
S
2
Posts: 44
Reputation: 1,365

Post » Tue Apr 15, 2014 2:55 pm

Closing as I do not believe your report provides any real evidence there is a problem with the Dictionary plugin. It's probably just a mistake in your events, and you need to rule that out before making a bug report.
Scirra Founder
B
403
S
238
G
89
Posts: 24,653
Reputation: 196,143


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest