Jump to content

glosteng4141

Banned
  • Posts

    59
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by glosteng4141

  1. @ZeNu @Mali61 @Koray @Raylee

     

    Hello everybody

     

    I opened the questions section about this problem, but nobody helped. Yes, I know nobody has to help. But it's nice to help a person who needs help. Likewise, when a person asks me, I help.

     

    My problem:

    There is only ITEM_COSTUME problem.

    This is a problem when you change objects like costume, weapon costume, wing(sash), and hair.

     

    Do you have any idea how to fix this?

     

    Thank you very much for your help in advance.

     

    Also, this problem does not occur with normal weapons and armor. only occurs in ITEM_COSTUME system.

     

    For example:

     

    COSTUME_WEAPON
    COSTUME_SASH
    COSTUME_BODY
    COSTUME_HAIR

     

    Problem Gif

     

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

    • Metin2 Dev 6
    • Think 1
    • Confused 1
    • Good 4
    • Love 1
  2. I said the problem, do not discuss the problem in vain.

    Problem: Your inventory or market or trade or almost any object is not in memory. The core crashes because it is not in memory.
    You cannot use the object that is not in memory in your bag or anywhere.

    First of all, the object must be in memory.

  3. Build Error. 

    The code section of Metin2Dev is very bad. When you copy and paste "?" adding signs. Wretched. Please do not enter your codes here. Use an additional site.

    Can someone tell me why you're giving this crap :)

    2346666.png

     


    ActorInstance.cpp

     

    ActorInstance.png

     

    PhytonCharacterManagerModule.cpp / Also
    { "SetRaceHeight", chrmgrSetRaceHeight, METH_VARARGS }, Add - (No Image)

     

    charactermodule.png

     

    RaceManager.cpp

     

    RaceManager..png

     

    RaceManager.h 

     

    RaceManagerh.png

     

    Also All

    #include attached.

     

     

  4. 6 hours ago, Moț said:

    It already is, but is statically just for if statement..

    the good function..

    
    if(skillSQL->Get()->uiNumRows > 0){
    	MYSQL_ROW row = mysql_fetch_row(skillSQL->Get()->pSQLResult);
    	for(int i = 0; i < 3; i++){
    		int skill = 0;
    		str_to_number(skill, row[i]);
    		if(!skill)
    			continue;
    		petSkills += 1 << skill;
    	}
    }

     

    please, next time attach the code, not only picture

     

    Ahh Sorry Dude. Thank You.

     

     

  5. Quote

    #0  CHARACTER::GetName (this=this@entry=0x319c8280) at char.cpp:829
    No locals.
    Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
    #1  0x080ae272 in CHARACTER::SetVictim (this=0x332c5a40, pkVictim=0x319c8280)
        at char_battle.cpp:3863
    No locals.
    Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
    #2  0x08233f35 in read_line_zodiac (regen=0xffff9d08, fp=<optimized out>)
        at regen.cpp:257
            i = <optimized out>
            szTmp = "]M\r\000\200CI1\363C\023^\363C\023^]M\r\000\264\000\000\000\000\000\000\000@Z,3H)-\312\000\000\000\000/FA\b\v\000\000\000r\342\n\b\200\202\234\061\306F\002\000@Z,3H)-\312\f\000\000\000\000\000\000\000H)-\312H)-\312\000\000\000\000\320\255\033)\000\000\000\000\065?#\b@Z,3\200\202\234\061>+6\000d\212\002\000\370\023\b\000\000\000\000\000\000\000\000\000\264\000\000\000\001", '\000' <repeats 12 times>, "\300\000)\200V:S\000l\a\000\000\364\001\000>+6\000\254w\302(\000\000\001\000\000:\377O\001\000\000\000\340\220\375K", '\000' <repeats 20 times>...
            mode = 689679824
            tmpTime = <optimized out>
    #3  regen_zodiac (filename=0x5038f410 "data/dungeon/defance_wawe/4.txt",
        lMapIndex=3550014, base_x=128000, base_y=486400, pZodiac=0x4fff3a00,
        bOnce=false) at regen.cpp:783
            tmp = {prev = 0x28c27310, next = 0x0, lMapIndex = 683741632,
              type = -25288, sx = 683252818, sy = 683832080, ex = -903009976,
    ---Type <return> to continue, or q <return> to quit---

     

    Thank you in advance for your help.

  6. CH1 Syserr:

    SYSERR: Jan  4 04:15:03.558592 :: pid_init: 
    Start of pid: 3276
    
    SYSERR: Jan  4 04:15:03.564378 :: socket_connect: HOST localhost:15000, could not connect.
    SYSERR: Jan  4 04:15:06.31628 :: socket_connect: HOST localhost:15000, could not connect.
    SYSERR: Jan  4 04:15:09.36124 :: socket_connect: HOST localhost:15000, could not connect.
    SYSERR: Jan  4 04:15:12.22890 :: socket_connect: HOST localhost:15000, could not connect.
    SYSERR: Jan  4 04:15:15.33170 :: socket_connect: HOST localhost:15000, could not connect.
    SYSERR: Jan  4 04:15:15.990633 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
    SYSERR: Jan  4 04:15:15.990745 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
    SYSERR: Jan  4 04:15:16.41182 :: pid_deinit: 
    End of pid
    

     

    DB Syserr :

    SYSERR: Jan  4 04:14:59.467544 :: pid_init: 
    Start of pid: 3236
    
    SYSERR: Jan  4 04:15:05.306 :: pid_init: 
    Start of pid: 3280
    
    SYSERR: Jan  4 04:15:10.649696 :: pid_init: 
    Start of pid: 3290
    
    SYSERR: Jan  4 04:15:15.959894 :: pid_init: 
    Start of pid: 3295
    

     

    Auth Syserr :

    SYSERR: Jan  4 04:15:01.591583 :: pid_init: 
    Start of pid: 3272
    
    SYSERR: Jan  4 04:15:01.599737 :: socket_connect: HOST localhost:15000, could not connect.
    SYSERR: Jan  4 04:15:01.701345 :: ChildLoop: AsyncSQL: query failed: Table 'account.string' doesn't exist (query: SELECT name, text FROM string errno: 1146)
    SYSERR: Jan  4 04:15:04.23076 :: socket_connect: HOST localhost:15000, could not connect.
    SYSERR: Jan  4 04:15:07.19707 :: socket_connect: HOST localhost:15000, could not connect.
    SYSERR: Jan  4 04:15:10.23833 :: socket_connect: HOST localhost:15000, could not connect.
    SYSERR: Jan  4 04:15:13.32835 :: socket_connect: HOST localhost:15000, could not connect.
    SYSERR: Jan  4 04:15:15.991547 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
    SYSERR: Jan  4 04:15:15.991659 :: hupsig: SIGHUP, SIGINT, SIGTERM signal has been received. shutting down.
    SYSERR: Jan  4 04:15:15.999563 :: pid_deinit: 
    End of pid
    

     

    Autorun.log

    waitpid: No such file or directory
    VRunner 0.6 -- Simple daemon
    Shutting down due to signal (1).

    Thank You

  7. On 12/7/2019 at 9:30 PM, Mali61 said:

    thanks for topic here is auto adaptable codes and some improvings..

    
    #ifdef ENABLE_SHOW_CHEST_DROP
    #include "../../libgame/include/grid.h"
    void ITEM_MANAGER::GetChestItemList(DWORD dwChestVnum, std::vector<TChestDropInfoTable>& vec_item, int& sizee)
    {
    	const auto pGroup = GetSpecialItemGroup(dwChestVnum);
    	if (!pGroup)
    		return;
    	std::vector<std::unique_ptr<CGrid>> pGrids;
    	pGrids.emplace_back(std::make_unique<CGrid>(15, 5));
    	
    	for (int i = 0; i < pGroup->GetGroupSize(); i++) {
    		const auto itemTable = GetTable(pGroup->GetVnum(i));
    		//pass if exp, yang or duplicate item
    		if (!itemTable || !itemTable->dwVnum || itemTable->dwVnum < 3 || std::find_if(vec_item.begin(), vec_item.end(), [&pGroup, &i](const TChestDropInfoTable& data) -> bool { return static_cast<DWORD>(pGroup->GetVnum(i)) == data.dwItemVnum; }) != vec_item.end())
    			continue;
    		bool PushNewGrid = true;
    		for (size_t iPage = 0; iPage < pGrids.size(); iPage++) {
    			const auto iPos = pGrids.at(iPage)->FindBlank(1, static_cast<int>(itemTable->bSize));
    			if (iPos >= 0) {
    				pGrids.at(iPage)->Put(iPos, 1, static_cast<int>(itemTable->bSize));
    				vec_item.push_back({ static_cast<BYTE>(iPage+1), static_cast<BYTE>(iPos), static_cast<DWORD>(pGroup->GetVnum(i)), static_cast<BYTE>(pGroup->GetCount(i)) });
    				PushNewGrid = false;
    				break;
    			}
    		}
    		if (PushNewGrid) {
    			pGrids.emplace_back(std::make_unique<CGrid>(15, 5));
    			i--;//again
    		}
    	}
    }
    #endif

     

    Problem: When I click on the chest, the window opens, but the duration of the objects time: 0 min. he is writing.

    For example: Costumes time 0 min. writes.
    Duration 0 min. The duration of the objects. he is writing.

    For example: The seven-day costume says 0 minutes.


    I'm sorry for my bad english.

  8. Problem: When I click on the chest, the window opens, but the duration of the objects time: 0 min. he is writing.

    For example: Costumes time 0 min. writes.
    Duration 0 min. The duration of the objects. he is writing.

    For example: The seven-day costume says 0 minutes.


    I'm sorry for my bad english.

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