LUA Помогите с CEF

extaup

Известный
Автор темы
161
56
Версия MoonLoader
.026-beta
Вообщем мне нужно прочитать cef
Я нашаёл через CEF Monitoring две строчки одна строчка рисует саму менюшку вторая выводит список в эту менюшку но
Менюшка:
Ь@vue.set(`sideMenuProperties`, { title: 'Оружие', showBack: 1 });яяяя | 220, 17, 0, 0, 0, 0, 64, 0, 0, 118, 117, 101, 46, 115, 101, 116, 40, 96, 115, 105, 100, 101, 77, 101, 110, 117, 80, 114, 111, 112, 101, 114, 116, 105, 101, 115, 96, 44, 32, 123, 32, 116, 105, 116, 108, 101, 58, 32, 39, 206, 240, 243, 230, 232, 229, 39, 44, 32, 115, 104, 111, 119, 66, 97, 99, 107, 58, 32, 49, 32, 125, 41, 59, 255, 255, 255, 255

А вот список от этой менюшки
Список:
Ьт0ПXz†”џWК]Јѓоs›ЄЖ›|ҐЧЯ.)=ҐИzЇUЇҐЌ6aЯ.)=ҐИz§ЪйРР№РРе{йЙк~{I`ГХNЉN†+Ю«ЩО†NЂNЂО‡NЂХwК}o”ћТд=SнЅЊиbЅ¬йµVї=¤°aк•аЇ]uХwК}o”ћТд=TиЊиЅ‚Ѕ‚ЅљЅјйІЅ¤иLиeVї=¤°aк•tyWХu«~t-^Ц«ѕSл|¤ц— aк§DХнз@з@UмjµщнѓTыFЇo:ЇhЇi::mХмзCпн'BgBз@_/ЏЙ›}gZ‰Wк*‹О…ОЃ>•]тџ[е'ґ№U:,Їc:Їk::mUЇПi,zЄЋuW…GQT]^Е^Кtк®щOт“Ъ\Ѓ‡ЄќW±WІW¶ќW·W°Wіќ5ЄЧзґ–=RЇЄйХн•мUнХпЮЄп”п—]тџ[е'ґ№Uкµф±¦М;еГе'ґ№Tы]::::Ї}::UЇПi,z§Л‰С{{u{е{E{wЛ§ЛгтfзFg@Uпмз@{мSниRЅ”иЅји\ий·ќWєW±ќ}єЄп”ъЯ)=ҐИz§Ъ5{РЕ{YУj~{I`ГХN¦Ъ®є®щOт“Ъ\Ѓ‡ЄќќW°W°WіW·ќ6WґќќЄЧзґ–=R¶тј}W_ќWµЄп”ъЯ)=ҐИz©С5{yР9Р{~{I`ГХN‹ОЃ+ЪN†+Щ«Щ+ЬО„«ЩО†N…N„ѕ_“6ъОп—хEзBз@џJ®щOт“Ъ\Ѓ‡ЄќW±ќWµќќ6ЄЧзґ–=Rј·ЛхxTUW±WІќz«ѕSл|¤ц— aк§GмUм•н§BХнХммзMjµщнѓT«®ўкцКц*цкчпUwКwЛ®щOт“Ъ\Ѓ‡ЄхZъXУfтбт“Ъ\Ѓ‡Є}®ќќќќWѕќќЄЧзґ–=SнtиЅґииjЅ¤ий·W°ќќќќќЄп”ъЯ)=ҐИz§Ъ5{РЕ{YУj~{I`ГХNжEUЯ)хѕR{Kђ0хSў3 *цццjцу¦Кц“Ў3Ў•Zьц’Б‡ЄVЮЁ§ZЏО…«ЪХwК}o”ћТд=TиљЅјииЅЌVї=¤°aкџh'@gB§B•нХнп§BgBзBzЅ‡ќW±ќW°ќW·ќ|ѕ?&mхќgZЋўЁји\ийUЯ)хѕR{Kђ0хSўКц3ЎЉціЎ3¦ХZьц’Б‡ЄW‚®ЉрЁк*‹«Ш«ЩNЂ=UЯ)хѕR{Kђ0хSЈЉц*цJцУЎjцкццs¦µZьц’Б‡ЄUх]:ЅІЅЉЅєЅыХ]тќтлѕSл|¤ц— aкЅVѕ–4Щ‡|ё|¤ц— aкџk§@gBз@gC•п§BgBкµщнѓTщq: ЇbЇnЇ|ЇhЇnщtщ|~LЬи„иииTи\и}ЉќќќќW°ќќќкццjцуЎO·U]тџ[е'ґ№TыFЇc:Їk:mUЇПi,zҐlВЈќj»е>·КOirЄtFt^Б^Б^Н^ЮtЩ^Тt&t2«_ћТX0хJЫХо«ЇО…«ЪХwК}o”ћТд=TиљЅјииЅЌVї=¤°aкџkgCмХнХн'@UмХнХмUоџ/ЏЙ›}Utќк*‹О…ОЃ>•]тџ[е'ґ№U:,Їc:Їk::mUЇПi,zҐnЈW‚ЇФUW±WІќz«ѕSл|¤ц— aк§GмUм•н§BХнХммзMjµщнѓT«кєu{e{{u{чЄ»е;еЧ|§ЦщIн.@ГХz},iіщpщIн.@ГХ>ЧNЂО…ОЂО‡+ЯN„О…ХkуЪKЄtY^Юt>t^Е^ТttЫ«ЯNЂ«Ш+ЩОљХwК}o”ћТд=SнЅЊиbЅ¬йµVї=¤°aк§ZЊВўW…W|§ЦщIн.@ГХN€ОЂ«Ш+Ш+Щ«ЫО›+ЪN„О†UkуЪKЄuyWEnuуЎjцµ]тџ[е'ґ№U:&Їo::ЇcUЇПi,z©СyР{IРЕ{5{{™Р•{9РЙЩЗЛгтfЯU]**ЉўуЎs OҐW|§ЦщIн.@ГХN‹+ШО†+ЪО„О›UkуЪKЄu|їЁЄ*Љўкц*цS UwК}o”ћТд=TивЅЉЅ’ЅґиZЅєЅ‚ЅњйVї=¤°aк•uФ]^Щ^Е^Э^эк®щNщuЯ)ыеУй:uяяяЂ | 220, 17, 0, 0, 0, 0, 242, 5, 1, 48, 27, 207, 88, 122, 134, 148, 159, 87, 202, 93, 163, 131, 238, 9, 115, 155, 23, 170, 198, 155, 124, 165, 215, 223, 46, 31, 41, 61, 165, 200, 24, 122, 175, 85, 175, 165, 141, 54, 97, 223, 46, 31, 41, 61, 165, 200, 24, 122, 167, 218, 233, 208, 25, 208, 185, 208, 25, 208, 229, 123, 233, 208, 153, 208, 186, 173, 126, 123, 73, 96, 195, 213, 78, 138, 78, 134, 43, 222, 171, 217, 206, 134, 78, 128, 78, 128, 206, 135, 78, 128, 213, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 83, 237, 26, 189, 140, 232, 98, 189, 172, 233, 181, 86, 191, 61, 164, 176, 97, 234, 149, 224, 175, 3, 5, 93, 21, 117, 213, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 84, 232, 140, 232, 10, 189, 130, 189, 130, 189, 154, 189, 188, 233, 178, 189, 164, 232, 76, 232, 101, 86, 191, 61, 164, 176, 97, 234, 149, 116, 121, 87, 213, 117, 171, 126, 116, 45, 94, 214, 171, 190, 83, 235, 124, 164, 246, 151, 32, 97, 234, 167, 68, 213, 237, 231, 64, 231, 64, 85, 236, 106, 181, 249, 237, 37, 131, 15, 84, 251, 70, 175, 111, 58, 24, 175, 104, 175, 105, 58, 3, 58, 109, 213, 236, 231, 67, 21, 239, 21, 237, 39, 66, 103, 66, 231, 64, 95, 47, 143, 201, 155, 125, 103, 90, 137, 87, 234, 42, 139, 206, 133, 206, 129, 62, 149, 93, 242, 159, 91, 229, 39, 180, 185, 3, 15, 85, 58, 44, 175, 99, 58, 24, 175, 107, 58, 19, 58, 109, 85, 175, 207, 105, 44, 24, 122, 170, 142, 117, 87, 133, 71, 81, 84, 93, 94, 197, 94, 202, 116, 1, 234, 174, 249, 79, 173, 242, 147, 218, 92, 129, 135, 170, 157, 28, 87, 177, 87, 178, 87, 182, 157, 11, 87, 183, 87, 176, 87, 179, 157, 53, 170, 215, 231, 180, 150, 12, 61, 82, 175, 170, 233, 213, 237, 149, 236, 85, 237, 213, 239, 222, 170, 239, 148, 239, 151, 93, 242, 159, 91, 229, 39, 180, 185, 3, 15, 85, 234, 181, 244, 177, 166, 204, 59, 229, 195, 229, 39, 180, 185, 3, 15, 84, 251, 93, 58, 3, 58, 23, 58, 3, 58, 28, 175, 125, 58, 19, 58, 23, 85, 175, 207, 105, 44, 24, 122, 167, 203, 137, 209, 5, 123, 21, 123, 117, 123, 229, 123, 69, 123, 119, 203, 167, 203, 227, 242, 102, 231, 70, 103, 64, 85, 239, 21, 236, 231, 64, 123, 236, 83, 237, 20, 232, 82, 189, 148, 232, 2, 189, 188, 232, 92, 232, 12, 233, 183, 157, 13, 87, 186, 87, 177, 157, 1, 125, 186, 170, 239, 148, 250, 223, 41, 61, 165, 200, 24, 122, 167, 218, 53, 123, 25, 208, 197, 123, 89, 211, 106, 173, 126, 123, 73, 96, 195, 213, 78, 166, 10, 218, 174, 186, 174, 249, 79, 173, 242, 147, 218, 92, 129, 135, 170, 157, 17, 157, 1, 87, 176, 87, 176, 87, 179, 87, 183, 157, 54, 87, 180, 157, 9, 157, 12, 170, 215, 231, 180, 150, 12, 61, 82, 182, 242, 188, 21, 125, 87, 95, 157, 11, 87, 181, 170, 239, 148, 250, 223, 41, 61, 165, 200, 24, 122, 169, 209, 53, 123, 121, 208, 57, 208, 21, 123, 26, 173, 126, 123, 73, 96, 195, 213, 78, 139, 206, 129, 43, 218, 78, 134, 43, 217, 171, 217, 43, 220, 206, 132, 171, 217, 206, 134, 78, 133, 78, 132, 190, 95, 31, 147, 54, 250, 206, 239, 151, 245, 21, 69, 231, 66, 231, 64, 159, 74, 174, 249, 79, 173, 242, 147, 218, 92, 129, 135, 170, 157, 22, 87, 177, 157, 12, 87, 181, 157, 9, 157, 54, 170, 215, 231, 180, 150, 12, 61, 82, 188, 21, 183, 203, 245, 120, 84, 85, 23, 87, 177, 87, 178, 157, 0, 122, 171, 190, 83, 235, 124, 164, 246, 151, 32, 97, 234, 167, 71, 21, 236, 85, 236, 149, 237, 167, 66, 213, 237, 213, 236, 21, 236, 231, 77, 106, 181, 249, 237, 37, 131, 15, 84, 171, 174, 162, 234, 246, 202, 246, 42, 246, 234, 247, 239, 85, 119, 202, 119, 203, 174, 249, 79, 173, 242, 147, 218, 92, 129, 135, 170, 245, 90, 250, 88, 211, 102, 29, 242, 225, 242, 147, 218, 92, 129, 135, 170, 125, 174, 157, 1, 157, 11, 157, 1, 157, 14, 87, 190, 157, 9, 157, 11, 170, 215, 231, 180, 150, 12, 61, 83, 237, 116, 232, 10, 189, 180, 232, 12, 232, 106, 189, 164, 232, 12, 233, 183, 87, 176, 157, 3, 157, 1, 157, 10, 157, 11, 157, 1, 170, 239, 148, 250, 223, 41, 61, 165, 200, 24, 122, 167, 218, 53, 123, 25, 208, 197, 123, 89, 211, 106, 173, 126, 123, 73, 96, 195, 213, 78, 230, 21, 29, 69, 85, 223, 41, 245, 190, 82, 123, 75, 144, 48, 245, 83, 162, 51, 160, 42, 246, 10, 246, 10, 246, 106, 246, 243, 166, 202, 246, 147, 161, 51, 161, 149, 90, 252, 246, 146, 193, 135, 170, 86, 222, 168, 167, 90, 143, 206, 133, 171, 218, 213, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 84, 232, 154, 189, 188, 232, 28, 232, 10, 189, 141, 86, 191, 61, 164, 176, 97, 234, 159, 104, 39, 64, 103, 66, 167, 66, 149, 237, 213, 237, 21, 239, 167, 66, 103, 66, 231, 66, 122, 189, 135, 157, 11, 87, 177, 157, 1, 87, 176, 157, 11, 87, 183, 157, 8, 124, 190, 63, 38, 109, 245, 157, 103, 90, 142, 162, 168, 188, 232, 92, 232, 19, 233, 85, 223, 41, 245, 190, 82, 123, 75, 144, 48, 245, 83, 162, 202, 246, 51, 161, 138, 246, 179, 161, 51, 166, 213, 90, 252, 246, 146, 193, 135, 170, 87, 130, 174, 138, 240, 168, 234, 42, 139, 171, 216, 171, 217, 78, 128, 61, 85, 223, 41, 245, 190, 82, 123, 75, 144, 48, 245, 83, 163, 138, 246, 42, 246, 74, 246, 211, 161, 106, 246, 234, 246, 10, 246, 115, 166, 181, 90, 252, 246, 146, 193, 135, 170, 85, 245, 93, 58, 189, 178, 189, 138, 189, 186, 189, 251, 213, 93, 242, 157, 242, 235, 190, 83, 235, 124, 164, 246, 151, 32, 97, 234, 189, 86, 190, 150, 52, 217, 135, 124, 184, 124, 164, 246, 151, 32, 97, 234, 159, 107, 167, 64, 103, 66, 231, 64, 103, 67, 149, 239, 167, 66, 103, 66, 234, 181, 249, 237, 37, 131, 15, 84, 249, 113, 58, 32, 175, 98, 175, 110, 175, 124, 175, 104, 175, 110, 249, 116, 249, 124, 126, 76, 220, 232, 132, 232, 28, 232, 12, 232, 84, 232, 92, 232, 15, 125, 138, 157, 25, 157, 3, 157, 12, 157, 13, 87, 176, 157, 11, 157, 9, 157, 8, 234, 246, 10, 246, 106, 246, 243, 161, 79, 183, 85, 93, 242, 159, 91, 229, 39, 180, 185, 3, 15, 84, 251, 70, 175, 99, 58, 24, 175, 107, 58, 109, 85, 175, 207, 105, 44, 24, 122, 165, 108, 194, 163, 157, 106, 187, 229, 62, 183, 202, 79, 105, 114, 6, 30, 170, 116, 70, 116, 5, 94, 193, 94, 193, 94, 205, 94, 222, 116, 217, 94, 210, 116, 38, 116, 50, 171, 95, 158, 210, 88, 48, 245, 74, 219, 213, 28, 238, 171, 175, 206, 133, 171, 218, 213, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 84, 232, 154, 189, 188, 232, 28, 232, 10, 189, 141, 86, 191, 61, 164, 176, 97, 234, 159, 107, 103, 67, 21, 236, 213, 237, 213, 237, 39, 64, 85, 236, 213, 237, 213, 236, 85, 238, 159, 47, 143, 201, 155, 125, 85, 116, 157, 234, 42, 139, 206, 133, 206, 129, 62, 149, 93, 242, 159, 91, 229, 39, 180, 185, 3, 15, 85, 58, 44, 175, 99, 58, 24, 175, 107, 58, 19, 58, 109, 85, 175, 207, 105, 44, 24, 122, 165, 110, 163, 87, 130, 175, 212, 85, 23, 87, 177, 87, 178, 157, 0, 122, 171, 190, 83, 235, 124, 164, 246, 151, 32, 97, 234, 167, 71, 21, 236, 85, 236, 149, 237, 167, 66, 213, 237, 213, 236, 21, 236, 231, 77, 106, 181, 249, 237, 37, 131, 15, 84, 171, 234, 186, 117, 123, 101, 123, 21, 123, 117, 123, 247, 170, 187, 229, 59, 229, 215, 124, 167, 214, 249, 73, 237, 46, 64, 195, 213, 122, 173, 125, 44, 105, 179, 14, 249, 112, 249, 73, 237, 46, 64, 195, 213, 62, 215, 78, 128, 206, 133, 206, 128, 206, 135, 43, 223, 78, 132, 206, 133, 213, 107, 243, 218, 75, 6, 30, 170, 116, 89, 94, 222, 116, 62, 116, 5, 94, 197, 94, 210, 116, 6, 116, 219, 171, 223, 78, 128, 171, 216, 43, 217, 206, 154, 213, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 83, 237, 26, 189, 140, 232, 98, 189, 172, 233, 181, 86, 191, 61, 164, 176, 97, 234, 167, 90, 140, 194, 162, 87, 133, 87, 124, 167, 214, 249, 73, 237, 46, 64, 195, 213, 78, 136, 206, 128, 171, 216, 43, 216, 43, 217, 171, 219, 206, 155, 43, 218, 78, 132, 206, 134, 85, 107, 243, 218, 75, 6, 30, 170, 117, 121, 87, 69, 110, 117, 243, 161, 106, 246, 181, 93, 242, 159, 91, 229, 39, 180, 185, 3, 15, 85, 58, 38, 175, 111, 58, 7, 58, 2, 175, 99, 85, 175, 207, 105, 44, 24, 122, 169, 209, 121, 208, 37, 123, 73, 208, 197, 123, 53, 123, 37, 123, 153, 208, 149, 123, 57, 208, 201, 208, 169, 208, 151, 203, 227, 242, 102, 223, 85, 93, 42, 42, 138, 162, 243, 161, 115, 160, 79, 165, 87, 124, 167, 214, 249, 73, 237, 46, 64, 195, 213, 78, 139, 43, 216, 206, 134, 43, 218, 206, 132, 206, 155, 85, 107, 243, 218, 75, 6, 30, 170, 117, 124, 191, 168, 170, 42, 138, 162, 234, 246, 42, 246, 83, 160, 15, 85, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 84, 232, 226, 189, 138, 189, 146, 189, 180, 232, 90, 189, 186, 189, 130, 189, 156, 233, 173, 86, 191, 61, 164, 176, 97, 234, 149, 117, 212, 93, 94, 217, 94, 197, 94, 221, 94, 253, 234, 174, 249, 78, 249, 117, 223, 41, 251, 229, 211, 233, 58, 117, 127, 255, 255, 255, 128
Вопрос как прочитать эти коркозябры
Идея такая что я хочу отобрать из списка по кг и отсеить не нужные
Например если мне нужно не больше 10000 кг то заказы больше этой суммы не будут показываться
 
Решение
Ошибка
{C0C0C0}bad allocation
stack traceback:
[C]: in function 'raknetBitStreamDecodeString'
Ошибка в 6 строчке
Код:
function onReceivePacket(id, bs)
    if id == 220 then
        raknetBitStreamIgnoreBits(bs, 8)
        if raknetBitStreamReadInt8(bs) == 17 then
            raknetBitStreamIgnoreBits(bs, 32)
            local text = raknetBitStreamDecodeString(bs, raknetBitStreamReadInt32(bs))
            sampfuncsLog(text)
        end
    end
end
Lua:
function onReceivePacket(id, bs)
    if id == 220 then
        raknetBitStreamIgnoreBits(bs, 8)
        if raknetBitStreamReadInt8(bs) == 17 then
            raknetBitStreamIgnoreBits(bs, 32)
            local length = raknetBitStreamReadInt16(bs)
            local encoded =...

Неадекватная сова

Известный
Проверенный
281
227
Вообщем мне нужно прочитать cef
Я нашаёл через CEF Monitoring две строчки одна строчка рисует саму менюшку вторая выводит список в эту менюшку но
Менюшка:
Ь@vue.set(`sideMenuProperties`, { title: 'Оружие', showBack: 1 });яяяя | 220, 17, 0, 0, 0, 0, 64, 0, 0, 118, 117, 101, 46, 115, 101, 116, 40, 96, 115, 105, 100, 101, 77, 101, 110, 117, 80, 114, 111, 112, 101, 114, 116, 105, 101, 115, 96, 44, 32, 123, 32, 116, 105, 116, 108, 101, 58, 32, 39, 206, 240, 243, 230, 232, 229, 39, 44, 32, 115, 104, 111, 119, 66, 97, 99, 107, 58, 32, 49, 32, 125, 41, 59, 255, 255, 255, 255

А вот список от этой менюшки
Список:
Ьт0ПXz†”џWК]Јѓоs›ЄЖ›|ҐЧЯ.)=ҐИzЇUЇҐЌ6aЯ.)=ҐИz§ЪйРР№РРе{йЙк~{I`ГХNЉN†+Ю«ЩО†NЂNЂО‡NЂХwК}o”ћТд=SнЅЊиbЅ¬йµVї=¤°aк•аЇ]uХwК}o”ћТд=TиЊиЅ‚Ѕ‚ЅљЅјйІЅ¤иLиeVї=¤°aк•tyWХu«~t-^Ц«ѕSл|¤ц— aк§DХнз@з@UмjµщнѓTыFЇo:ЇhЇi::mХмзCпн'BgBз@_/ЏЙ›}gZ‰Wк*‹О…ОЃ>•]тџ[е'ґ№U:,Їc:Їk::mUЇПi,zЄЋuW…GQT]^Е^Кtк®щOт“Ъ\Ѓ‡ЄќW±WІW¶ќW·W°Wіќ5ЄЧзґ–=RЇЄйХн•мUнХпЮЄп”п—]тџ[е'ґ№Uкµф±¦М;еГе'ґ№Tы]::::Ї}::UЇПi,z§Л‰С{{u{е{E{wЛ§ЛгтfзFg@Uпмз@{мSниRЅ”иЅји\ий·ќWєW±ќ}єЄп”ъЯ)=ҐИz§Ъ5{РЕ{YУj~{I`ГХN¦Ъ®є®щOт“Ъ\Ѓ‡ЄќќW°W°WіW·ќ6WґќќЄЧзґ–=R¶тј}W_ќWµЄп”ъЯ)=ҐИz©С5{yР9Р{~{I`ГХN‹ОЃ+ЪN†+Щ«Щ+ЬО„«ЩО†N…N„ѕ_“6ъОп—хEзBз@џJ®щOт“Ъ\Ѓ‡ЄќW±ќWµќќ6ЄЧзґ–=Rј·ЛхxTUW±WІќz«ѕSл|¤ц— aк§GмUм•н§BХнХммзMjµщнѓT«®ўкцКц*цкчпUwКwЛ®щOт“Ъ\Ѓ‡ЄхZъXУfтбт“Ъ\Ѓ‡Є}®ќќќќWѕќќЄЧзґ–=SнtиЅґииjЅ¤ий·W°ќќќќќЄп”ъЯ)=ҐИz§Ъ5{РЕ{YУj~{I`ГХNжEUЯ)хѕR{Kђ0хSў3 *цццjцу¦Кц“Ў3Ў•Zьц’Б‡ЄVЮЁ§ZЏО…«ЪХwК}o”ћТд=TиљЅјииЅЌVї=¤°aкџh'@gB§B•нХнп§BgBзBzЅ‡ќW±ќW°ќW·ќ|ѕ?&mхќgZЋўЁји\ийUЯ)хѕR{Kђ0хSўКц3ЎЉціЎ3¦ХZьц’Б‡ЄW‚®ЉрЁк*‹«Ш«ЩNЂ=UЯ)хѕR{Kђ0хSЈЉц*цJцУЎjцкццs¦µZьц’Б‡ЄUх]:ЅІЅЉЅєЅыХ]тќтлѕSл|¤ц— aкЅVѕ–4Щ‡|ё|¤ц— aкџk§@gBз@gC•п§BgBкµщнѓTщq: ЇbЇnЇ|ЇhЇnщtщ|~LЬи„иииTи\и}ЉќќќќW°ќќќкццjцуЎO·U]тџ[е'ґ№TыFЇc:Їk:mUЇПi,zҐlВЈќj»е>·КOirЄtFt^Б^Б^Н^ЮtЩ^Тt&t2«_ћТX0хJЫХо«ЇО…«ЪХwК}o”ћТд=TиљЅјииЅЌVї=¤°aкџkgCмХнХн'@UмХнХмUоџ/ЏЙ›}Utќк*‹О…ОЃ>•]тџ[е'ґ№U:,Їc:Їk::mUЇПi,zҐnЈW‚ЇФUW±WІќz«ѕSл|¤ц— aк§GмUм•н§BХнХммзMjµщнѓT«кєu{e{{u{чЄ»е;еЧ|§ЦщIн.@ГХz},iіщpщIн.@ГХ>ЧNЂО…ОЂО‡+ЯN„О…ХkуЪKЄtY^Юt>t^Е^ТttЫ«ЯNЂ«Ш+ЩОљХwК}o”ћТд=SнЅЊиbЅ¬йµVї=¤°aк§ZЊВўW…W|§ЦщIн.@ГХN€ОЂ«Ш+Ш+Щ«ЫО›+ЪN„О†UkуЪKЄuyWEnuуЎjцµ]тџ[е'ґ№U:&Їo::ЇcUЇПi,z©СyР{IРЕ{5{{™Р•{9РЙЩЗЛгтfЯU]**ЉўуЎs OҐW|§ЦщIн.@ГХN‹+ШО†+ЪО„О›UkуЪKЄu|їЁЄ*Љўкц*цS UwК}o”ћТд=TивЅЉЅ’ЅґиZЅєЅ‚ЅњйVї=¤°aк•uФ]^Щ^Е^Э^эк®щNщuЯ)ыеУй:uяяяЂ | 220, 17, 0, 0, 0, 0, 242, 5, 1, 48, 27, 207, 88, 122, 134, 148, 159, 87, 202, 93, 163, 131, 238, 9, 115, 155, 23, 170, 198, 155, 124, 165, 215, 223, 46, 31, 41, 61, 165, 200, 24, 122, 175, 85, 175, 165, 141, 54, 97, 223, 46, 31, 41, 61, 165, 200, 24, 122, 167, 218, 233, 208, 25, 208, 185, 208, 25, 208, 229, 123, 233, 208, 153, 208, 186, 173, 126, 123, 73, 96, 195, 213, 78, 138, 78, 134, 43, 222, 171, 217, 206, 134, 78, 128, 78, 128, 206, 135, 78, 128, 213, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 83, 237, 26, 189, 140, 232, 98, 189, 172, 233, 181, 86, 191, 61, 164, 176, 97, 234, 149, 224, 175, 3, 5, 93, 21, 117, 213, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 84, 232, 140, 232, 10, 189, 130, 189, 130, 189, 154, 189, 188, 233, 178, 189, 164, 232, 76, 232, 101, 86, 191, 61, 164, 176, 97, 234, 149, 116, 121, 87, 213, 117, 171, 126, 116, 45, 94, 214, 171, 190, 83, 235, 124, 164, 246, 151, 32, 97, 234, 167, 68, 213, 237, 231, 64, 231, 64, 85, 236, 106, 181, 249, 237, 37, 131, 15, 84, 251, 70, 175, 111, 58, 24, 175, 104, 175, 105, 58, 3, 58, 109, 213, 236, 231, 67, 21, 239, 21, 237, 39, 66, 103, 66, 231, 64, 95, 47, 143, 201, 155, 125, 103, 90, 137, 87, 234, 42, 139, 206, 133, 206, 129, 62, 149, 93, 242, 159, 91, 229, 39, 180, 185, 3, 15, 85, 58, 44, 175, 99, 58, 24, 175, 107, 58, 19, 58, 109, 85, 175, 207, 105, 44, 24, 122, 170, 142, 117, 87, 133, 71, 81, 84, 93, 94, 197, 94, 202, 116, 1, 234, 174, 249, 79, 173, 242, 147, 218, 92, 129, 135, 170, 157, 28, 87, 177, 87, 178, 87, 182, 157, 11, 87, 183, 87, 176, 87, 179, 157, 53, 170, 215, 231, 180, 150, 12, 61, 82, 175, 170, 233, 213, 237, 149, 236, 85, 237, 213, 239, 222, 170, 239, 148, 239, 151, 93, 242, 159, 91, 229, 39, 180, 185, 3, 15, 85, 234, 181, 244, 177, 166, 204, 59, 229, 195, 229, 39, 180, 185, 3, 15, 84, 251, 93, 58, 3, 58, 23, 58, 3, 58, 28, 175, 125, 58, 19, 58, 23, 85, 175, 207, 105, 44, 24, 122, 167, 203, 137, 209, 5, 123, 21, 123, 117, 123, 229, 123, 69, 123, 119, 203, 167, 203, 227, 242, 102, 231, 70, 103, 64, 85, 239, 21, 236, 231, 64, 123, 236, 83, 237, 20, 232, 82, 189, 148, 232, 2, 189, 188, 232, 92, 232, 12, 233, 183, 157, 13, 87, 186, 87, 177, 157, 1, 125, 186, 170, 239, 148, 250, 223, 41, 61, 165, 200, 24, 122, 167, 218, 53, 123, 25, 208, 197, 123, 89, 211, 106, 173, 126, 123, 73, 96, 195, 213, 78, 166, 10, 218, 174, 186, 174, 249, 79, 173, 242, 147, 218, 92, 129, 135, 170, 157, 17, 157, 1, 87, 176, 87, 176, 87, 179, 87, 183, 157, 54, 87, 180, 157, 9, 157, 12, 170, 215, 231, 180, 150, 12, 61, 82, 182, 242, 188, 21, 125, 87, 95, 157, 11, 87, 181, 170, 239, 148, 250, 223, 41, 61, 165, 200, 24, 122, 169, 209, 53, 123, 121, 208, 57, 208, 21, 123, 26, 173, 126, 123, 73, 96, 195, 213, 78, 139, 206, 129, 43, 218, 78, 134, 43, 217, 171, 217, 43, 220, 206, 132, 171, 217, 206, 134, 78, 133, 78, 132, 190, 95, 31, 147, 54, 250, 206, 239, 151, 245, 21, 69, 231, 66, 231, 64, 159, 74, 174, 249, 79, 173, 242, 147, 218, 92, 129, 135, 170, 157, 22, 87, 177, 157, 12, 87, 181, 157, 9, 157, 54, 170, 215, 231, 180, 150, 12, 61, 82, 188, 21, 183, 203, 245, 120, 84, 85, 23, 87, 177, 87, 178, 157, 0, 122, 171, 190, 83, 235, 124, 164, 246, 151, 32, 97, 234, 167, 71, 21, 236, 85, 236, 149, 237, 167, 66, 213, 237, 213, 236, 21, 236, 231, 77, 106, 181, 249, 237, 37, 131, 15, 84, 171, 174, 162, 234, 246, 202, 246, 42, 246, 234, 247, 239, 85, 119, 202, 119, 203, 174, 249, 79, 173, 242, 147, 218, 92, 129, 135, 170, 245, 90, 250, 88, 211, 102, 29, 242, 225, 242, 147, 218, 92, 129, 135, 170, 125, 174, 157, 1, 157, 11, 157, 1, 157, 14, 87, 190, 157, 9, 157, 11, 170, 215, 231, 180, 150, 12, 61, 83, 237, 116, 232, 10, 189, 180, 232, 12, 232, 106, 189, 164, 232, 12, 233, 183, 87, 176, 157, 3, 157, 1, 157, 10, 157, 11, 157, 1, 170, 239, 148, 250, 223, 41, 61, 165, 200, 24, 122, 167, 218, 53, 123, 25, 208, 197, 123, 89, 211, 106, 173, 126, 123, 73, 96, 195, 213, 78, 230, 21, 29, 69, 85, 223, 41, 245, 190, 82, 123, 75, 144, 48, 245, 83, 162, 51, 160, 42, 246, 10, 246, 10, 246, 106, 246, 243, 166, 202, 246, 147, 161, 51, 161, 149, 90, 252, 246, 146, 193, 135, 170, 86, 222, 168, 167, 90, 143, 206, 133, 171, 218, 213, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 84, 232, 154, 189, 188, 232, 28, 232, 10, 189, 141, 86, 191, 61, 164, 176, 97, 234, 159, 104, 39, 64, 103, 66, 167, 66, 149, 237, 213, 237, 21, 239, 167, 66, 103, 66, 231, 66, 122, 189, 135, 157, 11, 87, 177, 157, 1, 87, 176, 157, 11, 87, 183, 157, 8, 124, 190, 63, 38, 109, 245, 157, 103, 90, 142, 162, 168, 188, 232, 92, 232, 19, 233, 85, 223, 41, 245, 190, 82, 123, 75, 144, 48, 245, 83, 162, 202, 246, 51, 161, 138, 246, 179, 161, 51, 166, 213, 90, 252, 246, 146, 193, 135, 170, 87, 130, 174, 138, 240, 168, 234, 42, 139, 171, 216, 171, 217, 78, 128, 61, 85, 223, 41, 245, 190, 82, 123, 75, 144, 48, 245, 83, 163, 138, 246, 42, 246, 74, 246, 211, 161, 106, 246, 234, 246, 10, 246, 115, 166, 181, 90, 252, 246, 146, 193, 135, 170, 85, 245, 93, 58, 189, 178, 189, 138, 189, 186, 189, 251, 213, 93, 242, 157, 242, 235, 190, 83, 235, 124, 164, 246, 151, 32, 97, 234, 189, 86, 190, 150, 52, 217, 135, 124, 184, 124, 164, 246, 151, 32, 97, 234, 159, 107, 167, 64, 103, 66, 231, 64, 103, 67, 149, 239, 167, 66, 103, 66, 234, 181, 249, 237, 37, 131, 15, 84, 249, 113, 58, 32, 175, 98, 175, 110, 175, 124, 175, 104, 175, 110, 249, 116, 249, 124, 126, 76, 220, 232, 132, 232, 28, 232, 12, 232, 84, 232, 92, 232, 15, 125, 138, 157, 25, 157, 3, 157, 12, 157, 13, 87, 176, 157, 11, 157, 9, 157, 8, 234, 246, 10, 246, 106, 246, 243, 161, 79, 183, 85, 93, 242, 159, 91, 229, 39, 180, 185, 3, 15, 84, 251, 70, 175, 99, 58, 24, 175, 107, 58, 109, 85, 175, 207, 105, 44, 24, 122, 165, 108, 194, 163, 157, 106, 187, 229, 62, 183, 202, 79, 105, 114, 6, 30, 170, 116, 70, 116, 5, 94, 193, 94, 193, 94, 205, 94, 222, 116, 217, 94, 210, 116, 38, 116, 50, 171, 95, 158, 210, 88, 48, 245, 74, 219, 213, 28, 238, 171, 175, 206, 133, 171, 218, 213, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 84, 232, 154, 189, 188, 232, 28, 232, 10, 189, 141, 86, 191, 61, 164, 176, 97, 234, 159, 107, 103, 67, 21, 236, 213, 237, 213, 237, 39, 64, 85, 236, 213, 237, 213, 236, 85, 238, 159, 47, 143, 201, 155, 125, 85, 116, 157, 234, 42, 139, 206, 133, 206, 129, 62, 149, 93, 242, 159, 91, 229, 39, 180, 185, 3, 15, 85, 58, 44, 175, 99, 58, 24, 175, 107, 58, 19, 58, 109, 85, 175, 207, 105, 44, 24, 122, 165, 110, 163, 87, 130, 175, 212, 85, 23, 87, 177, 87, 178, 157, 0, 122, 171, 190, 83, 235, 124, 164, 246, 151, 32, 97, 234, 167, 71, 21, 236, 85, 236, 149, 237, 167, 66, 213, 237, 213, 236, 21, 236, 231, 77, 106, 181, 249, 237, 37, 131, 15, 84, 171, 234, 186, 117, 123, 101, 123, 21, 123, 117, 123, 247, 170, 187, 229, 59, 229, 215, 124, 167, 214, 249, 73, 237, 46, 64, 195, 213, 122, 173, 125, 44, 105, 179, 14, 249, 112, 249, 73, 237, 46, 64, 195, 213, 62, 215, 78, 128, 206, 133, 206, 128, 206, 135, 43, 223, 78, 132, 206, 133, 213, 107, 243, 218, 75, 6, 30, 170, 116, 89, 94, 222, 116, 62, 116, 5, 94, 197, 94, 210, 116, 6, 116, 219, 171, 223, 78, 128, 171, 216, 43, 217, 206, 154, 213, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 83, 237, 26, 189, 140, 232, 98, 189, 172, 233, 181, 86, 191, 61, 164, 176, 97, 234, 167, 90, 140, 194, 162, 87, 133, 87, 124, 167, 214, 249, 73, 237, 46, 64, 195, 213, 78, 136, 206, 128, 171, 216, 43, 216, 43, 217, 171, 219, 206, 155, 43, 218, 78, 132, 206, 134, 85, 107, 243, 218, 75, 6, 30, 170, 117, 121, 87, 69, 110, 117, 243, 161, 106, 246, 181, 93, 242, 159, 91, 229, 39, 180, 185, 3, 15, 85, 58, 38, 175, 111, 58, 7, 58, 2, 175, 99, 85, 175, 207, 105, 44, 24, 122, 169, 209, 121, 208, 37, 123, 73, 208, 197, 123, 53, 123, 37, 123, 153, 208, 149, 123, 57, 208, 201, 208, 169, 208, 151, 203, 227, 242, 102, 223, 85, 93, 42, 42, 138, 162, 243, 161, 115, 160, 79, 165, 87, 124, 167, 214, 249, 73, 237, 46, 64, 195, 213, 78, 139, 43, 216, 206, 134, 43, 218, 206, 132, 206, 155, 85, 107, 243, 218, 75, 6, 30, 170, 117, 124, 191, 168, 170, 42, 138, 162, 234, 246, 42, 246, 83, 160, 15, 85, 119, 202, 125, 111, 148, 158, 210, 228, 12, 61, 84, 232, 226, 189, 138, 189, 146, 189, 180, 232, 90, 189, 186, 189, 130, 189, 156, 233, 173, 86, 191, 61, 164, 176, 97, 234, 149, 117, 212, 93, 94, 217, 94, 197, 94, 221, 94, 253, 234, 174, 249, 78, 249, 117, 223, 41, 251, 229, 211, 233, 58, 117, 127, 255, 255, 255, 128
Вопрос как прочитать эти коркозябры
Идея такая что я хочу отобрать из списка по кг и отсеить не нужные
Например если мне нужно не больше 10000 кг то заказы больше этой суммы не будут показываться
Читай строку через
raknetBitStreamDecodeString(Bitstream bs, int size)
 

extaup

Известный
Автор темы
161
56
Читай строку через
raknetBitStreamDecodeString(Bitstream bs, int size)
Ошибка
{C0C0C0}bad allocation
stack traceback:
[C]: in function 'raknetBitStreamDecodeString'
Ошибка в 6 строчке
Код:
function onReceivePacket(id, bs)
    if id == 220 then
        raknetBitStreamIgnoreBits(bs, 8)
        if raknetBitStreamReadInt8(bs) == 17 then
            raknetBitStreamIgnoreBits(bs, 32)
            local text = raknetBitStreamDecodeString(bs, raknetBitStreamReadInt32(bs))
            sampfuncsLog(text)
        end
    end
end
 

sVor

Активный
187
98
Ошибка
{C0C0C0}bad allocation
stack traceback:
[C]: in function 'raknetBitStreamDecodeString'
Ошибка в 6 строчке
Код:
function onReceivePacket(id, bs)
    if id == 220 then
        raknetBitStreamIgnoreBits(bs, 8)
        if raknetBitStreamReadInt8(bs) == 17 then
            raknetBitStreamIgnoreBits(bs, 32)
            local text = raknetBitStreamDecodeString(bs, raknetBitStreamReadInt32(bs))
            sampfuncsLog(text)
        end
    end
end
Lua:
function onReceivePacket(id, bs)
    if id == 220 then
        raknetBitStreamIgnoreBits(bs, 8)
        if raknetBitStreamReadInt8(bs) == 17 then
            raknetBitStreamIgnoreBits(bs, 32)
            local length = raknetBitStreamReadInt16(bs)
            local encoded = raknetBitStreamReadInt8(bs)
            local text = (encoded ~= 0) and raknetBitStreamDecodeString(bs, length + encoded) or raknetBitStreamReadString(bs, length)
            sampfuncsLog(text)
        end
    end
end
 

extaup

Известный
Автор темы
161
56
Можно ли как то теперь наоборот сделать преоброзовать в js обратно из такого?

Код:
function convertJs(data)
    data = data:gsub("(.?)([A-z]-): ", "%1\"%2\": "):gsub("['`]", "\"")
    for value in data:gmatch(":\"(.-)\"[,$]") do
        local new = value:gsub("\n", "\\n"):gsub("\"\":", ":"):gsub("\"", "\\\"")
        data = data:gsub(value, new)
    end
    return pcall(decodeJson, u8(data))
end