Jump to content

Mounts won't allow attack whilst sitting on it


Go to solution Solved by MadTiago,

Recommended Posts

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.

Link to comment
Share on other sites

  • Solution

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
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 24

      Experimental Renderer

    2. 11

      Multi Language System

    3. 0

      [FREE DESIGN] Interface + Logo + Discord Banner and Avatar

    4. 4

      Feeding game source to LLM

    5. 0

      Quest 6/7 Problem

    6. 5

      Effect weapons

    7. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

  • Recently Browsing

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