Jump to content

FlorinMarian

Premium
  • Posts

    305
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Posts posted by FlorinMarian

  1. 1 hour ago, Necro said:

    Its not bug if you want solve the symbols in chat you should edited your locale_string.txt. Otherwise you dont acces the basic dragon soul quest yet, so you cant give yourself dragon stone ;)

     

                    if (!ch->DragonSoul_IsQualified())
                    {
                        ch->ChatPacket(CHAT_TYPE_INFO, "ŔÎşĄŔĚ Č°ĽşČ­ µÇÁö ľĘŔ˝.");
                    }

    Can you give me please a working quest for qualification?

    Thank you !

  2. Hi there !

    I've upgraded compiler version and I've solved a lot of erros but few of these aren't solved yet.

    *I've compiled cryptopp MT/MTd with windows_140xp compiler (this step removed 10 errors before).

    Compilation result:

    Spoiler

    Severity    Code    Description    Project    File    Line    Suppression State
    Error    LNK1120    10 unresolved externals    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\Release\METIN2.exe    1    
    Error    LNK2001    unresolved external symbol "public: unsigned long const & __thiscall CColorTransitionHelper::GetCurColor(void)" (?GetCurColor@CColorTransitionHelper@@QAEABKXZ)    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\eterlib.lib(SkyBox.obj)    1    
    Error    LNK2001    unresolved external symbol "public: bool __thiscall CColorTransitionHelper::Update(void)" (?Update@CColorTransitionHelper@@QAE_NXZ)    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\eterlib.lib(SkyBox.obj)    1    
    Error    LNK2001    unresolved external symbol "public: void __thiscall CColorTransitionHelper::SetSrcColor(float const &,float const &,float const &,float const &)" (?SetSrcColor@CColorTransitionHelper@@QAEXABM000@Z)    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\eterlib.lib(SkyBox.obj)    1    
    Error    LNK2001    unresolved external symbol "public: void __thiscall CColorTransitionHelper::Clear(float const &,float const &,float const &,float const &)" (?Clear@CColorTransitionHelper@@QAEXABM000@Z)    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\eterlib.lib(SkyBox.obj)    1    
    Error    LNK2001    unresolved external symbol "public: void __thiscall CColorTransitionHelper::SetTransition(float const &,float const &,float const &,float const &,unsigned long const &)" (?SetTransition@CColorTransitionHelper@@QAEXABM000ABK@Z)    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\eterlib.lib(SkyBox.obj)    1    
    Error    LNK2001    unresolved external symbol "public: void __thiscall CColorTransitionHelper::StartTransition(void)" (?StartTransition@CColorTransitionHelper@@QAEXXZ)    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\eterlib.lib(SkyBox.obj)    1    
    Error    LNK2001    unresolved external symbol "public: __thiscall CColorTransitionHelper::CColorTransitionHelper(void)" (??0CColorTransitionHelper@@QAE@XZ)    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\eterlib.lib(SkyBox.obj)    1    
    Error    LNK2001    unresolved external symbol "public: void __thiscall SpherePack::LostChild(class SpherePack *)" (?LostChild@SpherePack@@QAEXPAV1@@Z)    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\eterlib.lib(GrpObjectInstance.obj)    1    
    Error    LNK2001    unresolved external symbol ___iob_func    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\libjpeg-6bMT.lib(jerror.obj)    1    
    Error    LNK2001    unresolved external symbol "public: __thiscall CColorTransitionHelper::~CColorTransitionHelper(void)" (??1CColorTransitionHelper@@QAE@XZ)    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\eterlib.lib(SkyBox.obj)    1    

     

     

    • Love 1
  3. I've checked all of packets from packet.h and I didn't found something unexpected.

    Spoiler

    1211 21:12:57612 :: Unknown packet header: 53, last: 3 25
    1212 10:17:06712 :: Unknown packet header: 177, last: 19 30
    1212 10:18:41146 :: Unknown packet header: 142, last: 19 41
    1221 18:34:55061 :: Unknown packet header: 236, last: 126 79
    0101 18:10:22388 :: Unknown packet header: 237, last: 253 255
    0104 13:26:00958 :: Unknown packet header: 210, last: 114 63
    0109 21:51:17583 :: Unknown packet header: 188, last: 251 250
    0123 20:33:31299 :: Unknown packet header: 48, last: 19 116

     

  4. I think somebody try to use Messenger SQL Injection and server disconnect random players.

    Spoiler

    void MessengerManager::RemoveFromList(MessengerManager::keyA account, MessengerManager::keyA companion)
    {
        if (companion.empty())
            return;

        // Second fix
        if (m_Relation[account].find(companion) == m_Relation[account].end() || m_InverseRelation[companion].find(account) == m_InverseRelation[companion].end())
        {
            LPCHARACTER ch = CHARACTER_MANAGER::Instance().FindPC(account.c_str());
            if (ch)
            {
                sys_err("MessengerManager::RemoveFromList: %s tries to use messenger sql injection", ch->GetName());

                if (ch->GetDesc())
                    ch->GetDesc()->DelayedDisconnect(3);
            }
            else
                sys_err("MessengerManager::RemoveFromList: Omg! The ghost tried to use this function!");
            return;
        }

        sys_log(1, "MessengerManager::RemoveFromList: Remove %s %s", account.c_str(), companion.c_str());
        DBManager::instance().Query("DELETE FROM messenger_list%s WHERE account='%s' AND companion = '%s'", get_table_postfix(), account.c_str(), companion.c_str());
        __RemoveFromList(account, companion);
        TPacketGGMessenger p2ppck;
        p2ppck.bHeader = HEADER_GG_MESSENGER_REMOVE;
        strlcpy(p2ppck.szAccount, account.c_str(), sizeof(p2ppck.szAccount));
        strlcpy(p2ppck.szCompanion, companion.c_str(), sizeof(p2ppck.szCompanion));;
        P2P_MANAGER::instance().Send(&p2ppck, sizeof(TPacketGGMessenger));
    }

     

    Syserr:

    Spoiler

    0123 20:29:20192 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
    0123 20:29:45170 :: CInstanceBase::AttachTextTail - VID [19978] ALREADY EXIST
    0123 20:33:28093 :: 󸮵ÇÁö ¾ÊÀº ÆÐŶ Çì´õ 116, state Game

    0123 20:33:31299 :: Unknown packet header: 48, last: 19 116

     

     

  5. #Solved.

    I've posted here unbugged files.

    JpegFile.cpp

    Spoiler

    #include "StdAfx.h"
    #include "JpegFile.h"
    #include <stdio.h>
    #include <stdlib.h>
    #include <memory.h>

    #include <libjpeg-6b/jpeglib.h>
    #include <libjpeg-6b/jpegLibLink.h>

    #define OUTBUFFER_SIZE 0x8000

    static FILE*fi;
    static JOCTET * buffer;
    static unsigned char*dest;
    static int len;
    static int destlen;
    static unsigned char*data_1;
    static int pos;
    static int size_1;

    static void file_init_destination(j_compress_ptr cinfo)
    {
      struct jpeg_destination_mgr*dmgr =
          (struct jpeg_destination_mgr*)(cinfo->dest);
      buffer = (JOCTET*)malloc(OUTBUFFER_SIZE);
      if(!buffer) {
          perror("malloc");
          printf("Out of memory!\n");
          exit(1);
      }
      dmgr->next_output_byte = buffer;
      dmgr->free_in_buffer = OUTBUFFER_SIZE;
    }

    static boolean file_empty_output_buffer(j_compress_ptr cinfo)
    {
      struct jpeg_destination_mgr*dmgr =
          (struct jpeg_destination_mgr*)(cinfo->dest);
      if(fi)
        fwrite(buffer, OUTBUFFER_SIZE, 1, fi);
      dmgr->next_output_byte = buffer;
      dmgr->free_in_buffer = OUTBUFFER_SIZE;
      return 1;
    }

    static void file_term_destination(j_compress_ptr cinfo)
    { struct jpeg_destination_mgr*dmgr =
          (struct jpeg_destination_mgr*)(cinfo->dest);
      if(fi)
        fwrite(buffer, OUTBUFFER_SIZE-dmgr->free_in_buffer, 1, fi);
      free(buffer);
      buffer = 0;
      dmgr->free_in_buffer = 0;
    }

    static void mem_init_destination(j_compress_ptr cinfo)
    {
      struct jpeg_destination_mgr*dmgr =
          (struct jpeg_destination_mgr*)(cinfo->dest);
      dmgr->next_output_byte = dest;
      dmgr->free_in_buffer = destlen;
    }

    static boolean mem_empty_output_buffer(j_compress_ptr cinfo)
    {
        printf("jpeg mem overflow!\n");
        exit(1);
    }

    static void mem_term_destination(j_compress_ptr cinfo)
    {
      struct jpeg_destination_mgr*dmgr =
          (struct jpeg_destination_mgr*)(cinfo->dest);
      len = destlen - dmgr->free_in_buffer;
      dmgr->free_in_buffer = 0;
    }

    int jpeg_save(unsigned char*data_1, int width, int height, int quality, const char*filename)
    {
      struct jpeg_destination_mgr mgr;
      struct jpeg_compress_struct cinfo;
      struct jpeg_error_mgr jerr;
      int t;

      if(filename) {
        fi = fopen(filename, "wb");
        if(fi == NULL)
            return 0;
      } else
        fi = NULL;

      memset(&cinfo, 0, sizeof(cinfo));
      memset(&jerr, 0, sizeof(jerr));
      memset(&mgr, 0, sizeof(mgr));
      cinfo.err = jpeg_std_error(&jerr);
      jpeg_create_compress(&cinfo);

      mgr.init_destination = file_init_destination;
      mgr.empty_output_buffer = file_empty_output_buffer;
      mgr.term_destination = file_term_destination;
      cinfo.dest = &mgr;

      // init compression
     
      cinfo.image_width  = width;
      cinfo.image_height = height;
      cinfo.input_components = 3;
      cinfo.in_color_space = JCS_RGB;
      jpeg_set_defaults(&cinfo);
      jpeg_set_quality(&cinfo,quality,TRUE);

      //jpeg_write_tables(&cinfo);
      //jpeg_suppress_tables(&cinfo, TRUE);
      jpeg_start_compress(&cinfo, FALSE);
     
      for(t=0;t<height;t++) {
        unsigned char*data2 = &data_1[width*3*t];
        jpeg_write_scanlines(&cinfo, &data2, 1);
      }
      jpeg_finish_compress(&cinfo);

      if(fi)
        fclose(fi);
      jpeg_destroy_compress(&cinfo);
      return 1;
    }

    int jpeg_save_to_file(unsigned char*data_1, int width, int height, int quality, FILE*_fi)
    {
      struct jpeg_destination_mgr mgr;
      struct jpeg_compress_struct cinfo;
      struct jpeg_error_mgr jerr;
      int t;

      fi = _fi;

      memset(&cinfo, 0, sizeof(cinfo));
      memset(&jerr, 0, sizeof(jerr));
      memset(&mgr, 0, sizeof(mgr));
      cinfo.err = jpeg_std_error(&jerr);
      jpeg_create_compress(&cinfo);

      mgr.init_destination = file_init_destination;
      mgr.empty_output_buffer = file_empty_output_buffer;
      mgr.term_destination = file_term_destination;
      cinfo.dest = &mgr;

      // init compression
     
      cinfo.image_width  = width;
      cinfo.image_height = height;
      cinfo.input_components = 3;
      cinfo.in_color_space = JCS_RGB;
      jpeg_set_defaults(&cinfo);
      cinfo.dct_method = JDCT_IFAST;
      jpeg_set_quality(&cinfo,quality,TRUE);

      //jpeg_write_tables(&cinfo);
      //jpeg_suppress_tables(&cinfo, TRUE);
      jpeg_start_compress(&cinfo, FALSE);
     
      for(t=0;t<height;t++) {
        unsigned char*data2 = &data_1[width*3*t];
        jpeg_write_scanlines(&cinfo, &data2, 1);
      }
      jpeg_finish_compress(&cinfo);
      jpeg_destroy_compress(&cinfo);
      return 1;
    }

    int jpeg_save_to_mem(unsigned char*data_1, int width, int height, int quality, unsigned char*_dest, int _destlen)
    {
      struct jpeg_destination_mgr mgr;
      struct jpeg_compress_struct cinfo;
      struct jpeg_error_mgr jerr;
      int t;

      memset(&cinfo, 0, sizeof(cinfo));
      memset(&jerr, 0, sizeof(jerr));
      memset(&mgr, 0, sizeof(mgr));
      cinfo.err = jpeg_std_error(&jerr);
      jpeg_create_compress(&cinfo);

      dest = _dest;
      len = 0;
      destlen = _destlen;

      mgr.init_destination = mem_init_destination;
      mgr.empty_output_buffer = mem_empty_output_buffer;
      mgr.term_destination = mem_term_destination;
      cinfo.dest = &mgr;

      // init compression
     
      cinfo.image_width  = width;
      cinfo.image_height = height;
      cinfo.input_components = 3;
      cinfo.in_color_space = JCS_RGB;
      jpeg_set_defaults(&cinfo);
      cinfo.dct_method = JDCT_IFAST;
      jpeg_set_quality(&cinfo,quality,TRUE);

      jpeg_start_compress(&cinfo, FALSE);
      for(t=0;t<height;t++) {
        unsigned char*data2 = &data_1[width*3*t];
        jpeg_write_scanlines(&cinfo, &data2, 1);
      }
      jpeg_finish_compress(&cinfo);
      jpeg_destroy_compress(&cinfo);
      return len;
    }

    void mem_init_source (j_decompress_ptr cinfo)
    {
        struct jpeg_source_mgr* mgr = cinfo->src;
        mgr->next_input_byte = data_1;
        mgr->bytes_in_buffer = size_1;
        //printf("init %d\n", size - mgr->bytes_in_buffer);
    }

    boolean mem_fill_input_buffer (j_decompress_ptr cinfo)
    {
        struct jpeg_source_mgr* mgr = cinfo->src;
        printf("fill %d\n", size_1 - mgr->bytes_in_buffer);
        return 0;
    }

    void mem_skip_input_data (j_decompress_ptr cinfo, long num_bytes)
    {
        struct jpeg_source_mgr* mgr = cinfo->src;
        printf("skip %d +%d\n", size_1 - mgr->bytes_in_buffer, num_bytes);
        if(num_bytes<=0)
        return;
        mgr->next_input_byte += num_bytes;
        mgr->bytes_in_buffer -= num_bytes;
    }

    boolean mem_resync_to_restart (j_decompress_ptr cinfo, int desired)
    {
        struct jpeg_source_mgr* mgr = cinfo->src;
        printf("resync %d\n", size_1 - mgr->bytes_in_buffer);
        mgr->next_input_byte = data_1;
        mgr->bytes_in_buffer = size_1;
        return 1;
    }

    void mem_term_source (j_decompress_ptr cinfo)
    {
        struct jpeg_source_mgr* mgr = cinfo->src;
        //printf("term %d\n", size - mgr->bytes_in_buffer);
    }

    int jpeg_load_from_mem(unsigned char*_data, int _size, unsigned char*dest, int width, int height)
    {
        struct jpeg_decompress_struct cinfo;
        struct jpeg_error_mgr jerr;
        struct jpeg_source_mgr mgr;
        int y;
        //int x;

        data_1 = _data;
        size_1 = _size;

        jpeg_create_decompress(&cinfo);

        mgr.next_input_byte = data_1;
        mgr.bytes_in_buffer = size_1;
        mgr.init_source        =mem_init_source ;
        mgr.fill_input_buffer  =mem_fill_input_buffer ;
        mgr.skip_input_data    =mem_skip_input_data ;
        mgr.resync_to_restart  =mem_resync_to_restart ;
        mgr.term_source        =mem_term_source ;

        cinfo.err = jpeg_std_error(&jerr);
        cinfo.src = &mgr;

        jpeg_read_header(&cinfo, TRUE);
        jpeg_start_decompress(&cinfo);

        for(y=0;y<height;y++) {
        unsigned char*j = &dest[width*y*3];
        jpeg_read_scanlines(&cinfo,&j,1);
        }

        jpeg_finish_decompress(&cinfo);
        jpeg_destroy_decompress(&cinfo);
        return 1;
    }

    typedef struct _RGBA {
        unsigned char a,r,g,b;
    } RGBA;

    typedef unsigned char U8;

    int jpeg_load(const char*filename, unsigned char**dest, int*_width, int*_height)
    {
        struct jpeg_decompress_struct cinfo;
        struct jpeg_error_mgr jerr;
        //struct jpeg_source_mgr mgr;

        FILE*fi = fopen(filename, "rb");
        if(!fi) {
            fprintf(stderr, "Couldn't open file %s\n", filename);
        return 0;
        }

        cinfo.err = jpeg_std_error(&jerr);
        jpeg_create_decompress(&cinfo);
        jpeg_stdio_src(&cinfo, fi);
        jpeg_read_header(&cinfo, TRUE);
        jpeg_start_decompress(&cinfo);
        
        U8*scanline = (U8 *)malloc(4 * cinfo.output_width);

        int width = *_width = cinfo.output_width;
        int height = *_height = cinfo.output_height;
        *dest = (unsigned char*)malloc(width*height*4);

        int y;
        for (y=0;y<height;y++) {
        int x;
        U8 *js = scanline;
            RGBA*line = &((RGBA*)(*dest))[y*width];

        jpeg_read_scanlines(&cinfo, &js, 1);
        if (cinfo.out_color_space == JCS_GRAYSCALE) {
            for (x = 0; x < width; x++) {
            line[x].a = 255;
            line[x].r = line[x].g = line[x].b = js[x];
            }
        } else if (cinfo.out_color_space == JCS_RGB) {
            for (x = width - 1; x >= 0; x--) {
            line[x].a = 255;
            line[x].r = js[x*3+0];
            line[x].g = js[x*3+1];
            line[x].b = js[x*3+2];
            }
        } else if (cinfo.out_color_space == JCS_YCCK) {
            fprintf(stderr, "Error: Can't convert YCCK to RGB.\n");
            return 0;
        } else if (cinfo.out_color_space == JCS_YCbCr) {
            for (x = 0; x < width; x++) {
            int y = js[x * 3 + 0];
            int u = js[x * 3 + 1];
            int v = js[x * 3 + 1];
            line[x].a = 255;
            line[x].r = y + ((360 * (v - 128)) >> 8);
            line[x].g = y - ((88 * (u - 128) + 183 * (v - 128)) >> 8);
            line[x].b = y + ((455 * (u - 128)) >> 8);
            }
        } else if (cinfo.out_color_space == JCS_CMYK) {
            for (x = 0; x < width; x++) {
            int white = 255 - js[x * 4 + 3];
            line[x].a = 255;
            line[x].r = white - ((js[x * 4] * white) >> 8);
            line[x].g = white - ((js[x * 4 + 1] * white) >> 8);
            line[x].b = white - ((js[x * 4 + 2] * white) >> 8);
            }
        }
        }

        free(scanline);

        jpeg_finish_decompress(&cinfo);
        jpeg_destroy_decompress(&cinfo);
        fclose(fi);
        return 1;
    }

     

     

    JpegFile.h

    Spoiler

    #ifndef _JPEGFILE_H_
    #define _JPEGFILE_H_

    #include <stdio.h>

    int jpeg_save(unsigned char*data_1, int width, int height, int quality, const char*filename);
    int jpeg_save_to_file(unsigned char*data_1, int width, int height, int quality, FILE*fi);
    int jpeg_save_to_mem(unsigned char*data_1, int width, int height, int quality, unsigned char*dest, int destsize);
    int jpeg_load(const char*filename, unsigned char**dest, int*width, int*height);
    int jpeg_load_from_mem(unsigned char*_data, int size_1, unsigned char*dest, int width, int height);

    #endif

     

     

    • Love 10
  6. I've upgraded compiler version and now with the same source code I have few errors.

    Severity    Code    Description    Project    File    Line    Suppression State
    Error    C2872    'data': ambiguous symbol    eterlib    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\EterLib\JpegFile.cpp    216    
    Error    C2872    'size': ambiguous symbol    eterlib    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\EterLib\JpegFile.cpp    217    
    Error    C2872    'size': ambiguous symbol    eterlib    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\EterLib\JpegFile.cpp    224    
    Error    C2872    'size': ambiguous symbol    eterlib    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\EterLib\JpegFile.cpp    231    
    Error    C2872    'size': ambiguous symbol    eterlib    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\EterLib\JpegFile.cpp    241    
    Error    C2872    'data': ambiguous symbol    eterlib    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\EterLib\JpegFile.cpp    242    
    Error    C2872    'size': ambiguous symbol    eterlib    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\EterLib\JpegFile.cpp    243    
    Error    C2872    'data': ambiguous symbol    eterlib    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\EterLib\JpegFile.cpp    261    
    Error    C2872    'size': ambiguous symbol    eterlib    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\EterLib\JpegFile.cpp    262    
    Error    C2872    'data': ambiguous symbol    eterlib    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\EterLib\JpegFile.cpp    266    
    Error    C2872    'size': ambiguous symbol    eterlib    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\EterLib\JpegFile.cpp    267    
    Error    C2039    'back_inserter': is not a member of 'std'    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\MarkManager.cpp    396    
    Error    C3861    'back_inserter': identifier not found    UserInterface    D:\DEV\METIN2CLIENT\Launcher 4 Inventare\Metin2Client\UserInterface\MarkManager.cpp    396    

     

     

  7. Spoiler


    root@Metin2HFM:/usr/src/mainline/game/src # gmake -j20
    compile BattleArena.cpp
    compile FSM.cpp
    compile MarkConvert.cpp
    compile MarkImage.cpp
    compile MarkManager.cpp
    compile OXEvent.cpp
    compile TrafficProfiler.cpp
    compile ani.cpp
    compile arena.cpp
    compile banword.cpp
    compile battle.cpp
    compile blend_item.cpp
    compile block_country.cpp
    compile buffer_manager.cpp
    compile building.cpp
    compile castle.cpp
    compile char.cpp
    compile char_affect.cpp
    compile char_battle.cpp
    compile char_change_empire.cpp
    compile char_horse.cpp
    In file included from char.cpp:4:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    compile char_item.cpp
    compile char_manager.cpp
    compile char_quickslot.cpp
    In file included from char.cpp:25:
    shop_manager.h:40:7: warning: no newline at end of file
    In file included from char.cpp:62:
    PetSystem.h:163:31: warning: no newline at end of file
    char.cpp:7221: warning: this decimal constant is unsigned only in ISO C90
    In file included from char_battle.cpp:27:
    shop_manager.h:40:7: warning: no newline at end of file
    In file included from char_item.cpp:44:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    In file included from char_item.cpp:47:
    belt_inventory_helper.h:108:42: warning: no newline at end of file
    compile char_skill.cpp
    compile char_resist.cpp
    In file included from char_horse.cpp:14:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    compile char_state.cpp
    compile PetSystem.cpp
    compile cmd.cpp
    compile cmd_emotion.cpp
    compile cmd_general.cpp
    In file included from PetSystem.cpp:8:
    PetSystem.h:163:31: warning: no newline at end of file
    In file included from PetSystem.cpp:9:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    PetSystem.cpp:637:2: warning: no newline at end of file
    In file included from cmd_general.cpp:36:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    In file included from char_state.cpp:25:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    compile cmd_gm.cpp
    compile cmd_oxevent.cpp
    compile config.cpp
    PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
    PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone'
    PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':
    PetSystem.cpp:552: warning: unused variable 'petVID'
    compile crc32.cpp
    compile cube.cpp
    compile db.cpp
    compile desc.cpp
    compile desc_client.cpp
    compile desc_manager.cpp
    compile desc_p2p.cpp
    In file included from desc_manager.cpp:15:
    ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
    desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':
    desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions
    cube.cpp: In function 'bool Cube_make(CHARACTER*)':
    cube.cpp:544: warning: comparison between signed and unsigned integer expressions
    cube.cpp: In function 'void Cube_MakeCubeInformationText()':
    cube.cpp:716: warning: unused variable 'npcVNUM'
    cube.cpp: In function 'bool Cube_InformationInitialize()':
    cube.cpp:783: warning: comparison between signed and unsigned integer expressions
    char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
    char_state.cpp:901: warning: unused variable 'rider'
    compile dev_log.cpp
    compile dungeon.cpp
    compile empire_text_convert.cpp
    compile entity.cpp
    compile constants.cpp
    char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
    char.cpp:3088: warning: comparison between signed and unsigned integer expressions
    In file included from config.cpp:22:
    check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
    check_server.h:24: warning: comparison between signed and unsigned integer expressions
    config.cpp: In function 'void config_init(const std::string&)':
    config.cpp:435: warning: NULL used in arithmetic
    config.cpp:459: warning: NULL used in arithmetic
    config.cpp:483: warning: NULL used in arithmetic
    config.cpp:505: warning: unused variable 'line'
    In file included from char_item.cpp:47:
    belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
    belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions
    char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
    char_item.cpp:640: warning: comparison is always false due to limited range of data type
    char_item.cpp:666: warning: comparison is always false due to limited range of data type
    char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
    char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
    char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
    char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
    char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
    char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
    char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
    char_item.cpp:5087: warning: comparison between signed and unsigned integer expressions
    char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
    char_item.cpp:5159: warning: unused variable 'wDestCell'
    char_item.cpp:5160: warning: unused variable 'bDestInven'
    char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
    char_item.cpp:6160: warning: array subscript has type 'char'
    char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':
    char_item.cpp:6224: warning: comparison between signed and unsigned integer expressions
    char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
    char_item.cpp:6236: warning: comparison between signed and unsigned integer expressions
    char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':
    char_item.cpp:7422: warning: unused variable 'itemType'
    char_item.cpp:7423: warning: unused variable 'itemSubType'
    char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
    char_item.cpp:679: warning: control reaches end of non-void function
    cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:3935: warning: NULL used in arithmetic
    char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':
    char_item.cpp:6271: warning: 'pBuff' may be used uninitialized in this function
    compile entity_view.cpp
    compile event.cpp
    compile event_queue.cpp
    compile exchange.cpp
    compile file_loader.cpp
    compile fishing.cpp
    compile gm.cpp
    compile guild.cpp
    constants.cpp:291: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:292: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:293: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:294: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:295: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:296: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:297: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:298: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:299: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:300: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:301: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:302: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:303: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:304: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:305: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:306: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:307: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:308: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:309: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:310: warning: this decimal constant is unsigned only in ISO C90
    constants.cpp:311: warning: this decimal constant is unsigned only in ISO C90
    compile guild_manager.cpp
    compile guild_war.cpp
    compile horse_rider.cpp
    compile horsename_manager.cpp
    compile input.cpp
    compile input_auth.cpp
    compile input_db.cpp
    cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:4357: warning: 'cell' may be used uninitialized in this function
    cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:3977: warning: 'n' may be used uninitialized in this function
    cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:855: warning: 'x' may be used uninitialized in this function
    cmd_gm.cpp:855: warning: 'y' may be used uninitialized in this function
    compile input_login.cpp
    compile input_main.cpp
    compile input_p2p.cpp
    compile input_teen.cpp
    In file included from input_db.cpp:13:
    shop_manager.h:40:7: warning: no newline at end of file
    input_db.cpp:2722:2: warning: no newline at end of file
    compile input_udp.cpp
    input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)':
    input_auth.cpp:467: warning: unused variable 'last'
    In file included from input_main.cpp:16:
    shop_manager.h:40:7: warning: no newline at end of file
    compile ip_ban.cpp
    compile item.cpp
    compile item_addon.cpp
    compile item_attribute.cpp
    compile item_manager.cpp
    compile item_manager_idrange.cpp
    In file included from item_manager.cpp:21:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    In file included from item.cpp:22:
    belt_inventory_helper.h:108:42: warning: no newline at end of file
    In file included from item.cpp:23:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    item.cpp:2084:2: warning: no newline at end of file
    compile locale.cpp
    compile locale_service.cpp
    compile log.cpp
    compile login_data.cpp
    compile lzo_manager.cpp
    compile marriage.cpp
    compile matrix_card.cpp
    compile messenger_manager.cpp
    compile mining.cpp
    compile mob_manager.cpp
    compile monarch.cpp
    compile motion.cpp
    compile over9refine.cpp
    monarch.cpp:276:2: warning: no newline at end of file
    compile p2p.cpp
    compile packet_info.cpp
    compile party.cpp
    In file included from item.cpp:22:
    belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
    belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions
    item.h: In constructor 'CItem::CItem(DWORD)':
    item.h:286: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized after
    item.h:283: warning:   'LPEVENT CItem::m_pkExpireEvent'
    item.cpp:25: warning:   when initialized here
    item.cpp: In function 'const bool CanPutIntoRing(CItem*, CItem*)':
    item.cpp:1725: warning: unused variable 'vnum'
    item.cpp: In member function 'bool CItem::CanPutInto(CItem*)':
    item.cpp:1758: warning: comparison between signed and unsigned integer expressions
    item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)':
    item.cpp:2014: warning: comparison between signed and unsigned integer expressions
    item.cpp:2016: warning: comparison between signed and unsigned integer expressions
    item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)':
    item.cpp:2038: warning: comparison between signed and unsigned integer expressions
    item.cpp: In member function 'int CItem::GetDuration()':
    item.cpp:2069: warning: array subscript has type 'char'
    compile passpod.cpp
    compile pcbang.cpp
    compile polymorph.cpp
    compile priv_manager.cpp
    item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)':
    item_manager.cpp:604: warning: comparison between signed and unsigned integer expressions
    compile pvp.cpp
    compile questevent.cpp
    compile questlua.cpp
    compile questlua_affect.cpp
    compile questlua_arena.cpp
    compile questlua_ba.cpp
    compile questlua_building.cpp
    compile questlua_danceevent.cpp
    compile questlua_dungeon.cpp
    questlua.cpp: In member function 'bool quest::FPartyCheckFlagLt::operator()(CHARACTER*)':
    questlua.cpp:78: warning: 'returnBool' may be used uninitialized in this function
    compile questlua_forked.cpp
    compile questlua_game.cpp
    compile questlua_global.cpp
    compile questlua_guild.cpp
    compile questlua_horse.cpp
    compile questlua_pet.cpp
    compile questlua_item.cpp
    compile questlua_marriage.cpp
    compile questlua_mgmt.cpp
    compile questlua_monarch.cpp
    compile questlua_npc.cpp
    compile questlua_oxevent.cpp
    compile questlua_party.cpp
    compile questlua_pc.cpp
    In file included from questlua_pet.cpp:11:
    PetSystem.h:163:31: warning: no newline at end of file
    questlua_pet.cpp:157:2: warning: no newline at end of file
    compile questlua_quest.cpp
    compile questlua_target.cpp
    In file included from questlua_npc.cpp:9:
    shop_manager.h:40:7: warning: no newline at end of file
    compile questmanager.cpp
    compile questnpc.cpp
    compile questpc.cpp
    compile refine.cpp
    compile regen.cpp
    compile safebox.cpp
    compile sectree.cpp
    questnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)':
    questnpc.cpp:500: warning: unused variable 'pPC'
    questlua_npc.cpp: In function 'int quest::npc_get_vid_attack_mul(lua_State*)':
    questlua_npc.cpp:293: warning: unused variable 'q'
    questlua_npc.cpp: In function 'int quest::npc_set_vid_attack_mul(lua_State*)':
    questlua_npc.cpp:309: warning: unused variable 'q'
    questlua_npc.cpp: In function 'int quest::npc_get_vid_damage_mul(lua_State*)':
    questlua_npc.cpp:324: warning: unused variable 'q'
    questlua_npc.cpp: In function 'int quest::npc_set_vid_damage_mul(lua_State*)':
    questlua_npc.cpp:340: warning: unused variable 'q'
    compile sectree_manager.cpp
    compile sequence.cpp
    compile shop.cpp
    compile skill.cpp
    compile start_position.cpp
    compile target.cpp
    compile text_file_loader.cpp
    compile trigger.cpp
    In file included from trigger.cpp:8:
    shop_manager.h:40:7: warning: no newline at end of file
    compile utils.cpp
    compile vector.cpp
    compile war_map.cpp
    compile wedding.cpp
    utils.cpp: In function 'bool WildCaseCmp(const char*, const char*)':
    utils.cpp:243: warning: NULL used in arithmetic
    utils.cpp:255: warning: NULL used in arithmetic
    utils.cpp:269: warning: NULL used in arithmetic
    compile xmas_event.cpp
    compile panama.cpp
    compile threeway_war.cpp
    version.cpp:14:2: warning: no newline at end of file
    shop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)':
    shop.cpp:576: warning: comparison between signed and unsigned integer expressions
    compile version.cpp
    compile map_location.cpp
    compile auth_brazil.cpp
    compile BlueDragon.cpp
    compile BlueDragon_Binder.cpp
    compile DragonLair.cpp
    compile questlua_dragonlair.cpp
    compile HackShield.cpp
    compile HackShield_Impl.cpp
    compile char_hackshield.cpp
    compile skill_power.cpp
    compile affect.cpp
    compile questlua_speedserver.cpp
    compile XTrapManager.cpp
    compile SpeedServer.cpp
    compile auction_manager.cpp
    compile FileMonitor_FreeBSD.cpp
    compile ClientPackageCryptInfo.cpp
    compile cipher.cpp
    compile buff_on_attributes.cpp
    compile check_server.cpp
    compile dragon_soul_table.cpp
    In file included from dragon_soul_table.cpp:4:
    dragon_soul_table.h:74:7: warning: no newline at end of file
    compile DragonSoul.cpp
    compile group_text_parse_tree.cpp
    compile char_dragonsoul.cpp
    compile questlua_dragonsoul.cpp
    dragon_soul_table.cpp: In member function 'bool DragonSoulTable::ReadAdditionalApplys()':
    dragon_soul_table.cpp:223: warning: comparison between signed and unsigned integer expressions
    dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckApplyNumSettings()':
    dragon_soul_table.cpp:283: warning: comparison between signed and unsigned integer expressions
    dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckWeightTables()':
    dragon_soul_table.cpp:311: warning: comparison between signed and unsigned integer expressions
    dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineGradeTables()':
    dragon_soul_table.cpp:343: warning: comparison between signed and unsigned integer expressions
    dragon_soul_table.cpp:372: warning: comparison between signed and unsigned integer expressions
    dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStepTables()':
    dragon_soul_table.cpp:397: warning: comparison between signed and unsigned integer expressions
    dragon_soul_table.cpp:427: warning: comparison between signed and unsigned integer expressions
    dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStrengthTables()':
    dragon_soul_table.cpp:453: warning: comparison between signed and unsigned integer expressions
    dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonHeartExtTables()':
    dragon_soul_table.cpp:494: warning: comparison between signed and unsigned integer expressions
    dragon_soul_table.cpp:513: warning: comparison between signed and unsigned integer expressions
    dragon_soul_table.cpp:522: warning: comparison between signed and unsigned integer expressions
    dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonSoulExtTables()':
    dragon_soul_table.cpp:545: warning: comparison between signed and unsigned integer expressions
    group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = std::string]':
    dragon_soul_table.cpp:129:   instantiated from here
    group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
    group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = BYTE]':
    dragon_soul_table.cpp:134:   instantiated from here
    group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
    group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = int]':
    dragon_soul_table.cpp:201:   instantiated from here
    group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
    group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(const std::string&, T&) const [with T = float]':
    dragon_soul_table.cpp:260:   instantiated from here
    group_text_parse_tree.h:220: warning: comparison between signed and unsigned integer expressions
    group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = float]':
    dragon_soul_table.cpp:828:   instantiated from here
    group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
    FileMonitor_FreeBSD.cpp:136:2: warning: no newline at end of file
    In file included from ClientPackageCryptInfo.cpp:2:
    ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
    ClientPackageCryptInfo.h: In constructor 'CClientPackageCryptInfo::CClientPackageCryptInfo()':
    ClientPackageCryptInfo.h:50: warning: 'CClientPackageCryptInfo::m_pSerializedCryptKeyStream' will be initialized after
    ClientPackageCryptInfo.h:48: warning:   'int CClientPackageCryptInfo::m_nCryptKeyPackageCnt'
    ClientPackageCryptInfo.cpp:9: warning:   when initialized here
    In file included from check_server.cpp:1:
    check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
    check_server.h:24: warning: comparison between signed and unsigned integer expressions
    buff_on_attributes.cpp: In member function 'void CBuffOnAttributes::ChangeBuffValue(BYTE)':
    buff_on_attributes.cpp:113: warning: unused variable 'old_value'
    buff_on_attributes.cpp:114: warning: unused variable 'new_value'
    char_dragonsoul.cpp:143:2: warning: no newline at end of file
    char_dragonsoul.cpp: In member function 'bool CHARACTER::DragonSoul_ActivateDeck(int)':
    char_dragonsoul.cpp:91: warning: control reaches end of non-void function
    compile shop_manager.cpp
    group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = int]':
    group_text_parse_tree.h:159:   instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = int]'
    group_text_parse_tree.h:203:   instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = int]'
    dragon_soul_table.cpp:612:   instantiated from here
    group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
    group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]':
    group_text_parse_tree.h:159:   instantiated from 'bool CGroupNode::GetValue(const std::string&, const std::string&, T&) const [with T = unsigned int]'
    group_text_parse_tree.h:203:   instantiated from 'bool CGroupNode::GetGroupValue(const std::string&, const std::string&, const std::string&, T&) const [with T = unsigned int]'
    dragon_soul_table.cpp:884:   instantiated from here
    group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
    compile shopEx.cpp
    compile item_manager_read_tables.cpp
    In file included from DragonSoul.cpp:9:
    dragon_soul_table.h:74:7: warning: no newline at end of file
    In file included from shop_manager.cpp:22:
    shop_manager.h:40:7: warning: no newline at end of file
    compile minilzo.c
    group_text_parse_tree.h: In constructor 'CGroupTextParseTreeLoader::CGroupTextParseTreeLoader()':
    group_text_parse_tree.h:93: warning: 'CGroupTextParseTreeLoader::m_dwcurLineIndex' will be initialized after
    group_text_parse_tree.h:91: warning:   'CGroupNode* CGroupTextParseTreeLoader::m_pRootGroupNode'
    group_text_parse_tree.cpp:5: warning:   when initialized here
    group_text_parse_tree.cpp: In member function 'bool CGroupTextParseTreeLoader::LoadGroup(CGroupNode*)':
    group_text_parse_tree.cpp:99: warning: comparison between signed and unsigned integer expressions
    group_text_parse_tree.cpp: In member function 'bool CGroupNode::GetRow(int, const CGroupNode::CGroupNodeRow**) const':
    group_text_parse_tree.cpp:206: warning: comparison between signed and unsigned integer expressions
    DragonSoul.cpp: In function 'int Gamble(std::vector<float, std::allocator<float> >&)':
    DragonSoul.cpp:19: warning: comparison between signed and unsigned integer expressions
    DragonSoul.cpp:25: warning: comparison between signed and unsigned integer expressions
    DragonSoul.cpp: In member function 'bool DSManager::RefreshItemAttributes(CItem*)':
    DragonSoul.cpp:203: warning: comparison between signed and unsigned integer expressions
    DragonSoul.cpp: In member function 'bool DSManager::PutAttributes(CItem*)':
    DragonSoul.cpp:273: warning: comparison between signed and unsigned integer expressions
    DragonSoul.cpp: In member function 'bool DSManager::ExtractDragonHeart(CHARACTER*, CItem*, CItem*)':
    DragonSoul.cpp:350: warning: unused variable 'sum'
    DragonSoul.cpp: In member function 'bool DSManager::PullOut(CHARACTER*, TItemPos, CItem*&, CItem*)':
    DragonSoul.cpp:435: warning: unused variable 'dwVnum'
    DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 3 has type 'double'
    DragonSoul.cpp:469: warning: format '%d' expects type 'int', but argument 4 has type 'double'
    DragonSoul.cpp: In member function 'bool DSManager::DoRefineGrade(CHARACTER*, TItemPos (&)[15])':
    DragonSoul.cpp:555: warning: unused variable 'prob_sum'
    DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(CHARACTER*, TItemPos (&)[15])':
    DragonSoul.cpp:763: warning: unused variable 'sum'
    item_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char*)':
    item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup'
    shopEx.cpp: In member function 'virtual int CShopEx::Buy(CHARACTER*, BYTE)':
    shopEx.cpp:159: warning: comparison between signed and unsigned integer expressions
    shop_manager.cpp: In function 'bool ConvertToShopItemTable(CGroupNode*, TShopTableEx&)':
    shop_manager.cpp:473: warning: comparison between signed and unsigned integer expressions
    group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned int]':
    group_text_parse_tree.h:175:   instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = DWORD]'
    shop_manager.cpp:381:   instantiated from here
    group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
    group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
    group_text_parse_tree.h:175:   instantiated from 'bool CGroupNode::GetValue(const std::string&, int, T&) const [with T = std::string]'
    shop_manager.cpp:387:   instantiated from here
    group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
    group_text_parse_tree.h: In member function 'bool CGroupNode::CGroupNodeRow::GetValue(int, T&) const [with T = unsigned char]':
    group_text_parse_tree.h:136:   instantiated from 'bool CGroupNode::GetValue(size_t, const std::string&, T&) const [with T = BYTE]'
    shop_manager.cpp:442:   instantiated from here
    group_text_parse_tree.h:228: warning: comparison between signed and unsigned integer expressions
    item_manager_read_tables.cpp:627: warning: 'pkGroup' may be used uninitialized in this function
    linking ../game_r_32....
    linking ../test
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::GetData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
    /usr/src/mainline/game/src/MarkImage.cpp:128: undefined reference to `ilBindImage'
    /usr/src/mainline/game/src/MarkImage.cpp:129: undefined reference to `ilCopyPixels'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::PutData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
    /usr/src/mainline/game/src/MarkImage.cpp:122: undefined reference to `ilBindImage'
    /usr/src/mainline/game/src/MarkImage.cpp:123: undefined reference to `ilSetPixels'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Save(char const*)':
    /usr/src/mainline/game/src/MarkImage.cpp:48: undefined reference to `ilEnable'
    /usr/src/mainline/game/src/MarkImage.cpp:49: undefined reference to `ilBindImage'
    /usr/src/mainline/game/src/MarkImage.cpp:51: undefined reference to `ilSave'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Create()':
    /usr/src/mainline/game/src/MarkImage.cpp:43: undefined reference to `ilGenImages'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Destroy()':
    /usr/src/mainline/game/src/MarkImage.cpp:34: undefined reference to `ilDeleteImages'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Load(char const*)':
    /usr/src/mainline/game/src/MarkImage.cpp:92: undefined reference to `ilBindImage'
    /usr/src/mainline/game/src/MarkImage.cpp:93: undefined reference to `ilEnable'
    /usr/src/mainline/game/src/MarkImage.cpp:94: undefined reference to `ilOriginFunc'
    /usr/src/mainline/game/src/MarkImage.cpp:96: undefined reference to `ilLoad'
    /usr/src/mainline/game/src/MarkImage.cpp:102: undefined reference to `ilGetInteger'
    /usr/src/mainline/game/src/MarkImage.cpp:108: undefined reference to `ilGetInteger'
    /usr/src/mainline/game/src/MarkImage.cpp:114: undefined reference to `ilConvertImage'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Build(char const*)':
    /usr/src/mainline/game/src/MarkImage.cpp:64: undefined reference to `ilBindImage'
    /usr/src/mainline/game/src/MarkImage.cpp:65: undefined reference to `ilEnable'
    /usr/src/mainline/game/src/MarkImage.cpp:66: undefined reference to `ilOriginFunc'
    /usr/src/mainline/game/src/MarkImage.cpp:71: undefined reference to `ilTexImage'
    /usr/src/mainline/game/src/MarkImage.cpp:79: undefined reference to `ilEnable'
    /usr/src/mainline/game/src/MarkImage.cpp:81: undefined reference to `ilSave'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::GetData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
    /usr/src/mainline/game/src/MarkImage.cpp:128: undefined reference to `ilBindImage'
    /usr/src/mainline/game/src/MarkImage.cpp:129: undefined reference to `ilCopyPixels'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::PutData(unsigned int, unsigned int, unsigned int, unsigned int, void*)':
    /usr/src/mainline/game/src/MarkImage.cpp:122: undefined reference to `ilBindImage'
    /usr/src/mainline/game/src/MarkImage.cpp:123: undefined reference to `ilSetPixels'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Save(char const*)':
    /usr/src/mainline/game/src/MarkImage.cpp:48: undefined reference to `ilEnable'
    /usr/src/mainline/game/src/MarkImage.cpp:49: undefined reference to `ilBindImage'
    /usr/src/mainline/game/src/MarkImage.cpp:51: undefined reference to `ilSave'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Create()':
    /usr/src/mainline/game/src/MarkImage.cpp:43: undefined reference to `ilGenImages'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Destroy()':
    /usr/src/mainline/game/src/MarkImage.cpp:34: undefined reference to `ilDeleteImages'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Load(char const*)':
    /usr/src/mainline/game/src/MarkImage.cpp:92: undefined reference to `ilBindImage'
    /usr/src/mainline/game/src/MarkImage.cpp:93: undefined reference to `ilEnable'
    /usr/src/mainline/game/src/MarkImage.cpp:94: undefined reference to `ilOriginFunc'
    /usr/src/mainline/game/src/MarkImage.cpp:96: undefined reference to `ilLoad'
    /usr/src/mainline/game/src/MarkImage.cpp:102: undefined reference to `ilGetInteger'
    /usr/src/mainline/game/src/MarkImage.cpp:108: undefined reference to `ilGetInteger'
    /usr/src/mainline/game/src/MarkImage.cpp:114: undefined reference to `ilConvertImage'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Build(char const*)':
    /usr/src/mainline/game/src/MarkImage.cpp:64: undefined reference to `ilBindImage'
    /usr/src/mainline/game/src/MarkImage.cpp:65: undefined reference to `ilEnable'
    /usr/src/mainline/game/src/MarkImage.cpp:66: undefined reference to `ilOriginFunc'
    /usr/src/mainline/game/src/MarkImage.cpp:71: undefined reference to `ilTexImage'
    /usr/src/mainline/game/src/MarkImage.cpp:79: undefined reference to `ilEnable'
    /usr/src/mainline/game/src/MarkImage.cpp:81: undefined reference to `ilSave'
    OBJDIR/main.o: In function `main':
    /usr/src/mainline/game/src/main.cpp:456: undefined reference to `ilInit'
    gmake: *** [../test] Error 1
    gmake: *** Waiting for unfinished jobs....
    gmake: *** [../game_r_32] Error 1
    root@Metin2HFM:/usr/src/mainline/game/src #

     

     

  8. Hi there !

    I try to solve all of these errors.  If someone know how to solve one of these errors it's welcome. Thanks.

    Entergame: !GetMovablePosition (name xAimee 900x1207800 map 33 changed to 10000x1207800)

    Select: wrong QUEST_SELECT request! : 166409

    CalcMeleeDamage: CalcMeleeDamage should not handle bows (name: EneRgizanT)

    LoadGuildData: Query failed: getting guild data SELECT master, level, exp, name, skill_point, skill, sp, ladder_point, win, draw, loss, gold FROM guild WHERE id = 19412

     

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.