I know I've seen browser-based JS that can do this, it's all just local HTTP traffic to the local buttplug server.
I'm not sure but maybe the following help?
https://github.com/buttplugio/buttplug-js
https://github.com/metafetish/buttplug-playground

That's a great idea! If we can incorporate it in a safe waydewwd wrote: Wed Feb 13, 2019 8:56 pm So I had what may be a great idea: building in buttplug.js support so that teases can control devices like a Fleshlight Launch. Why stroke to the metronome when the tease could do it for you?![]()
I know I've seen browser-based JS that can do this, it's all just local HTTP traffic to the local buttplug server.
I'm not sure but maybe the following help?
https://github.com/buttplugio/buttplug-js
https://github.com/metafetish/buttplug-playground


I think there are a few things that could be useful to add as some built in things to help out people that are not js developers. One would be a random number generator. We can see this could be useful just in this thread. A function that could be called like:Iambadwithnames wrote: Fri Feb 15, 2019 10:33 pm Considering how often it's needed, any chance you could add either default metronome audios or a built-in metronome function?
Code: Select all
randomNumber(x);

I memorized the rather short url -> milovana.com/eos/editorIambadwithnames wrote: Wed Feb 20, 2019 12:18 pm This might be a stupid question, but...is there a way to get to the EOS editor besides clicking the link in the announcement post? I don't see any way to get to the editor anywhere else.

No, they should work. If they're not working for you, please make a (non-published) tease that demonstrates the issue and let me know the ID.

40166 - made a tease with just one page and a say. the color displays correctly in the editor, but not the preview.
Ok, was working in Chrome but not working in Firefox. Should be fixed now. (May need to clear cache to get the latest viewer.)Shattered wrote: Sun Feb 24, 2019 11:41 pm 40166 - made a tease with just one page and a say. the color displays correctly in the editor, but not the preview.


Yeah I use firefox, thanks :)seraph0x wrote: Mon Feb 25, 2019 1:41 amOk, was working in Chrome but not working in Firefox. Should be fixed now. (May need to clear cache to get the latest viewer.)Shattered wrote: Sun Feb 24, 2019 11:41 pm 40166 - made a tease with just one page and a say. the color displays correctly in the editor, but not the preview.


While I haven't worked with Eos yet I can give this a shot. Normally when storing something in memory like this you use key-value pairs. Basically you have some value that is identified by the key. Normally this key will be nothing more than a string (a basic word value with quotes around it).Shattered wrote: Tue Feb 26, 2019 10:58 pm Coding isn't my specialty, so I'm basically going in blind and learning as I go
I don't really get the syntax of storage. I want to ask the user their name, then remember this for future visits. Do I add this to my InitScript?
teaseStorage.getItem(name)
or something else? Thanks anyone.
Code: Select all
<Variable to hold my key value because I'm lazy but also because its good practice>
var nameKey = "userName";
<Just declaring the variable name for our user's name>
var userName = "";
<Check to see if we already have a value stored. We will retrieve that value if it exists?
if (teaseStorage.getItem(nameKey) != null) {
userName = teaseStorage.getItem(nameKey);
} else {
<Since the value does not exist yet we will ask for the name and save it>
userName = <Code to get user's name>;
teaseStorage.addItem(nameKey, userName);
}