# Code issues on dashington's when it works fine with index?

**URL:** <https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679>\
**Category:** ChoiceScript Help\
**Created:** [April 18, 2016, 6:07am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679 "2016-04-18T06:07:52Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacic](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jacic/32/7061_2.png) [@Jacic](https://forum.choiceofgames.com/u/Jacic)\
**Post date:** [April 18, 2016, 6:07am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/1 "2016-04-18T06:07:52Z")

</div>

Hi all, wondering if someone can point out if I’m doing something wrong. For some reason my WIP is frozen on chapter two as when it’s meant to go to chapter 3 this comes up and the game ends  
goto\_scene part3

Oddly enough it works fine when I run it through the “index” file on my computer. This is the coding before the game breaks. (The label’s there as a few different choices converge to that point.) I could try manually putting in the goto\_scenes for each choice that goes to that chapter but thought this should work as well?

You wave and head back to your house with a sense of relief.  
\*goto nextday

\*label nextday  
\*goto\_scene part3

Any ideas? Thanks

---

<div class="post-metadata">

**Author:** ![Fiogan](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fiogan/32/215832_2.png) [@Fiogan](https://forum.choiceofgames.com/u/Fiogan)\
**Post date:** [April 18, 2016, 6:10am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/2 "2016-04-18T06:10:57Z")

</div>

Are you getting an error message, or does it just freeze?

I don’t know about dashingdon’s hosting, specifically, but are you putting up a compiled game on the site? Or is it running via the index file without having to be compiled first?

I’ve noticed that even though I’m not supposed to have to list all my scene files in startup.txt for them to compile and work properly, I do get an error if I go to any scene not listed. I solved the problem by just listing all the scenes I was using, even the ones I went to with a label instead of via \*finish. Then the compiled game worked properly.

---

<div class="post-metadata">

**Author:** ![Jacic](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jacic/32/7061_2.png) [@Jacic](https://forum.choiceofgames.com/u/Jacic)\
**Post date:** [April 18, 2016, 6:15am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/3 "2016-04-18T06:15:07Z")

</div>

Actually you know what, since I upload the files one at a time (not compiled) I’ve forgotten to add the extra chapters to the scene list which I bet is what’s causing the problem. I’ll try that now.

---

<div class="post-metadata">

**Author:** ![Jacic](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jacic/32/7061_2.png) [@Jacic](https://forum.choiceofgames.com/u/Jacic)\
**Post date:** [April 18, 2016, 6:18am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/4 "2016-04-18T06:18:56Z")

</div>

Actually that didn’t fix it either, I was so sure it would 😛  
What it’s doing is instead of going to chapter 3, it just has the text  
goto\_scene part3  
with the end screen underneath (ie play again etc).  
No errors

---

<div class="post-metadata">

**Author:** ![Fiogan](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fiogan/32/215832_2.png) [@Fiogan](https://forum.choiceofgames.com/u/Fiogan)\
**Post date:** [April 18, 2016, 6:19am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/5 "2016-04-18T06:19:49Z")

</div>

Did you forget the asterisk?

`*goto_scene part3`

---

<div class="post-metadata">

**Author:** ![Jacic](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jacic/32/7061_2.png) [@Jacic](https://forum.choiceofgames.com/u/Jacic)\
**Post date:** [April 18, 2016, 6:22am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/6 "2016-04-18T06:22:30Z")

</div>

Nope asterisk is there.  
Hmm, maybe it’s just not updating my files at the moment, might need to try again later?

---

<div class="post-metadata">

**Author:** ![Fiogan](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fiogan/32/215832_2.png) [@Fiogan](https://forum.choiceofgames.com/u/Fiogan)\
**Post date:** [April 18, 2016, 6:24am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/7 "2016-04-18T06:24:03Z")

</div>

Possibly! Just out of curiosity, have you tried running quicktest and randomtest, just to see what happens?

---

<div class="post-metadata">

**Author:** ![Jacic](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jacic/32/7061_2.png) [@Jacic](https://forum.choiceofgames.com/u/Jacic)\
**Post date:** [April 18, 2016, 6:25am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/8 "2016-04-18T06:25:33Z")

</div>

Yes, they both seem to work fine which is odd. 🙂

---

<div class="post-metadata">

**Author:** ![Fiogan](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fiogan/32/215832_2.png) [@Fiogan](https://forum.choiceofgames.com/u/Fiogan)\
**Post date:** [April 18, 2016, 6:26am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/9 "2016-04-18T06:26:56Z")

</div>

That is odd. Sorry I couldn’t help - and good luck sorting out the root of the issue.

---

<div class="post-metadata">

**Author:** ![Jacic](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jacic/32/7061_2.png) [@Jacic](https://forum.choiceofgames.com/u/Jacic)\
**Post date:** [April 18, 2016, 6:27am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/10 "2016-04-18T06:27:55Z")

</div>

No probs, thanks for trying 🙂 (I was sure it was that startup file like you suggested. At least thats solved a future problem for me!)

---

<div class="post-metadata">

**Author:** ![Jacic](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jacic/32/7061_2.png) [@Jacic](https://forum.choiceofgames.com/u/Jacic)\
**Post date:** [April 18, 2016, 9:37am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/11 "2016-04-18T09:37:18Z")

</div>

It’s being a bit weird I think. I just tried re-uploading the files and now the main story seems to be running ok but the stats page has an old label and wont update. (Doesn’t affect the story but I can see it doesn’t seem to be updating properly). If I make a new game and upload the same files, it works fine though. _shrugs_

---

<div class="post-metadata">

**Author:** ![Taylor\_Enean](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/taylor_enean/32/8534_2.png) [@Taylor\_Enean](https://forum.choiceofgames.com/u/Taylor_Enean)\
**Post date:** [April 18, 2016, 10:37am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/12 "2016-04-18T10:37:22Z")

</div>

Maybe you need to refresh your browser cache? Ctrl+F5 on Windows I believe. Might be old files still on your HDD that messes things up. 😌

---

<div class="post-metadata">

**Author:** ![Kelvin](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kelvin/32/8950_2.png) [@Kelvin](https://forum.choiceofgames.com/u/Kelvin)\
**Post date:** [April 18, 2016, 12:04pm UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/13 "2016-04-18T12:04:00Z")

</div>

Well if part 3 is after the other section (I’m assuming part 2?) in the scene list try changing the goto to a \*finish and see if that works

Also does the name in the goto match the name of the text file? (Look for capitalization). There cannot be spaces either.

---

<div class="post-metadata">

**Author:** ![Jacic](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jacic/32/7061_2.png) [@Jacic](https://forum.choiceofgames.com/u/Jacic)\
**Post date:** [April 18, 2016, 12:04pm UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/14 "2016-04-18T12:04:14Z")

</div>

Yeah it was odd, I did actually clear the cookies and it was still playing up. What ended up working was instead of just selecting the files from the folder that automatically opened in the right place, I clicked out of it into a different folder, then went back in and that seemed to upload the correct stats file from there. So might have been some kind of save/remembered save glitch happening.

---

<div class="post-metadata">

**Author:** ![Jacic](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jacic/32/7061_2.png) [@Jacic](https://forum.choiceofgames.com/u/Jacic)\
**Post date:** [April 18, 2016, 12:10pm UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/15 "2016-04-18T12:10:44Z")

</div>

Thanks Kelvin 🙂  
Seem to have it working now. I think the problem seemed to be from an old file that hadn’t been replaced for some reason when I was trying to update it, so was still showing an old one before chapter 3 existed rather than an error in the coding.

---

<div class="post-metadata">

**Author:** ![EmperorHeartless](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/emperorheartless/32/14996_2.png) [@EmperorHeartless](https://forum.choiceofgames.com/u/EmperorHeartless)\
**Post date:** [April 18, 2016, 3:38pm UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/16 "2016-04-18T15:38:59Z")

</div>

Same problem I had last night actually. On Index my game worked fine, but when I uploaded the revised version of my Prologue it showed the old version instead, and I kept trying to re-upload it, clear cookies, use different web browsers, restarted my computer, turned it off and then on. Finally I went to bed and in the morning lo and behold! The game updated. No idea what happened there honestly, but it was with the dashingdon site.

---

<div class="post-metadata">

**Author:** ![Jacic](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jacic/32/7061_2.png) [@Jacic](https://forum.choiceofgames.com/u/Jacic)\
**Post date:** [April 19, 2016, 11:10am UTC](https://forum.choiceofgames.com/t/code-issues-on-dashingtons-when-it-works-fine-with-index/16679/17 "2016-04-19T11:10:37Z")

</div>

Thanks for letting me know. Was wondering if it was something on my end but seems not then 🙂
