Old 13th October 2001, 21:37   #1
Junior Member
BlueMonkey00's Avatar
Join Date: Jan 2001
Posts: 19
<scripts></scripts> tags crash winamp

I have a script "test.maki" whose source looks like:

#include "../../lib/std.mi"



It compiles fine, and my test skin works fine, however when I add the following three lines to my XML file:

<script id="test" file="test.maki"/>

Winamp crashes when I load my skin with the following "Assertion Failed" error:

"Opcode 84 not implemented"
Expression: 0
File: C:\Projects\studio\Studio\Script\vcpu.cpp
Line: 1202

Is my test.m too simple or something? Thanks.

BlueMonkey00 is offline   Reply With Quote
Old 13th October 2001, 21:50   #2
Guru Meditation (Alumni)
Lucas's Avatar
Join Date: Aug 2001
Location: Quebec, Canada
Posts: 191
Re: <scripts></scripts> tags crash winamp

Originally posted by BlueMonkey00
Is my test.m too simple or something? Thanks.
Kinda too simple, studio engine doesn't like when you do empty functions or conditions. So if you want a REALLY simple script, all you have to put in your test.m is the first line:

#include "../../lib/std.mi"

or you could also fill the OnScriptLoaded() with something, like:

int test;
test = 0;

Lucas is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Skinning and Design > Modern Skins

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump