Stop Ghost-Cam!

Archive of the older Feature Request Forum Posts

Moderator: POL Developer

Locked
User avatar
Core Essence
Neophyte Poster
Posts: 38
Joined: Tue Feb 07, 2006 10:40 am
Location: Palermo, Italy

Stop Ghost-Cam!

Post by Core Essence » Sat Mar 31, 2007 1:01 pm

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

User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am
Location: Myrtle Beach, South Carolina

Post by MontuZ » Sun Apr 01, 2007 11:42 pm

Interesting, wonder if it's possible...

Word from the wise maybe? :cool:

Yukiko
Distro Developer
Posts: 2688
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Post by Yukiko » Wed Apr 04, 2007 1:13 am

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?

User avatar
MontuZ
Forum Regular
Posts: 338
Joined: Fri Feb 10, 2006 8:08 am
Location: Myrtle Beach, South Carolina

Post by MontuZ » Wed Apr 04, 2007 10:24 am

I do believe you're right Yuk.

Grem
New User
Posts: 10
Joined: Thu Mar 16, 2006 9:50 am

Re:

Post by Grem » Mon Oct 06, 2008 3:56 am

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 ?

Yukiko
Distro Developer
Posts: 2688
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Stop Ghost-Cam!

Post by Yukiko » Sun Oct 19, 2008 11:23 pm

I haven't done it. I was just suggesting that packethooks might be the answer. Anyone know which one to use?

User avatar
Core Essence
Neophyte Poster
Posts: 38
Joined: Tue Feb 07, 2006 10:40 am
Location: Palermo, Italy

Re: Stop Ghost-Cam!

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

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

Locked