Mirage Source http://miragesource.net/forums/ |
|
Adding SadScript Support http://miragesource.net/forums/viewtopic.php?f=210&t=29 |
Page 4 of 5 |
Author: | original [ Wed Mar 19, 2008 10:11 pm ] |
Post subject: | Re: Adding SadScript Support |
Whatz exacstly dos that mean? |
Author: | Coke [ Wed Mar 19, 2008 10:29 pm ] |
Post subject: | Re: Adding SadScript Support |
original wrote: Whatz exacstly dos that mean? SRSLY... xD Stop typing with your elbows! |
Author: | Rezeyu [ Thu Mar 20, 2008 12:06 am ] |
Post subject: | Re: Adding SadScript Support |
It means declare it somewhere in your code that happens to not be a mother fucking sub or function! |
Author: | original [ Thu Mar 20, 2008 9:21 pm ] |
Post subject: | Re: Adding SadScript Support |
Okay, Thanks Rezeyu. |
Author: | James [ Fri Mar 21, 2008 7:32 pm ] |
Post subject: | Re: Adding SadScript Support |
Did you make sure to use GSDs clsSadScript? If so the top should look like this: Code: Option Explicit
Private Type define sVari As String sValue As String End Type Public WithEvents SControl As ScriptControl Private sAllCode() As String Private sSubs() As String Private sFunctions() As String Public p_colSubs As Collection Public p_colFuncs As Collection Public Path As String Private m_oCrypt As clsRC4 |
Author: | original [ Fri Mar 21, 2008 8:46 pm ] |
Post subject: | Re: Adding SadScript Support |
James wrote: Did you make sure to use GSDs clsSadScript? If so the top should look like this: Code: Option Explicit Private Type define sVari As String sValue As String End Type Public WithEvents SControl As ScriptControl Private sAllCode() As String Private sSubs() As String Private sFunctions() As String Public p_colSubs As Collection Public p_colFuncs As Collection Public Path As String Private m_oCrypt As clsRC4 Thanks for the help Magnus, but i already found the problem and fixed it. (You see everyone! I can be nice!) |
Author: | Matt [ Fri Mar 21, 2008 9:09 pm ] |
Post subject: | Re: Adding SadScript Support |
original wrote: (You see everyone! I can be nice!) Yeah, but then you make comments like that. /sigh People will never learn. |
Author: | Joachim [ Thu Mar 27, 2008 1:43 am ] |
Post subject: | Re: Adding SadScript Support |
I'm getting a compile error, it highlights WithEvents SControl As ScriptControl. |
Author: | Labmonkey [ Thu Apr 24, 2008 2:44 pm ] |
Post subject: | Re: Adding SadScript Support |
Just another option for people. I believe you can change Code: '/////////////////////////////\/\/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Private Sub Class_Initialize() '/////////////////////////////\/\/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Set SControl = New ScriptControl SControl.Language = "vbScript" End Sub to Code: '/////////////////////////////\/\/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Private Sub Class_Initialize() '/////////////////////////////\/\/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Set SControl = New ScriptControl SControl.Language = "jScript" End Sub to get a different scripting language |
Author: | model51924 [ Fri Apr 03, 2009 10:07 pm ] |
Post subject: | Re: Adding SadScript Support |
Sorry, I know - old topic. But I've got a small problem. When I replace clsSadscript with what's instructed in the last step I get an error on Code: Public WithEvents SControl As ScriptControl Why? I can't figure it out. EDIT: I've fixed that (turns out my script.dll was corrupted) but now when I try to compile I get Code: Runtime Error '76' Path not Found and Code: Open sfile For Input As iFileNum 'Open file gets highlighted. My guess was that a variable wasn't defined somewhere but I can't see where. I'm using MS4 by the way. |
Author: | GIAKEN [ Sun Apr 05, 2009 10:03 pm ] |
Post subject: | Re: Adding SadScript Support |
Maybe the path isn't found? What's sfile equal to? |
Author: | Nean [ Sun Apr 05, 2009 10:06 pm ] |
Post subject: | Re: Adding SadScript Support |
I'm pretty sure I used to get this when I didn't have a DLL registered. |
Page 4 of 5 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |