Jump to content

How To Walking Through your Tarty Members


Recommended Posts

In GameLib/ActorInstanceCollisionDetection.cpp :

 

Add this to includes: 

#include "../UserInterface/AbstractPlayer.h"

Then in this function: 

BOOL CActorInstance::TestActorCollision(CActorInstance & rVictim)

Add this condition:

	if (IAbstractPlayer::GetSingleton().IsSamePartyMember(GetVirtualID(), rVictim.GetVirtualID()))
		return FALSE;

Not a big deal but it can be useful on guild wars and in some dungeons I think.

 

Regards

  • Love 6
Link to comment
Share on other sites

  • Active Member

@Heathcliff™ I got some error when I tried to compile source:

Spoiler

source\gamelib\../UserInterface/AbstractPlayer.h(30): error C2061: syntax error : identifier 'TItemPos'

 

Above the error line you can see this code:

Spoiler

virtual bool	IsSamePartyMember(DWORD dwVID1, DWORD dwVID2) = 0;

 

so I think, problem is related with the IsSamePartyMember function.

I'll be always helpful! 👊 

Link to comment
Share on other sites

  • Forum Moderator
31 minutes ago, ReFresh said:

I got some error when I tried to compile source:


source\gamelib\../UserInterface/AbstractPlayer.h(30): error C2061: syntax error : identifier 'TItemPos'
  • UserInterface/AbstractPlayer.h

Try to include:

#include "GameType.h"

 

  • Love 4
Link to comment
Share on other sites

  • 2 weeks later...

Announcements



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