Page 38 of 121

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Thu May 28, 2015 3:35 am
by PlayfulGuy
philo wrote:Looks like it does not like something in the xml file.
My guess would be it is not valid xml so it is erroring trying to load it
I was using the Models.xml file from the wiki example. Interesting.

Anyway, nothing like a good nights sleep to clear the cobwebs. Looking at it again today I realized I was making it more complicated than it needed to be. Your jsReadFile and split it on newlines will do the trick nicely. I just have to handle the structure manually, but it still won't be too bad. I'll be posting a demo soon. :smile:

PG

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Sat Jun 06, 2015 9:53 pm
by meson1
Philo

Your examples so far show how to define a timer node in XML. But how do I create a timer node in Javascript? I looked in your documentation in your wiki on GitHub, but I couldn't find it there.

Is it as simple as using setTimeout? Or do I need to be calling a special function or something?

Thanks

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Sun Jun 07, 2015 11:16 am
by philo
meson1 wrote:Philo

Your examples so far show how to define a timer node in XML. But how do I create a timer node in Javascript? I looked in your documentation in your wiki on GitHub, but I couldn't find it there.

Is it as simple as using setTimeout? Or do I need to be calling a special function or something?

Thanks
From what I remember for 0.1.3 I only added it to the xml.
Looking at the 0.1.4 code I don't think I have added it for javascript yet, it is probably worth adding an issue if there isn't one so I don't forget.
I am working on documenting guideme at the moment, then I will go back to adding features and testing the 0.1.4 code.

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Sun Jun 07, 2015 11:37 am
by meson1
philo wrote:
meson1 wrote:Philo

Your examples so far show how to define a timer node in XML. But how do I create a timer node in Javascript? I looked in your documentation in your wiki on GitHub, but I couldn't find it there.

Is it as simple as using setTimeout? Or do I need to be calling a special function or something?

Thanks
From what I remember for 0.1.3 I only added it to the xml.
Looking at the 0.1.4 code I don't think I have added it for javascript yet, it is probably worth adding an issue if there isn't one so I don't forget.
I am working on documenting guideme at the moment, then I will go back to adding features and testing the 0.1.4 code.
Cheers. Will do.

Re: New standalone download

Posted: Wed Jun 10, 2015 3:25 am
by Trusfrated
philo wrote:New standalone download program to try
https://mega.co.nz/#!gcZWzYha!f_rKOiuTG ... 8BKfxVtWko

Application preferences let you set the directory where it will write the tease.

File load will load Milovana in the browser window.

You can then do right click and copy shortcut to get the download url.

Paste it into the text field and click the button it will download the tease.

Downloaded teases should work in teaseme or guideme (I have only tested in guideme)

This is currently 64bit windows only (making it run 32bit just needs 1 file replaced so post here if you want a 32bit version)

Double clicking on the main jar file (download.jar) should run it.
Any chance of getting an updated version of your tease downloader, Philo? Similar to TeaseMe, it doesn't function correctly since the recent Milovana site changes. :weep:

Re: New standalone download

Posted: Wed Jun 10, 2015 9:32 pm
by philo
Trusfrated wrote: Any chance of getting an updated version of your tease downloader, Philo? Similar to TeaseMe, it doesn't function correctly since the recent Milovana site changes. :weep:
Nope no chance.
Oh all right
https://mega.co.nz/#!RABnDDjT!IGWoyc22o ... SdAYCMuUy0
This is just the download.jar, you need to over write the your current one with this

Re: New standalone download

Posted: Thu Jun 11, 2015 4:23 am
by Trusfrated
philo wrote:
Trusfrated wrote: Any chance of getting an updated version of your tease downloader, Philo? Similar to TeaseMe, it doesn't function correctly since the recent Milovana site changes. :weep:
Nope no chance.
Oh all right
https://mega.co.nz/#!RABnDDjT!IGWoyc22o ... SdAYCMuUy0
This is just the download.jar, you need to over write the your current one with this
Thanks, Philo!

Can you or anyone else verify this update is working? I replaced the .jar file as instructed. It will load the web page appropriately, and I can paste the link. But when I hit the "Save" button it seems to hang. The status "message" does change to "start" but the only thing that happens is my processor starts working very hard.

Re: New standalone download

Posted: Thu Jun 11, 2015 6:24 am
by philo
Trusfrated wrote:
philo wrote:
Trusfrated wrote: Any chance of getting an updated version of your tease downloader, Philo? Similar to TeaseMe, it doesn't function correctly since the recent Milovana site changes. :weep:
Nope no chance.
Oh all right
https://mega.co.nz/#!RABnDDjT!IGWoyc22o ... SdAYCMuUy0
This is just the download.jar, you need to over write the your current one with this
Thanks, Philo!

