![]() |
eXeL@B —› Вопросы новичков —› Игры mail.ru |
Посл.ответ | Сообщение |
|
Создано: 10 марта 2009 12:54 · Личное сообщение · #1 |
|
Создано: 10 марта 2009 13:14 · Личное сообщение · #2 |
|
Создано: 10 марта 2009 15:43 · Личное сообщение · #3 Короче суть лоадера такова: сначала обнуляется игровое время, потом запускается сама игра ![]() Информация об том, сколько ты играл находится в реестре в защищённом хранилище и по-умолчанию достуб туда закрыт. Чтобы открыть делай следущее: запускаешь командную строку и вводишь туда regedit(откроется редактор реестра), потом открываешь ветвь HKEY_LOCAL_MACHINE\SECURITY,жмешь по ней правой кнопкой и в появившимя меню кликаешь на разрешениях. Ставишь там все галки и перезапускаешь regedit. Далее откывай ветвь HKEY_LOCAL_MACHINE\SECURITY\Policy\Secrets и ищи там ветви типа L$T44,L$T44_(последние две цифры могут быть любыми). Тут программа хронит свой триальный счётчик. Можешь экспортировать эти ветви в reg файл, а когда время закончится импортируй их обратно ![]() ![]() |
|
Создано: 10 марта 2009 15:46 · Личное сообщение · #4 Чуть не забыл, вот их описание: LsaRetrievePrivateData Function Syntax NTSTATUS LsaRetrievePrivateData( __in LSA_HANDLE PolicyHandle, __in PLSA_UNICODE_STRING KeyName, __out PLSA_UNICODE_STRING *PrivateData ); Parameters PolicyHandle [in] A handle to a Policy object. The handle must have the POLICY_GET_PRIVATE_INFORMATION access right. For more information, see Opening a Policy Object Handle. KeyName [in] Pointer to an LSA_UNICODE_STRING structure that contains the name of the key under which the private data is stored. To create a specialized object, add one of the following prefixes to the key name.Prefix Meaning L$ For local objects. G$ For global objects. M$ For computer objects. If you are not creating one of these specialized types, you do not need to specify a key name prefix. For more information, see Private Data Object. PrivateData [out] Pointer to a variable that receives a pointer to an LSA_UNICODE_STRING structure that contains the private data. When you no longer need the information, pass the returned pointer to LsaFreeMemory. Return Value If the function succeeds, the function returns STATUS_SUCCESS. LsaStorePrivateData Function Syntax NTSTATUS LsaStorePrivateData( __in LSA_HANDLE PolicyHandle, __in PLSA_UNICODE_STRING KeyName, __in PLSA_UNICODE_STRING PrivateData ); Parameters PolicyHandle [in] A handle to a Policy object. The handle must have the POLICY_CREATE_SECRET access right if this is the first time data is being stored under the key specified by the KeyName parameter. For more information, see Opening a Policy Object Handle. KeyName [in] Pointer to an LSA_UNICODE_STRING structure containing the name of the key under which the private data is stored. PrivateData [in] Pointer to an LSA_UNICODE_STRING structure containing the private data to store. The function encrypts this data before storing it. If this parameter is NULL, the function deletes any private data stored under the key and deletes the key. Subsequent attempts to retrieve data from the key will return the STATUS_OBJECT_NAME_NOT_FOUND error code. Return Value If the function succeeds, the return value is STATUS_SUCCESS. ![]() |
|
Создано: 10 марта 2009 20:31 · Личное сообщение · #5 |
![]() |
eXeL@B —› Вопросы новичков —› Игры mail.ru |
Эта тема закрыта. Ответы больше не принимаются. |