it hasn't worked since i added new races and classes
i have tried changing hunger_mod 0, and thirst_mod 0, but no success
any ideas?
i have tried changing hunger_mod 0, and thirst_mod 0, but no success
any ideas?
This forum is a read-only archive of the Gammon Software forum (2000–2026). No new posts can be made. Search the archive.
Posted by Taebryn on Fri 20 Feb 2004 04:04 AM — 20 posts, 69,841 views.
You are a mite peckish.
void gain_condition( CHAR_DATA *ch, int iCond, int value )
{
int condition;
ch_ret retcode = rNONE;
if ( value == 0 || IS_NPC(ch) || ch->level >= LEVEL_IMMORTAL || NOT_AUTHED(ch))
return;
break gain_condition if iCond == 2
commands
silent
printf "Gain condition for character %s, amount %i\n", ch->name, value
printf " -- current condition is %i\n", ch->pcdata->condition[iCond]
bt
cont
end
Gain condition for character Nick, amount -1
-- current condition is 44
#0 gain_condition(char_data*, int, int) (ch=0x852b830, iCond=2, value=-1)
at update.c:396
#1 0x0811ae39 in char_update() () at update.c:1076
#2 0x0811c956 in update_handler() () at update.c:2037
#3 0x08098eb5 in game_loop() () at comm.c:735
#4 0x08098613 in main (argc=1, argv=0xbfffe240) at comm.c:304
#5 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
Gain condition for character Nick, amount -1
-- current condition is 43
#0 gain_condition(char_data*, int, int) (ch=0x852b830, iCond=2, value=-1)
at update.c:396
#1 0x0811ae39 in char_update() () at update.c:1076
#2 0x0811c956 in update_handler() () at update.c:2037
#3 0x08098eb5 in game_loop() () at comm.c:735
#4 0x08098613 in main (argc=1, argv=0xbfffe240) at comm.c:304
#5 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
Gain condition for character Nick, amount -1
-- current condition is 42
#0 gain_condition(char_data*, int, int) (ch=0x852b830, iCond=2, value=-1)
at update.c:396
#1 0x0811ae39 in char_update() () at update.c:1076
#2 0x0811c956 in update_handler() () at update.c:2037
#3 0x08098eb5 in game_loop() () at comm.c:735
#4 0x08098613 in main (argc=1, argv=0xbfffe240) at comm.c:304
#5 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
Gain condition for character Nick, amount -1
-- current condition is 41