Welcome to the Builder Academy

Question Mount skill

More
12 Jun 2016 21:17 #6002 by JTP
Mount skill was created by JTP
After struckling with Mount patch for more then a week. Few Things dont Work though.

Taming a Mount sets spell tame twice:
Master is: <none>, Followers are: <none>
AFF: TAMED
SPL: ( 25hr) tame
SPL: ( 25hr) tame
Triggers:
None.

Mounting the mob and move doesnt move the Mount, but only the char moves. Character is montering a horse when i look in the room. But if the character goes to n, s, e or w or what ever, horse is left behind, only the character moves. If the character comes back, he is again mounts on the horse.

Move messages isnt showing right. Maybe because the Mount dont move with the character.

And more :(

Iwe tried my best over the past week, hope someone feels up for making this patch Work on tbamud some day.
I passed my coding skills here,

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

More
15 Jun 2016 01:15 #6003 by Liko
Replied by Liko on topic Mount skill

JTP wrote: After struckling with Mount patch for more then a week. Few Things dont Work though.

Taming a Mount sets spell tame twice:
Master is: <none>, Followers are: <none>
AFF: TAMED
SPL: ( 25hr) tame
SPL: ( 25hr) tame
Triggers:
None.

Mounting the mob and move doesnt move the Mount, but only the char moves. Character is montering a horse when i look in the room. But if the character goes to n, s, e or w or what ever, horse is left behind, only the character moves. If the character comes back, he is again mounts on the horse.

Move messages isnt showing right. Maybe because the Mount dont move with the character.

And more :(

Iwe tried my best over the past week, hope someone feels up for making this patch Work on tbamud some day.
I passed my coding skills here,


Can you please post the code.

Randian(0.0.0)
Owner/Developer

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

More
15 Jun 2016 07:27 #6004 by JTP

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

More
16 Jun 2016 02:04 - 16 Jun 2016 02:58 #6006 by Liko
Replied by Liko on topic Mount skill

JTP wrote: www.tbamud.com/forum/8-snippets/4061-cir...nt-patch-to-tba#5981


I can tell dismount_char isn't removing the affect. You need to add an affect removal.
Code:
REMOVE_BIT_AR(AFF_FLAGS(ch), AFF_TAMED));

Randian(0.0.0)
Owner/Developer
Last edit: 16 Jun 2016 02:58 by Liko.

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

More
16 Jun 2016 02:13 #6007 by Liko
Replied by Liko on topic Mount skill

Liko wrote:

JTP wrote: www.tbamud.com/forum/8-snippets/4061-cir...nt-patch-to-tba#5981


I can tell dismount_char isn't removing the affect. You need to add an affect removal.
Code:
REMOVE_BIT_AR(af[0].bitvector, AFF_TAMED);


Also, the reason the mount isn't moving is because there is nothing in perform_move.

Randian(0.0.0)
Owner/Developer

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

More
16 Jun 2016 02:21 - 16 Jun 2016 02:33 #6008 by Liko
Replied by Liko on topic Mount skill

Liko wrote:

Liko wrote:

JTP wrote: www.tbamud.com/forum/8-snippets/4061-cir...nt-patch-to-tba#5981


I can tell dismount_char isn't removing the affect. You need to add an affect removal.
Code:
REMOVE_BIT_AR(af[0].bitvector, AFF_TAMED);


Also, the reason the mount isn't moving is because there is nothing in perform_move.


I would try this:
also add this where the ints are defined:
Code:
struct char_special_data *t;
Code:
for(t = ch->riding; t; t = next) { next = t->next; if((IN_ROOM(t->riding) == was_in) && (GET_POS(t->riding) >= POS_STANDING)) { perform_move(t->riding, dir, 1); } }
Add the above code under the follow section in perform_move.
Now this may work, but since I don't have the code. I can't tell you.

Randian(0.0.0)
Owner/Developer
Last edit: 16 Jun 2016 02:33 by Liko.

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

Time to create page: 0.278 seconds