ski23 wrote: Mon Jun 04, 2018 12:23 pm
Will try that. Also I’m trying to get the md5 to see if the image is a duplicate. Lots of tumblr pages reblog images so duplicatea can be common. Plus there are also the black image and image not found images that this would check for as well. If I can get the md5 of an image, I can check if it has an existing duplicate in the file system and if so, delete its local copy, url copy, and find another image.
I managed to get md5 and checking if files are duplicates working. I’m gradually building a rather large utils api that I will break into smaller sub-apis and make public once they are finished. For example, there will be one for image moving/tagging/displaying/one for edging/stroking/taunts one for variable setup, etc.. When I eventually start releasing these, I think it will be very good for TeaseAi Java because more developers will be able to easily create personalities. The only thing I’m really waiting on is the issue with the replies not always registering. I’ll maybe look into adding a theme option later. If you add some sort of method or a few methods in the java code for registering buttons, I could add more options to the overhead menu and settigs panel via java and send you the updated repository. I just havent done much with html or css so that would take me a while to do as its setup now.
Awesome, I agree, that will be very helpful.
I will look into the response thing soon.
Regarding your buttons: You can just do this on your own. You can create your own gui, or access the one I am using and add stuff to it. The only issue that you might face is that not every panel has an id assigned to it and thus might be harder to access.
I managed to get md5 and checking if files are duplicates working. I’m gradually building a rather large utils api that I will break into smaller sub-apis and make public once they are finished. For example, there will be one for image moving/tagging/displaying/one for edging/stroking/taunts one for variable setup, etc.. When I eventually start releasing these, I think it will be very good for TeaseAi Java because more developers will be able to easily create personalities. The only thing I’m really waiting on is the issue with the replies not always registering. I’ll maybe look into adding a theme option later. If you add some sort of method or a few methods in the java code for registering buttons, I could add more options to the overhead menu and settigs panel via java and send you the updated repository. I just havent done much with html or css so that would take me a while to do as its setup now.
Awesome, I agree, that will be very helpful.
I will look into the response thing soon.
Regarding your buttons: You can just do this on your own. You can create your own gui, or access the one I am using and add stuff to it. The only issue that you might face is that not every panel has an id assigned to it and thus might be harder to access.
I think I may have just noticed something that might be causing an issue with the responses. It's possible that I had taunts going on while i tried to call the responses and, if the thread is asleep in the taunt, it wouldnt be able to respond. How can I do edging taunts while still allowing the thread to be available for responses and, at the same time, dont make it so the duration of the taunts/stroke time, doesnt go up when i go into the response.
I managed to get md5 and checking if files are duplicates working. I’m gradually building a rather large utils api that I will break into smaller sub-apis and make public once they are finished. For example, there will be one for image moving/tagging/displaying/one for edging/stroking/taunts one for variable setup, etc.. When I eventually start releasing these, I think it will be very good for TeaseAi Java because more developers will be able to easily create personalities. The only thing I’m really waiting on is the issue with the replies not always registering. I’ll maybe look into adding a theme option later. If you add some sort of method or a few methods in the java code for registering buttons, I could add more options to the overhead menu and settigs panel via java and send you the updated repository. I just havent done much with html or css so that would take me a while to do as its setup now.
Awesome, I agree, that will be very helpful.
I will look into the response thing soon.
Regarding your buttons: You can just do this on your own. You can create your own gui, or access the one I am using and add stuff to it. The only issue that you might face is that not every panel has an id assigned to it and thus might be harder to access.
I think I may have just noticed something that might be causing an issue with the responses. It's possible that I had taunts going on while i tried to call the responses and, if the thread is asleep in the taunt, it wouldnt be able to respond. How can I do edging taunts while still allowing the thread to be available for responses and, at the same time, dont make it so the duration of the taunts/stroke time, doesnt go up when i go into the response.
Use 1.0.5: https://mega.nz/#!43BzXKxY!Ww8XVqJkL1UJ ... uMgUj5vlYA and the dedicated updated sleep and wait functions. So just use sleep(0.5) or wait(0.5) to wait/sleep for 500 millis. Duration argument is always in seconds but supports decimals. So just replace all
Will do! Thanks. Also, my tagging system is mostly done. Adding some polishes and I might try to integrate it into the gui of the app to be able to tag images thru the gui. Next, gonna finish a few things left in the personality and then, I’ll probably release an alpha version fairly soon.
ski23 wrote: Wed Jun 06, 2018 7:18 pm
Will do! Thanks. Also, my tagging system is mostly done. Adding some polishes and I might try to integrate it into the gui of the app to be able to tag images thru the gui. Next, gonna finish a few things left in the personality and then, I’ll probably release an alpha version fairly soon.
Wow awesome! Is Wicked already finished so I can release it alongside the program or would you prefer your new one being the default one?
ski23 wrote: Wed Jun 06, 2018 7:18 pm
Will do! Thanks. Also, my tagging system is mostly done. Adding some polishes and I might try to integrate it into the gui of the app to be able to tag images thru the gui. Next, gonna finish a few things left in the personality and then, I’ll probably release an alpha version fairly soon.
Wow awesome! Is Wicked already finished so I can release it alongside the program or would you prefer your new one being the default one?
Give me a little bit of time. This personality Im working on is basically Wicked but improved. I havent added much customization yet on the actual stuff the domme says. Ive more been working on the actual coding. Sure technically its functional now. But, theres some more stuff I need to polish before release. I was thinking you could release this one and my several util files when theyre ready. Then,my custom personality will be like a branch off from wicked.
ski23 wrote: Wed Jun 06, 2018 9:07 pm
Give me a little bit of time. This personality Im working on is basically Wicked but improved. I havent added much customization yet on the actual stuff the domme says. Ive more been working on the actual coding. Sure technically its functional now. But, theres some more stuff I need to polish before release. I was thinking you could release this one and my several util files when theyre ready. Then,my custom personality will be like a branch off from wicked.
Sounds great. If you need any help you know where to ask.
ski23 wrote: Wed Jun 06, 2018 9:07 pm
Give me a little bit of time. This personality Im working on is basically Wicked but improved. I havent added much customization yet on the actual stuff the domme says. Ive more been working on the actual coding. Sure technically its functional now. But, theres some more stuff I need to polish before release. I was thinking you could release this one and my several util files when theyre ready. Then,my custom personality will be like a branch off from wicked.
Sounds great. If you need any help you know where to ask.
One thing I'm concerned about: I have a method that makes the sub start stroking and constantly checks to make it last a certain duration. Changing from java sleep to your sleep will fix the issue with responses not being called. However, how can I ensure that the timer keeps on counting up inside my method even if a response is triggered or the domme is spending time typing a taunt or something. I wonder if maybe a scheduler or something might work but I'm not sure your thought and I don't know how or if schedulers work in js.
ski23 wrote: Wed Jun 06, 2018 9:07 pm
Give me a little bit of time. This personality Im working on is basically Wicked but improved. I havent added much customization yet on the actual stuff the domme says. Ive more been working on the actual coding. Sure technically its functional now. But, theres some more stuff I need to polish before release. I was thinking you could release this one and my several util files when theyre ready. Then,my custom personality will be like a branch off from wicked.
Sounds great. If you need any help you know where to ask.
One thing I'm concerned about: I have a method that makes the sub start stroking and constantly checks to make it last a certain duration. Changing from java sleep to your sleep will fix the issue with responses not being called. However, how can I ensure that the timer keeps on counting up inside my method even if a response is triggered or the domme is spending time typing a taunt or something. I wonder if maybe a scheduler or something might work but I'm not sure your thought and I don't know how or if schedulers work in js.
You can just use the unix timestamp to store when the user started stroking and then compare it to the current one to get the time passed. However you'll need to do that comparison somewhere and a while loop won't help when a response is triggered during the loop which means you'd have to call the dedicated function for this comparison during your response as some sort of check. One way to do this would be to create a custom send message function that instead of just sending the message checks for your stroke time before sending it and then using that custom method inside your relevant responses. That would be the easiest way to go I guess.
Sounds great. If you need any help you know where to ask.
One thing I'm concerned about: I have a method that makes the sub start stroking and constantly checks to make it last a certain duration. Changing from java sleep to your sleep will fix the issue with responses not being called. However, how can I ensure that the timer keeps on counting up inside my method even if a response is triggered or the domme is spending time typing a taunt or something. I wonder if maybe a scheduler or something might work but I'm not sure your thought and I don't know how or if schedulers work in js.
You can just use the unix timestamp to store when the user started stroking and then compare it to the current one to get the time passed. However you'll need to do that comparison somewhere and a while loop won't help when a response is triggered during the loop which means you'd have to call the dedicated function for this comparison during your response as some sort of check. One way to do this would be to create a custom send message function that instead of just sending the message checks for your stroke time before sending it and then using that custom method inside your relevant responses. That would be the easiest way to go I guess.
Is the javascript version an older version? I try doing str.includes or using a default parameter in a function and it doesnt appear to be very happy with that. Also, I'm not going to be able to implement the way you mentioned above because my stroking methods and chat methods are in 2 different utils packages and I don't want dependencies. Is there anyway I can use a scheduler or something and schedule a stop stroking method to be called a particular time?
Last edited by ski23 on Sun Jun 10, 2018 11:52 pm, edited 1 time in total.
Sounds great. If you need any help you know where to ask.
One thing I'm concerned about: I have a method that makes the sub start stroking and constantly checks to make it last a certain duration. Changing from java sleep to your sleep will fix the issue with responses not being called. However, how can I ensure that the timer keeps on counting up inside my method even if a response is triggered or the domme is spending time typing a taunt or something. I wonder if maybe a scheduler or something might work but I'm not sure your thought and I don't know how or if schedulers work in js.
You can just use the unix timestamp to store when the user started stroking and then compare it to the current one to get the time passed. However you'll need to do that comparison somewhere and a while loop won't help when a response is triggered during the loop which means you'd have to call the dedicated function for this comparison during your response as some sort of check. One way to do this would be to create a custom send message function that instead of just sending the message checks for your stroke time before sending it and then using that custom method inside your relevant responses. That would be the easiest way to go I guess.
Also, can you update the github repository to the current version. I know you gave me version 1.0.5. However, the github project is on 1.0.2. So, If I try to grab the repository and make changes, it won't have all the other stuff U added since 1.0.2.
I'm thinking I should have an early release of the functional Wicked+ Personality and 3 util classes soon. Probably like Monday or Tuesday depending on how long it takes to add those few functions I commented to you about.
Last edited by ski23 on Sun Jun 10, 2018 11:51 pm, edited 1 time in total.
Also, I think there may be an issue with Date. Error: TypeError: date.addDay is not a function in <eval> at line number 5. I've been getting this for a while and tried a bunch of things to fix it and none work.
var date = getDate("waitingisnotmystrongsuit");
if (date != null && date.addDay(3).hasPassed())
{
...
Also, I believe you have a bug at line 259 of MediaUrl. You recursively call the function getRandomMedia again. However, you do not increment loops. Thus, it could go on forever.
It seems like setTempVar actually remains after a session. Maybe thats just if u stop it manually. I'm not sure.
Also, occasionally I see these messages:
11:00:47 PM SEVERE: Response 'ImageOK is missing the function to trigger it. Create the function 'imageOKResponse(message)' for this to work.
I obviously have the trigger function. Not sure why thats popping up or if its affecting anything.
I was looking at the code in eclipse, and I saw some warning about Thread.sleep not being used in a static way.
line 52 of CustomFunction.java : TeaseAI.application.scriptThread.sleep(10000000);
line 138 of TeaseAI.java : thread.sleep(sleepMillis);
The code makes you think that TeaseAI.application.scriptThread or thread will be put to sleep, but in reality it's the current thread which will be put to sleep.
Otherwise, I forked the project to add the Open link in browser feature, and minor other changes.
I was looking at the code in eclipse, and I saw some warning about Thread.sleep not being used in a static way.
line 52 of CustomFunction.java : TeaseAI.application.scriptThread.sleep(10000000);
line 138 of TeaseAI.java : thread.sleep(sleepMillis);
The code makes you think that TeaseAI.application.scriptThread or thread will be put to sleep, but in reality it's the current thread which will be put to sleep.
Otherwise, I forked the project to add the Open link in browser feature, and minor other changes.
If you dont mind, can you link your repository. Also btw, his repository on github isnt fully current.