what the heck is wrong with this script

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: what the heck is wrong with this script
Agent
Member # 27
Profile #0
This is what I have written down:

beginscendatascript;

begindefineitem 450;
clear;
it_name = "Book";
it_full_name = "Foobar's Map";
it_variety = 21;
it_floor_which_sheet = 1014;
it_floor_which_icon = 5;
it_inventory_icon = 6;
it_ability_1 = 207;
it_ability_str_1 = 10;
it_value = 10;
it_weight = 10;
it_identified = 1;

Note: This part is in the scenario script.

beginstate 10;
large_draw_pic_dialog(500,"A map Foobar drew. Somehow you are not surprised.");
break;

I have the picture saved in 400x400 256 color bitmap as G500, in my folder. In the scenario, every time I press the button to call the state, no picture or dialogue comes up. No error appears either, it just says, "Use Foobar's Map."

This worked in another scenario I played around with, but it isn't working here. What the heck is wrong?

[ Monday, October 24, 2005 12:25: Message edited by: Enraged Slith ]
Posts: 1233 | Registered: Wednesday, October 3 2001 07:00
Infiltrator
Member # 5576
Profile Homepage #1
Are you sure that the picture is small enough? You might see if you could get the item to work with a slightly smaller image that you're absolutely sure is within the allowed limits. Other than that, I agree that it looks just like the code from ASR, and I can't spot any problem.

--------------------
Überraschung des Dosenöffners!
"On guard, you musty sofa!"
Posts: 627 | Registered: Monday, March 7 2005 08:00
? Man, ? Amazing
Member # 5755
Profile #2
Are you sure it is calling state 10?

Try commenting out the picture call and put in a message instead.

I will assume that scendatascript is wrong, since most places I've seen it written scennamedata where scenname is the same as the .bas name.

*this message sponsored by sylvania*

--------------------
WWtNSD?
Posts: 4114 | Registered: Monday, April 25 2005 07:00
Infiltrator
Member # 5576
Profile Homepage #3
he hasn't said what the file is named, the beginscendatascript; line is correct and required, it is at the begining of the ______data.txt file, where _______ is the same name as the .bas file.

--------------------
Überraschung des Dosenöffners!
"On guard, you musty sofa!"
Posts: 627 | Registered: Monday, March 7 2005 08:00