martel
January 9th, 2016, 21:55
Hey,
i try to earn the ruleset and I am very puzzled that debug mode is not used in a practical way by extension creators of rulesets ...
try to use a unique way to do to facilitate understanding you use.
i propose this
Debug.console("nameOfExtension - nameOfFileScript --> nameOfFunction: nameOfVariable=", nameOfVariable);
example :
Debug.console("CoC7e - manager_action_damage --> handleApplyDamage: rSource=", rSource);
Debug.console("CoC7e - manager_action_damage --> handleApplyDamage: rTarget=", rTarget);
Debug.console("CoC7e - manager_action_damage --> handleApplyDamage: msgOOB", msgOOB);
after it is very easy to change all files you want debug correctly...in notepad++ use (Find/Remplace all) with :
find : Debug.console
replace with : -- Debug.console
and all line debug is off
and inverse is all on in one task.
when you see the console, is very very easy to earn what where and how...
try it and never mind different.
thanks
i try to earn the ruleset and I am very puzzled that debug mode is not used in a practical way by extension creators of rulesets ...
try to use a unique way to do to facilitate understanding you use.
i propose this
Debug.console("nameOfExtension - nameOfFileScript --> nameOfFunction: nameOfVariable=", nameOfVariable);
example :
Debug.console("CoC7e - manager_action_damage --> handleApplyDamage: rSource=", rSource);
Debug.console("CoC7e - manager_action_damage --> handleApplyDamage: rTarget=", rTarget);
Debug.console("CoC7e - manager_action_damage --> handleApplyDamage: msgOOB", msgOOB);
after it is very easy to change all files you want debug correctly...in notepad++ use (Find/Remplace all) with :
find : Debug.console
replace with : -- Debug.console
and all line debug is off
and inverse is all on in one task.
when you see the console, is very very easy to earn what where and how...
try it and never mind different.
thanks