Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Script dies right in the center

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Sat Aug 26, 2006 2:04 pm    Post subject: Script dies right in the center Reply with quote

This script should be a simple "talk to the npc, then lead to a second script" type of code:

Code:
script, see taju, begin
suspend player
stop song
walk hero (me, up, 5)
wait for hero (me)
set npc direction (32,right)
wait (3)
set npc direction (32, down)
wait (5)
show text box (165)
wait for text box
play song (10)
fade screen out (63,63,63)
wait (3)
fade screen in

###DIES HERE

resume player
set variable (taju, 500)
destroy npc (32)
taju battle sequence
end


However, the game just freezes itself at the noted spot in the script. I try to press the close button (seeing as it works now), but it's not responding. As a result, I've got to ctrl+alt+delete it away, and I notice that my CPU usage is at 100%.

Is there a problem with this script, or game.exe?


Last edited by TwinHamster on Sun Aug 27, 2006 4:59 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail AIM Address
Onlyoneinall
Bug finder




Joined: 16 Jul 2005
Posts: 746

PostPosted: Sat Aug 26, 2006 7:50 pm    Post subject: Reply with quote

My game too has a strange issue like that... except now the script ends just fine after being prompted to save, but loading the game will cause you to be frozen with only the debug keys working.
_________________
http://www.castleparadox.com/gamelist-display.php?game=750 Bloodlust Demo 1.00

Back to top
View user's profile Send private message Send e-mail
Leonhart




Joined: 25 Feb 2004
Posts: 383
Location: Philippines

PostPosted: Sun Aug 27, 2006 4:02 am    Post subject: Reply with quote

Try putting the resume player at at the end of the script, before end. But I doubt it would solve anything.
_________________
The man who smiles when things go wrong has thought of someone to blame it on.
- Robert Bloch
Back to top
View user's profile Send private message
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Sun Aug 27, 2006 4:46 am    Post subject: Reply with quote

With this, it didn't even let me use the debug keys, everything just froze. However, I copied the exact same script to a new name and it works fine now. I'm still not sure about what went wrong though.
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group