- Статус
 - Оффлайн
 
- Регистрация
 - 13 Июл 2020
 
- Сообщения
 - 93
 
- Реакции
 - 130
 
to fix the crash either create a folder in %appdata% named itzlaith_lw as he said or replace in main.cpp
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
with
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
				
			
			
				C++:
			
		
		
		    CreateDirectory(crypt_str("C:\\Absend\\"), NULL);
    CreateDirectory(crypt_str("C:\\Absend\\Configs\\"), NULL);
    CreateDirectory(crypt_str("C:\\Absend\\Scripts\\"), NULL);
	with
			
				C++:
			
		
		
		    static TCHAR path[MAX_PATH];
    std::string main_folder;
    std::string configs_folder;
    std::string scripts_folder;
    SHGetFolderPath(NULL, CSIDL_APPDATA, NULL, NULL, path);
    main_folder = std::string(path) + crypt_str("\\itzlaith_lw\\\\");
    configs_folder = std::string(path) + crypt_str("\\itzlaith_lw\\\\configs\\");
    scripts_folder = std::string(path) + crypt_str("\\itzlaith_lw\\\\scripts\\");
    CreateDirectory(main_folder.c_str(), NULL);
    CreateDirectory(configs_folder.c_str(), NULL);
    CreateDirectory(scripts_folder.c_str(), NULL);
	
				


