Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Linked sequence only runs once in the browser

I've been trying to debug a student's experiment, and have run into a wall: the script runs fine locally, but only runs the sequence "Letters_choice_sequence" the first time around (during the practice run), despite the fact that the sequences are all linked, and should be exactly the same. I have run out of ideas; maybe somebody else can spot what I cannot?

The script is attached; it is just a skeleton, so you have to hit a key to advance in places where you might expect it to advance automatically, etc. It is just the running of "Letters_choice_sequence" in the browser that I can't figure out.

Thanks in advance to anyone willing to take a look at this!

Comments

  • Hi @ethanweed ,

    You're running into a manifestation of this issue, which we still have to wrap our heads around and fix properly. The issue happens for some items when they are prepared twice in a row, and then run twice in a row. So basically when they go prepare-prepare-run-run, rather than prepare-run-prepare-run. If you look at your experiment, you can see how that happens for the Letters_choice_sequence (see also this page).

    This should absolutely be fixed in OSWeb, because it results in (seemingly) unpredictable and confusing behavior. For now, though, you can work around this by putting Letters_choice_sequence inside a dummy loop with only one cycle.

    — Sebastiaan

  • Thanks @sebastiaan, that worked! For others that might end up here with the same problem I had, I have two extra points:

    1. using the dummy loop with only one cycle as @sebastiaan suggested worked, but it needed to be an unlinked loop. Which makes sense, I guess, given the nature of the problem, but at first I tried to be all neat and tidy and make a linked dummy loop, which did not work. The sequence run by the loop could still be linked, though
    2. defining variables for the second linked sequence using inline javascript continued to give problems, but defining the variables as a single row in the dummy variable worked

    I have attached what I believe to be a working version of the script where I have implemented @sebastiaan 's suggestions, in case it helps anybody else.

    /Ethan


Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games