Script error

Error message

  • Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6595 of /var/www/pied-piper.ermarian.net/includes/common.inc).
  • 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: Script error
Apprentice
Member # 5311
Profile #0
"Pathwaysdata script failure: invalid identitfier s in line 739"
"Major error 9: there was an error when loading your custom data scripy. you wont be able to edit this senario until the problems in the script are corected."

what does this mean
Posts: 46 | Registered: Monday, December 20 2004 08:00
Off With Their Heads
Member # 4045
Profile Homepage #1
Post the script.

--------------------
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
Apprentice
Member # 5311
Profile #2
beginscendatascript;

begindefineterrain 297;
import = 293;
te_name = "Red Stairs";
te_which_sheet = 183;
te_which_icon = 3;

begindefineterrain 451;
import = 180;
te_name = "Painting";
te_which_sheet = 183;
te_which_icon = 4;

begindefineterrain 452;
import = 181;
te_name = "Painting";
te_which_sheet = 183;
te_which_icon = 5;

begindefineterrain 453;
import = 201;
te_which_sheet = 183;
te_which_icon = 6;

begindefineterrain 454;
import = 204;
te_which_sheet = 183;
te_which_icon = 7;

begindefineterrain 455;
te_which_icon = 8;

begindefineterrain 456;
import = 280;
te_which_sheet = 720;
te_which_icon = 5;
te_ed_which_sheet = 682;
te_ed_which_icon = 95;

begindefineterrain 457;
te_name = "Cross";
te_which_icon = 4;
te_ed_which_icon = 94;

begindefineterrain 458;
import = 289;
te_which_sheet = 183;
te_which_icon = 9;

begindefineterrain 459;
import = 290;
te_which_sheet = 183;
te_which_icon = 10;

begindefineterrain 460;
import = 291;
te_which_sheet = 183;
te_which_icon = 11;

begindefineterrain 461;
import = 292;
te_which_sheet = 183;
te_which_icon = 12;

begindefineterrain 462;
import = 242;
te_name = "Wolf's Head Statue";
te_which_sheet = 183;
te_which_icon = 13;

begindefineterrain 463;
import = 232;
te_name = "Robed Statue";
te_which_sheet = 183;
te_which_icon = 15;
te_second_icon = 14;

begindefineterrain 464;
te_name = "Armored Statue";
te_which_icon = 16;
te_second_icon = 17;

begindefineterrain 465;
te_which_icon = 18;
te_second_icon = 19;

// Floors

begindefinefloor 253;
import = 144;
fl_which_sheet = 183;
fl_which_icon = 2;


begindefineterrain 122;
import = 122;
te_name = "mine";
te_which_sheet = 137;
te_which_icon = 0;
begindefineterrain 123;
import = 112;
te_name = "mine";
te_which_sheet = 137;
te_which_icon = 6;
begindefineterrain 124;
import = 112;
te_name = "mine";
te_which_sheet = 137;
te_which_icon = 8;
begindefineterrain 377;

import = 81;

te_name = "White Stone Stairs";

te_which_sheet = 509;

te_which_icon = 0;

te_ed_which_sheet = 510;

te_ed_which_icon = 53;

begindefineterrain 378;

import = 79;

te_name = "White Stone Stairs";

te_which_sheet = 509;

te_which_icon = 1;

te_ed_which_sheet = 510;

te_ed_which_icon = 50;

begindefineterrain 379;

import = 77;

te_name = "White Stone Stairs";

te_which_sheet = 509;

te_which_icon = 2;

te_ed_which_sheet = 510;

te_ed_which_icon = 51;

begindefineterrain 390;

import = 75;

te_name = "White Stone Stairs";

te_which_sheet = 509;

te_which_icon = 3;

te_ed_which_sheet = 510;

te_ed_which_icon = 52;

begindefineterrain 391;

import = 83;

te_name = "White Stone Stairs";

te_which_sheet = 509;

te_which_icon = 7;

te_ed_which_sheet = 510;

te_ed_which_icon = 54;

begindefineterrain 392;

import = 82;

te_name = "White Stone Stairs";

te_which_sheet = 509;

te_which_icon = 4;

te_ed_which_sheet = 510;

te_ed_which_icon = 55;

begindefineterrain 393;

import = 85;

te_name = "White Stone Stairs";

te_which_sheet = 509;

te_which_icon = 5;

te_ed_which_sheet = 510;

te_ed_which_icon = 56;

begindefineterrain 394;

import = 84;

te_name = "White Stone Stairs";

te_which_sheet = 509;

te_which_icon = 6;

te_ed_which_sheet = 510;

te_ed_which_icon = 57;

