Jump to content

masik

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by masik

  1. Надеюсь я не обидел вас и не чего такого, не хочу не ссориться не разводить споры, по поводу СИ вы правы я не хрена в нем не понимаю все делаю интуитивно ну и Google :) ну и конечно был не прав, приношу извинения.

    Давайте не будем ссориться и закроем эту тему.

    А вот поповоду того что вы C++ фрилансер это очень и очень интересно, не могли бы вы скинуть мне контакт, у меня есть интересная работа с неплохим заработком, или сразу в мой скайп чирканите masikmos

  2. Не могу оставить спор, так как вы пытаетесь выставить меня идиотом а себя умным, я написал

    мы фактически заставили сервер работать с MySQL только с кодеровкой cp1251

    ФАКСТИЧЕСКИ Если мы пропишем SET NAMES cp1251 а у нас utf8 в базе, мы получим крякозяблы, сервер будет посылать ПРИНУДИТЕЛЬНО заметте, кодировку cp1251, то что вы говорите вы излагате одно и тоже другими словами, более Красивыми и умными, но сути дела не меняет

    Я ещё раз говорю спасибо за то что указали где есть charset в настройках, если вы считаете что нужно штудировать каждый пункт, и знать всё и вся, то это тоже прискорбно, я нашёл решение проблеммы, нет не какой разницы прописать в настройках и указать в SRC суть одно и таже проблема=решена

    Но я согласен с вами что поторопился, но когда не у кого спрашивать, то приходиться как-то самому изголяться, я Системный Администратор NIX систем у меня есть Задача и есть её решение, к сожелению так сложен ум, так как чаще приходиться работать с Бизнес решением а там главное в сроки и главное работает, другое не волнует как что зачем и почему...

  3. Ну я так и описал что заставляете работать сервер с кодировкой cp1251 может просто вы не так поняли или я не так изложился

    но не суть

    А вот за наводочку в конфиге спасибо... Я чет не нашёл, откатим сорсы, сделаем по уму, тему мож тоже удалить нафиг? А-то запутаю людей

  4. Сталкнулся с проблемой что русские имена чаров не как не создать, долго тыркался по гуглу не хотелось править сорсы, ответа не нашёл кроме как снести все и вся и поставить заного, пришлось иди в сорсы и делать такую штуку

    src/common/sql.c

    перед

    if( !mysql_real_connect(&self->handle, host, user, passwd, db, (unsigned int)port, NULL/*unix_socket*/, 0/*clientflag*/) )
    

    ставим

    mysql_options(&self->handle, MYSQL_INIT_COMMAND, "SET NAMES 'cp1251'");
    

    Поясняю что мы сделали, мы фактически заставили сервер работать с MySQL только с кодеровкой cp1251 так что перед тем как делать подумайте то ли вы делаете так как если у вас не cp1251 убьёте базу, или покалечите точно

    База быть должна в cp1251 это понятно, если у вас utf-8 ставим utf-8

    Конечно понимаю что не совсем кашерно, но работает

  5. Not downloaded rar or zip file

    Блин задолбался уже....

    plist.plt

    //[11]
    //Type = RAR
    //Patch = prod.rar
    10:RAR:prod.rar
    11:ARCH:prod.zip
    

    rsettings.ini

    ;KPatcher remote config file
    ;These three sections also duplicated in embedded configuration file on the case if the patcher will not be able to download the remote file from server.
    ;Also, it will allow run the patcher game client in the event of unavailability of the remote configuration file.
    [settings::Main]
    ;Server Name
    ServerName = MosRO
    ;Unique identifier of the server is needed to save the data in the PatcherData file. Typically, the server name in capital letters.
    ServerUID = mosro
    ;File where patcher store own data
    PatcherData = plist.ini
    [settings::Browsers]
    ;Notice URL
    NoticeURL = http://home.mosro.com/kpatcher/index.php
    ;StatusURL =
    [settings::Executable]
    ;Client exe name & exe param to launch
    NewLogin = 1
    AutoStart = 0
    ExeName = mosro.exe
    ExeParam =
    [settings::PatchServer::Main]
    ;PatchList URL and name
    PatchListURL = http://home.mosro.com/kpatcher/
    ;PatchList name
    PatchListName = plist.plt
    ;FileServer URL (For Login with passsword use ftp://login:[email protected]/)
    FileServerURL = http://home.mosro.com/kpatcher/files/
    ;Server GRF name & patchinfo store
    Grf = mosro.grf
    [settings::PatchServer::KRO]
    ;Support for patching the official client.
    ;Possible values:
    ;0=Off - Downloads will not occur, the button kroPatches will not be displayed on the form.
    ;1=Auto - Downloads will take place immediately after the main patch, the button kroPatches will not be displayed on the form.
    ;2=Manual - Download will take place only after clicking on the button kroPatches, but only after major patches will be downloaded.
    StartType = 2
    ;Full Url to patch list
    PatchListURL = http://patch.naoro.ru/
    ;Patch list name
    PatchListName = patch_test.txt
    ;Full Url to patches (For Login with passsword use ftp://login:[email protected]/)
    FileServerURL = ftp://patcher:[email protected]/kro/
    ;Main GRF
    Grf = data.grf
    ;Patch number store
    PatchInfo = patch.inf
    [settings::PatchServer::KRORE]
    ;Support for patching the official Renewal client.
    ;Possible values:
    ;0=Off - Downloads will not occur, the button kroREPatches will not be displayed on the form.
    ;1=Auto - Downloads will take place immediately after the official patch, the button kroREPatches will not be displayed on the form.
    ;2=Manual - Download will take place only after clicking on the button kroREPatches, but only after major and  patches will be downloaded.
    StartType = 2
    ;Full Url to patch list
    PatchListURL = http://webpatch.ragnarok.co.kr/patch/
    ;Patch list name
    PatchListName = patchRE.txt
    ;Full Url to patches (For Login with passsword use ftp://login:[email protected]/)
    FileServerURL = ftp://patcher:[email protected]/kro/
    ;Main GRF
    Grf = rdata.grf
    ;Patch number store
    PatchInfo = patchRE.inf
    

    version 3.0.5.0

    help please

  6. Not downloaded rar or zip file

    Блин заебался уже....

    plist.plt

    //[11]
    //Type = RAR
    //Patch = prod.rar
    10:RAR:prod.rar
    11:ARCH:prod.zip
    

    rsettings.ini

    ;KPatcher remote config file
    ;These three sections also duplicated in embedded configuration file on the case if the patcher will not be able to download the remote file from server.
    ;Also, it will allow run the patcher game client in the event of unavailability of the remote configuration file.
    [settings::Main]
    ;Server Name
    ServerName = MosRO
    ;Unique identifier of the server is needed to save the data in the PatcherData file. Typically, the server name in capital letters.
    ServerUID = mosro
    ;File where patcher store own data
    PatcherData = plist.ini
    [settings::Browsers]
    ;Notice URL
    NoticeURL = http://home.mosro.com/kpatcher/index.php
    ;StatusURL =
    [settings::Executable]
    ;Client exe name & exe param to launch
    NewLogin = 1
    AutoStart = 0
    ExeName = mosro.exe
    ExeParam =
    [settings::PatchServer::Main]
    ;PatchList URL and name
    PatchListURL = http://home.mosro.com/kpatcher/
    ;PatchList name
    PatchListName = plist.plt
    ;FileServer URL (For Login with passsword use ftp://login:[email protected]/)
    FileServerURL = http://home.mosro.com/kpatcher/files/
    ;Server GRF name & patchinfo store
    Grf = mosro.grf
    [settings::PatchServer::KRO]
    ;Support for patching the official client.
    ;Possible values:
    ;0=Off - Downloads will not occur, the button kroPatches will not be displayed on the form.
    ;1=Auto - Downloads will take place immediately after the main patch, the button kroPatches will not be displayed on the form.
    ;2=Manual - Download will take place only after clicking on the button kroPatches, but only after major patches will be downloaded.
    StartType = 2
    ;Full Url to patch list
    PatchListURL = http://patch.naoro.ru/
    ;Patch list name
    PatchListName = patch_test.txt
    ;Full Url to patches (For Login with passsword use ftp://login:[email protected]/)
    FileServerURL = ftp://patcher:[email protected]/kro/
    ;Main GRF
    Grf = data.grf
    ;Patch number store
    PatchInfo = patch.inf
    [settings::PatchServer::KRORE]
    ;Support for patching the official Renewal client.
    ;Possible values:
    ;0=Off - Downloads will not occur, the button kroREPatches will not be displayed on the form.
    ;1=Auto - Downloads will take place immediately after the official patch, the button kroREPatches will not be displayed on the form.
    ;2=Manual - Download will take place only after clicking on the button kroREPatches, but only after major and  patches will be downloaded.
    StartType = 2
    ;Full Url to patch list
    PatchListURL = http://webpatch.ragnarok.co.kr/patch/
    ;Patch list name
    PatchListName = patchRE.txt
    ;Full Url to patches (For Login with passsword use ftp://login:[email protected]/)
    FileServerURL = ftp://patcher:[email protected]/kro/
    ;Main GRF
    Grf = rdata.grf
    ;Patch number store
    PatchInfo = patchRE.inf
    

    version 3.0.5.0

    help please

×
×
  • Create New...