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...
Stop Ghost-Cam!
Moderator: POL Developer
- Core Essence
- Neophyte Poster
- Posts: 38
- Joined: Tue Feb 07, 2006 10:40 am
- Location: Palermo, Italy
-
- Distro Developer
- Posts: 2825
- Joined: Thu Feb 02, 2006 1:41 pm
- Location: San Antonio, Texas
- Contact:
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?
*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?
Re:
what is number of packet you use ?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?
-
- Distro Developer
- Posts: 2825
- Joined: Thu Feb 02, 2006 1:41 pm
- Location: San Antonio, Texas
- Contact:
Re: Stop Ghost-Cam!
I haven't done it. I was just suggesting that packethooks might be the answer. Anyone know which one to use?
- Core Essence
- Neophyte Poster
- Posts: 38
- Joined: Tue Feb 07, 2006 10:40 am
- Location: Palermo, Italy
Re: Stop Ghost-Cam!
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
//}
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