Page 1 of 1

Stop Ghost-Cam!

Posted: Sat Mar 31, 2007 1:01 pm
by Core Essence
I thought to a new member in NpcTemplate structure in npcdesc.cfg, GhostCanSeeIt 0/1 (default 0).
If it's setted to 1 ghost can't see that npc.

In this way ghost cannot discover hidden quest, mount respawns, ecc...

Posted: Sun Apr 01, 2007 11:42 pm
by MontuZ
Interesting, wonder if it's possible...

Word from the wise maybe? :cool:

Posted: Wed Apr 04, 2007 1:13 am
by Yukiko
I'm hearing the words "packet hooks" in my mind.
*grins*
Several years ago I had a similar idea regarding ghosts not "hearing" speech of live characters and was told "wait til POL 0.96 is released and then you'll be able to hook the soeech packet". So could packet hooks do what Core Essence is suggesting?

Posted: Wed Apr 04, 2007 10:24 am
by MontuZ
I do believe you're right Yuk.

Re:

Posted: Mon Oct 06, 2008 3:56 am
by Grem
Yukiko wrote:I'm hearing the words "packet hooks" in my mind.
*grins*
Several years ago I had a similar idea regarding ghosts not "hearing" speech of live characters and was told "wait til POL 0.96 is released and then you'll be able to hook the soeech packet". So could packet hooks do what Core Essence is suggesting?
what is number of packet you use ?

Re: Stop Ghost-Cam!

Posted: Sun Oct 19, 2008 11:23 pm
by Yukiko
I haven't done it. I was just suggesting that packethooks might be the answer. Anyone know which one to use?

Re: Stop Ghost-Cam!

Posted: Sun Oct 26, 2008 1:29 am
by Core Essence

Code: Select all

//#####GHOST CAM PREVENTION PACK####
// Draw Object
Packet 0x78 
{
	Length variable
	SendFunction    packethooks:s_SendObject
}

// 0x78 extension
Packet 0xD3 
{
	Length variable
	SendFunction    packethooks:s_SendObject
}

// Update Player
Packet 0x77
{
	Length 17
	SendFunction    packethooks:s_UpdatePlayer
}

// PlaySoundEffect
Packet 0x54
{
	Length 12
	SendFunction    packethooks:s_SoundEffect
}

// Send Text
//Packet 0x1C
//{
//	Length variable
//	SendFunction    packethooks:s_SendSpeech
//}
I am currently using those one (did not handle the speech yet)
It doesn't handle the items tough, only sounds and NPC/Characters
Mobiles names are not send if there is no graphic, the annoying thing is that when they speech it appears like a SendSysMessage with no character name