Jump to content

weryoliveira

Member
  • Posts

    70
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by weryoliveira

  1. open constants.cpp and search for 

    const SStoneDropInfo aStoneDrop[STONE_INFO_MAX_NUM] =

    you will see this 

    	//  mob		pct	{+0	+1	+2	+3	+4}
    	{8005,	60,	{30,	30,	30,	9,	1}	},
    	{8006,	60,	{28,	29,	31,	11,	1}	},
    	{8007,	60,	{24,	29,	32,	13,	2}	},
    	{8008,	60,	{22,	28,	33,	15,	2}	},
    	{8009,	60,	{21,	27,	33,	17,	2}	},
    	{8010,	60,	{18,	26,	34,	20,	2}	},
    	{8011,	60,	{14,	26,	35,	22,	3}	},
    	{8012,	60,	{10,	26,	37,	24,	3}	},
    	{8013,	60,	{2,		26,	40,	29,	3}	},
    	{8014,	60,	{0,		26,	41,	30,	3}	},
    	{8024,	60,	{1,		26,	41,	30,	3}	},
    	{8025,	60,	{3,		26,	41,	30,	3}	},
    	{8026,	60,	{4,		26,	41,	30,	3}	},
    	{8027,	60,	{5,		26,	41,	30,	3}	},

    just change like you want

  2. well i have one problem from my server, i guess this happening, one player use buff and give-me game.core this is game.core with gdb

    Spoiler

    #0  CHARACTER::UseSkill (this=this@entry=0x2ead4000, dwVnum=96, pkVictim=0x0,
        bUseGrandMaster=<optimized out>, bUseGrandMaster@entry=true)
        at char_skill.cpp:2544
    2544    char_skill.cpp: No such file or directory.
    [Current thread is 1 (LWP 100251)]
    (gdb) bt full
    #0  CHARACTER::UseSkill (this=this@entry=0x2ead4000, dwVnum=96, pkVictim=0x0,
        bUseGrandMaster=<optimized out>, bUseGrandMaster@entry=true)
        at char_skill.cpp:2544
            f = {
              vecPIDs = {<std::_Vector_base<unsigned int, std::allocator<unsigned int> >> = {
                  _M_impl = {<std::allocator<unsigned int>> = {<__gnu_cxx::new_allocator<unsigned int>> = {<No data fields>}, <No data fields>}, _M_start = 0x2ccdbb70,
                    _M_finish = 0x2ccdbb7c,
                    _M_end_of_storage = 0x2ccdbb80}}, <No data fields>}}
            bCanUseHorseSkill = <optimized out>
            k = <optimized out>
            iCooltime = <optimized out>
            lMaxHit = 1
            dwCur = <optimized out>
            iNeededSP = <optimized out>
            pkSk = 0xd0
            iSplashCount = 1
    #1  0x0817a35e in CInputMain::UseSkill (this=0x29887d9c,
        ch=ch@entry=0x2ead4000, pcData=pcData@entry=0x2cb70b5e "4`")
        at input_main.cpp:2000
            p = 0x2cb70b5e
    #2  0x0817f34a in CInputMain::Analyze (this=0x29887d9c, d=0x29887d00,
    --Type <RET> for more, q to quit, c to continue without paging--
        bHeader=52 '4', c_pData=0x2cb70b5e "4`") at input_main.cpp:3267
            ch = <optimized out>
            __FUNCTION__ = "Analyze"
            iExtraLen = 0
    #3  0x08168476 in CInputProcessor::Process (this=0x29887d9c,
        lpDesc=0x29887d00, c_pvOrig=<optimized out>,
        r_iBytesProceed=@0xffffa548: 350, iBytes=<optimized out>) at input.cpp:103
            iExtraPacketSize = <optimized out>
            bHeader = 52 '4'
            c_pszName = 0x2cc9882c "UseSkill"
            bLastHeader = 7 '\a'
            iLastPacketLen = <optimized out>
            iPacketLen = 10
            c_pData = 0x2cb70b5e "4`"
            c_pData = <optimized out>
            bLastHeader = <optimized out>
            iLastPacketLen = <optimized out>
            iPacketLen = <optimized out>
            bHeader = <optimized out>
            c_pszName = <optimized out>
            iExtraPacketSize = <optimized out>
            bSeq = <optimized out>
            bSeqReceived = <optimized out>
    --Type <RET> for more, q to quit, c to continue without paging--
            ch = <optimized out>
            buf = <optimized out>
            offset = <optimized out>
            len = <optimized out>
            i = <optimized out>
     

    i guess that, the player (shaman) is selected a mob, and use buff when this mob die and didn't unmark the mob, "can view hp bar yet" and at moment use skill(buff) and game don't know what supose he do, because victim os 0x0 and he need ComputeSkill with pkVictim = 0x0 and give game.core, my gdb say 2544 line char_skill.cpp and the line is here (the elseif code is here on spoiler)
     

    Spoiler

        else if (IS_SET(pkSk->dwFlag, SKILL_FLAG_PARTY) && GetParty())
        {
            FPartyPIDCollector f;
            GetParty()->ForEachOnMapMember(f, GetMapIndex());
            if (!pkVictim->GetParty()) <---HERE A LINE GAME.CORE 2544
                ComputeSkill(dwVnum, pkVictim); <--- HERE IS A PROBLEM TO GAME.CORE I GUESS
            for (std::vector <DWORD>::iterator it = f.vecPIDs.begin(); it != f.vecPIDs.end(); it++)
            {
                LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(*it);
                ComputeSkill(dwVnum, ch);
            }
        }

    but when i see ComputeSkill i see this if,

        if (!pkVictim)
        {
            if (test_server)
                sys_log(0, "ComputeSkill: %s Victim == null, skill %d", GetName(), dwVnum);

            return BATTLE_NONE;
        }
    soo, if exist this if, maybe the problem not here? i have other call on pkvictim above this if, maybe i can fix moving this if to first line?

    thank

  3. Someone can help-me in one problem i have, my cores can't communicate between, i can't see chat, notice, nothing from core2,  i have ports like 
    ch1_core1 30001(p2p 30002), ch1_core2 30003(p2p 30004), ch99_core1 30005(p2p 30006) ,ch99_core2 30007(p2p 30008) like this, idk how to solve this, someone can help me? and my map allow i do manually so i don't have two index in different map allow

  4. Well now i have one problem and i don't know why is happening, i have 1 channel and 2 cores working, ch1_core1 and ch1_core2

    ch99_core1 and 2, if i say in ch1_core1 i can see in ch99, but if i say something in ch1_core2 i can't see and more, i have sanii boot and cant stay running when i change core(he supose can do) i think i have some problem with p2p port communication(i don't have map allow with equals ids in different cores), i use mainline source 

  5. Now i'm have one problem in my server and idk why this is happening because, i'm not see this before in probably 4 years, i'm using martysama files and my tower when i stay in 5th floor, and need drop keys, the mobs didn't respaw after kill, if i drop the key and drag in npc look ok but mobs didn't come more, someone can help my? i didn't have any syserr in core and nothing using test_server, just didn't respawn after death, and my regen is this

    https://pastebin.com/x0tUG69P

  6. Version of Files mainline 40k

    Hi guys, i hope someone can help me

     

    1. Description of the problem / Question :

    Now i have one problem with costumes or items with limit time, when put he in safebox the time still count but don't disappear time still 0s but u can equip and use like no have limit time in item, how i solve this?

    well, updating this topic this happening when costume use limit type 8, if time come to 0 item didn't disappear

     

    2. SysErr ( Client / Server ) / SysLog ( Server )

    didn't have

     

    3. How to reproduce it ?

    make item ant put in safebox until time expire

     

    4. Screenshots ?

    https://metin2.download/picture/InKhV74g77lg7vNX2V2G7faBYgO4ol77/.png

     

     

    Thanks, Sincerly,
    Weri Oliveira

     

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