 |
Crossfire Server, Trunk
1.75.0
|
Go to the documentation of this file.
78 LOG(
llevDebug,
"WARNING: destination '%s' in player_changer must be an absolute path!\n",
EXIT_PATH(op));
void apply_changes_to_player(object *pl, object *change, int limit_stats)
Applies (race) changes to a player.
int16_t bed_y
x,y - coordinates of respawn (savebed).
void LOG(LogLevel logLevel, const char *format,...)
Logs a message to stderr, or to file.
void esrv_send_inventory(object *pl, object *op)
Sends inventory of a container.
static event_registration c
#define EVENT_TRIGGER
Button pushed, lever pulled, etc.
char savebed_map[MAX_BUF]
Map where player will respawn after death.
void fix_object(object *op)
Updates all abilities given by applied objects in the inventory of the given object.
void register_process(int ob_type, process_func method)
Registers the process method for the given type.
int events_execute_object_event(object *op, int eventcode, object *activator, object *third, const char *message, int fix)
Execute an event on the specified object.
object * above
Pointer to the object stacked above this one.
uint8_t type
PLAYER, BULLET, etc.
#define FOR_INV_FINISH()
Finishes FOR_INV_PREPARE().
char method_ret
Define some standard return values for callbacks which don't need to return any other results.
#define SCRIPT_FIX_NOTHING
same as sound ncom command like but with extra the client want tick commands so it knows animation timing the client wants to be informed of pickup mode changes Mode will be sent when the player successfully logs and afterward any time the value is but over many options have become defaults This documents those now obsolete client can handle the bit exp values that are now used values are sent as bit Setting this flag also means that skill exp will be and it will be sent in revised method as described in the stats command Value is an integer in string format else Deprecated client should presume all servers support this server will return FALSE Deprecated replaced with sound2 setup but rather that the server was unable to complete the given protocol request the command(just the command name) that generated the failure. reason the server will only keep track of the latest mark sent The server will generally send a drawinfo command informing the player
void enter_exit(object *op, object *exit_ob)
Tries to move 'op' to exit_ob.
#define AC_PLAYER_STAT_LIMIT
static method_ret player_changer_type_process(object *op)
Move for PLAYER_CHANGER.
void esrv_update_item(int flags, object *pl, object *op)
Updates object *op for player *pl.
int save_player(object *op, int flag)
Saves a player to disk.
void init_type_player_changer(void)
Initializer for the player changer object type.
#define FOR_INV_PREPARE(op_, it_)
Constructs a loop iterating over the inventory of an object.
@ llevDebug
Only for debugging purposes.