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

plotscr.hsd

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Bagne
ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA




Joined: 19 Feb 2003
Posts: 518
Location: Halifax

PostPosted: Sun Nov 22, 2009 8:32 pm    Post subject: plotscr.hsd Reply with quote

Um - my plotscr.hsd doesn't like to compile.

It bonks out at line 1002, saying

Quote:

0, script
Expected script trigger name, but found declaration script


I didn't edit the file evar... what gives?
:-(

Also:
After some plotscripting, I've inadvertantly stumbled across a new kind of maze. I've never seen this kind before (although I'm sure it's been used in an old-school game somewhere before), and I'm including it in my game.
_________________
Working on rain and cloud formation
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Sun Nov 22, 2009 8:38 pm    Post subject: Reply with quote

Could you possibly be using the xocolatl plotscr.hsd together with the nightly wip hspeak? (or vice-versa?)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bagne
ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA




Joined: 19 Feb 2003
Posts: 518
Location: Halifax

PostPosted: Sun Nov 22, 2009 9:10 pm    Post subject: Reply with quote

I used the install wizard to install the nightly.

If plotscr.hsd comes with the installer, then it should be the newest version.

Is it possible that my script defines some sort of constant with the same variable name as something in plotscr.hsd ... and ... I donno, that might discombobulate something ... ?
_________________
Working on rain and cloud formation
Back to top
View user's profile Send private message
Bagne
ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA




Joined: 19 Feb 2003
Posts: 518
Location: Halifax

PostPosted: Mon Nov 23, 2009 4:42 am    Post subject: Reply with quote

Agh.

Duurrrrrr.

Ok, I figured it out. Stupid question. Stupid answer.
Problem solved.
_________________
Working on rain and cloud formation
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Mon Nov 23, 2009 3:52 pm    Post subject: Reply with quote

Bagne wrote:
Agh.

Duurrrrrr.

Ok, I figured it out. Stupid question. Stupid answer.
Problem solved.


What was it?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bagne
ALL YOUR NUDIBRANCH ARE BELONG TO GASTROPODA




Joined: 19 Feb 2003
Posts: 518
Location: Halifax

PostPosted: Mon Nov 23, 2009 4:28 pm    Post subject: Reply with quote

I got confused, and as a result, I was trying to include plotscr.hsd twice.
:-S
So, yes, the problem was that plotscr.hsd was defining variables using names that were already used ... when I included it the first time.

Hey - can you split your .hss file into multiple files?
My scripts are growing and multiplying like bunnies - and I need to keep them organized.

Do I just write another file and say
Code:
include, subroutineFilename.hss

?

Would I need to re-include/re-define stuff in my subroutine files?
_________________
Working on rain and cloud formation
Back to top
View user's profile Send private message
Guest







PostPosted: Mon Nov 23, 2009 6:23 pm    Post subject: Reply with quote

Yes, you just write a new file and include it with an "include" command in the original. Do not 're-include' or 're-define' anything.
Back to top
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