About GW land

04/12/2013 14:56 brotherandlover#1
Hello all professionals :
I'm a P-server owner and programmer I'd like to know why the Characters can revive any where .........Ex. In Guild war they can revive in the Guild war land .. Can you tell me what to do to avoid this ?
04/12/2013 18:18 pro4never#2
Two ways to handle it.

#1: The proper way

Handle map flags (cq_maps in binary databases). One of the flag types is no revive/no save which means if you log out or revive on that map, it will send you to the previous map you were on. This will magically make it work on all maps and lets you handle other flags like no pk, no fly, etcetc

#2: Revive points or hard coded

Just check when they click revive what map they are on. Based on map ID you can have then revive wherever you want. I'd only recommend this if you were doing a gw system where revive just kicked players out of the castle to one of a number of random respawn points.
04/12/2013 18:42 shadowman123#3
Quote:
Originally Posted by pro4never View Post
Two ways to handle it.

#1: The proper way

Handle map flags (cq_maps in binary databases). One of the flag types is no revive/no save which means if you log out or revive on that map, it will send you to the previous map you were on. This will magically make it work on all maps and lets you handle other flags like no pk, no fly, etcetc
about the map flags ... does it have packet or smthing ?
04/12/2013 18:52 pro4never#4
Yes. You send map flags Server>Client to block certain actions.


It will block certain things client side like attacking and skill use in non combat maps (aka market) as well as a number of other things.
04/12/2013 19:06 shadowman123#5
Hmm and what the Packet Type ? or its general Data Packet with Different ID ?
04/12/2013 19:08 pro4never#6
Look in any number of public sources for a working example.

I know it's working just fine in albetros when we released it.