Версия для печати темы

Нажмите сюда для просмотра этой темы в обычном формате

UoKit.com Форумы _ UO Pilot _ Нужна помощь :) readmem (0xFFD3911C, "r", 10)

Автор: uploader 11.7.2019, 12:43

проблема с выводом строки
--lua
local str = readmem (0xFFD3911C, "s", 10)
log (str)
end
считывает всё правильно но !5@51 через чит энжин проверил он тоже по адресу видит такие символы но в чит энжин ставлю Unicod и всё в порядке а как здесь перевести подскажите пожалуйста

Автор: DarkMaster 11.7.2019, 13:22

пилот работает только с ascii, как и луа без доп модулей. Рекомндую скачать один из модулей для работы с юникодом.
http://lua-users.org/wiki/LuaUnicode
(листать в самый низ)

Автор: uploader 11.7.2019, 13:40

ничего я там так и не нашел чё скачивать как))

Автор: uploader 11.7.2019, 13:55

DarkMaster ну тыкни пожалуйста меня мордой туда где скачать и туда куда вставить=))

Автор: uploader 11.7.2019, 16:20

Ну что неужели никто так и не поможет разобраться?

Автор: DarkMaster 14.7.2019, 21:05

всмысле не нашли? В самом низу штук 10 либ.

There is a little string-like package [slnunicode] with upper/lower, len/sub and pattern matching for UTF-8.
See ValidateUnicodeString for a smaller library.
[utf-8.lua] provides functions string.utf8len, string.utf8sub, string.utf8reverse, string.utf8upper, and string.utf8lower. Has upper and lowercase mappings as a separate file. Tested on Lua 5.1 and 5.2.
Another [utf-8.lua] with functions utf8charbytes, utf8len, utf8sub), and utf8replace. The latter replaces characters based on a mapping table (not provided).
[ICU4Lua] is a Lua binding to ICU ([International Components for Unicode]), an open-source library originally developed by IBM.
[luautf8] is a slnunicode like UTF-8 C module. used to provide string-compat UTF-8 operations as will as many other useful functions. it pass lua test suite's string and pattern matching test. Tested on Lua 5.1 and Lua 5.2 and LuaJIT.
[utf8.lua] supports all 5.1 string functions for UTF-8. Has limited support of some regex classes.
[ustring] provides a pure-Lua implementation of a UTF-8 version of each of the functions in the string library except string.reverse, as well as functions to perform canonical composition and decomposition of Unicode codepoints (NFC and NFD). string.reverse is not implemented because, for it to be useful, [it would require] parsing of [grapheme clusters], which is complicated. A [PHP-based version] of this library is found in [Scribunto], the MediaWiki? Lua-scripting extension, which is installed on Wikimedia sites such as Wikipedia and Wiktionary.

Русская версия Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)