change handle_result from string to int,and fix some bugs with user credits and shidou
fix some bugs