![]() |
|
Adding SadScript Support - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: Adding SadScript Support (/showthread.php?tid=21) |
- Braydok - 27-04-2007 Really? Oops, sorry about that. Yes, as Advocate said, I am making a game engine. - Da Undead - 29-04-2007 Got past that file not found error, now im having this error.. ![]() Code: ReDim Preserve sAllCode(UBound(sAllCode) - 1) 'Get rid of last array element (which is blank)Subscript out of range (RTE 9) - Da Undead - 29-04-2007 Fixed all my bugs but nothing in the main.txt is working ;(. Heres my main.txt ![]() Code: Sub JoinGame(index)- Braydok - 02-05-2007 Xero, have you finished with the source yet? Because I'd like to start adding more things to it... Re: Adding SadScript Support - jiros - 31-12-2007 NOOB INCOMING .............................. I can't find the modglobals :? And i really want to add sadscript
Re: Adding SadScript Support - Rian - 31-12-2007 What version of Mirage are you using? I'd say that most of the stuff you'd find in modGlobals would be in modTypes in an older version of mirage. Re: Adding SadScript Support - jiros - 01-01-2008 Sonire Wrote:What version of Mirage are you using? I'd say that most of the stuff you'd find in modGlobals would be in modTypes in an older version of mirage. Sorry forgot to mention- i'm using version 3.03. Re: Adding SadScript Support - Rian - 02-01-2008 Okay. When a tutorial says "modGlobals" you should think "modTypes" instead.
Re: Adding SadScript Support - jiros - 02-01-2008 Sonire Wrote:Okay. When a tutorial says "modGlobals" you should think "modTypes" instead. I'll keep that in mind, thanks
Re: Adding SadScript Support - original - 18-03-2008 When i try compiling, in clsSadScript, it highlights the following: Code: WithEvents SControl As ScriptControlRe: Adding SadScript Support - Coke - 19-03-2008 original Wrote:When i try compiling, in clsSadScript, it highlights the following: Replace it with: Code: WithEvents SControl As ScriptControl? xP Re: Adding SadScript Support - original - 19-03-2008 Fox Wrote:original Wrote:When i try compiling, in clsSadScript, it highlights the following: Now it says: Invalid attribute in Sub or Function, and highlights the same code. Re: Adding SadScript Support - original - 19-03-2008 I thought you guyz wer nice Re: Adding SadScript Support - Coke - 19-03-2008 Dave Wrote:We can't help you with that information, please try to fix it yourself. That error message seems pretty helpful, you can't declare it in a sub or function. Re: Adding SadScript Support - original - 19-03-2008 Whatz exacstly dos that mean? Re: Adding SadScript Support - Coke - 19-03-2008 original Wrote:Whatz exacstly dos that mean? SRSLY... xD Stop typing with your elbows! Re: Adding SadScript Support - Rezeyu - 20-03-2008 It means declare it somewhere in your code that happens to not be a mother fucking sub or function! Re: Adding SadScript Support - original - 20-03-2008 Okay, Thanks Rezeyu. Re: Adding SadScript Support - original - 21-03-2008 James Wrote:Did you make sure to use GSDs clsSadScript? If so the top should look like this: Thanks for the help Magnus, but i already found the problem and fixed it. (You see everyone! I can be nice!) Re: Adding SadScript Support - Matt - 21-03-2008 original Wrote:(You see everyone! I can be nice!) Yeah, but then you make comments like that. /sigh People will never learn. Re: Adding SadScript Support - Joachim - 27-03-2008 I'm getting a compile error, it highlights WithEvents SControl As ScriptControl. Re: Adding SadScript Support - Labmonkey - 24-04-2008 Just another option for people. I believe you can change Code: '/////////////////////////////\/\/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\to Code: '/////////////////////////////\/\/\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\to get a different scripting language Re: Adding SadScript Support - model51924 - 03-04-2009 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 ScriptControlWhy? 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 Foundand Code: Open sfile For Input As iFileNum 'Open filegets highlighted. My guess was that a variable wasn't defined somewhere but I can't see where. I'm using MS4 by the way. Re: Adding SadScript Support - GIAKEN - 05-04-2009 Maybe the path isn't found? What's sfile equal to? Re: Adding SadScript Support - Nean - 05-04-2009 I'm pretty sure I used to get this when I didn't have a DLL registered. |