Profile for coreyh2

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).

Recent posts

AuthorRecent posts
strings in Blades of Avernum Editor
Apprentice
Member # 4786
Profile #0
How much is string variable like a pointer to a char in C?

After I call get_buffer_text and then clear_buffer is the variable string still safe to use?

I'm overly paranoid because I've crashed C programs often by not correctly handling memory and strings.
Posts: 3 | Registered: Tuesday, July 27 2004 07:00
strings in Blades of Avernum
Apprentice
Member # 4786
Profile #0
How much is string variable like a pointer to a char in C?

After I call get_buffer_text and then clear_buffer is the variable string still safe to use?

I'm overly paranoid because I've crashed C programs often by not correctly handling memory and strings.
Posts: 3 | Registered: Tuesday, July 27 2004 07:00
char_has_item? in Blades of Avernum Editor
Apprentice
Member # 4786
Profile #7
is there a reason to use take_num_of_item instead of take_all_of_item?
Posts: 3 | Registered: Tuesday, July 27 2004 07:00
char_has_item? in Blades of Avernum
Apprentice
Member # 4786
Profile #7
is there a reason to use take_num_of_item instead of take_all_of_item?
Posts: 3 | Registered: Tuesday, July 27 2004 07:00
item stacking in Blades of Avernum Editor
Apprentice
Member # 4786
Profile #0
This has probably already been discussed but I couldn't find the answer in a quick search.

begindefineitem 450;
clear;
it_name = "Tradable Metal";
it_full_name = "Tradable Metal";
it_variety = 21;
it_floor_which_sheet = 1017;
it_floor_which_icon = 5;
it_inventory_icon = 6;
it_value = 0;
it_weight = 0;
it_identified = 1;
it_icon_adjust = 16;
why doesn't this stack? The documentation states that it_variety 21 "combines with like items in inventory".

I tried giving 20 of these with reward_give and it makes a awful mess. How do i make a item with no special abilities that stacks?
Posts: 3 | Registered: Tuesday, July 27 2004 07:00
item stacking in Blades of Avernum
Apprentice
Member # 4786
Profile #0
This has probably already been discussed but I couldn't find the answer in a quick search.

begindefineitem 450;
clear;
it_name = "Tradable Metal";
it_full_name = "Tradable Metal";
it_variety = 21;
it_floor_which_sheet = 1017;
it_floor_which_icon = 5;
it_inventory_icon = 6;
it_value = 0;
it_weight = 0;
it_identified = 1;
it_icon_adjust = 16;
why doesn't this stack? The documentation states that it_variety 21 "combines with like items in inventory".

I tried giving 20 of these with reward_give and it makes a awful mess. How do i make a item with no special abilities that stacks?
Posts: 3 | Registered: Tuesday, July 27 2004 07:00