[bug] DS Map and json_encode() not returning the correct ds_map/list data.

Comments

4 comments

  • Theory Georgiou

    bug isn't urgent I write my own script to iterate a list and find if a value exists because ds_list_find_index(id, val) is unreliable and this seems to work for now. 

    0
    Comment actions Permalink
  • Marcio Giachetta Cardoso

    In the line below, the variable used shouldn't be the temp_list instead temp? I think the reason of the random behavior was that. I recreate your code using the temp_list and it worked fine.

    var temp_index = ds_list_find_index(temp,"4430475cb8bcdde737cbc1e2764575f1");

    1
    Comment actions Permalink
  • Theory Georgiou

    I renamed the vars when I posted. I missed that one. this was a editing error. The code still has the issue.

    0
    Comment actions Permalink
  • YoYo QA Dept

    Hi Theory Georgiou,

    Thank you for your feedback.
     
    could I ask you to attach a small sample project which shows exactly what you're doing when you have this issue?

    You can do that by hosting it on a could service (such as Dropbox) and sending us the link here. If you are unable to provide a public link (or you wish your program to remain private) please log a ticket via https://accounts.yoyogames.com/contact-us and link to this forum post.

    Many thanks.

    0
    Comment actions Permalink

Please sign in to leave a comment.