Welcome to the Builder Academy

Question flying bug - down to 1 little issue, then we have a snippet.Still need help pls

More
08 May 2013 17:57 #2179 by JTP
Code:
static void list_one_char(struct char_data *i, struct char_data *ch) { <---so you would add it here ? struct obj_data *furniture; const char *positions[] = { " is lying here, dead.", " is lying here, mortally wounded.", " is lying here, incapacitated.", " is lying here, stunned.", " is sleeping here.", " is resting here.", " is sitting here.", "!FIGHTING!", " is standing here.", " is flying here." };
.

Please Log in or Create an account to join the conversation.

More
08 May 2013 20:43 #2181 by rudeboyrave
no, down in the code where it deals with showing the message of the players sitting in chairs.

CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.

Please Log in or Create an account to join the conversation.

More
08 May 2013 21:12 #2182 by JTP
Please be specific as to add it where:
Code:
} else { if (FIGHTING(i)) { send_to_char(ch, " is here, fighting "); if (FIGHTING(i) == ch) send_to_char(ch, "YOU!"); else { if (IN_ROOM(i) == IN_ROOM(FIGHTING(i))) send_to_char(ch, "%s!", PERS(FIGHTING(i), ch)); else send_to_char(ch, "someone who has already left!"); } } else /* NIL fighting pointer */ send_to_char(ch, " is here struggling with thin air."); }
.

Please Log in or Create an account to join the conversation.

More
09 May 2013 00:33 - 09 May 2013 00:34 #2185 by rudeboyrave
Code:
if ((GET_POS(i) != POS_FIGHTING) && !(affected_by_spell(i, SPELL_FLY))) (this line has changed) if (!SITTING(i)) send_to_char(ch, "%s", positions[(int) GET_POS(i)]); if (affected_by_spell(i, SPELL_FLY)) (add this here) send_to_char(ch, "%s is floating above ground.", GET_NAME(i)); (and this) if (AFF_FLAGGED(ch, AFF_DETECT_ALIGN)) { if (IS_EVIL(i)) send_to_char(ch, " (Red Aura)");

not sure if this ill work for you. its a workaround for sure. this is what we get for not adding fly as a real position!

CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.
Last edit: 09 May 2013 00:34 by rudeboyrave.

Please Log in or Create an account to join the conversation.

More
10 May 2013 11:35 #2200 by rudeboyrave
did this work?

CyberASSAULT
www.cyberassault.org
cyberassault.org 11111
A post-apocalyptic, sci-fi MUD.

Please Log in or Create an account to join the conversation.

More
10 May 2013 16:03 #2203 by JTP
Wont know until sunday, im away on business trip

Please Log in or Create an account to join the conversation.

Time to create page: 0.211 seconds