Settings Struct Reference

#include <global.h>


Data Fields

const char * logfilename
uint16 csport
LogLevel debug
uint8 dumpvalues
const char * dumparg
uint8 daemonmode
int argc
char ** argv
const char * confdir
const char * datadir
const char * localdir
const char * playerdir
const char * mapdir
const char * archetypes
const char * regions
const char * treasures
const char * uniquedir
const char * templatedir
const char * tmpdir
uint8 stat_loss_on_death
sint16 pk_luck_penalty
uint8 permanent_exp_ratio
uint8 death_penalty_ratio
uint8 death_penalty_level
uint8 balanced_stat_loss
uint8 not_permadeth
uint8 simple_exp
int reset_loc_time
uint8 set_title
uint8 resurrection
uint8 search_items
uint8 spell_encumbrance
uint8 spell_failure_effects
uint8 casting_time
uint8 real_wiz
uint8 recycle_tmp_maps
uint8 explore_mode
uint8 spellpoint_level_depend
uint16 set_friendly_fire
char who_format [MAX_BUF]
char who_wiz_format [MAX_BUF]
char motd [MAX_BUF]
const char * rules
const char * news
char dm_mail [MAX_BUF]
unsigned int meta_on:1
char meta_server [MAX_BUF]
char meta_host [MAX_BUF]
uint16 meta_port
char meta_comment [MAX_BUF]
uint32 worldmapstartx
uint32 worldmapstarty
uint32 worldmaptilesx
uint32 worldmaptilesy
uint32 worldmaptilesizex
uint32 worldmaptilesizey
uint8 fastclock
char * emergency_mapname
uint16 emergency_x
uint16 emergency_y
sint16 max_level
float item_power_factor
int armor_max_enchant
int armor_weight_reduction
uint8 armor_weight_linear
int armor_speed_improvement
uint8 armor_speed_linear
uint8 no_player_stealing
uint8 create_home_portals
uint8 personalized_blessings
sint64 pk_max_experience
int pk_max_experience_percent
int allow_denied_spells_writing
int allow_broken_converters
int log_timestamp
char * log_timestamp_format


Detailed Description

Server settings.

Definition at line 324 of file global.h.


Field Documentation

If set, converters will work even if price of generated item is higher than the price of converted items.

Definition at line 405 of file global.h.

If set, players can write spells they can't cast.

Definition at line 404 of file global.h.

const char* archetypes

Name of the archetypes file - libdir is prepended

Definition at line 338 of file global.h.

int argc

Parameters that were passed to the program

Definition at line 331 of file global.h.

char** argv

Only used by xio.c, so will go away at some time

Definition at line 332 of file global.h.

Maximum number of times an armor can be enchanted

Definition at line 394 of file global.h.

Speed improvement

Definition at line 397 of file global.h.

If 1, speed improvement is linear, else exponantiel

Definition at line 398 of file global.h.

If 1, weight reduction is linear, else exponantiel

Definition at line 396 of file global.h.

Weight reduction per enchantment

Definition at line 395 of file global.h.

If true, Death stat depletion based on level etc

Definition at line 349 of file global.h.

It takes awhile to cast a spell

Definition at line 358 of file global.h.

const char* confdir

Configuration files

Definition at line 333 of file global.h.

If 1, can create portals in unique maps (apartments)

Definition at line 400 of file global.h.

Port for new client/server

Definition at line 326 of file global.h.

If true, detach and become daemon

Definition at line 330 of file global.h.

const char* datadir

Read only data files

Definition at line 334 of file global.h.

How many levels worth of exp may be lost on one death

Definition at line 348 of file global.h.

Hhow much exp should be lost at death

Definition at line 347 of file global.h.

Default debugging level

Definition at line 327 of file global.h.

char dm_mail[MAX_BUF]

DM's Email address

Definition at line 369 of file global.h.

const char* dumparg

Additional argument for some dump functions

Definition at line 329 of file global.h.

Set to dump various values/tables

Definition at line 328 of file global.h.

Map to return players to in emergency

Definition at line 388 of file global.h.

Definition at line 389 of file global.h.

