Jump to content

Rideas

Inactive Member
  • Posts

    137
  • Joined

  • Last visited

  • Days Won

    9
  • Feedback

    0%

Posts posted by Rideas

  1. Open : cmd_general.cpp
     
     Search:
     
    ACMD(do_unmount)
    {
     if (true == ch->UnEquipSpecialRideUniqueItem())
     {
    
      ch->RemoveAffect(AFFECT_MOUNT);
      ch->RemoveAffect(AFFECT_MOUNT_BONUS);
    
      if (ch->IsHorseRiding())
      {
       ch->StopRiding();
      }
     }
     else
     {
      ch->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("Àκ¥Å丮°¡ ²Ë Â÷¼­ ³»¸± ¼ö ¾ø½À´Ï´Ù."));
     }
    
    }

     
     Replace:
    ACMD(do_unmount)
    {
       LPITEM item = ch->GetWear(WEAR_UNIQUE1);
       LPITEM item2 = ch->GetWear(WEAR_UNIQUE2);
    
      if (item && item->IsRideItem())
        ch->UnequipItem(item);
      
      if (item2 && item2->IsRideItem())
        ch->UnequipItem(item2);
    
    	if (true == ch->UnEquipSpecialRideUniqueItem())
    	{
    		ch->RemoveAffect(AFFECT_MOUNT);
    		ch->RemoveAffect(AFFECT_MOUNT_BONUS);
    
    		if (ch->IsHorseRiding())
    		{
    			ch->StopRiding(); 
    		}
    	}
    	else
    	{
    		ch->ChatPacket( CHAT_TYPE_INFO, LC_TEXT("Àκ¥Å丮°¡ ²Ë Â÷¼­ ³»¸± ¼ö ¾ø½À´Ï´Ù."));
    	}
    
    }

     

     
     Open char_battle.cpp
     
     Search:
     
     RemoveAffect(AFFECT_MOUNT_BONUS);

     
     Add:
             LPITEM item = GetWear(WEAR_UNIQUE1);
             LPITEM item2 = GetWear(WEAR_UNIQUE2);
    
          if (item && item->IsRideItem())
            UnequipItem(item);
          
          if (item2 && item2->IsRideItem())
            UnequipItem(item2);
    

    Best Regards Rideas.

    • Love 6
  2.  

    Anti Wait Hack:

    Anti Safezone:

    *char_battle.cpp

    Find:

    bool CHARACTER::Attack(LPCHARACTER pkVictim, BYTE bType)
    {
    	if (test_server)
    		sys_log(0, "[TEST_SERVER] Attack : %s type %d, MobBattleType %d", GetName(), bType, !GetMobBattleType() ? 0 : GetMobAttackRange());
    	//PROF_UNIT puAttack("Attack");
    	if (!CanMove())
    		return false;

    Add it under:

    	SECTREE	*sectree = NULL;
    	SECTREE	*vsectree = NULL;
    	sectree = GetSectree();
    	vsectree = pkVictim->GetSectree();
    
    	if (sectree && vsectree){
    		if (sectree->IsAttr(GetX(), GetY(), ATTR_BANPK) || vsectree->IsAttr(pkVictim->GetX(), pkVictim->GetY(), ATTR_BANPK)) {
    			if (GetDesc()) {
    				LogManager::instance().HackLog("ANTISAFEZONE", this);
    				GetDesc()->DelayedDisconnect(3);
    			}
    		}
    	}

     

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

     

    Anti Ghostmode:

    *input_main.cpp

    Find:

    if (!test_server)	//2012.05.15 ±è¿ë¿í : Å×¼·¿¡¼­ (¹«Àû»óÅ·Î) ´Ù¼ö ¸ó½ºÅÍ »ó´ë·Î ´Ù¿îµÇ¸é¼­ °ø°İ½Ã ÄŞº¸ÇÙÀ¸·Î Á×´Â ¹®Á¦°¡ ÀÖ¾ú´Ù.

    Add it under:

    		if (ch->IsPC() && ch->IsDead()) {
    			if (ch->GetDesc()) {
    				LogManager::instance().HackLog("GHOSTMODE", ch);
    				ch->GetDesc()->DelayedDisconnect(3);
    			}
    		}

     

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

     

    Anti Wallhack:

    *input_main.cpp

    Find:

    const float fDist = DISTANCE_SQRT((ch->GetX() - pinfo->lX) / 100, (ch->GetY() - pinfo->lY) / 100);

    Add it upper:

    		PIXEL_POSITION pos = ch->GetXYZ();
    		if (!SECTREE_MANAGER::instance().GetMovablePosition(ch->GetMapIndex(), pos.x, pos.y, pos)) {
    			if (ch->GetDesc()) {
    				LogManager::instance().HackLog("WALLHACK", ch);
    				ch->GetDesc()->DelayedDisconnect(3);
    			}
    		}

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

     

    Anti Long name generator:

    *input_login.cpp

    Find:

    	if (true == g_BlockCharCreation)
    	{
    		d->Packet(&packFailure, sizeof(packFailure));
    		return;
    	}

    Add it under:

    	if (strlen(pinfo->name) > 12){
    		d->Packet(&packFailure, sizeof(packFailure));
    		return;
    	}

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

    https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

     

    It will be updated continuously

    Thanks KorayB)

    • Metin2 Dev 2
    • Love 5
  3. Search:

     

    bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount)
    {
    	LPITEM item = NULL; 

    Add:

     

    if (IsAcceOpen())
        return false;

     

    bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount) in where?

    Search:

     

    bool CHARACTER::DropItem(TItemPos Cell, BYTE bCount)
    {
    	LPITEM item = NULL; 

    Add:

     

    if (IsAcceOpen())
        return false;

     

    solved thanks

    No problem ;)

  4. Is Bug : https://www.youtube.com/watch?v=gOprjTnNiQ8

    Open : input_main.cpp




    Search:
     

    	CSafebox * pkSafebox = ch->GetSafebox();
    	LPITEM pkItem = ch->GetItem(p->ItemPos);
    
    	if (!pkSafebox || !pkItem)
    		return;


    Add:

     

        if (pkItem->GetType() == ITEM_BELT && pkItem->IsEquipped()) // Belt inventory new bug fixed by Rideas
    {
    
    ch->ChatPacket(CHAT_TYPE_INFO, "Belt before equip!");
        return;
    }


    Best Regards Rideas

    • Love 4
  5. Hi , i have a problem at the character selection -->> https://metin2.download/picture/H5vfxxCg6F8ZPhdM8eAVbt95YRqIrLKe/.png

    His head looks like even if we equipped the same and miling equipment.

    Bug is the source game , because we changed the game with another and not do the same.

    Same time , it looks elsewhere..

    Who knows what files should change to look good ? 

    Thanks !

    Use new db source.

  6. Hello, im trying to run a python script, but the client gives this error:

    0902 13:07:15186 :: 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.
    0902 13:08:27973 :: Traceback (most recent call last):
    
    0902 13:08:27973 ::   File "game.py", line 1952, in BINARY_ServerCommand_Run
    
    0902 13:08:27974 ::   File "stringCommander.py", line 63, in Run
    
    0902 13:08:27974 ::   File "stringCommander.py", line 31, in __call__
    
    0902 13:08:27974 ::   File "stringCommander.py", line 20, in __call__
    
    0902 13:08:27974 ::   File "game.py", line 2254, in __PetIncubator
    
    0902 13:08:27974 ::   File "system.py", line 130, in __pack_import
    
    0902 13:08:27974 ::   File "
    0902 13:08:27974 :: <string>
    0902 13:08:27974 :: ", line 
    0902 13:08:27974 :: 55
    0902 13:08:27974 :: 
    
    0902 13:08:27974 ::     
    0902 13:08:27974 :: chat.AppendChat(1, str(constInfo.PET_INCUBATOR[0]]))
    
    0902 13:08:27974 ::     
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 ::  
    0902 13:08:27974 :: ^
    
    0902 13:08:27974 :: SyntaxError
    0902 13:08:27974 :: : 
    0902 13:08:27974 :: invalid syntax
    0902 13:08:27974 :: 

    the :

    chat.AppendChat(1, str(constInfo.PET_INCUBATOR[0]]))

    was the last line i wrote, but after that i have some script that i copied, and i think the part of the script i copied works, but the one i wrote it gives this error...

    Is it the lenguage im using? the coding?

    Im using notepad++

     

    Can somewone please help me?

    Kind Regards,

    Frozen

     

    constInfo.PET_INCUBATOR[0]]

    Change:


    constInfo.PET_INCUBATOR[0]

  7. In file included from char.cpp:4:
    ../../common/VnumHelper.h:59:32: 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:25:
    shop_manager.h:40:7: warning: no newline at end of file
    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.cpp:62:
    PetSystem.h:163:31: warning: no newline at end of file
    char.cpp:7190: warning: this decimal constant is unsigned only in ISO C90
    char.cpp:7198:2: 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_state.cpp:25:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    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 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 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'
    In file included from cmd_general.cpp:36:
    ../../common/VnumHelper.h:59:32: warning: no newline at end of file
    char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
    char_state.cpp:901: warning: unused variable 'rider'
    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
    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
    In file included from desc_manager.cpp:15:
    ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
    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_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
    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'
    desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':
    desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions
    exchange.cpp: In member function 'bool CHARACTER::ExchangeStart(CHARACTER*)':
    exchange.cpp:76: warning: unused variable 'iDist'
    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:437: warning: NULL used in arithmetic
    config.cpp:461: warning: NULL used in arithmetic
    config.cpp:485: warning: NULL used in arithmetic
    config.cpp:507: warning: unused variable 'line'
    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'
    In file included from input_main.cpp:16:
    shop_manager.h:40:7: warning: no newline at end of file
    cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:3939: warning: NULL used in arithmetic
    In file included from item.cpp:22:
    belt_inventory_helper.h:108:42: warning: no newline at end of file
    cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:4361: warning: 'cell' may be used uninitialized in this function
    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
    cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:3981: 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
    input_db.cpp: In member function 'void CInputDB::PlayerLoad(DESC*, const char*)':
    input_db.cpp:421: warning: format '%d' expects type 'int', but argument 5 has type 'long long int'
    input_db.cpp:421: warning: format '%d' expects type 'int', but argument 5 has type 'long long int'
    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'
    monarch.cpp:276:2: warning: no newline at end of file
    item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)':
    item_manager.cpp:604: warning: comparison between signed and unsigned integer expressions
    questlua.cpp: In member function 'bool quest::FPartyCheckFlagLt::operator()(CHARACTER*)':
    questlua.cpp:78: warning: 'returnBool' may be used uninitialized in this function
    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
    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'
    In file included from trigger.cpp:8:
    shop_manager.h:40:7: warning: no newline at end of file
    questnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)':
    questnpc.cpp:500: warning: unused variable 'pPC'
    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
    shop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)':
    shop.cpp:576: 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
    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
    In file included from dragon_soul_table.cpp:4:
    dragon_soul_table.h:74:7: warning: no newline at end of file
    In file included from DragonSoul.cpp:9:
    dragon_soul_table.h:74:7: warning: no newline at end of file
    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
    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
    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
    In file included from shop_manager.cpp:22:
    shop_manager.h:40:7: warning: no newline at end of file
    ../../../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'
    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
    ../../../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'
    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
    char_dragonsoul.cpp: In member function 'bool CHARACTER::DragonSoul_ActivateDeck(int)':
    char_dragonsoul.cpp:91: warning: control reaches end of non-void function
    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:153: error: expected `;' before 'return'
    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
    gmake: *** [OBJDIR/shopEx.o] Bł±d 1
    gmake: *** Oczekiwanie na niezakończone zadania....
    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
    ../../../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

    I cand find out where the problem is.Somewone help?

    Send me ShopEx.cpp

  8. Hi Devs.

     

    I have a special question.

    I'm looking for a dif for r404. "War bug fix"

    I know, r404 is such an old gamefile, etc.

    It's not for me, it's for my friend who cling r404, he wants to start a Real OldSchool server.

    He has a fully unbugged and translated rain files, ready for start.

    Please don't off this topic, thank you.

     

    Edit: 404 gamefile link cause i don't think that any of you have it: 

    This is the hidden content, please

    (Uploaded agan the gamefile non stripped)

     

     

    00062B67: 8E 86
×
×
  • 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.