Couple Ring not working

04/13/2019 11:25 Knusper02#1
Hello, I only found a 5y old thread about this so I open a new one.

I'm using V19 Spec_Item.txt and the couple ring is not teleporting one player to another - can someone help? :thinking:
04/13/2019 12:40 Blouflash#2
Most likely because you added a "security fix" in "CDPSrvr::OnTeleportPlayer"
04/13/2019 13:23 Knusper02#3
You were right..
I had to remove a
Code:
return;
in CDPSrvr::OnTeleportPlayer AND CDPSrvr::OnSummonPlayer
Do I have any security holes now :confused:

EDIT:
Just go into MoverSkill.cpp and search for:
Code:
g_DPCoreClient.SendTeleportPlayer( m_idPlayer, idCouple );
Change it to:
Code:
( (CUser*)this )->REPLACE( g_uIdofMulti, pUser->GetWorld()->GetID(), pUser->GetPos(), REPLACE_FORCE, pUser->GetLayer() );
01/19/2021 07:11 edipo magalhaes#4
perfect was with this error and I managed to correct it thanks to you!