Posted: Thu Jun 08, 2006 7:06 am Post subject: NPCs hearing you when concealed
I was expecting Taxman to post this and perhaps he can elaborate.
Npcs seem to have no problems 'hearing' you when you talk when concealed.
I confirmed the same thing. Using same scripts as 095.
[17:24] taxman: speech events was changed in 096? i cant see this in core-changes but merchants can hear me while i'm concealed
[17:24] OldnGrey: do the merchants have any privileges?
[17:24] taxman: invul
[17:26] OldnGrey: interesting, happens to me too!
[17:29] taxman: I'm still concealed but can buy anything
[17:29] * taxman going to add another IF to prevent this
[17:29] taxman: heh
[17:30] taxman: oops
[17:30] taxman: gambler can see me in conceal
[17:30] taxman: spy
[17:30] taxman: EnableEvents(EVID_ENTEREDAREA + EVID_LEFTAREA, HALT_THRESHOLD);
[17:31] taxman: he got this event
[17:31] taxman: conceal seems broken
[17:34] taxman: was go to gambler in stealth
[17:34] taxman: he can see me too
[17:34] OldnGrey: were you cmdlevel or player>
[17:34] taxman: tester
[17:36] taxman: why npc got EVID_ENTEREDAREA if mobile who coming is invisible for him? Its wrong i think
[17:41] taxman: our scripts was started from 094 distro long time ago and rewrited almost totally
Author
Message
Austin POL Developer
Joined: 30 Jan 2006 Posts: 354 Location: San Diego, California
Posted: Thu Jun 08, 2006 10:31 am Post subject:
I think this is #3 for this?
Core-changes.txt ?
Code:
08-23 Austin
Added : New flag for servspecopt.cfg called
"EventVisibilityCoreChecks" set to 0 (disabled) by default.
Enabled - the core does visibility checks before sending events as it did before.
Disabled - requires your scripts do visibility checking.
Author
Message
CWO
Joined: 04 Feb 2006 Posts: 691 Location: Chicago, IL USA
Posted: Thu Jun 08, 2006 3:00 pm Post subject:
Actually this was done intentionally in 096. They know everything while you're concealed. Checks for being concealed have to be done by scripts now.
Uh huh,
I should have searched for visiblility and not concealed
Author
Message
Austin POL Developer
Joined: 30 Jan 2006 Posts: 354 Location: San Diego, California
Posted: Thu Jun 08, 2006 11:04 pm Post subject:
touche... well visibility meant anything such as hidden, stealth, concealed, etc. before, if a player was stealthing, he/she never sent an npc the entered/left area event if the core handled visibility.