Other
playerp = &Other;
if (Wizard || findname(Databuf, &Other) < 0L)
while (fread(&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
if (Other.p_status != S_NOTUSED)
Other.p_name, Other.p_login, Other.p_level,
descrtype(&Other, FALSE), descrstatus(&Other));
if (fread(&Other, SZ_PLAYERSTRUCT, 1, Playersfp) != 1)
daysold = today - Other.p_lastused;
freerecord(&Other, loc);
if ((loc = findname(Databuf, &Other)) >= 0L) {
if (Other.p_tampered != T_OFF) {
&& CIRCLE(temp1, temp2) < CIRCLE(Other.p_x, Other.p_y)
Other.p_tampered = tamper;
Other.p_1scratch = floor(temp1);
Other.p_2scratch = floor(temp2);
writerecord(&Other, loc);
readrecord(&Other, foeplace);
if (fabs(Player.p_level - Other.p_level) > 20.0)
dtemp = (Player.p_level - Other.p_level) / MAX(Player.p_level, Other.p_level);
Enemyname = Other.p_name;
mvprintw(6, 0, "You have encountered %s Level: %.0f\n", Enemyname, Other.p_level);
for (loop = 0; Other.p_status != S_INBATTLE && loop < 30; ++loop)
readrecord(&Other, foeplace);
if (Other.p_status != S_INBATTLE)
if (Player.p_speed > Other.p_speed)
else if (Other.p_speed > Player.p_speed)
else if (Player.p_level > Other.p_level)
else if (Other.p_level > Player.p_level)
readrecord(&Other, foeplace);
if (Other.p_1scratch != oldhits)
if (Other.p_1scratch == oldhits) {
switch (Other.p_istat) {
dtemp = Other.p_1scratch - oldhits;
oldhits = Other.p_1scratch; /* keep track of old
if (Other.p_tampered != oldtampered)
oldtampered = Other.p_tampered;
if (Other.p_istat == I_KILLED || Shield < 0.0)
Player.p_experience += Other.p_experience;
Player.p_crowns += (Player.p_level < 1000.0) ? Other.p_crowns : 0;
Player.p_amulets += Other.p_amulets;
Player.p_charms += Other.p_charms;
collecttaxes(Other.p_gold, Other.p_gems);
Player.p_sword = MAX(Player.p_sword, Other.p_sword);
Player.p_shield = MAX(Player.p_shield, Other.p_shield);
Player.p_quksilver = MAX(Player.p_quksilver, Other.p_quksilver);
if (Other.p_virgin && !Player.p_virgin) {
if (Player.p_istat == I_RAN || Other.p_istat == I_RAN)
Player.p_1scratch = Other.p_energy * 1.1;
if (Player.p_1scratch > Other.p_energy)
if (drandom() * Player.p_speed < drandom() * Other.p_speed)
readrecord(&Other, Fileloc);
if (Other.p_tampered != T_OFF)
tampered(Other.p_tampered, Other.p_1scratch, Other.p_2scratch);
while (fread(&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) {
if (Other.p_status != S_OFF
&& Other.p_status != S_NOTUSED
&& Other.p_status != S_HUNGUP
&& (Other.p_status != S_CLOAKED || Other.p_specialtype != SC_VALAR))
if (Player.p_x == Other.p_x
&& Player.p_y == Other.p_y
while (fread(&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
if (Other.p_specialtype == SC_VALAR
&& Other.p_status != S_NOTUSED)
Other.p_tampered = T_EXVALAR;
writerecord(&Other, loc);
&& (Other.p_status == S_PLAYING || Other.p_status == S_INBATTLE)
&& Other.p_specialtype != SC_VALAR
while (fread(&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) {
if (Other.p_status == S_NOTUSED
|| (Other.p_specialtype == SC_VALAR && Other.p_status == S_CLOAKED))
|| Other.p_specialtype >= SC_KING
|| Circle >= CIRCLE(Other.p_x, Other.p_y)
&& (Other.p_status != S_CLOAKED
&& Other.p_specialtype != SC_VALAR)
Other.p_name, Other.p_x, Other.p_y);
Other.p_name, descrlocation(&Other, TRUE));
printw("%6.0f %s %-9.9s%s\n", Other.p_level, descrtype(&Other, TRUE),
Other.p_login, descrstatus(&Other));
while (fread(&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
if (Other.p_specialtype == SC_KING && Other.p_status != S_NOTUSED)
if (Other.p_status != S_OFF)
Other.p_specialtype = SC_NONE;
if (Other.p_crowns)
--Other.p_crowns;
writerecord(&Other, loc);
if (findname(Player.p_name, &Other) >= 0L)
while (fread(&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
if (Other.p_specialtype == SC_KING &&
Other.p_status != S_NOTUSED)
Other.p_name, Other.p_level);
while (fread(&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
if (Other.p_specialtype == SC_VALAR && Other.p_status != S_NOTUSED)
"The Valar is %s Login: %s", Other.p_name,
Other.p_login);
while (fread(&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
if (Other.p_specialtype == SC_COUNCIL && Other.p_status != S_NOTUSED)
"%s Login: %s", Other.p_name, Other.p_login);
while (fread(&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1)
if (Other.p_experience > hiexp && Other.p_specialtype <= SC_KING && Other.p_status != S_NOTUSED)
hiexp = Other.p_experience;
hilvl = Other.p_level;
strlcpy(hiname, Other.p_name, sizeof hiname);
if (Other.p_experience > nxtexp
&& Other.p_specialtype <= SC_KING
&& Other.p_status != S_NOTUSED)
nxtexp = Other.p_experience;
nxtlvl = Other.p_level;
strlcpy(nxtname, Other.p_name, sizeof nxtname);
while (fread(&Other, SZ_PLAYERSTRUCT, 1, Playersfp) == 1) {
if (Other.p_status == S_NOTUSED)
initplayer(&Other);
writerecord(&Other, loc);
struct player Other; /* stats for another player */
extern struct player Other; /* stats for another player */
actual = Other;
case Other:
TParams result = Other;
paramType = Other;
case Other: