Hi,
first thanks for this incredible update. Now there are even more cool features.
As I read that this could be the final 1.6 I tried it, but now I get some strange error messages in the wme.log:
22:41: Fatal: Invalid instruction -557797922 ('scenes\technologiker\scr\scene_init.script', line 43, IP:0x0)
22:44: Fatal: Stack underflow
22:44: Fatal: Invalid instruction -557797922 ('scenes\leereszene\scr\scene_init.script', line 27, IP:0x0)
Here are the two scripts, I don't know what could be the problem. I marked the lines that should be faulty.
scenes\technologiker\scr\scene_init.script:
#include "scripts\base.inc"
// here comes the stuff which initializes the scene
var WurmRechner=Scene.GetNode("WurmRechner");
var RgnWurmRechner=Scene.GetNode("RgnWurmRechner");
var WurmSeismo=Scene.GetNode("WurmSeismo");
var RgnWurmSeismo=Scene.GetNode("RgnWurmSeismo");
var Tasse=Scene.GetNode("Tasse");
var TasseSpr=Scene.GetNode("TasseSpr");
if(Techno_TasseGenommen) {
Tasse.Active=false;
TasseSpr.Active=false;
}
Scene.ScrollSpeedX=10;
Scene.ScrollPixelsX=3;
switch(Game.PrevScene)
{
case "WI_Rechts":
switch(Random(1, 2))
{
case 1:
RgnWurmRechner.Active=false;
WurmRechner.Active=false;
RgnWurmSeismo.Active=true;
WurmSeismo.Active=true;
break;
case 2:
RgnWurmRechner.Active=true;
WurmRechner.Active=true;
RgnWurmSeismo.Active=false;
WurmSeismo.Active=false;
break;
}
actor.SkipTo(100, 600);
actor.Direction = DI_RIGHT;
actor.Active = true;
break; <=- this is the line pointed out by wme.log
case "Blaupause":
actor.SkipTo(1290, 426);
actor.Direction = DI_UPRIGHT;
actor.Active = true;
Scene.SkipTo(actor);
break;
default:
switch(Random(1, 2))
{
case 1:
RgnWurmRechner.Active=false;
WurmRechner.Active=false;
RgnWurmSeismo.Active=true;
WurmSeismo.Active=true;
break;
case 2:
RgnWurmRechner.Active=true;
WurmRechner.Active=true;
RgnWurmSeismo.Active=false;
WurmSeismo.Active=false;
break;
}
actor.SkipTo(100, 600);
actor.Direction = DI_RIGHT;
actor.Active = true;
break;
}
scenes\leereszene\scr\scene_init.script:
#include "scripts\base.inc"
// here comes the stuff which initializes the scene
actor.SkipTo(1400, 400);
actor.Direction = DI_DOWN;
actor.Active = false;
var EntText=Scene.GetNode("Textfeld");
Game.Interactive=false;
switch(Game.PrevScene)
{
case "AmAnleger":
Game.PauseMusic();
EntText.SetSprite("scenes\LeereSzene\KurzeZeitSpaeter.Sprite");
Sleep(1500);
Game.ChangeScene("scenes\AmAnlegerMitBoot\AmAnlegerMitBoot.scene");
break;
case "VorDemApfelhaus":
Game.PlayMusicChannel(0,"Akt05.ogg", false);
EntText.SetSprite("scenes\LeereSzene\Akt05.Sprite");
while(Game.IsMusicPlaying()) {
Sleep(20);
}
Game.ChangeScene("scenes\VorDemApfelhaus\VorDemApfelhaus.scene");
break; <=- the fault line 27
case "Versammlung":
if(GameChapter==1) {
Game.PlayMusicChannel(0,"Akt1.ogg", false);
EntText.SetSprite("scenes\LeereSzene\Akt1.Sprite");
}
while(Game.IsMusicPlaying()) {
Sleep(20);
}
Game.ChangeScene("scenes\WI_Links\WI_Links.scene");
break;
case "Weisenbuero":
if(GameChapter==2) {
Game.PlayMusicChannel(0,"Akt1.ogg", false);
EntText.SetSprite("scenes\LeereSzene\Akt2.Sprite");
}
while(Game.IsMusicPlaying()) {
Sleep(20);
}
Game.ChangeScene("scenes\WI_Links\WI_Links.scene");
break;
}
Game.Interactive=true;
Thanks.
Mac