begindefineterrain 271;
import = 270;
te_name = "boat";
te_which_sheet = 181;
te_which_icon = 8;
begindefineterrain 425; //Imported Trees - 1
import = 149; //Steal a regular tree's attributes
te_name = "Trees";
te_which_sheet = 500;
te_which_icon = 0;
te_ed_which_sheet = 681;
te_ed_which_icon = 65;
te_can_look_at = 0;

begindefineterrain 426; //Imported Trees - 2
te_which_icon = 1;
te_can_look_at = 0;

begindefineterrain 427; //Imported Trees - 3
te_which_icon = 3;
te_can_look_at = 0;

begindefineterrain 428; //Imported Trees - 4
te_which_icon = 5;
te_can_look_at = 0;

begindefineterrain 429; //Imported Bushes - 1
import = 145; //Steal a normal shrub's attributes
te_name = "Shrubs";
te_which_sheet = 500;
te_which_icon = 2;
te_ed_which_sheet = 681;
te_ed_which_icon = 66;
te_can_look_at = 0;

begindefineterrain 430; //Imported Bushes - 2
te_which_icon = 4;
begindefinefloor 92;
import = 79;
fl_special_strength = 50;

// NEW FLOORS

begindefinefloor 130;
import = 1;
fl_name = "Road";
fl_which_sheet = 503;
fl_which_icon = 2;

begindefinefloor 131;
fl_which_icon = 3;

// Letter floor
begindefinefloor 144;
fl_name = "Blank";
fl_which_sheet = 501;
fl_which_icon = 0;

begindefinefloor 145;
fl_name = "A";
fl_which_icon = 1;
fl_special_property = 8;
fl_special_strength = 13;

begindefinefloor 146;
fl_name = "B";
fl_which_icon = 2;

begindefinefloor 147;
fl_name = "C";
fl_which_icon = 3;

begindefinefloor 148;
fl_name = "D";
fl_which_icon = 4;

begindefinefloor 149;
fl_name = "E";
fl_which_icon = 5;

begindefinefloor 150;
fl_name = "F";
fl_which_icon = 6;

begindefinefloor 151;
fl_name = "G";
fl_which_icon = 7;

begindefinefloor 152;
fl_name = "H";
fl_which_icon = 8;

begindefinefloor 153;
fl_name = "I";
fl_which_icon = 9;

begindefinefloor 154;
fl_name = "I";
fl_which_icon = 9;

begindefinefloor 155;
fl_name = "K";
fl_which_icon = 11;

begindefinefloor 156;
fl_name = "L";
fl_which_icon = 12;

begindefinefloor 157;
fl_name = "M";
fl_which_icon = 13;

begindefinefloor 158;
fl_name = "N";
fl_which_icon = 14;

begindefinefloor 159;
fl_name = "O";
fl_which_icon = 15;

begindefinefloor 160;
fl_name = "P";
fl_which_icon = 16;

begindefinefloor 161;
fl_name = "Q";
fl_which_icon = 17;

begindefinefloor 162;
fl_name = "R";
fl_which_icon = 18;

begindefinefloor 163;
fl_name = "S";
fl_which_icon = 19;

begindefinefloor 164;
fl_name = "T";
fl_which_icon = 20;

begindefinefloor 165;
fl_name = "V";
fl_which_icon = 22;

begindefinefloor 166;
fl_name = "V";
fl_which_icon = 22;

begindefinefloor 167;
fl_name = "W";
fl_which_icon = 23;

begindefinefloor 168;
fl_name = "X";
fl_which_icon = 24;

begindefinefloor 169;
fl_name = "Y";
fl_which_icon = 25;

begindefinefloor 170;
fl_name = "Z";
fl_which_icon = 26;


// Additional floor

begindefinefloor 180;
import = 122;
fl_icon_adjust = 1;

begindefinefloor 181;
import = 0;
fl_which_sheet = 503;
fl_which_icon = 0;

begindefinefloor 182;
fl_which_icon = 1;

begindefinefloor 183;
import = 110;
fl_name = "Star Floor";
fl_which_sheet = 506;
fl_which_icon = 0;

begindefinefloor 184;
fl_which_icon = 1;

begindefinefloor 185;
fl_which_icon = 2;

begindefinefloor 186;
fl_which_icon = 3;

begindefinefloor 187;
fl_which_icon = 4;

begindefinefloor 188;
fl_which_icon = 5;

begindefinefloor 189;
fl_which_icon = 6;

begindefinefloor 190;
fl_which_icon = 7;

begindefinefloor 191;
fl_which_icon = 8;

