Here are EOS tutorials

All about the past, current and future webteases and the art of webteasing in general.
---
New Nick
Explorer
Explorer
Posts: 16
Joined: Thu Mar 28, 2024 9:51 pm

Re: Here are EOS tutorials

Post by New Nick »

Can it also work if you want to revert a story to a segment/block of pages ?
Or can it only work with specific commands like the eval you showed?

Or also possible for instance for a string of 10 or 20 slides in one box to become repetitive throughout the tease?

Thanks a lot !!!
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: Here are EOS tutorials

Post by PlayfulGuy »

New Nick wrote: Fri Apr 05, 2024 4:08 pm Thanks a lot

However , what happens if i want to use those exact 3 slides (the edging box) several times .
Wont that make me always go back after the edging box to one page specifically ?

Or can i make it somehow possible to go temporarily into an "edging box" and then proceed from where i left ?
WIth the option to have that "edging box" maybe active on 20 or 30 different occassions ?

If you understand what i mean ...

Ideal would be to just go from for instance BOX D to BOX E (but with a temporary visit to BOX Edge)
And then later i would like to use that temporary Edge box maybe also when i go from BOX G to H and X to Y and so on ...

Thank you
Have you tried the demo I created for you? It does exactly what you are asking for.

You can use the same DoSomeEdges segment from anywhere in your tease, as many times as you want. The only requirement is that before you "call" it, you set a variable to tell it where to continue afterward.

So in your example, "Box D" sets variable "AfterEdging" to "Box E", then goes to "Box Edge". Box Edge will then go to "Box E".
Exactly like you asked for.

PG
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: Here are EOS tutorials

Post by PlayfulGuy »

New Nick wrote: Fri Apr 05, 2024 4:28 pm Can it also work if you want to revert a story to a segment/block of pages ?
Or can it only work with specific commands like the eval you showed?
Yes, and again this is exactly what the demo does. The eval command I showed is simply one example. You will have many such commands at different places in your "boxes". Box A can detour to your repetitive segment as many times as you want.
New Nick wrote: Fri Apr 05, 2024 4:28 pm Or also possible for instance for a string of 10 or 20 slides in one box to become repetitive throughout the tease?
Thanks a lot !!!
You can have as many pages (slides) as you want in any box. Using your terms, each box consists of a series of slides (pages in EOS terms). Some of those slides detour to the "repetitive" segments, telling the repetitive segment where to resume afterward.

Download the json source using the link in my first post, then create a new EOS tease in your account and import that code (restore from backup), so you can see better what it looks like in the EOS editor.

PG
User avatar
Visitor from Bound Anna
Explorer At Heart
Explorer At Heart
Posts: 173
Joined: Mon Apr 08, 2024 11:16 pm
Sexual Orientation: Straight
Contact:

Re: Here are EOS tutorials

Post by Visitor from Bound Anna »

I am going to have to try this EOS thingy. Turn mental orgasms into games for all to enjoy. Or some. Nothing is for everybody, but ehh, ya'll know what I mean.
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: Here are EOS tutorials

Post by PlayfulGuy »

Visitor from Bound Anna wrote: Thu Apr 11, 2024 12:49 am I am going to have to try this EOS thingy. Turn mental orgasms into games for all to enjoy. Or some. Nothing is for everybody, but ehh, ya'll know what I mean.
The EOS editor is a little hard to find. You can find it here: viewtopic.php?t=22767

PG
User avatar
Visitor from Bound Anna
Explorer At Heart
Explorer At Heart
Posts: 173
Joined: Mon Apr 08, 2024 11:16 pm
Sexual Orientation: Straight
Contact:

Re: Here are EOS tutorials

Post by Visitor from Bound Anna »

PlayfulGuy wrote: Thu Apr 11, 2024 1:26 am
Visitor from Bound Anna wrote: Thu Apr 11, 2024 12:49 am I am going to have to try this EOS thingy. Turn mental orgasms into games for all to enjoy. Or some. Nothing is for everybody, but ehh, ya'll know what I mean.
The EOS editor is a little hard to find. You can find it here: viewtopic.php?t=22767

PG
Thanks P. I looked it over and see the actions buttons on the left. Have to come back and learn them. Might avoid a cart before horse situation, that is dreaming up an idea, getting excited about it, only t find it is not possible as I dreamed
bbb11__
Explorer
Explorer
Posts: 74
Joined: Thu May 18, 2023 7:43 pm

Re: Here are EOS tutorials

Post by bbb11__ »

