Jump to content
  • 0
Sign in to follow this  

Mounts won't allow attack whilst sitting on it


Hi, I've got some new mounts in my game, and for some profound reason some of them won't allow you to attack whilst sitting on them.


the client/SF creator said its something to do with the gamefile not supporting the vnums, he offered no solution in regards to fixing this.


I'm not entirely sure what information I need to post to help solve this issue, so please just ask and i'll get it asap.

Much appreciated!

p.s. sorry for all the questions, for 1 that i ask there are 5 things I've found and fixed myself.

Share this post

Link to post

4 answers to this question

Recommended Posts

  • 0

To attack you need to change your binary.

On InstanceBase.cpp, add your mount vnum to the switch on:

UINT CInstanceBase::SHORSE::GetLevel()
And to allow damage with that mount, you need to edit your game's pvp.cpp, adding your mount vnum to the switch on:

bool CPVPManager::CanAttack(LPCHARACTER pkChr, LPCHARACTER pkVictim)
  • Love 5

Share this post

Link to post
  • 0

And do not forget the skills are.



bool CHARACTER::CanUseSkill(DWORD dwSkillVnum) const
  • Love 4

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.