ce, travel or other allowances as the adjutant general may authorize. (b) For duty performed under the provisions of sections thirty-eight, forty, forty-one and forty-two, there shall be allowed and paid to members of the armed forces of the commonwealth from funds appropriated therefor the same rate of pay for length of service and basic allowances as if they were on active duty status in the arm