Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Stack overflow  (Read 4248 times)

0 Members and 1 Guest are viewing this topic.

Marek

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
  • I'm a llama!
    • View Profile
Stack overflow
« on: June 02, 2004, 10:20:26 PM »

Holy shit, what does that mean?  :o

" 23:17: Fatal: Stack underflow "

The game in fact crashes. It seems to come down to the if clause in this file:

Quote
////////////////////////////////////////////////////////////////////////////////
on "LeftClick"
{
  actor.GoToObject(this);
}

on "bonesliver"
{

  if (GuardDistracted = false) {
  Game.Interactive = false;

  snark.Talk("Hmmm, I'll try and prod this into the keyhole");
  snark.GoTo(398, 362);
  snark.TurnTo(DI_UP);
  snark.Talk("(squeeky noises)");
  Sleep(200);
  snark.Talk("(more squeeky noises)");
  Sleep(400);

  var Guard = Scene.GetNode("guard");
  Guard.PlayAnim("scenes\prisoncell\sprites\door1guard_appear.sprite");
  Guard.SetSprite("scenes\prisoncell\sprites\door1guard_there.sprite");

  Guard.Talk("Feeble prisoner! What are you doing?");
  snark.Talk("Err... nothing?");
  Guard.Talk("I heard something.");
  snark.Talk("It must have been the wind.");
  Guard.Talk("Silence, prisoner! Don't even think of escape!");

  Guard.PlayAnim("scenes\prisoncell\sprites\door1guard_disappear.sprite");
  Guard.SetSprite("scenes\prisoncell\sprites\door1guard_dummy.sprite");

  Game.Interactive = true;
  } else {
 
  snark.Talk("Quickly now, while the guard is distracted...");
  snark.GoTo(398, 362);
  snark.TurnTo(DI_UP);
  snark.Talk("(squeeky noises)");
  Sleep(200);
  snark.Talk("(more squeeky noises)");
  Sleep(400);
  snark.Talk("YES!");

  Narrator.DisplayText("Puzzle completed!", 2000);
  Narrator.DisplayText("In the full game, the door will now open.", 4000);

  }
}

Any ideas?
Sorry if I seem insane, I'm under a deadline here and I didn't expect WME to crash after my last changes  ;D
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Stack overflow
« Reply #1 on: June 03, 2004, 06:12:27 AM »

It should be
« Last Edit: June 03, 2004, 06:14:09 AM by Mnemonic »
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Marek

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 61
  • I'm a llama!
    • View Profile
Re: Stack overflow
« Reply #2 on: June 03, 2004, 07:10:18 AM »

Win!

I'm off to demo the game at school now heh. Cheers.
Logged

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re: Stack overflow
« Reply #3 on: June 04, 2004, 08:10:09 AM »

And, was the teacher impressed?  ;)

Btw, what kind of school is this?

McCoy

  • The cocido eater
  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 365
  • Spurrrrrrring
    • View Profile
    • Spur Games
Re: Stack overflow
« Reply #4 on: June 04, 2004, 01:23:21 PM »

Hehe, last year (phew... so much time ago... yep guys, maybe I'll go back to work this summer now that I'll (FINALLY) have time), I showed the Fred PreAlpha to my computer teacher and he was amazed :D. So I'm sure his will be too ;). Dunno why, but even games with crappy graphics looks cool and quite professional in WME, it's like 3DStudio, with 3 little thingies you can make an awesome (simple) scene, and you think you're god after that... until you try to do something more complex, and you notice you're crap :P (at least me, never went further from the "asteroid and earth with sun between" scene, never had enough talent for 3D Software... welll...  :'()
« Last Edit: June 04, 2004, 01:25:40 PM by McCoy »
Logged

Click here to sign my sig!

Nihil

  • Supporter
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 528
  • Fear me! I'm evil!
    • View Profile
    • Order of Dagon
Re: Stack overflow
« Reply #5 on: June 04, 2004, 09:32:01 PM »

Hehe, me too, but thats not a problem at all, I compense my lack of talent with my even bigger lack of reality-sense ... so I'm still the god of everything
 

Page created in 0.108 seconds with 24 queries.