Jump to content

Sinval

Inactive Member
  • Posts

    52
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Sinval

  1. game/item.cpp

                    if ((dwVnum = GetSocket(i)) <= 2)

    >>>

                    if ((dwVnum = GetSocket(i)) <= 3)
    int CItem::GetAccessorySocketGrade()
    {
           return MINMAX(0, GetSocket(0), GetAccessorySocketMaxGrade());
    }
    
    int CItem::GetAccessorySocketMaxGrade()
    {
           return MINMAX(0, GetSocket(1), ITEM_ACCESSORY_SOCKET_MAX_NUM);
    }
    
    int CItem::GetAccessorySocketDownGradeTime()
    {
        return MINMAX(0, GetSocket(2), aiAccessorySocketDegradeTime[GetAccessorySocketGrade()]);
    }

    >>>>

    int CItem::GetAccessorySocketGrade()
    {
           return MINMAX(0, GetSocket(0), GetAccessorySocketMaxGrade());
    }
    
    int CItem::GetAccessorySocketMaxGrade()
    {
           return MINMAX(0, GetSocket(1), ITEM_ACCESSORY_SOCKET_MAX_NUM);
    }
    
    int CItem::GetAccessorySocketDownGradeTime()
    {
        return MINMAX(0, GetSocket(2), ITEM_ACCESSORY_SOCKET_MAX_NUM);
    }
    
    int CItem::GetAccessorySocketDownGradeTime()
    {
        return MINMAX(0, GetSocket(3), aiAccessorySocketDegradeTime[GetAccessorySocketGrade()]);
    }

    item_manager.cpp

    if (socket > 2 && socket != ITEM_BROKEN_METIN_VNUM)

    >>

    if (socket > 3 && socket != ITEM_BROKEN_METIN_VNUM)

    not tested.

  2. This difference file is created by aNNdii and Hazel
    
    db_1866
    00092873: 65 61
    00092874: 6D 2E
    00092875: 70 65
    00092876: 69 6D
    00092877: 72 70
    00092878: 65 69
    00092879: 2C 72
    0009287A: 20 65
    0009287B: 70 2C
    0009287C: 69 61
    0009287D: 64 2E
    0009287E: 2C 70
    0009287F: 20 69
    00092880: 6E 64
    00092881: 61 2C
    00092882: 6D 62
    00092883: 65 2E
    00092884: 2C 6E
    00092885: 20 61
    00092887: 6F 65
    00092888: 6E 2C
    00092889: 65 61
    0009288A: 79 2E
    0009288B: 2C 6D
    0009288C: 20 6F
    0009288D: 77 6E
    0009288E: 69 65
    0009288F: 6E 79
    00092890: 64 2C
    00092892: 74 2E
    00092893: 65 77
    00092894: 20 69
    00092895: 46 6E
    00092896: 52 64
    00092897: 4F 61
    00092898: 4D 74
    00092899: 20 65
    0009289A: 6D 20
    0009289B: 6F 46
    0009289C: 6E 52
    0009289D: 61 4F
    0009289E: 72 4D
    0009289F: 63 20
    000928A0: 68 6D
    000928A1: 20 6F
    000928A2: 61 6E
    000928A3: 2C 61
    000928A4: 20 72
    000928A5: 70 63
    000928A6: 6C 68
    000928A7: 61 20
    000928A8: 79 61
    000928A9: 65 2C
    000928AA: 72 20
    000928AB: 25 70
    000928AC: 73 6C
    000928AD: 20 61
    000928AE: 62 79
    000928AF: 20 65
    000928B0: 77 72
    000928B1: 68 25
    000928B2: 65 73
    000928B3: 72 20
    000928B4: 65 62
    000928B6: 61 57
    000928B7: 2E 48
    000928B8: 70 45
    000928B9: 69 52
    000928BA: 64 45
    000928BB: 3D 20
    000928BC: 62 61
    000928BE: 69 70
    000928BF: 64 69
    000928C0: 00 64
    000928C1: 00 20
    000928C2: 00 3D
    000928C3: 00 20
    000928C4: 5B 62
    000928C5: 4C 2E
    000928C6: 4F 69
    000928C7: 41 64
    000928C8: 44 00
    000928C9: 5F 5B
    000929C7: 70 61
    000929C8: 69 2E
    000929C9: 64 70
    000929CA: 2C 69
    000929CB: 20 64
    000929CC: 6E 2C
    000929CD: 61 62
    000929CE: 6D 2E
    000929CF: 65 6E
    000929D0: 2C 61
    000929D1: 20 6D
    000929D2: 64 65
    000929D3: 61 2C
    000929D4: 74 61
    000929D5: 65 2E
    000929D6: 20 64
    000929D7: 46 61
    000929D8: 52 74
    000929D9: 4F 65
    000929DA: 4D 20
    000929DB: 20 46
    000929DC: 6D 52
    000929DD: 6F 4F
    000929DE: 6E 4D
    000929DF: 61 20
    000929E0: 72 6D
    000929E1: 63 6F
    000929E2: 68 6E
    000929E3: 5F 61
    000929E4: 63 72
    000929E5: 61 63
    000929E6: 6E 68
    000929E7: 64 5F
    000929E8: 69 63
    000929E9: 64 61
    000929EA: 61 6E
    000929EB: 63 64
    000929EC: 79 69
    000929ED: 20 64
    000929EF: 2C 63
    000929F0: 20 79
    000929F1: 70 20
    000929F2: 6C 61
    000929F3: 61 2C
    000929F4: 79 70
    000929F5: 65 6C
    000929F6: 72 61
    000929F7: 25 79
    000929F8: 73 65
    000929F9: 20 72
    000929FA: 62 25
    000929FB: 20 73
    000929FC: 77 20
    000929FD: 68 62
    000929FE: 65 20
    000929FF: 72 57
    00092A00: 65 48
    00092A01: 20 45
    00092A02: 61 52
    00092A03: 2E 45
    00092A04: 70 20
    00092A05: 69 61
    00092A06: 64 2E
    00092A07: 20 70
    00092A08: 3D 69
    00092A09: 20 64
    00092A0A: 62 20
    00092A0B: 2E 3D
    00092A0C: 69 20
    00092A0D: 64 62
    00092A0E: 00 2E
    00092A0F: 00 69
    00092A10: 5B 64
    00092A11: 4C 00
    00092A12: 4F 5B
    00092A13: 41 4D
    00092A14: 44 4F
    
    • Love 1
  3. i have use unsigned long long in the soruce of game

     

    config.cpp :

    unsigned long long gPlayerMaxYang = 2000000000;
    		TOKEN("max_yang")
    		{
    			str_to_number(gPlayerMaxYang, value_string);
    
    			gPlayerMaxYang = MINMAXYANG(1, gPlayerMaxYang, PLAYER_MAX_YANG_CONST);
    
    			fprintf(stderr, "PLAYER_MAX_YANG: %llun", gPlayerMaxYang);
    		}

    config.h:

    extern unsigned long long gPlayerMaxYang;

    length.h:

    PLAYER_MAX_YANG_CONST	= 100000000000LLU,

    utils.h:

    extern unsigned long long MINMAXYANG(unsigned long long min, unsigned long long value, unsigned long long max);

    utils.c:

    unsigned long long MINMAXYANG(unsigned long long min, unsigned long long value, unsigned long long max)
    {
        register unsigned long long tvv;
    
        tvv = (min > value ? min : value);
        return (max < tvv) ? max : tvv;
    }

    when start the server Server come this:

     

     

     

     

    but he dosent work ingame

     

     

    Thx Think but i need MORE MORE MORE :D trolololol

     

    DWORD in game source or client ? i think in game or ?

  4. char_item.cpp

    case 71051 : // ÁøÀç°¡
                                    {
                                        // À¯·´, ½Ì°¡Æú, º£Æ®³² ÁøÀç°¡ »ç¿ë±ÝÁö
                                        if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
                                            return false;
    
                                        LPITEM item2;
    
                                        if (!IsValidItemPosition(DestCell) || !(item2 = GetInventoryItem(wDestCell)))
                                            return false;
    
                                        if (item2->IsExchanging() == true)
                                            return false;
    
                                        if (item2->GetAttributeSetIndex() == -1)
                                        {
                                            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¼Ó¼ºÀ» º¯°æÇÒ ¼ö ¾ø´Â ¾ÆÀÌÅÛÀÔ´Ï´Ù."));
                                            return false;
                                        }
    
                                        if (item2->AddRareAttribute() == true)
                                        {
                                            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¼º°øÀûÀ¸·Î ¼Ó¼ºÀÌ Ãß°¡ µÇ¾ú½À´Ï´Ù"));
    
                                            int iAddedIdx = item2->GetRareAttrCount() + 4;
                                            char buf[21];
                                            snprintf(buf, sizeof(buf), "%u", item2->GetID());
    
                                            LogManager::instance().ItemLog(
                                                    GetPlayerID(),
                                                    item2->GetAttributeType(iAddedIdx),
                                                    item2->GetAttributeValue(iAddedIdx),
                                                    item->GetID(),
                                                    "ADD_RARE_ATTR",
                                                    buf,
                                                    GetDesc()->GetHostName(),
                                                    item->GetOriginalVnum());
    
                                            item->SetCount(item->GetCount() - 1);
                                        }
                                        else
                                        {
                                            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("´õ ÀÌ»ó ÀÌ ¾ÆÀÌÅÛÀ¸·Î ¼Ó¼ºÀ» Ãß°¡ÇÒ ¼ö ¾ø½À´Ï´Ù"));
                                        }
                                    }
                                    break;
    
                                case 71052 : // ÁøÀç°æ
                                    {
                                        // À¯·´, ½Ì°¡Æú, º£Æ®³² ÁøÀç°¡ »ç¿ë±ÝÁö
                                        if (LC_IsEurope() || LC_IsSingapore() || LC_IsVietnam())
                                            return false;
    
                                        LPITEM item2;
    
                                        if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell)))
                                            return false;
    
                                        if (item2->IsExchanging() == true)
                                            return false;
    
                                        if (item2->GetAttributeSetIndex() == -1)
                                        {
                                            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("¼Ó¼ºÀ» º¯°æÇÒ ¼ö ¾ø´Â ¾ÆÀÌÅÛÀÔ´Ï´Ù."));
                                            return false;
                                        }
    
                                        if (item2->ChangeRareAttribute() == true)
                                        {
                                            char buf[21];
                                            snprintf(buf, sizeof(buf), "%u", item2->GetID());
                                            LogManager::instance().ItemLog(this, item, "CHANGE_RARE_ATTR", buf);
    
                                            item->SetCount(item->GetCount() - 1);
                                        }
                                        else
                                        {
                                            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("º¯°æ ½Ãų ¼Ó¼ºÀÌ ¾ø½À´Ï´Ù"));
                                        }
                                    }
                                    break;
  5. root@Sinval:~ # cd /usr/src/mainline/Srcs/Server/game/src
    root@Sinval:/usr/src/mainline/Srcs/Server/game/src # gmake clean
    root@Sinval:/usr/src/mainline/Srcs/Server/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_change_empire.cpp
    compile char_horse.cpp
    compile char_item.cpp
    compile char_battle.cpp
    In file included from char_horse.cpp:14:
    ../../common/VnumHelper.h:59:32: 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
    In file included from char.cpp:4:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    In file included from char.cpp:25:
    shop_manager.h:40:7: warning: no newline at end of file
    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.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
    compile char_manager.cpp
    compile char_quickslot.cpp
    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'
    compile char_resist.cpp
    compile char_skill.cpp
    compile char_state.cpp
    In file included from char_state.cpp:25:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    compile PetSystem.cpp
    compile cmd.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
    compile cmd_emotion.cpp
    compile cmd_general.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 cmd_gm.cpp
    In file included from cmd_general.cpp:36:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    compile cmd_oxevent.cpp
    compile config.cpp
    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'
    compile constants.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 crc32.cpp
    compile cube.cpp
    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
    compile db.cpp
    compile desc.cpp
    compile desc_client.cpp
    desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':
    desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions
    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
    compile dev_log.cpp
    compile dungeon.cpp
    compile empire_text_convert.cpp
    compile entity.cpp
    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
    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
    compile input_login.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
    input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, const char*, char*)':
    input_auth.cpp:467: warning: unused variable 'last'
    compile input_main.cpp
    compile input_p2p.cpp
    compile input_teen.cpp
    In file included from input_main.cpp:16:
    shop_manager.h:40:7: warning: no newline at end of file
    compile input_udp.cpp
    compile ip_ban.cpp
    compile item.cpp
    compile item_addon.cpp
    compile item_attribute.cpp
    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 item_manager.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: 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'
    item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)':
    item_manager.cpp:604: warning: comparison between signed and unsigned integer expressions
    compile item_manager_idrange.cpp
    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
    monarch.cpp:276:2: warning: no newline at end of file
    compile motion.cpp
    compile over9refine.cpp
    compile p2p.cpp
    compile packet_info.cpp
    compile party.cpp
    compile passpod.cpp
    compile pcbang.cpp
    compile polymorph.cpp
    compile priv_manager.cpp
    compile pvp.cpp
    compile questevent.cpp
    compile questlua.cpp
    compile questlua_affect.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_arena.cpp
    compile questlua_ba.cpp
    compile questlua_building.cpp
    compile questlua_danceevent.cpp
    compile questlua_dungeon.cpp
    compile questlua_forked.cpp
    compile questlua_game.cpp
    compile questlua_global.cpp
    compile questlua_guild.cpp
    compile questlua_horse.cpp
    compile questlua_pet.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_item.cpp
    compile questlua_marriage.cpp
    compile questlua_mgmt.cpp
    compile questlua_monarch.cpp
    compile questlua_npc.cpp
    In file included from questlua_npc.cpp:9:
    shop_manager.h:40:7: warning: no newline at end of file
    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 questlua_oxevent.cpp
    compile questlua_party.cpp
    compile questlua_pc.cpp
    compile questlua_quest.cpp
    compile questlua_target.cpp
    compile questmanager.cpp
    compile questnpc.cpp
    questnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)':
    questnpc.cpp:500: warning: unused variable 'pPC'
    compile questpc.cpp
    compile refine.cpp
    compile regen.cpp
    compile safebox.cpp
    compile sectree.cpp
    compile sectree_manager.cpp
    compile sequence.cpp
    compile shop.cpp
    compile skill.cpp
    shop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)':
    shop.cpp:576: warning: comparison between signed and unsigned integer expressions
    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
    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 war_map.cpp
    compile wedding.cpp
    compile xmas_event.cpp
    version.cpp:14:2: warning: no newline at end of file
    compile version.cpp
    compile panama.cpp
    compile threeway_war.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 SpeedServer.cpp
    compile questlua_speedserver.cpp
    compile XTrapManager.cpp
    compile auction_manager.cpp
    compile FileMonitor_FreeBSD.cpp
    FileMonitor_FreeBSD.cpp:136:2: warning: no newline at end of file
    compile ClientPackageCryptInfo.cpp
    compile cipher.cpp
    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
    compile buff_on_attributes.cpp
    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'
    compile check_server.cpp
    ../../../Extern/include/cryptopp/algparam.h: In constructor 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':
    ../../../Extern/include/cryptopp/filters.h:793:   instantiated from here
    ../../../Extern/include/cryptopp/algparam.h:26: warning: unused variable 'cryptopp_assert_26'
    ../../../Extern/include/cryptopp/algparam.h: In member function 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]':
    cipher.cpp:397:   instantiated from here
    ../../../Extern/include/cryptopp/algparam.h:322: warning: unused variable 'p'
    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
    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
    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
    compile DragonSoul.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
    In file included from DragonSoul.cpp:9:
    dragon_soul_table.h:74:7: warning: no newline at end of file
    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'
    compile group_text_parse_tree.cpp
    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
    compile char_dragonsoul.cpp
    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 questlua_dragonsoul.cpp
    compile shop_manager.cpp
    In file included from shop_manager.cpp:22:
    shop_manager.h:40:7: warning: no newline at end of file
    compile shopEx.cpp
    shopEx.cpp: In member function 'virtual int CShopEx::Buy(CHARACTER*, BYTE)':
    shopEx.cpp:159: warning: comparison between signed and unsigned integer expressions
    compile item_manager_read_tables.cpp
    item_manager_read_tables.cpp: In member function 'bool ITEM_MANAGER::ReadMonsterDropItemGroup(const char*)':
    item_manager_read_tables.cpp:637: warning: unused variable 'pkGroup'
    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
    compile minilzo.c
    compile main.cpp
    compile test.cpp
    In file included from main.cpp:14:
    shop_manager.h:40:7: warning: no newline at end of file
    In file included from main.cpp:93:
    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
    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
    char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
    char.cpp:3088: 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'
    cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:3935: warning: NULL used in arithmetic
    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
    ../../../Extern/include/cryptopp/misc.h: At global scope:
    ../../../Extern/include/cryptopp/misc.h:548: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used
    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
    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
    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/Srcs/Server/game/src/MarkImage.cpp:128: undefined reference to `ilBindImage'
    /usr/src/mainline/Srcs/Server/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/Srcs/Server/game/src/MarkImage.cpp:122: undefined reference to `ilBindImage'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:123: undefined reference to `ilSetPixels'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Save(char const*)':
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:48: undefined reference to `ilEnable'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:49: undefined reference to `ilBindImage'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:51: undefined reference to `ilSave'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Create()':
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:43: undefined reference to `ilGenImages'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Destroy()':
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:34: undefined reference to `ilDeleteImages'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Load(char const*)':
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:92: undefined reference to `ilBindImage'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:93: undefined reference to `ilEnable'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:94: undefined reference to `ilOriginFunc'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:96: undefined reference to `ilLoad'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:102: undefined reference to `ilGetInteger'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:108: undefined reference to `ilGetInteger'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:114: undefined reference to `ilConvertImage'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Build(char const*)':
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:64: undefined reference to `ilBindImage'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:65: undefined reference to `ilEnable'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:66: undefined reference to `ilOriginFunc'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:71: undefined reference to `ilTexImage'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:79: undefined reference to `ilEnable'
    /usr/src/mainline/Srcs/Server/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/Srcs/Server/game/src/MarkImage.cpp:128: undefined reference to `ilBindImage'
    /usr/src/mainline/Srcs/Server/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/Srcs/Server/game/src/MarkImage.cpp:122: undefined reference to `ilBindImage'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:123: undefined reference to `ilSetPixels'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Save(char const*)':
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:48: undefined reference to `ilEnable'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:49: undefined reference to `ilBindImage'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:51: undefined reference to `ilSave'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Create()':
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:43: undefined reference to `ilGenImages'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Destroy()':
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:34: undefined reference to `ilDeleteImages'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Load(char const*)':
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:92: undefined reference to `ilBindImage'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:93: undefined reference to `ilEnable'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:94: undefined reference to `ilOriginFunc'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:96: undefined reference to `ilLoad'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:102: undefined reference to `ilGetInteger'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:108: undefined reference to `ilGetInteger'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:114: undefined reference to `ilConvertImage'
    OBJDIR/MarkImage.o: In function `CGuildMarkImage::Build(char const*)':
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:64: undefined reference to `ilBindImage'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:65: undefined reference to `ilEnable'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:66: undefined reference to `ilOriginFunc'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:71: undefined reference to `ilTexImage'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:79: undefined reference to `ilEnable'
    /usr/src/mainline/Srcs/Server/game/src/MarkImage.cpp:81: undefined reference to `ilSave'
    OBJDIR/main.o: In function `main':
    /usr/src/mainline/Srcs/Server/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@Sinval:/usr/src/mainline/Srcs/Server/game/src #
    
    

     

    fix ?

×
×
  • 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.