begindefinefloor 192;
import = 79;
fl_name = "Ice";
fl_which_sheet = 752;
fl_which_icon = 0;
fl_ed_which_sheet = 684;
fl_ed_which_icon = 20;
fl_special_property = 2;

begindefinefloor 193;
import = 186;
fl_icon_adjust = 1;
begindefineterrain 432;
import = 204;
te_which_sheet = 513;

begindefineterrain 433;
te_which_icon = 1;

begindefineterrain 434;
import = 289;
te_name = "Blue Stairs";
te_which_sheet = 513;
te_which_icon = 2;

begindefineterrain 435;
te_which_icon = 3;
te_special_property = 19;

begindefineterrain 436;
te_which_icon = 4;
te_special_property = 21;

begindefineterrain 437;
te_which_icon = 5;
te_special_property = 23;

begindefineterrain 438;
import = 180;
te_name = "Painting";
te_which_sheet = 517;
te_which_icon = 0;

begindefineterrain 439;
import = 181;
te_name = "Painting";
te_which_sheet = 517;
te_which_icon = 1;

begindefineterrain 440;
import = 438;
te_which_icon = 2;

begindefineterrain 441;
import = 439;
te_which_icon = 3;

begindefineterrain 442;
import = 438;
te_which_icon = 4;

begindefineterrain 443;
import = 439;
te_which_icon = 5;

begindefineterrain 444;
import = 438;
te_which_icon = 6;

begindefineterrain 445;
import = 439;
te_which_icon = 7;

begindefineterrain 446;
import = 438;
te_which_icon = 8;

begindefineterrain 447;
import = 439;
te_which_icon = 9;

begindefineterrain 448;
import = 401;
te_name = "Lectum";
te_which_sheet = 786;
te_which_icon = 6;

begindefineterrain 449;
te_which_icon = 7;

begindefineterrain 450;
import = 402;
te_height_adj_pixels = -5;

begindefinefloor 71;
fl_name = "floor";
fl_which_sheet = 183;
fl_which_icon = 2;

begindefinefloor 132; // Begin Vahnatai Floor
clear;
fl_name = "Green Tiles";
fl_which_sheet = 761;
fl_which_icon = 4;
fl_ed_which_sheet = 686;
fl_ed_which_icon = 14;
fl_is_floor = 1;

begindefinefloor 133;
fl_name = "Rug";
fl_which_icon = 9;
fl_ed_which_icon = 19;

begindefinefloor 134;
fl_name = "Rune";
fl_which_icon = 5;
fl_ed_which_icon = 15;

begindefinefloor 135;
fl_name = "Rune";
fl_which_icon = 5;
fl_ed_which_icon = 18;
fl_anim_steps = 4;

begindefineterrain 466;
import = 147;
te_which_sheet = 185;
te_which_icon = 5;
te_ed_which_sheet = 510;
te_ed_which_icon = 17;
te_second_icon = -1;

begindefineterrain 467;
import = 148;
te_which_sheet = 185;
te_which_icon = 6;
te_ed_which_sheet = 510;
te_ed_which_icon = 18;
te_second_icon = -1;

begindefineterrain 468;
import = 147;
te_which_sheet = 185;
te_which_icon = 7;
te_second_icon = -1;

begindefineterrain 469;
import = 148;
te_which_sheet = 185;
te_which_icon = 8;
te_second_icon = -1;

begindefineterrain 470;
import = 145;
te_which_sheet = 185;
te_which_icon = 4;
te_ed_which_sheet = 510;
te_ed_which_icon = 0;
te_second_icon = -1;

begindefineterrain 471;
import = 143;
te_which_sheet = 185;
te_which_icon = 9;
te_ed_which_sheet = 510;
te_ed_which_icon = 1;
te_second_icon = -1;

begindefineterrain 472; // Vahnatai buildings.
import = 322;
te_which_sheet = 186;
te_which_icon = 0;
te_ed_which_sheet = 686;
te_ed_which_icon = 20;

begindefineterrain 473;
te_which_sheet = 186;
te_which_icon = 1;
te_ed_which_icon = 82;

begindefineterrain 474;
te_which_sheet = 186;
te_which_icon = 2;
te_ed_which_sheet = 684;
te_ed_which_icon = 87;

begindefinecreature 155;
import = 155;
cr_which_sheet = 188;

begindefineterrain 475;
import = 231;
te_name = "Flaming alter";
te_which_sheet = 173;
te_which_icon = 0;
te_anim_steps = 3;

begindefineterrain 476;
import = 231;
te_name = "Flaming piller";
te_which_sheet = 174;
te_which_icon = 0;
te_anim_steps = 3;

