You are not logged in.
Pages: 1
Hello,
Since I have been coding SA I have used Audiostream. for all my audio needs, I have upgraded from SB 3.0.4 to 3.0.6, and when I open my scripts I used to be working on in 3.0.4, I can't compile them, and the Audiostream. is black liking on the normale text.
Has this function been replaced with something else? I can't find anything it the change log, ore I must be blind :$.
Thank you,
Bob
Offline
What are you want to saying that I couldn't understand? What are you talking about? Did you want to say about opening custom audio files?
Last edited by Bigbossbro08 (04-07-2013 07:35)
Offline
@KnightBob - All the scripting classes are defined in the file classes.db located in the SB\data\sa folder. The Audiostream class was made by Alien as a part of the CLEO 4 library. It was an unofficial update, so the original classes.db made by me does not contain it, thus making your script uncompilable.
For the backward compatibility with CLEO 4, I will include the Alien's classes in the Sanny Builder's next release coming tomorrow.
Offline
Thank you Seemann
So it was only working because I installed the SB files which came with CLEO 4?
Last edited by KnightBob (04-07-2013 07:55)
Offline
@KnightBob - yes, the changed classes.db was among those files.
Offline
Thank you for the information Seemann!! Looking forward to the update
Offline
The Audiostream. function works now thanks Seemann. When I compile I get this error now:
Unkown Directive Object.Exists(0@). Had this also been replaced with something? Object in yellow/amber color. And Exists is black.
Offline
@KnightBob - Object.Exists is not present in the classes.db of Sanny Builder 3.08. Everyone can modify this file adding new commands, or classes. I can't control it. Say, one can add command Object.MyCustomCheck for some opcode. And only this person is able to compile a code with this command in.
You should replace Object.Exists with opcode
03CA: object 0@ exists
Offline
Thank you
Is there a guide on how to add such commands ore classes?
Bob
Offline
Pages: 1