Welcome to the Builder Academy

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

More
06 May 2013 21:00 - 06 May 2013 21:01 #2159 by JTP
Ok that part is working now for spell.

Just noticed that wearing a fly item, only gives fly messages for move, but doesnt show people as flying when performing look in room, look in room when people has spell on works, so must be 2 different things.

That should be the final thing hehe
Last edit: 06 May 2013 21:01 by JTP.

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

More
06 May 2013 21:04 #2160 by Fizban
Not sure the best way to go about that without the code in front of me. I'm on my phone right now so don't have the ability to check now, but I can take a look when I get home in 5 hours. The root of the problem though is that objects are adding AFF_FLY, but not setting the players POS to POS_FLYING.

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

More
06 May 2013 21:11 #2161 by JTP
Im off to bed to tired to continue today, can barely keep eyes open, would apreciate you look when you get home.

I have used POS_FLYING where i could other places needed AFF_FLYING

If what you find about object flying needs AFF_FLYING its ok, as long as we get it working.

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

More
06 May 2013 22:18 #2162 by thomas

I'm on my phone right now so don't have the ability to check now

Remember, we're on github now.. it works on your phone as well.

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

More
07 May 2013 22:58 - 07 May 2013 23:43 #2169 by JTP
He forgot to get back to this issue, anyone else wanna help so rumble can have this code snip for tbamud ?

Have it all working except for fly items, code dont react to people standing/flying here:
Rumble is standing here.

Need it to be flying here, as it is for the spell.
Last edit: 07 May 2013 23:43 by JTP.

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

More
08 May 2013 16:11 #2177 by rudeboyrave
in act.informative.c function list_one_character
Code:
if (affected_by_spell(i, SPELL_FLY)) send_to_char(ch, ",%s is floating above ground.", GET_NAME(i));

i would add it before the check for furniture somewhere.

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

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

Time to create page: 0.219 seconds