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 post

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

Link to post
  • 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 post
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



Shoutbox

Shoutbox

Chatroom Rules

 

Join our Discord

A request for help = Shoutbox Ban

Be respectful & Respect the rules

 

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