Jump to content

doNaLs

Inactive Member
  • Posts

    85
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by doNaLs

  1.  

    It seems you did not make the modification properly. Make it look like this:

    			// 번섭은 스킬 업그레이드 17~20 사이 랜덤 마스터 수련
    			if (GetSkillLevel(pkSk->dwVnum) >= 17)
    			{
    				SetSkillLevel(pkSk->dwVnum, 20);
    			}
    			break;
    
    		case SKILL_MASTER:
    			if (GetSkillLevel(pkSk->dwVnum) >= 30)
    			{
    				if (number(1, 31 - MIN(30, GetSkillLevel(pkSk->dwVnum))) == 1)
    					SetSkillLevel(pkSk->dwVnum, 30);
    			}
    			break;
    
    		case SKILL_GRAND_MASTER:
    			if (GetSkillLevel(pkSk->dwVnum) >= 40)
    			{
    				SetSkillLevel(pkSk->dwVnum, 40);
    			}
    			break;
    	}
    }

     

    Thanks my friend! Very good :))

  2. Open game/src/char_skill.cpp. Find the function

    void CHARACTER::SkillLevelUp(DWORD dwVnum, BYTE bMethod);

    Scroll down until you find a block of code that looks like this:

    if (GetSkillLevel(pkSk->dwVnum) >= 17) {
        // etc...
    }

    Change it to this:

    if (GetSkillLevel(pkSk->dwVnum) >= 17) {
        SetSkillLevel(pkSk->dwVnum, 20);
    }

    These snippets are not tested, use at your own risk.

    Not work :(

  3. Error :( 

    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:7237: warning: this decimal constant is unsigned only in ISO C90
    char.cpp:7245:2: 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_item.cpp:47:
    belt_inventory_helper.h:108:42: warning: no newline at end of file
    In file included from PetSystem.cpp:8:
    PetSystem.h:163:31: warning: no newline at end of file
    PetSystem.cpp:637:2: warning: no newline at end of file
    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'
    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
    char.cpp:131: error: expected initializer before 'CountDrops'
    char.cpp:132: error: expected constructor, destructor, or type conversion before '=' token
    char.cpp:133: error: expected unqualified-id before '{' token
    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:642: warning: comparison is always false due to limited range of data type
    char_item.cpp:668: warning: comparison is always false due to limited range of data type
    char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
    char.cpp:3082: warning: comparison between signed and unsigned integer expressions
    char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
    char_item.cpp:2389: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
    char_item.cpp:2393: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
    char_item.cpp:2405: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
    char_item.cpp:2409: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
    char_item.cpp:2436: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
    char_item.cpp:2444: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
    char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
    char_item.cpp:5156: warning: unused variable 'wDestCell'
    char_item.cpp:5157: warning: unused variable 'bDestInven'
    char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
    char_item.cpp:6145: warning: array subscript has type 'char'
    char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':
    char_item.cpp:6209: warning: comparison between signed and unsigned integer expressions
    char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
    char_item.cpp:6221: 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:7405: warning: unused variable 'itemType'
    char_item.cpp:7406: warning: unused variable 'itemSubType'
    char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
    char_state.cpp:901: warning: unused variable 'rider'
    In file included from desc_manager.cpp:15:
    ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
    char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
    char_item.cpp:681: warning: control reaches end of non-void function
    gmake: *** [OBJDIR/char.o] Error 1
    gmake: *** Waiting for unfinished jobs....
    cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:3926: warning: NULL used in arithmetic
    config.cpp: In function 'void config_init(const std::string&)':
    config.cpp:453: warning: NULL used in arithmetic
    config.cpp:477: warning: NULL used in arithmetic
    config.cpp:501: warning: NULL used in arithmetic
    config.cpp:523: warning: unused variable 'line'
    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 'void Cube_InformationInitialize()':
    cube.cpp:783: warning: comparison between signed and unsigned integer expressions
    desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':
    desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions
    char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':
    char_item.cpp:6256: warning: 'pBuff' may be used uninitialized in this function
    cmd_gm.cpp:3968: warning: 'n' may be used uninitialized in this function
    cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:4348: warning: 'cell' may be used uninitialized in this function
    cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)':
    cmd_gm.cpp:852: warning: 'x' may be used uninitialized in this function
    cmd_gm.cpp:852: warning: 'y' may be used uninitialized in this function
    

    Lib_Error 
     

    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
    compile char_item.cpp
    compile char_manager.cpp
    compile char_quickslot.cpp
    compile char_resist.cpp
    compile char_skill.cpp
    compile char_state.cpp
    compile PetSystem.cpp
    compile cmd.cpp
    compile cmd_emotion.cpp
    compile cmd_general.cpp
    compile cmd_gm.cpp
    compile cmd_oxevent.cpp
    compile config.cpp
    compile constants.cpp
    compile crc32.cpp
    compile cube.cpp
    compile db.cpp
    compile desc.cpp
    compile desc_manager.cpp
    compile desc_client.cpp
    compile desc_p2p.cpp
    compile dev_log.cpp
    compile dungeon.cpp
    compile empire_text_convert.cpp
    

    Help me please

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