Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   How to get players status in game? (cached or sth) (https://postpacific.loc-online.com/showthread.php?t=7110)

Drag 13.03.2007 17:11

How to get players status in game? (cached or sth)
 
Hi ho.
I would like to make a script which would kick ppl who make shops near GK etc.
Now im having one big problem - how to check if someone have private shop on?
CheckCharacterPacket, GetCharacters4Packet etc doesnt show it.

Is there any way to check it?

Best Regards, Drag.

Insight 13.03.2007 17:26

Why are u making a php script for that when u can just make an small area on area data around the gatekeepers and block shops on them O.o

FidoW 13.03.2007 17:28

Quote:

Originally Posted by Insight (Post 81194)
Why are u making a php script for that when u can just make an small area on area data around the gatekeepers and block shops on them O.o

yeah :wave: i have that done some months ago :rolleyes:

Aikeleer 13.03.2007 17:54

Indeed, check out blocked_actions={priv_store;priv_rstore}.

Drag 13.03.2007 18:04

rotfl lolsh xD n/c somebody please kill me xD

dirkr 13.03.2007 18:18

Quote:

Originally Posted by Aikeleer (Post 81198)
Indeed, check out blocked_actions={priv_store;priv_rstore}.

for some reason if i put an are with that anywhere it doesnt effect it..
could it be that 2 areas overlapping dont go? ( town peace zone + no shop zone )

or is it something else?
i took my example from SSQ areas..

Drag 14.03.2007 10:29

Yeah. You cant make 2 areas at 1 place - this doesnt work. Maybe if u put town peace AFTER 'no shop zone' ;)

ateh 14.03.2007 10:56

try to use
Code:

type=peace_zone blocked_actions={priv_store;priv_rstore}
and simply re-design areas in towns :) Should work just fine.

mcrabben7 14.03.2007 12:56

Place peace zones on top of no shop zones. The "least restrictive" peace zone stacks on top. We had the same problem before.

dirkr 14.03.2007 14:01

hmm somehow i feel stupid for not thinking of that .. stacking the larger zone on top of the smaller one..

FidoW 14.03.2007 14:08

I have Peace Zone in Giran over the default configuration... only thing i need to do is increase Zmin and Zmax coords... to be bigger than the other peace zone... and it works.

However i try to do a similar thing in Aden stairs and im having some problems, i will continue making test when i have more time.


All times are GMT. The time now is 15:26.