move_to_new_town problem

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: move_to_new_town problem
Law Bringer
Member # 4153
Profile Homepage #0
Okay, I'm trying to use move_to_new_town at the end of a cutscene, and everything else in the particular state works. However, once it reaches...

move_to_new_town(4,12,22);

it stops working (i.e.: nothing happens). I'm using Mac OS X, with version 1.1.2 of BoA. Anybody know of a solution/workaround?

--------------------
Gamble with Gaea, and she eats your dice.

I hate undead. I really, really, really, really hate undead. With a passion.
Posts: 4130 | Registered: Friday, March 26 2004 08:00
Off With Their Heads
Member # 4045
Profile Homepage #1
You can only call move_to_new_town from one of those blue special rectangles. (That is, not from a creature script, terrain script, town START_STATE, town INIT_STATE, item, etc.) This sounds like the most likely culprit.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Law Bringer
Member # 4153
Profile Homepage #2
Groan... I was afraid of that. The call was in a state reached from START_STATE in a town. This will mean another plot alteration...

At least I'm finally fixing my scenario's ending. It'll be interesting to re-release it and see what people think of it... (and I finally fixed the dragon's name. Kalthras can't be warped by you people)

--------------------
Gamble with Gaea, and she eats your dice.

I hate undead. I really, really, really, really hate undead. With a passion.
Posts: 4130 | Registered: Friday, March 26 2004 08:00
Off With Their Heads
Member # 4045
Profile Homepage #3
quote:
Originally written by Ephesos:

Kalthras can't be warped by you people
Except it sounds exactly like Galthrax....

[ Friday, June 10, 2005 18:42: Message edited by: Kelandon ]

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Law Bringer
Member # 4153
Profile Homepage #4
Groan... good thing I wasn't ready to send it in yet.

Note: Really didn't intend the similarity, it just leapt to mind as something close to the old name.

[ Friday, June 10, 2005 19:00: Message edited by: Ephesos ]

--------------------
Gamble with Gaea, and she eats your dice.

I hate undead. I really, really, really, really hate undead. With a passion.
Posts: 4130 | Registered: Friday, March 26 2004 08:00
BANNED
Member # 4
Profile Homepage #5
Why not just find the etymology of a devious-sounding word and make a name out of it?
For instance, Ubilus. Can't be corrupted, and it doesn't sound TOO bad.

--------------------
*
Posts: 6936 | Registered: Tuesday, September 18 2001 07:00
...b10010b...
Member # 869
Profile Homepage #6
Oh, for heaven's sake, just call it Joey.

--------------------
The Empire Always Loses: This Time For Sure!
Posts: 9973 | Registered: Saturday, March 30 2002 08:00
Agent
Member # 4506
Profile Homepage #7
Can't you use a
set_state_continue(STATE WITH MOVE TOWN CALL); ?

I think that's acceptable under INIT_STATE and Cutscenes.

- Archmagi Micael

--------------------
"You dare Trifle with Avernum?" ~ Erika the Archmage
--------------------
My Scenarios:
Undead Valley : A small Undead problem, what could possibly go wrong?
--------------------
Richard Black - PROOF of his existance (the Infernal one's website).
--------------------
MY FORUM! Randomosity at it's highest! :)
Posts: 1370 | Registered: Thursday, June 10 2004 07:00
Off With Their Heads
Member # 4045
Profile Homepage #8
quote:
Originally written by Archmagi Imban:

Can't you use a
set_state_continue(STATE WITH MOVE TOWN CALL); ?

I think that's acceptable under INIT_STATE and Cutscenes.

No. Even if you use set_state_continue or run_town_script or run_scenario_script to get out of an INIT_STATE, START_STATE, creature script, terrain script, or whatever, BoA still keeps track of where the sequence started, and if it started from anything but a blue rectange, it still dies the moment you use move_to_new_town.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Law Bringer
Member # 4153
Profile Homepage #9
Yep... tried it, and it didn't work unless I put it in the blue rectangle. In any case, the ending works better like that.

Kharprev. Doesn't sound like much of anything. Just opened to K in the disctionary and modified something.

Once I (try to) fix the bugs that keep appearing for Windows users, I should be able to release 2.0 of this scenario. And I've managed to avoid a few stupid things that I couldn't find alternatives to with the contest deadline on.

--------------------
Gamble with Gaea, and she eats your dice.

I hate undead. I really, really, really, really hate undead. With a passion.
Posts: 4130 | Registered: Friday, March 26 2004 08:00