﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » Cyberball coding</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 09 Apr 2026 05:16:02 GMT</lastBuildDate><ttl>20</ttl><item><title>Cyberball coding</title><link>https://forums.millisecond.com/Topic16093.aspx</link><description>Supreme Being, please help me with Cyberball coding as I am a major noob.&lt;br/&gt;&lt;br/&gt;1. The coding in the script says that player schedules are randomly selected. is there a way to set the player schedules to follow an exact schedule. Otherwise, it seems impossible to setup an actual social exclusion because the first throw could happen whenever.&amp;nbsp;&lt;br/&gt;&lt;br/&gt;2. how do I insert a page in between the instructions and the trial. I would like to add "Waiting for other players" like in the original CB task.&lt;br/&gt;&lt;br/&gt;3. If these cannot be resolved, how do I embed a link to a website where cyberball exists?</description><pubDate>Tue, 21 Apr 2015 03:32:35 GMT</pubDate><dc:creator>briancjo</dc:creator></item><item><title>RE: Cyberball coding</title><link>https://forums.millisecond.com/Topic16095.aspx</link><description>Re. #1: You will find this covered in the comments inside the script, starting at line 141:&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;EDITABLE LISTS: set the throwing schedules for player 1 and player 3&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;Note: by default player 1 and player 3 throw to player 2 roughly 25% of the time (1 out 4 times)&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;The item lists of these schedules can be further controlled by setting a specific/fixed throw sequence: &lt;br/&gt;Example Player 1:&lt;br/&gt;&lt;br/&gt;/items = (3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3)&lt;br/&gt;/selectionmode = sequence&lt;br/&gt;&lt;br/&gt;(if selectionmode = sequence =&amp;gt; it is suggested to create the list as long as (values.max_trialcount/2)&lt;br/&gt;to ensure that the beginning of the list does NOT get repeated)&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list player1schedule&amp;gt;&lt;br/&gt;/ items = (3, 3, 3, 2)&lt;br/&gt;/replace = false&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;list player3schedule&amp;gt;&lt;br/&gt;/ items = (1, 1, 1, 2)&lt;br/&gt;/replace = false&lt;br/&gt;&amp;lt;/list&amp;gt;&lt;br/&gt;&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;**************************************************************************************************************&lt;br/&gt;&lt;br/&gt;Re. #2: Add something along the lines of &lt;br/&gt;&lt;br/&gt;&amp;lt;trial wait&amp;gt;&lt;br/&gt;/ stimulusframes = [1=waittext]&lt;br/&gt;/ validresponse = (0)&lt;br/&gt;/ trialduration = round(rand(1000,5000))&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text waittext&amp;gt;&lt;br/&gt;/ items = ("Waiting for other players to join...")&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;and run that trial at the end of &amp;lt;block instructions&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block instructions&amp;gt;&lt;br/&gt;/ trials = [1=instructions; 2=name; 3=wait]&lt;br/&gt;&amp;lt;/block&amp;gt;</description><pubDate>Tue, 21 Apr 2015 03:32:35 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>