Welcome to the Builder Academy

Question Skill wear off messages

More
29 Apr 2021 19:42 #9838 by JTP
Replied by JTP on topic Skill wear off messages
Any ideas ?

Please Log in or Create an account to join the conversation.

More
29 Apr 2021 22:11 #9839 by thomas
Replied by thomas on topic Skill wear off messages
Well, it obviously should send it, so something is not right about the states it checks between the log line and the send_to_char() line.

Add another log line beneath the one you have added, where you list the status of the different checks (or use gdb to debug, there's a description of how, somewhere around here):
Code:
log("((%d > 0) && (%d <= %d)): %d, second check: %d", af->spell, af->spell, MAX_SPELLS, ((af->spell > 0) && (af->spell <= MAX_SPELLS)), (!af->next || (af->next->spell != af->spell) || (af->next->duration > 0)));

Please Log in or Create an account to join the conversation.

More
29 Apr 2021 22:30 #9840 by JTP
Replied by JTP on topic Skill wear off messages
That log wont compile :(

I would really like this skill wear off to work...im not a log expert or code expert.

And gdb wont run with the limited memory... hope you can help

Please Log in or Create an account to join the conversation.

More
29 Apr 2021 22:32 #9841 by thomas
Replied by thomas on topic Skill wear off messages
What error do you get with the log line?

Please Log in or Create an account to join the conversation.

More
29 Apr 2021 22:36 #9842 by JTP
Replied by JTP on topic Skill wear off messages
 

Attachment 74C4C16B-1C37-47C2-9106-4745E7F5E1C8.jpeg not found

Please Log in or Create an account to join the conversation.

More
29 Apr 2021 22:49 #9843 by thomas
Replied by thomas on topic Skill wear off messages
Double check your typing. You seem to have a space somewhere in there.

Please Log in or Create an account to join the conversation.

Time to create page: 0.269 seconds