Another “coding” question… always appreciate the help here!

Is there a way to display an array as a vertical list or paragraph in EOS?
Currently it shows up as a single line and goes off the screen. And I’d rather not type out array[0], array[1], etc…
undeniable_denial
Explorer At Heart
Explorer At Heart
Posts: 109
Joined: Sat Aug 24, 2019 11:42 am
Gender: Male
Location: Germany

Re: Here are EOS tutorials

Post by undeniable_denial »

bbb11__ wrote: Thu Apr 11, 2024 8:01 pm Is there a way to display an array as a vertical list or paragraph in EOS?
Currently it shows up as a single line and goes off the screen. And I’d rather not type out array[0], array[1], etc…

Code: Select all

var vertical_list = your_array.join("<br>");
LewdRem
Curious Newbie
Curious Newbie
Posts: 4
Joined: Sat Feb 08, 2020 7:42 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Here are EOS tutorials

Post by LewdRem »

How do I get a "Edge "Button or an "Oops" Button to the side of the page like all the others do ?
User avatar
Drool
Experimentor
Experimentor
Posts: 1673
Joined: Sat Nov 28, 2015 2:24 pm
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Switch

Re: Here are EOS tutorials

Post by Drool »

LewdRem wrote: Thu Jun 06, 2024 10:15 am How do I get a "Edge "Button or an "Oops" Button to the side of the page like all the others do ?
This is done with notifications; please see here:
viewtopic.php?p=361691#p361691
LewdRem
Curious Newbie
Curious Newbie
Posts: 4
Joined: Sat Feb 08, 2020 7:42 pm
Gender: Male
Sexual Orientation: Straight
I am a: Submissive

Re: Here are EOS tutorials

Post by LewdRem »

Thanks !
bbb11__
Explorer
Explorer
Posts: 74
Joined: Thu May 18, 2023 7:43 pm

Re: Here are EOS tutorials

Post by bbb11__ »

Hoping someone can help me with a bit of code.
All variables are initially set to 0. After running the code, I always get runs = NaN. Any ideas what I’m missing? I’m a beginner coding and haven’t done it in a while.

Code: Select all

If( x == 1){
	Runs = runs + third;
	Var third = second;
	Var second = first;
	Var first = 1;
}
If(x == 2){
	Runs = runs + second;
	Var third = first;
	Var second = 1;
	Var first = 0;
}
If(x == 3){
	Runs = runs + third + second + first;
	Var third = 1;
	Var second = 0;
	Var first = 0;
}
If(x == 4)
	Runs = runs + third + second + first + 1;
	Var third = 0;
	Var second = 0;
	Var first = 0;
}
undeniable_denial
Explorer At Heart
Explorer At Heart
Posts: 109
Joined: Sat Aug 24, 2019 11:42 am
Gender: Male
Location: Germany

Re: Here are EOS tutorials

Post by undeniable_denial »

Hi bbb

Coding is case sensitive, which means "Runs" and "runs" are two different variables.
Also "If" and "Var" won't work for the same reason.
bbb11__
Explorer
Explorer
Posts: 74
Joined: Thu May 18, 2023 7:43 pm

Re: Here are EOS tutorials

Post by bbb11__ »

Capitals are from being on mobile to post in the forum. Actual code on the trade is all 100% lowercase.

If I alter a single variable inside the if statement it works, but 2+ variables seems to give an error.
User avatar
PlayfulGuy
Experimentor
Experimentor
Posts: 1068
Joined: Sat Jul 07, 2012 10:08 pm
Gender: Male
Sexual Orientation: Bisexual/Bi-Curious
I am a: Switch
Dom/me(s): No domme
Sub/Slave(s): No sub
Location: British Columbia, Canada

Re: Here are EOS tutorials

Post by PlayfulGuy »

bbb11__ wrote: Mon Oct 14, 2024 8:30 am Capitals are from being on mobile to post in the forum. Actual code on the trade is all 100% lowercase.

If I alter a single variable inside the if statement it works, but 2+ variables seems to give an error.
We'd need to see your actual code, and more of it, to answer then. The context matters.
Is that code part of a function you define, in an eval in a page, etc...
Where do you initialize the variables? In the init module?
Given the error two possibilities come to mind:
  • One or more of your variables are not actually initialized.
  • Perhaps you're mixing references to local and global variables. In the snippet you posted, "runs" is an implicit global variable, everything else is a local variable. If "runs", or any of those local variables are not initialized your result will be undefined/NaN.
Hope that helps.

PG
Post Reply