- Posts: 849
- Thank you received: 170
Please Log in or Create an account to join the conversation.
thomas wrote: Just after loading it, in players.c, add a log line with info:
Code:case 'G': if (!strcmp(tag, "Gold")) GET_GOLD(ch) = atoll(line); +{ + char out[100]; + sprintf(out, "found gold: %lld", GET_GOLD(ch)); + log(out); +} break;
This code block can be added anywhere you need to log the amount for testing.
(untested, but should work)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
tbaMUD © 2024