View Full Version : 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.
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
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}.
rotfl lolsh xD n/c somebody please kill me xD
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..
Yeah. You cant make 2 areas at 1 place - this doesnt work. Maybe if u put town peace AFTER 'no shop zone' ;)
try to use
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.
hmm somehow i feel stupid for not thinking of that .. stacking the larger zone on top of the smaller one..
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.