Матрос 0 Report post Posted March 16, 2018 -- форма Эмоций grdHeart = UI_CreateCompent( frmMain800, GRID_TYPE, "grdHeart", 142, 170, 283, -168 ) UI_LoadImage( grdHeart, "texture/ui/xDesign/qq3.tga", NORMAL, 142, 170, 0, 0 ) UI_SetAlpha( grdHeart, 200 ) UI_SetGridUnitSize( grdHeart, 32, 32 ) UI_SetIsShow( grdHeart, TRUE ) UI_SetMargin( grdHeart, 5, 4, 0, 0 ) UI_SetGridSpace( grdHeart, 0, 0 ) UI_SetGridIsDragSize( grdHeart, TRUE ) n=0 while 1 do name = "texture/ui/brow/"..(n)..".tga" UI_AddFaceToGrid( grdHeart, name, 64, 64, 0, 0, 2, 0 ) n = n + 1 if n>=24 then break end end while 24 do name = "texture/ui/brow/"..(n)..".tga" UI_AddFaceToGrid( grdHeart2, name, 64, 64, 0, 0, 2, 0 ) n = n + 1 if n>=24 then break end end UI_GridLoadSelectImage( grdHeart, "texture/ui/StartF.dds", 32, 32, 123, 99 ) UI_GridLoadSelectImage( grdHeart2, "texture/ui/StartF.dds", 32, 32, 123, 99 ) -- btnFastUp = UI_CreateCompent( frmMain800, BUTTON_TYPE, "btnFastUp", 7, 8, 298, 11 ) --UI_LoadButtonImage( btnFastUp, "texture/ui/Nbotton.tga", 7, 8, 82, 2, TRUE ) btnFastDown = UI_CreateCompent( frmMain800, BUTTON_TYPE, "btnFastDown", 7, 8, 298, 19 ) --UI_LoadButtonImage( btnFastDown, "texture/ui/Nbotton.tga", 7, 8, 82, 12, TRUE ) selfMouseRight = UI_CreateCompent( frmMain800, MENU_TYPE, "selfMouseRight", 68, 97, 240, 468 ) UI_MenuLoadImage( selfMouseRight, TRUE, FALSE, "texture/ui/xDesign/right.tga", 5, 5, 10, 10, "texture/ui/right.tga", 5, 5 ) UI_SetMargin( selfMouseRight, 10, 5, 5, 5 ) -- UI_MenuLoadSelect( selfMouseRight, "texture/ui/xDesign/PublicC.tga", 79, 13, 0, 111 ) UI_MenuAddText( selfMouseRight, "\200\231 \238\242\240\255\228\224" ) нашел кусок кода, изменил на 23 эмозди они отображаются в игре http://skrinshoter.ru/s/160318/XxRP2hGo и другие. Но когда на них нажимаешь выводится текст в чат ***10 ***23 и тд. Как это можно поправить? Quote Share this post Link to post Share on other sites
BETEP/macs509 87 Report post Posted March 16, 2018 Скорее всего какие либо лимиты, тогда не разобрался в чем причина, тоже делал полный пак эмоций лисичек из pw, мб у кого они еще остались, я у себя не нашел, еще смайлы но там лимиты в обычных луа файлах клиента типо того http://mordo.ru/forum/topic/2633-новые-смайлы-32-шт/ Quote Share this post Link to post Share on other sites
V3ct0r 2,116 Report post Posted March 16, 2018 Нужно хексить Game.exe, там есть лимит на эмоции Quote Some useful links / Полезные ссылки Tips for making a topic in 'Questions & Help' / Рекомендации по созданию тем в разделе "Помощь" Server Advertising Section Rules / Правила раздела "Реклама серверов" Available e-mail domains for registration / Допустимые e-mail домены для регистрации User groups / Группы пользователей User ranks / Звания пользователей "Broken" pictures on the forum / "Битые" изображения на форуме Beware of scammers! / Осторожно, мошенники! My developments / Мои разработки Mods for client and server / Моды для клиента и сервера PKOdev.NET website for Tales of Pirates Server / PKOdev.NET веб-обвязка для сервера Пиратии I do not provide any help in private messages and outside the forum. Use 'Questions & Help' section please. Thank you for understanding! Я не оказываю какую-либо помощь в личных сообщениях и вне форума. Пожалуйста, используйте раздел "Пиратия: Помощь". Благодарю за понимание! Share this post Link to post Share on other sites