de en es fr
Let the machine help
Light teasing, exhibition, BDSM, sissyfication, watersports... with sounds and pictures


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Errors generated from copied blocks.
PostPosted: Mon Apr 06, 2015 12:35 pm 
Offline
Regular
Hello... and... help!

I am trying to write a script for RPS (Rock-Paper-Scissors).

In an attempt to greet the user, by time of day (morning, afternoon, evening), I copied blocks from the unofficial "How to write scripts for SexScripts", section 7.5. Every time I "checked" the script, different error messages were generated, depending on which block was active. I even got errors after I had REM'd (//) both blocks.

Code:
1:17:40 AM Start parsing
Error org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script14283082603281512141102.groovy: 84: unexpected token: return @ line 84, column 3.
         return null;
     ^

1 error

1:17:40 AM End parsing - estimated median time : 0 min

Code:
1:17:54 AM Start parsing
Error org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script1428308274593542876861.groovy: 85: unexpected token: } @ line 85, column 2.
      }
    ^

1 error

1:17:55 AM End parsing - estimated median time : 0 min

Code:
1:19:56 AM Start parsing
Error org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script142830839665686570673.groovy: 85: unexpected token: } @ line 85, column 2.
      }
    ^

1 error

1:19:57 AM End parsing - estimated median time : 0 min

Code:
1:47:04 AM Start parsing
Error org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script1428310024765413585035.groovy: 86: unexpected token: return @ line 86, column 3.
         return null;
     ^

1 error

1:47:05 AM End parsing - estimated median time : 0 min

Code:
2:29:30 AM Start parsing
Error java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String(@ line 65)
2:29:31 AM End parsing - estimated median time : 0 min
2:31:01 AM Start parsing
Error org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script14283126616091148069057.groovy: 100: unexpected token: replacedByWait @ line 100, column 1.
   replacedByWait(10)
   ^

1 error

2:31:02 AM End parsing - estimated median time : 0 min

Code:
2:38:01 AM Start parsing
Error java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String(@ line 65)
2:38:02 AM End parsing - estimated median time : 0 min

Code:
2:40:05 AM Start parsing
Error groovy.lang.MissingMethodException: No signature of method: ss.FullScript_PRPS1.Date() is applicable for argument types: () values: []
Possible solutions: save(java.lang.String, java.lang.Object), wait(), any(), wait(long), use([Ljava.lang.Object;), each(groovy.lang.Closure)(@ line 64)
2:40:06 AM End parsing - estimated median time : 0 min


I also tried to set a different background color. It worked until the second show command had finished, then reverted to the pink background. The first show command, my "greeting", never displayed.

I did not set any image for this script, but the "White Queen" image remains, even after closing then restarting SS.

On another, somewhat relevant note: I tried the "ssScriptMaker" program. I could not make heads or tails out of it, so I tried my hand at "direct" programming. So far, the results have been... (shall we say?)... less than impressive.

If someone would be so kind, any help (and ongoing consultations) would be greatly appreciated.

I do have a bit of an idea as to what I want to include in this script, but that may take a while. Basically, I am trying to convert an old... I mean very old... BASIC program.

Many thanks, in advance,
Bruce


Top
 Profile Send private message 
 
 Re: Errors generated from copied blocks.
PostPosted: Mon Apr 06, 2015 12:48 pm 
Offline
Veteran
User avatar
I usually get that sort of thing when I have a missing "}" or ")" you want to attach the script and I will have a quick scan to see if I notice anything?

_________________
Liz

You can't take something off the Internet - it's like taking pee out of a pool.
PlayClan.com profile: Liz


Top
 Profile Send private message 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Maroon Fusion theme created by Oxydo
Software, theme modifications, phpBB modification by Doti 2010, 2015
This website uses session cookies only.