Here are EOS tutorials
- fauna84
- Explorer
- Posts: 10
- Joined: Mon May 30, 2022 8:28 pm
- Gender: Male
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Switch
Re: Here are EOS tutorials
Hi, I have a problem and hope someone can help me fix it.
For my tease I want to be able to select a fetish, with the choice resulting in different pictures used. My idea was to set a value like:
fetish=true;
and then using an "if" action like this:
if
fetish=true;
then
link to pic from gallery 1
else
link to pic from gallery 2
This doesn't seem to work however. With the setting to true it works fine, but when the value=false then the tease blacks out.
Is it just not possible this way or am I missing something?
For my tease I want to be able to select a fetish, with the choice resulting in different pictures used. My idea was to set a value like:
fetish=true;
and then using an "if" action like this:
if
fetish=true;
then
link to pic from gallery 1
else
link to pic from gallery 2
This doesn't seem to work however. With the setting to true it works fine, but when the value=false then the tease blacks out.
Is it just not possible this way or am I missing something?
Re: Here are EOS tutorials
Use ==
= simply sets the value , == is comparing, === is strict comparing
- fauna84
- Explorer
- Posts: 10
- Joined: Mon May 30, 2022 8:28 pm
- Gender: Male
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Switch
Re: Here are EOS tutorials
Thanks for your reply, it did not work unfortunally. I did find the solution however, when using the if action, one does not use an = at all, just the name of the fetish. This was explained perfectly in the tutorial but I just didn't read it well enough, shame on me!
- Niveket
- Explorer
- Posts: 20
- Joined: Wed Sep 06, 2017 9:01 pm
- Gender: Male
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Submissive
- Dom/me(s): Searching for Dom
- Location: Sweden
Re: Here are EOS tutorials
Hello im creating a tease based on random images but i would like shown images to not be shown again if possible as in there are 100 paths for the goto to take and when it shows 1 it removes that one from the random queue if that makes sense.
Edit... I might have found a way to do it for now which was making the page disable itself upon it showing up which seems to work for now but if there are easier/ better ways feel free to answer my question.
Edit2. Have a new problem that is... annoying at best... the server seems to disconnect every hour or so... So it stops saving and just says error up in the corner but Its hard to notice and I just continue on working for an hour or 2 until i want to preview something and then i notice the error thus making me lose 1-2 hours of progress and you'd think I would have learnt after the first time it happened but i get so into creating it that its happened 4 times now.
But what made me want to write this is cause this time I actually tried to save it by backing up my progress and uploading it after reloading the page but all the stuff I added that are in the backup are also just errors for some reason or not errors but stuff like this
Must be atleast 1 characters long (which the page is way beyond)
Does not match regex pattern (honestly don't get this one though)
Every page I added during the desync with the server has these errors when trying to upload the back up :/
Edit... I might have found a way to do it for now which was making the page disable itself upon it showing up which seems to work for now but if there are easier/ better ways feel free to answer my question.
Edit2. Have a new problem that is... annoying at best... the server seems to disconnect every hour or so... So it stops saving and just says error up in the corner but Its hard to notice and I just continue on working for an hour or 2 until i want to preview something and then i notice the error thus making me lose 1-2 hours of progress and you'd think I would have learnt after the first time it happened but i get so into creating it that its happened 4 times now.
But what made me want to write this is cause this time I actually tried to save it by backing up my progress and uploading it after reloading the page but all the stuff I added that are in the backup are also just errors for some reason or not errors but stuff like this
Must be atleast 1 characters long (which the page is way beyond)
Does not match regex pattern (honestly don't get this one though)
Every page I added during the desync with the server has these errors when trying to upload the back up :/
Imma Bondage Slut
Re: Here are EOS tutorials
Hi NiveketEdit... I might have found a way to do it for now which was making the page disable itself upon it showing up which seems to work for now but if there are easier/ better ways feel free to answer my question.
I've solved this problem before. I used EOS's random page + disable page function but found it dosen't work well. Here is my solution. At the start of your tease put page numbers into an array (array is called Girls here but you can call it whatever you like) like this example and make another variable = 0:
var Girls = [0,1,2,3,4,5,6,7,8,..........,99]
var ImageIndex = 0
Then shuffle the array like a deck of cards:
var x = 0
var location1 = 0
var location2 = 0
var tmp = 0
for(x = 0; x < 1000; x++){
location1 = Math.floor((Math.random() * Girls.length));
location2 = Math.floor((Math.random() * Girls.length));
tmp = Girls[location1];
Girls[location1] = Girls[location2];
Girls[location2] = tmp
}
In the main part of your tease, when you are choosing the next image use the GOTO (with Eval) function to goto the next card in the deck:
GOTO Girls[ImageIndex]
After viewing an image don't forget to increase the ImageIndex by one to select the next card in the deck:
ImageIndex++
-
- Curious Newbie
- Posts: 4
- Joined: Sun Jan 31, 2021 3:37 pm
- Gender: Male
- Sexual Orientation: Straight
Re: Here are EOS tutorials
Hi!
I have quite a simple question on buttons:
I have variables available based on which I whould like to show or hide buttens, but what do I need to put in the Eval statement to make a button (in)visible?
Thanks!
I have quite a simple question on buttons:
I have variables available based on which I whould like to show or hide buttens, but what do I need to put in the Eval statement to make a button (in)visible?
Thanks!
- Bright_Sprinkler
- Explorer
- Posts: 21
- Joined: Sat Aug 28, 2021 8:11 pm
- Contact:
Re: Here are EOS tutorials
If you scroll down on the left side of one option you should find a toggle "Always visible (no script)".ElectricEel wrote: ↑Tue Jul 12, 2022 9:32 pm I have variables available based on which I whould like to show or hide buttens, but what do I need to put in the Eval statement to make a button (in)visible?
With that one you can switch between always visible and the EVAL-input field.
This field seems to expect a Boolean expression.
True, false or stuff like "myVariable1 === 10".
-
- Curious Newbie
- Posts: 4
- Joined: Sun Jan 31, 2021 3:37 pm
- Gender: Male
- Sexual Orientation: Straight
Re: Here are EOS tutorials
Great, thanks!
I was thinking way too complicated and searching for a button handle or an object method to (de)activate a button. Never thought it would be so simple as just putting a boolean variable in the eval statement
I was thinking way too complicated and searching for a button handle or an object method to (de)activate a button. Never thought it would be so simple as just putting a boolean variable in the eval statement
- Lady N
- Explorer
- Posts: 29
- Joined: Thu Mar 11, 2021 9:03 pm
- Gender: Female
- Sexual Orientation: Bisexual/Bi-Curious
- I am a: Mistress
- Sub/Slave(s): My husband, called Mika on the internet.
Re: Here are EOS tutorials
Hello there.
I'm looking for a web browser who is compatible of EOS editor... Looks like a pain to find one.
Is there a big bug today or is it really an editor with so much restrictions ?
All on windows 10 :
I tried Vivaldi (Chrome based), and it's impossible to write a "Say action" :
I tried to write "Hello slave.", it seems the auto-save trigger on every letter and reset the cursor in the field...
I also see duplicate letter while testing...
I tried Firefox and Edge and i can't go after the name of the tease in the list...
Clicking on the name of the tease load a page then come back on list.
On my Android phone :
Brave : same result as Vivaldi on windows 10.
Edit : ok, i just found what block the use on Firefox...
If you forbid the load of google analytics script you can't open a tease in edition...
But only the opening, after it's open i can block it and reload and it's ok...
I'm looking for a web browser who is compatible of EOS editor... Looks like a pain to find one.
Is there a big bug today or is it really an editor with so much restrictions ?
All on windows 10 :
I tried Vivaldi (Chrome based), and it's impossible to write a "Say action" :
I tried to write "Hello slave.", it seems the auto-save trigger on every letter and reset the cursor in the field...
I also see duplicate letter while testing...
I tried Firefox and Edge and i can't go after the name of the tease in the list...
Clicking on the name of the tease load a page then come back on list.
On my Android phone :
Brave : same result as Vivaldi on windows 10.
Edit : ok, i just found what block the use on Firefox...
If you forbid the load of google analytics script you can't open a tease in edition...
But only the opening, after it's open i can block it and reload and it's ok...
Mistress of my husband Mika. And when i'm looking for some other fun mistress of a random.
Note: the Avatar is not my property. PM me if it's yours.
Note: the Avatar is not my property. PM me if it's yours.
Re: Here are EOS tutorials
Hi ForgottenForgotten24 wrote: ↑Thu Jul 21, 2022 2:53 am I have question how can I get a random number lets say you attack and your attack have to be more than 10 to work. I hope someone understand what I meant.
//remember to setup variables before start of tease
var attackvalue = 0
var attackresult = 0
//during the attack calculate a random number from 1 to 100
attackvalue = Math.floor(Math.random() * 100) + 1
//if attack value is more than 10, then attack is successful. Do something with the result such as skip to //another page etc.
if(attackvalue > 10){
attackresult = 1
}
Re: Here are EOS tutorials
Is there any way to display multiple images at the same time?
- Shattered
- Experimentor
- Posts: 1243
- Joined: Fri Jan 11, 2013 6:41 pm
- I am a: Switch
- Location: United Kingdom
Re: Here are EOS tutorials
You could make an image manually in photoshop that displays both images that you want to display at once and upload that. Otherwise no way.
My question for y'all -
I have 4 variables
temp1
temp2
temp3
temp4
All will have a numbered value. I want to compare these 4 variables and change another variable based on the result.
E.G. if temp1 is the largest, add 3 points to temp5. If temp2 is the second largest, add 2 points to temp6, If temp 3 is the largest, etc.
And also compare the 4 values and set one value to zero based on the lowest.
I can think of a non-code savvy way to do this via -
Code: Select all
Are any of my 4 desired variables 0?
If not, minus one from each, then repeat the test.
If two are 0, assign both the lowest result.
Salutations, Stranger.
--
Like my work and want to see more? Consider supporting my Patreon or buying me a Ko-fi!
Try my teases on Milovana!
--
Like my work and want to see more? Consider supporting my Patreon or buying me a Ko-fi!
Try my teases on Milovana!
- Bright_Sprinkler
- Explorer
- Posts: 21
- Joined: Sat Aug 28, 2021 8:11 pm
- Contact:
Re: Here are EOS tutorials
Can you clarify that a bit?
Your example
What do you want to to exactly with the values?
This:
Without more info I can't tell if it has any flaws.
You could increase it's elegance by using an array instead of single variables, if it makes sense in the context.
Your example
does not seem to match the algorithm you described afterwards, or am I missing something?E.G. if temp1 is the largest, add 3 points to temp5. If temp2 is the second largest, add 2 points to temp6, If temp 3 is the largest, etc.
What do you want to to exactly with the values?
This:
Can easily be translated to code, no problem here.Are any of my 4 desired variables 0?
If not, minus one from each, then repeat the test.
If two are 0, assign both the lowest result.
Without more info I can't tell if it has any flaws.
You could increase it's elegance by using an array instead of single variables, if it makes sense in the context.
- Shattered
- Experimentor
- Posts: 1243
- Joined: Fri Jan 11, 2013 6:41 pm
- I am a: Switch
- Location: United Kingdom
Re: Here are EOS tutorials
My workaround is bound to have problems ayeBright_Sprinkler wrote: ↑Sun Oct 23, 2022 8:29 pm Can you clarify that a bit?
Your exampledoes not seem to match the algorithm you described afterwards, or am I missing something?E.G. if temp1 is the largest, add 3 points to temp5. If temp2 is the second largest, add 2 points to temp6, If temp 3 is the largest, etc.
What do you want to to exactly with the values?
This:Can easily be translated to code, no problem here.Are any of my 4 desired variables 0?
If not, minus one from each, then repeat the test.
If two are 0, assign both the lowest result.
Without more info I can't tell if it has any flaws.
You could increase it's elegance by using an array instead of single variables, if it makes sense in the context.
I have 2 circumstances I'm looking at right now -
1. temp1, temp2, temp3, temp4 will be different numbers.
2. lets call four more variables userAlisascore, userMilascore, userKatoscore, userBrookescore
3. The user will complete inputs to generate temp1,2,3,4.
4. If temp1 has the most points, then userAlisascore gets 3 points. the same works for 2 and userMilascore, 3 and userKatoscore, 4 and userBrookescore.
5. Then the second highest temp variable gives the score gives 2 points in the same way, the third gives 1 point.
Part 2- After the 'day' of the tease is over, and users have done other actions to increase userAlisascore, userMilascore, userKatoscore, userBrookescore scores, compare all of them. Then set the lowest to become a new variable - e.g. if Alisa scored the lowest, userLowestscore = Alisa
Thanks!
Salutations, Stranger.
--
Like my work and want to see more? Consider supporting my Patreon or buying me a Ko-fi!
Try my teases on Milovana!
--
Like my work and want to see more? Consider supporting my Patreon or buying me a Ko-fi!
Try my teases on Milovana!
- Bright_Sprinkler
- Explorer
- Posts: 21
- Joined: Sat Aug 28, 2021 8:11 pm
- Contact:
Re: Here are EOS tutorials
Aight, I guess something like that could work (just some pseudo code):
Code: Select all
// save values in two arrays !their index must be matching!
// index 0 in temps is temp1 and index 0 in scores is alisa, etc.
// I'd recommend using an enum for index access or to at least leave a comment somewhere that states which index correlates to which value
// note: instead of using two arrays we could also use just one with custom objects inside, basically something like a dictionary
temps = [temp1, temp2, temp3, temp4]
scores = [alisa, mila, kato, brooke]
lowestScore // (can either be name, enum or array index)
// we'll need some functions to find the values we need
// I guess examples for these can be found online e.g. https://stackoverflow.com/questions/14017794/how-to-find-the-second-highest-number-in-javascript
// these will search for the required value and return the index of the array
function findMax(array) -> index
function findSecondMax(array) -> index
function findThridMax(array) -> index
function findMin(array) -> index
// we'll create a dedicated function that can be called from the pages
function increaseScores() {
// loop three times, cause we need first, second and third highest value
loop i = 0 to 3 {
let index = -1;
// depending on our loop index we will search for the needed value
switch (i)
-> 0
index = findMax(temps)
-> 1
index = findSecondMax(temps)
-> 2
index = findThridMax(temps)
// now that we have the index of e.g. the highest value, we can just change the score in the scores array, since the index of both arrays are matching
// the score amount to increase can be calculated using the loop index
// i->0 = 3 | i->1 = 2 | i->2 = 1
scores[index] += (3 - i)
}
}
// to set the lowest score we can do something like this
function setLowestScore() {
lowestScore = findMin(scores)
}
Who is online
Users browsing this forum: Ahrefs [Bot], indyc, Nice-Log and 10 guests