Re: GuideMe (TeaseMe v2.0): BETA Thread
Posted: Wed Nov 16, 2016 7:47 pm
Is there a reupload (preferably on mega) for GottaEdgeEmAll ? That would be awesome.
... for the explorer at heart!
https://milovana.com/forum/
Can you give examples of teases that don't work?lola88e wrote:Hi.. i finally gave the new downloader a try with mixed results, some teases downloaded and some not. . Mostly flash teases. .also missing the sounds in teases..
Much Thanks
Playful, just ran into this myself. Here's the reason why, length in the javascript string object is a property, not a method. Which means you simply should just leave out the () parenthesis:PlayfulGuy wrote:@Philo or anyone who might know:
This is driving me a little bananas.
PGCode: Select all
Cannot call property length in object The String Contents. It is not a function, it is "number".
Code: Select all
//This works:
var xxx = "abc";
var i = xxx.length;
//this doesn't:
var i = xxx.length();
In TeaseMe extract xml file and folder in to the teases folder :)denialslave2010 wrote:I have a stupid question. I need to know,where,to,extract the teases to use them. Like specific location. I thought just extracting them to the main file would work, but it doesnt. Thank you in advance.
https://milovana.com/webteases/showflash.php?id=33487philo wrote:Can you give examples of teases that don't work?lola88e wrote:Hi.. i finally gave the new downloader a try with mixed results, some teases downloaded and some not. . Mostly flash teases. .also missing the sounds in teases..
Much Thanks
cd_228 wrote:PlayfulGuy wrote:
I'm trying to modify it to be a little more general like this:
Code: Select all
function parsePageArgs(args) { var text; if ( args !== undefined ) text = args; else text = scriptVars.get("pageArgs"); // parse the text and return ..... PG[/quote] Hmm. I'm not by any means a javascript guru:P. But I'm pretty sure you will get an error by typing if ( args !== undefined ) text = args; it should be: if ( args != undefined ) text = args;[/quote] Actually, in javascript ==, ===, != and !== are all valid, and are in fact different. == and != use less strict type enforcement. For example, saying if ( value == false ) will return true if value is 0, a null string, or the javascript constant false. if ( value === false ) will return true only if value is the javascript constant false. != and !== are the "not equal" equivalents. PG
Thanks guardianx. I knew that's what was going on, but I was puzzled because what was supposed to fix it didn't work. Looking at it again today I think I was having a senior moment and was applying the fix in the wrong case. The work around I used is good enough for now. Maybe I'll revisit it later with a clearer head.guardianx wrote:Playful, just ran into this myself. Here's the reason why, length in the javascript string object is a property, not a method. Which means you simply should just leave out the () parenthesis:PlayfulGuy wrote:@Philo or anyone who might know:
This is driving me a little bananas.
PGCode: Select all
Cannot call property length in object The String Contents. It is not a function, it is "number".
Code: Select all
//This works: var xxx = "abc"; var i = xxx.length; //this doesn't: var i = xxx.length();
Code: Select all
function fGetFilesArray(vFolder) {
var vFilesList = comonFunctions.ListFiles(vFolder);
var vFilesArray = [];
if (vFilesList.length() == 0) {
// Folder contains NO Files
vFilesArray = [];
} else {
if (vFilesList.search(",") == -1) {
// Folder contains one subfolder
vFilesArray = [vFilesList];
} else {
// Folder contains multiple subfolders
vFilesArray = vFilesList.split(",");
}
}
return vFilesArray;
}Code: Select all
function fGetSubFolderArray(vFolder) {
var vSubFolderList = comonFunctions.ListSubFolders(vFolder);
var vSubFolderArray = [];
if (vSubFolderList.length() == 3) {
// Folder contains NO Subfolder
vSubFolderArray = [];
} else {
vSubFolderList = vSubFolderList.substring(2, vSubFolderList.length()-2);
if (vSubFolderList.search("\", \"") == -1) {
// Folder contains one subfolder
vSubFolderArray = [vSubFolderList];
} else {
// Folder contains multiple subfolders
vSubFolderArray = vSubFolderList.split("\", \"");
}
}
return vSubFolderArray;
}Yes still around.PlayfulGuy wrote:Hi Philo,
Hope you're still around and doing okay. Haven't seen you chime in here for a while.
I've encountered a small issue with comonFunctions.GetRandomFile(). If the folder contains subfolders GetRandomFile may return a folder name as well as a file name. I think it should only return regular files.
I'm trying to load a random image file using "*" as the wildcard so images can be jpg, or png, or whatever.
I'm forced to call GetRandomFile, check the result to see if it's a folder, and keep trying again until I get a file.
Thanks,
PG
It has been written so it can run on a mac, however putting together a release and testing it requires a mac, which I don't have.Edge88 wrote:Hey :)
Is there a version for MAC too? :)
philo,philo wrote:It has been written so it can run on a mac, however putting together a release and testing it requires a mac, which I don't have.Edge88 wrote:Hey :)
Is there a version for MAC too? :)
(and probably never will)
There have been a few people that have managed to get older versions working.
There may be some minor tweaks needed to GuideMe as the directory separator in windows is \ and in Mac it is /. I have tried to write code that should use the right one. However some teases may have \ hardcoded in them.
Tech info on what needs doing is in the spoiler
- Spoiler: show
philo wrote:New version of the download program
There were a few teases that didn't download correctly the latest version is enhanced to process the nyx script that it was failing on
(downloaded teases will work in ether teaseme or guideme)
32bit version
https://mega.nz/#!1U4xABzC!q8dXdHsasGsB ... YPnAqRvvN8
64bit version
https://mega.nz/#!FYImCYSD!EC_OcsT7ExW8 ... S5DsspmXjM