ski23 wrote: Sat Jul 14, 2018 3:24 am
I dont fully understand your issues clearly. Ill change those file places with the slashes. I’m not sure why its an issue that ifs creates images\loved. can you clarify on this. Also on the second point, can you provide more info. If I can get detailed descriptions of what isnt working for you, I can get it fixed.
Thanks
I have installed a clean version of Mischevious 1.0.7 on TeaseAI-JAVA 1.0.13. Environment: macOS 10.13.6 (17G65); Java version "10.0.2" 2018-07-17; Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13); Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
I have put your tagged folder of Caprice domme into images and made a link to it in Settings/Contact.
I also put your Liked/Loved/Normal folders into /Images and some Tumblr files into /Images/Sytem/Tumblr (around 70 files).
Started the programme with Mischevious personality. Domme images were shown, chat was going on, but errors were poping up: " Personality Error: File does not exist /Home/TeaseAI\Structure\Modules\LongModules\", "Personality Error: File is not a directory /Home/TeaseAI\Structure\Modules\LongModules\.", "PM CHAT: Info: files is null. likely a problem!", "PM SEVERE: Latest loaded file was '/Home/TeaseAI/Personalities/Mischevious/Structure/Modules/ModuleSelector.js' and error was found in line 33".
Or another one: "Personality Error: File does not exist /Home/TeaseAI\images\system\tumblr\
04:39:58 AM CHAT: Personality Error: File is not a directory /Home/TeaseAI\images\system\tumblr\
04:39:58 AM SEVERE: Latest loaded file was '/Home/TeaseAI/Personalities/Mischevious/Structure/Start/CheckOutThisPictureIFound.js' and error was found in line 203
Error: TypeError: Cannot get property "length" of null in <eval> at line number 203.
Path is correct, except of separators "\" "/".
Variables: Variables like %grin% are displayed correctly, but instead of %ShowTeaseImage% I get only printed in a chat: !ShowTeaseImage%!. Similar goes with "!Surrender!", "!DomEyes!", "Not allowed to !Stroke! it", "Only allowed to !Ache! for me" (shows only variable names in a chat, not content).
picmode: Chat is also not responding to picmode command.
Step 2 replacing "\\" with "/"
Then I have replaced everywhere "\\" with "/" (99 matches in 10 files)
Situation improved. Do not get "Personality errors" anymore.
Started showing tumblr teasing pictures.
In general seems like working much better.
But sometimes it runs a chat without showing domme pictures. Sometimes it is stuck on some one domme picture and does not change it for a very long. Can't tell you when it happens, noticed it in one long module IWoulcCallThatABargain.js. Looked at code. Most likely the reason is that I have not set up categories it tries to show. It would be good to have some "sample" media file, with selected 2-3 pictures for each category in future releases, just to make easier for newcomers to setup.
Moving of files: CheckOutThisPictureIFound.js, in a chat answering "no" on the picture, enables moving, which seems do not happen because the system hangs. Debug Info: Moving file/images/system/tumblr/tumblr_meukszebQR1rroxb4o1_500.gif . Errors in log: WARNING: No tag file found in folder /Home/TeaseAI/images/system/tumblr ; SEVERE: Invalid Tags File tumblr\ImageTags.txt ;
Tag files created in the wrong folders: seems that previous error with invalid tag file arises because script creates tag file in the wrong folder. Instead of creating ImageTags.txt inside of images/system/tumblr/ folder, it creates a "tumblr\ImageTags.txt" file in images/system/ folder.
picmode: Chat started responding to picmode command. Shows pictures, allows to vote on them. But it seems that it does not perform till the end with real files. The number of images in liked, normal, loved, tumblr folders remained the same, although i went through somewhere 20 files voting with different options, including 1(hate) which is supossed to delete file.
Step 3 Other suggestions:
Do not know if it creates problems on macOS/Linux, but I have noticed that you use freely names of folders not looking at case (i.e. /system/tumblr instead of /System/Tumblr). Seems that it does not create quickly identifieble problems as images are shown, so macOS recognize it, but maybe there is some deeper catch. Also on Linux I think this case-insentive approach will not work.
Debugging: I think for debugging it is good to have DMessage in the beginning of each module file with the name of the file, it is easier to follow what is running in what sequence:
DMessage("Running AreYouHappyToSeeMe.js");
DMessage("Running BehavingYourself.js");
DMessage("Running CheckOutThisPictureIFound.js");
DMessage("Running IGetTooExcited.js");
DMessage("Running IWasJustThinkingAboutYou.js");
Hope that helps :)