Can you or anyone else verify this update is working? I replaced the .jar file as instructed. It will load the web page appropriately, and I can paste the link. But when I hit the "Save" button it seems to hang. The status "message" does change to "start" but the only thing that happens is my processor starts working very hard.
Hm I tested the compiled version and it worked for me.
which tease did you down load.
I am away for the weekend so will probably not be able to look at this until next week now.

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Thu Jun 11, 2015 8:00 am
by Trusfrated
I tried it several times with both flash and regular teases. For example, Short Warm Up Tease (https://milovana.com/webteases/showflash.php?id=29817) and Chaste Life - The Beginning (https://milovana.com/webteases/showtease.php?id=30026).

I'm not sure if there is anything helpful in the log, but here is an example:
Spoiler: show
2015-06-10 23:04:13,952 ERROR MainShell - shellCloseListen
java.lang.NullPointerException
at org.milo.download.MainShell$shellCloseListen.shellClosed(MainShell.java:178)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Decorations.closeWidget(Unknown Source)
at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Unknown Source)
at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Decorations.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Shell.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(Unknown Source)
at org.eclipse.swt.widgets.Shell.callWindowProc(Unknown Source)
at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Decorations.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Shell.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(Unknown Source)
at org.eclipse.swt.widgets.Shell.callWindowProc(Unknown Source)
at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Decorations.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Shell.windowProc(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.milo.download.App.main(App.java:39)
After a few minutes of no activity, I would close the program. I would also need to go into Task Manager and stop the javaw.exe process.

Enjoy your weekend and don't worry about this; it'll be here when you come back. :wave:

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Fri Jun 12, 2015 6:44 pm
by guardianx
Testing out this new XML file feature:
https://github.com/philormand/TeaseMeV2/wiki/XML-files

The example doesn't show how to retrieve node attributes. Does it support attributes and if so, how do we read them?

For example, how would I retrieve the the model's name attribute here?

Code: Select all

 <models>    <model name="Sophia"/>    <model name="Emily"/></models> 

GuideMe Scripting Engine

Posted: Sat Jun 13, 2015 5:46 pm
by PlayfulGuy
Hi gang.

I just posted a thread about my new GuideMe Scripting Engine. This was inspired by desertfox's post a few weeks ago.

Check out the thread, download it, play around with it, and let me know what you think.

PG

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Wed Jun 17, 2015 6:11 pm
by philo
guardianx wrote:Testing out this new XML file feature:
https://github.com/philormand/TeaseMeV2/wiki/XML-files

The example doesn't show how to retrieve node attributes. Does it support attributes and if so, how do we read them?

For example, how would I retrieve the the model's name attribute here?

Code: Select all

 <models>    <model name="Sophia"/>    <model name="Emily"/></models> 
It is using the standard xml handling within javascript
so if the data is in an attribute rather than a child node it would be model.@name rather than model.name

Try searching for E4X and javascript (and possibly rhino) for more info on what it can do

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Wed Jun 17, 2015 7:04 pm
by philo
Trusfrated wrote:I tried it several times with both flash and regular teases. For example, Short Warm Up Tease (https://milovana.com/webteases/showflash.php?id=29817) and Chaste Life - The Beginning (https://milovana.com/webteases/showtease.php?id=30026).

After a few minutes of no activity, I would close the program. I would also need to go into Task Manager and stop the javaw.exe process.

Enjoy your weekend and don't worry about this; it'll be here when you come back. :wave:
Hmm it works fine for me both as a compiled and uncompiled
(I fixed the error message but that was only where it was saving the settings on exit so shouldn't impact downloading)

This is the full download
Try that to see if it works
https://mega.co.nz/#!gR5y3ahT!1iKMfXUjz ... Oszta_xAPw

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Wed Jun 17, 2015 8:46 pm
by Trusfrated
Thanks, Philo!

Not sure what the problem was, but starting from scratch with the full download took care of it. :-D

Re: GuideMe (TeaseMe v2.0): BETA Thread

Posted: Fri Jun 19, 2015 12:23 pm
by guardianx
philo wrote: It is using the standard xml handling within javascript
so if the data is in an attribute rather than a child node it would be model.@name rather than model.name

Try searching for E4X and javascript (and possibly rhino) for more info on what it can do
Thanks. This opens up a lot of potential.

One suggestion, can GuideMe be configured to be more verbose with the error messages? While the logs do have their purpose, when developing, it gets tedious having to open up and dig through the logs for any and all errors.

It would be a lot more convenient if we get a popup error message when one occurs instead of a black screen.