PF News
For discussion of the latest upgrades and changes posted in the News, including questions, details, or any related bugs.
Posts 835 - 846 of 894
Posts 835 - 846 of 894
Maryguise
3 years ago
3 years ago
One thing I have noticed by accident (didn't delete some tabs when copy/pasting) is that the site lets you hang seeks off gotos, which might help keep things clean? There's no natural way to get to the seek hanging off a goto, but it's got an ID and so you can goto it. Still doubling the amount of seeks required, but same thing happens with lack of or statements (no way to do if (mem-x) is "yes" or (mem-y) is "no" in one seek, for example). Main issues with the gotos is that you can't have a goto pointing to another goto (therefore need text for whilst travelling) and that it roughly doubles/trebles seek count? Thinking, starting from station A or C and going to B (tabs denote hangin off previous entry on prior tab amount, as per working offline):
+blue train [0,0]
goto X
<tab> +blue [0,0] ID:X <?PF forget "A" from "inStation" ?>
<tab> text for travelling to station B
<tab><tab> +xnomatch [0,0]
<tab><tab> goto Y
+red train [0,0]
goto Z
<tab> +red [0,0] ID:Y <?PF forget "C" from "inStation" ?>
<tab> text for travelling to station B
<tab><tab> +xnomatch [0,0]
<tab><tab> goto Y
+arrive at B [0,0] ID:Y <?PF rem "B" as "inStation" ?>
text for arrival at B
Actually, if it's a location you're in, there's only one of those at a time, so you'd use rem "B" as only "inStation", but if you want multiple items in that memory (such as tracking multiple people in one memory), it's hoops to jump through. Much like copying the first line of seek chains if there's a goto option, to prevent breakage, using lots of if (mem-x) is not "Y" to get around lack of or, or duplicating responses to again get around lack of or.
There's certainly lacking features that you have to work around, unfortunately, sometimes by lengthening things.
+blue train [0,0]
goto X
<tab> +blue [0,0] ID:X <?PF forget "A" from "inStation" ?>
<tab> text for travelling to station B
<tab><tab> +xnomatch [0,0]
<tab><tab> goto Y
+red train [0,0]
goto Z
<tab> +red [0,0] ID:Y <?PF forget "C" from "inStation" ?>
<tab> text for travelling to station B
<tab><tab> +xnomatch [0,0]
<tab><tab> goto Y
+arrive at B [0,0] ID:Y <?PF rem "B" as "inStation" ?>
text for arrival at B
Actually, if it's a location you're in, there's only one of those at a time, so you'd use rem "B" as only "inStation", but if you want multiple items in that memory (such as tracking multiple people in one memory), it's hoops to jump through. Much like copying the first line of seek chains if there's a goto option, to prevent breakage, using lots of if (mem-x) is not "Y" to get around lack of or, or duplicating responses to again get around lack of or.
There's certainly lacking features that you have to work around, unfortunately, sometimes by lengthening things.
Emily Jones
3 years ago
3 years ago
You can have a go-to place pointing to another go-to, but can't have the second go-to pointing to a third. I think this was a fairly recent change because I don't feel like it used to be this way, but a noticed it working a few months.
Maryguise
3 years ago
3 years ago
Really, Emily? That's excellent to hear. Probably to get around the kind of issues I had. So it can be done without the extra step. I am 100% certain old behaviour was 'too many goto error if any responses - even those that won't fire due to AIScript - have a goto'.
Zeig Wolf
3 years ago
3 years ago
Here's a question, does anyone have a syntax highlighter for Forge text files? I've been making my own with mixed success, but if one is already out there that would be great.
Emily Jones
3 years ago
3 years ago
Pretty sure that's how it works now. I don't know when it changed. Early this year, I think.
Emily Jones
3 years ago
3 years ago
Anyone have any idea what caused the site downtime over the last week or so?
Emily Jones
3 years ago
3 years ago
I was able to start a few chats this morning but they were dropped quickly. I don't seem to be able to get back to them at the moment.
Maryguise
3 years ago
3 years ago
Looks to be back, Palacinkyman. Not unheard of for the server to be wobbly after an outage, but going passably so far.
» More new posts: Doghead's Cosmic Bar