How the Cards Fall (WIP?)

Is there an email to send you error reports?

@Jessamyn bryant.jayde@yahoo.com c:

When I chose to greet the Seat politely, I got an error, I don’t know if that’s the end of the game so far or just an error though.

Error: line 1686: invalid indent, expected at least one ‘choice’
Scene: ballscene
User Agent: Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3
Load time: 1362639246031
Persist: whatwg_db

There’s just so many errors and pronoun problems it’d be hard to catch them all. I’d suggest that you play through the game yourself a few times, testing every single option and tweaking the code when you come up with errors.

http://dl.dropbox.com/u/150934985/mygame/index.html

Even more beta’d version. Thanks for all the help guys, sorry I’m so wishy-washy c:

The new version doesn’t load.

Why is life so hard.

http://dl.dropbox.com/u/150934985/web/mygame/index.html

I found the scene where the people were talking their serious conversation quite confusing. For some reason I just couldn’t remember the names of the people introduced. I did like the woman who showed up though, she seems fun, the sort of character I hope to see more of.

You’ve a good way with the personalities of your NPCs so far.

Passing on Chastain/s message/veiled threat to The Seat seems to trigger an error.

Also, using quicktest seriously cuts down on the number of coding errors that end up getting uploaded into a release.

I’m sorry if that sounded overly condescending.

@FairyGodfeather Yeah, I could have written that better. If you care to know, the two men were Zacharie Gangnon (an idiot) and Richard Sturua (actually not a bad guy, he just came off in a bad light). The sassy girl is Veeria, and yes, you will be spending a LOT of time with her later if you play your cards right.

@Cataphrak Ah, thank you. And sorry, again. I don’t know what quicktest is? Honestly, this whole coding thing is one big alkjsdflkj to me. But I’ll be sure to look it up! And don’t worry, you don’t sound condescending, I know you’re just being helpful c:

@potato
I know that feeling. I have a LOT of CompSci friends, and reading their code is like listening to someone speak Cantonese very quickly: vaguely comprehensible, but terrifyingly complex (well, for someone who’s an indifferent Mandarin speaker, at best).

NOM NOM NOM. …Has anyone already pointed these out yet?

“with her, Her eyes glow with” Grammar error.
After I went to aplogise to Selene:
line 522: increasing indent not allowed, expected 10 was 11
After I tried to get the guy to apologise to Selene:
line 687: It is illegal to fall out of a *choice statement; you must *goto or *finish before the end of the intended block.
After I chose to greet my father politely:
line 206: invalid indent, expected at least one ‘choice’.

I really love ya style of writin’, @potato.


@potato I said monarch, not king.

@Bagelthief Eee, thanks for those. And the compliment. I didn’t even know I had a writing style, haha. I’ll fix those when I have time to. So many essays due right now ;w;

@FairyGodfeather Yeah, I found those. I’m reading them, but it’s taking up all my comprehension skills. It might as well be braille, lol.

@Drazen Oh, sorry c:

@Potato If you look in your Choicescript folder there should be files called Quicktest, Randomtest and some other names. I think if you run those they create a text file that will point out where some mistakes are, then you can go back and fix. Sorry for sharing links you already had.

I was going to offer to help out, but I had a quick peek at your code and found it overwhelming the way you’d done all the options. I noticed that you’re not using variables for gender, you’re just rewriting everything for every possible alternative. That can get large, messy and very difficult to keep track of and may be one of the reasons you’re having so many errors crop up, since you’ve so much to examine.

I admit I find it easier to learn things by poking at how others have done it and see how it works as opposed to just reading out of context info, so I tend to poke around in the scenes folders of various games to see how they work and how they do things.

If you learn better by examples I’d suggest having a look at Choice of Romance, in the scenes folder and see how they implement gender. http://www.choiceofgames.com/romance/scenes/ComingOfAgeParty.txt See if something similar would work for you.

If you learn better by just reading instructions you could also skim through the forums. There was even a recent discussion on it. http://www.choiceofgames.com/forum/discussion/1209/changing-gender-how-to-do-it-elegantly

It should be a lot easier to just include ${his} and have it show up as his for male, and her for female in the text, instead of rewriting it up once for male and once for female then needing to edit errors in both parts when you go back to fix things and making sure the pronouns are all switched. If you just use variables for all pronouns relating to the main character and define them at the start it can save a headache. Although even Choice of Romance had a few problems with its pronouns.

You can then use the if male/female for the important things but if it’s just pronouns and dress instead of suit then it should be easier to implement with variables.

This coming from someone who’s not that experienced with the script though so I’m sure someone will show up and say YOU ARE WRONG. :slight_smile:

When you get to the part with the blue eyed guy, choosing to greet him in return gets me this error ‘line440 bad label greet in return female’.

@potato I 'ope you have good luck with ya essays.

bows low at the waist. “Greetings your royal highness. My name is Anson Fairchild, of Varathas.” His fair features and low accent are a testament to the Mountain city she hails from
should be he hails from