begindefineterrain 477s;
import = 231;
te_name = "Flame jet";
te_which_sheet = 175;
te_which_icon = 0;
te_anim_steps = 3;
Posts: 46 | Registered: Monday, December 20 2004 08:00
Agent
Member # 5814
Profile #3
1) It's not really necessary to post the entire script when it's this long
2) In line 98, the name of the terrain is "mine"; did you want it to be "Mine"?
3) In line 225, the terrain's name is "boat"; were you looking for "Boat"?
4) In lines 315 and 320, the letter "I" is defined twice and there is no letter "J".
5) In line 631, you wrote "Flaming piller". Were you thinking of "Flaming pillar"?

I'm sorry I can't help you with your actual problem, but it appears that there is no line 739 in your script so I can't find the error.

EDIT: Wow. So easy to spot, now that you know where it is.

[ Tuesday, July 11, 2006 20:47: Message edited by: 1984 ]

--------------------
quote:
Originally written by Kelandon
Well, I'm at least pretty

Posts: 1115 | Registered: Sunday, May 15 2005 07:00
Lifecrafter
Member # 6193
Profile Homepage #4
"begindefineterrain 477s;"

Didn't like the 's'.

--------------------
Guaranteed to blow your mind.

Frostbite: Get It While It's...... Hot?
Posts: 900 | Registered: Monday, August 8 2005 07:00
Infiltrator
Member # 4826
Profile #5
And one more typo: Flaming alter should be Flaming Altar.

--------------------
Bring back TM or [i]DIE.[/i]

To spread the hype, as well as cause your crush's name to appear on the screen, copy this into your signature.
Posts: 458 | Registered: Friday, August 6 2004 07:00
Agent
Member # 27
Profile #6
You don't seem to use "clear" at all. I thought that was required.
Posts: 1233 | Registered: Wednesday, October 3 2001 07:00
Infiltrator
Member # 4826
Profile #7
I think you're supposed to use either "clear" or "import = [number]".

--------------------
Bring back TM or [i]DIE.[/i]

To spread the hype, as well as cause your crush's name to appear on the screen, copy this into your signature.
Posts: 458 | Registered: Friday, August 6 2004 07:00
Lifecrafter
Member # 6193
Profile Homepage #8
I don't think you have to use clear or import, but if you don't then things you defined in previous terrains will blend with your current one. Its definitely best to use them to avoid problems.

--------------------
Guaranteed to blow your mind.

Frostbite: Get It While It's...... Hot?
Posts: 900 | Registered: Monday, August 8 2005 07:00
Off With Their Heads
Member # 4045
Profile Homepage #9
I think his use of clear/import is adequate, here.

--------------------
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
Lifecrafter
Member # 6700
Profile Homepage #10
If you don't use clear or import, then the program automatically imports the previous item.

--------------------
The Silent Assassin just came in from pitching a no-hitter.
I suppose that not having anyone for whom to actually pitch the ball would help that stat.

--------------------
-Lenar Labs
What's Your Destiny?

Ushmushmeifa: Lenar's power is almighty and ineffable.

All hail lord Noric, god of... well, something important, I'm sure.
Posts: 735 | Registered: Monday, January 16 2006 08:00
Apprentice
Member # 5311
Profile #11
thank you
Posts: 46 | Registered: Monday, December 20 2004 08:00
Law Bringer
Member # 4153
Profile Homepage #12
Phish, you're working on a scenario? Care to enlighten us as to when it might be done?

--------------------
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
The Establishment
Member # 6
Profile #13
quote:
Originally written by Ephesos:

Phish, you're working on a scenario? Care to enlighten us as to when it might be done?
That's always a dangerous thing to speculate. The more talked about scenarios are by their designers, in my experience, the less likely they are to be finished.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Apprentice
Member # 5311
Profile #14
I dont know when it will be done
Posts: 46 | Registered: Monday, December 20 2004 08:00
Off With Their Heads
Member # 4045
Profile Homepage #15
That's always the safest answer.

--------------------
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
Guardian
Member # 6670
Profile Homepage #16
By Stareye:
quote:
That's always a dangerous thing to speculate. The more talked about scenarios are by their designers, in my experience, the less likely they are to be finished.
Awesome. That means LoD1 has an excellent chance of being released, since I haven't talked about it for a long, long time.

... crap. Never mind.

--------------------
IF I EVER BECOME AN EVIL OVERLORD:
I will exchange the labels on my folder of top-secret plans and my folder of family recipes. Imagine the hero's surprise when he decodes the stolen plans and finds instructions for Grandma's Potato Salad.
Posts: 1509 | Registered: Tuesday, January 10 2006 08:00