Coordinates to use on that map

Definition at line 389 of file global.h.

Explore mode allowed?

Definition at line 361 of file global.h.

If true, clock goes warp 9

Definition at line 386 of file global.h.

See note in setings file

Definition at line 392 of file global.h.

const char* localdir

Read/write data files

Definition at line 335 of file global.h.

If set, log will comport a timestamp.

Definition at line 407 of file global.h.

Format for timestap, if log_timestamp is set.

Definition at line 408 of file global.h.

const char* logfilename

Logfile to use

Definition at line 325 of file global.h.

const char* mapdir

Where the map files are

Definition at line 337 of file global.h.

This is read out of exp_table

Definition at line 391 of file global.h.

char meta_comment[MAX_BUF]

Comment we send to the metaserver

Definition at line 378 of file global.h.

char meta_host[MAX_BUF]

Hostname of this host

Definition at line 376 of file global.h.

unsigned int meta_on

True if we should send updates

Definition at line 374 of file global.h.

Port number to use for updates

Definition at line 377 of file global.h.

char meta_server[MAX_BUF]

Hostname/ip addr of the metaserver

Definition at line 375 of file global.h.

char motd[MAX_BUF]

Name of the motd file

Definition at line 366 of file global.h.

const char* news

Name of news file

Definition at line 368 of file global.h.

If 1, can not steal from other players

Definition at line 399 of file global.h.

If true, death is non-permament

Definition at line 350 of file global.h.

How much exp should be 'permenant' and unable to be lost

Definition at line 346 of file global.h.

If 1, blessed weapons get an owner and a willpower value

Definition at line 401 of file global.h.

Amount by which player luck is reduced if they PK

Definition at line 345 of file global.h.

Maximum experience one can get for PKing. Ignore if negative.

Definition at line 402 of file global.h.

Percentage of experience of victim the killer gets.

Definition at line 403 of file global.h.

const char* playerdir

Where the player files are

Definition at line 336 of file global.h.

Use mud-like wizards

Definition at line 359 of file global.h.

Re-use tmp maps.

Definition at line 360 of file global.h.

const char* regions

Name of the regions file - libdir is prepended

Definition at line 339 of file global.h.

Number of seconds to put player back at home

Definition at line 352 of file global.h.

Ressurection possible w/ permadeth on

Definition at line 354 of file global.h.

const char* rules

Name of rules file

Definition at line 367 of file global.h.

Search_items command

Definition at line 355 of file global.h.

Percent of damage done by peaceful player vs player damage

Definition at line 363 of file global.h.

Players can set thier title

Definition at line 353 of file global.h.

If true, use the simple experience system

Definition at line 351 of file global.h.

Encumbrance effects spells

Definition at line 356 of file global.h.

Nasty backlash to spell failures

Definition at line 357 of file global.h.

Spell costs go up with level

Definition at line 362 of file global.h.

If true, chars lose a random stat when they die

Definition at line 344 of file global.h.

const char* templatedir

Directory for the template map

Definition at line 342 of file global.h.

const char* tmpdir

Directory to use for temporary files

Definition at line 343 of file global.h.

const char* treasures

Location of the treasures file.

Definition at line 340 of file global.h.

const char* uniquedir

Directory for the unique items

Definition at line 341 of file global.h.

char who_format[MAX_BUF]

The format that the who command should use

Definition at line 364 of file global.h.

char who_wiz_format[MAX_BUF]

The format that the who command should use when called by a dm

Definition at line 365 of file global.h.

Starting x tile for the worldmap

Definition at line 380 of file global.h.

Starting y tile for the worldmap

Definition at line 381 of file global.h.

Number of squares wide in a wm tile

Definition at line 384 of file global.h.

Number of squares high in a wm tile

Definition at line 385 of file global.h.

Number of tiles wide the worldmap is

Definition at line 382 of file global.h.

Number of tiles high the worldmap is

Definition at line 383 of file global.h.


The documentation for this struct was generated from the following file:

Generated on Thu Mar 25 23:28:27 2010 for Crossfire Server, Branch 1.12 by  doxygen 1.5.8