Jump to content

LeJ0ker

Premium
  • Posts

    45
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by LeJ0ker

  1. 5 minutes ago, M.Sorin said:

     

    
    bool CActorInstance::__IsRightHandWeapon(DWORD type)
    
    	{
    
    	    if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))
    
    	        return true;
    
    	    else if (CItemData::WEAPON_BOW == type)
    
    	        return false;
    
    	    else if (CItemData::WEAPON_CLAW == type)
    
    	        return true;
    
    	    else 
    
    	        return false;
    
    	} 
    
    
     

    Now: https://metin2.download/picture/417vX7a6G3lqbTmfv6mk3zy2waMoQ7i1/.png

    fixxed :) https://metin2.download/picture/gP06d9ZHymXXf29MtVV1TmyPoNwhwQJE/.jpg

  2. Hey Guys i have some Problems with my wolfman

    He only wear one weapon https://metin2.download/picture/TM3161Nyb6eWw1zAzK0MS6RB6dlxVb8W/.png

     

    my Actorinstanceattach:

     

    
    
    

     

    bool CActorInstance::__IsLeftHandWeapon(DWORD type)
    {
        if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))
            return true;
        else if (CItemData::WEAPON_BOW == type)
            return true;
        else if (CItemData::WEAPON_CLAW == type)
            return true;
        else
            return false;
    }

    bool CActorInstance::__IsRightHandWeapon(DWORD type)
    {
        if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))
            return true;
        else if (CItemData::WEAPON_BOW == type)
            return false;
        else if (CItemData::WEAPON_CLAW == type)
            return true;
        else 
            return true;
    }

  3. 0415 12:36:00008 :: import marshal # builtin

    0415 12:36:00008 :: import imp # builtin

    0415 12:36:00019 :: ui.py: inconsistent use of tabs and spaces in indentation

    0415 12:36:00032 :: import _weakref # builtin

    0415 12:36:00396 :: # trying .\os.pyd

    0415 12:36:00396 :: # trying .\os.py

    0415 12:36:00396 :: # trying .\os.pyw

    0415 12:36:00396 :: # trying .\os.pyc

    0415 12:36:00397 :: # trying lib\os.pyd

    0415 12:36:00397 :: # trying lib\os.py

    0415 12:36:00397 :: # lib\os.pyc has bad magic

    0415 12:36:00402 :: import os # from lib\os.py

    0415 12:36:00402 :: import errno # builtin

    0415 12:36:00402 :: import nt # builtin

    0415 12:36:00402 :: # trying .\ntpath.pyd

    0415 12:36:00402 :: # trying .\ntpath.py

    0415 12:36:00403 :: # trying .\ntpath.pyw

    0415 12:36:00403 :: # trying .\ntpath.pyc

    0415 12:36:00403 :: # trying lib\ntpath.pyd

    0415 12:36:00403 :: # trying lib\ntpath.py

    0415 12:36:00403 :: # lib\ntpath.pyc has bad magic

    0415 12:36:00407 :: import ntpath # from lib\ntpath.py

    0415 12:36:00407 :: # trying .\stat.pyd

    0415 12:36:00407 :: # trying .\stat.py

    0415 12:36:00407 :: # trying .\stat.pyw

    0415 12:36:00407 :: # trying .\stat.pyc

    0415 12:36:00407 :: # trying lib\stat.pyd

    0415 12:36:00407 :: # trying lib\stat.py

    0415 12:36:00408 :: # lib\stat.pyc has bad magic

    0415 12:36:00408 :: import stat # from lib\stat.py

    0415 12:36:00409 :: # trying .\genericpath.pyd

    0415 12:36:00409 :: # trying .\genericpath.py

    0415 12:36:00409 :: # trying .\genericpath.pyw

    0415 12:36:00409 :: # trying .\genericpath.pyc

    0415 12:36:00409 :: # trying lib\genericpath.pyd

    0415 12:36:00409 :: # trying lib\genericpath.py

    0415 12:36:00409 :: # lib\genericpath.pyc has bad magic

    0415 12:36:00410 :: import genericpath # from lib\genericpath.py

    0415 12:36:00410 :: # trying .\warnings.pyd

    0415 12:36:00410 :: # trying .\warnings.py

    0415 12:36:00410 :: # trying .\warnings.pyw

    0415 12:36:00411 :: # trying .\warnings.pyc

    0415 12:36:00411 :: # trying lib\warnings.pyd

    0415 12:36:00411 :: # trying lib\warnings.py

    0415 12:36:00411 :: # lib\warnings.pyc has bad magic

    0415 12:36:00414 :: import warnings # from lib\warnings.py

    0415 12:36:00414 :: # trying .\linecache.pyd

    0415 12:36:00415 :: # trying .\linecache.py

    0415 12:36:00415 :: # trying .\linecache.pyw

    0415 12:36:00415 :: # trying .\linecache.pyc

    0415 12:36:00415 :: # trying lib\linecache.pyd

    0415 12:36:00415 :: # trying lib\linecache.py

    0415 12:36:00415 :: # lib\linecache.pyc has bad magic

    0415 12:36:00416 :: import linecache # from lib\linecache.py

    0415 12:36:00417 :: # trying .\types.pyd

    0415 12:36:00417 :: # trying .\types.py

    0415 12:36:00417 :: # trying .\types.pyw

    0415 12:36:00417 :: # trying .\types.pyc

    0415 12:36:00417 :: # trying lib\types.pyd

    0415 12:36:00417 :: # trying lib\types.py

    0415 12:36:00417 :: # lib\types.pyc has bad magic

    0415 12:36:00418 :: import types # from lib\types.py

    0415 12:36:00418 :: # trying .\UserDict.pyd

    0415 12:36:00418 :: # trying .\UserDict.py

    0415 12:36:00418 :: # trying .\UserDict.pyw

    0415 12:36:00418 :: # trying .\UserDict.pyc

    0415 12:36:00418 :: # trying lib\UserDict.pyd

    0415 12:36:00419 :: # trying lib\UserDict.py

    0415 12:36:00419 :: # lib\UserDict.pyc has bad magic

    0415 12:36:00420 :: import UserDict # from lib\UserDict.py

    0415 12:36:00421 :: # trying .\_abcoll.pyd

    0415 12:36:00421 :: # trying .\_abcoll.py

    0415 12:36:00421 :: # trying .\_abcoll.pyw

    0415 12:36:00421 :: # trying .\_abcoll.pyc

    0415 12:36:00421 :: # trying lib\_abcoll.pyd

    0415 12:36:00421 :: # trying lib\_abcoll.py

    0415 12:36:00421 :: # lib\_abcoll.pyc has bad magic

    0415 12:36:00425 :: import _abcoll # from lib\_abcoll.py

    0415 12:36:00425 :: # trying .\abc.pyd

    0415 12:36:00425 :: # trying .\abc.py

    0415 12:36:00425 :: # trying .\abc.pyw

    0415 12:36:00425 :: # trying .\abc.pyc

    0415 12:36:00425 :: # trying lib\abc.pyd

    0415 12:36:00425 :: # trying lib\abc.py

    0415 12:36:00425 :: # lib\abc.pyc has bad magic

    0415 12:36:00427 :: import abc # from lib\abc.py

    0415 12:36:00427 :: # trying .\_weakrefset.pyd

    0415 12:36:00427 :: # trying .\_weakrefset.py

    0415 12:36:00427 :: # trying .\_weakrefset.pyw

    0415 12:36:00427 :: # trying .\_weakrefset.pyc

    0415 12:36:00427 :: # trying lib\_weakrefset.pyd

    0415 12:36:00427 :: # trying lib\_weakrefset.py

    0415 12:36:00428 :: # lib\_weakrefset.pyc has bad magic

    0415 12:36:00429 :: import _weakrefset # from lib\_weakrefset.py

    0415 12:36:00431 :: # trying .\copy_reg.pyd

    0415 12:36:00431 :: # trying .\copy_reg.py

    0415 12:36:00431 :: # trying .\copy_reg.pyw

    0415 12:36:00431 :: # trying .\copy_reg.pyc

    0415 12:36:00431 :: # trying lib\copy_reg.pyd

    0415 12:36:00431 :: # trying lib\copy_reg.py

    0415 12:36:00431 :: # lib\copy_reg.pyc has bad magic

    0415 12:36:00432 :: import copy_reg # from lib\copy_reg.py

    0415 12:36:00598 :: import time # builtin

    0415 12:36:01828 :: # clear __builtin__._

    0415 12:36:01828 :: # clear sys.path

    0415 12:36:01828 :: # clear sys.argv

    0415 12:36:01828 :: # clear sys.ps1

    0415 12:36:01828 :: # clear sys.ps2

    0415 12:36:01828 :: # clear sys.exitfunc

    0415 12:36:01828 :: # clear sys.exc_type

    0415 12:36:01828 :: # clear sys.exc_value

    0415 12:36:01828 :: # clear sys.exc_traceback

    0415 12:36:01828 :: # clear sys.last_type

    0415 12:36:01828 :: # clear sys.last_value

    0415 12:36:01828 :: # clear sys.last_traceback

    0415 12:36:01828 :: # clear sys.path_hooks

    0415 12:36:01828 :: # clear sys.path_importer_cache

    0415 12:36:01828 :: # clear sys.meta_path

    0415 12:36:01828 :: # clear sys.flags

    0415 12:36:01828 :: # clear sys.float_info

    0415 12:36:01828 :: # restore sys.stdin

    0415 12:36:01828 :: # restore sys.stdout

    0415 12:36:01828 :: # restore sys.stderr
     

  4. Hey guys i have this problem:

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

     

    Syserr:

    
    
    

    0103 03:30:27388 :: AttachAcce :: [0] - [5] - [241762400]
    0103 03:30:35396 :: AttachAcce :: [0] - [5] - [241768560]
    0103 03:32:59250 :: AttachAcce :: [0] - [5] - [241771640]
    0103 03:32:03916 :: AttachAcce :: [0] - [5] - [241768560]
    0103 03:32:05387 :: AttachAcce :: [0] - [5] - [241769176]
    0103 03:32:06589 :: AttachAcce :: [0] - [5] - [241768560]
    0103 03:32:15813 :: AttachAcce :: [0] - [5] - [241769792]
    0103 03:32:19707 :: AttachAcce :: [0] - [5] - [241767328]
    0103 03:32:20779 :: AttachAcce :: [0] - [5] - [241769792]
    0103 03:32:21587 :: AttachAcce :: [0] - [5] - [241768560]
    0103 03:39:50957 :: AttachAcce :: [0] - [5] - [241771640]
    0103 03:39:57059 :: AttachAcce :: [0] - [5] - [241768560]
    0103 03:39:57968 :: AttachAcce :: [0] - [5] - [241762400]
    0103 03:39:58841 :: AttachAcce :: [0] - [5] - [241768560]
    0103 03:39:34286 :: AttachAcce :: [0] - [5] - [241769176]
    0103 03:40:40438 :: AttachAcce :: [0] - [5] - [241768560]
    0103 03:40:21985 :: Cannot find item by 2930944
    0103 03:40:21985 :: Cannot find item by 2930944
    0103 03:40:21986 :: Cannot find item by 196608000
    0103 03:40:21986 :: Cannot find item by 196608000
    0103 03:40:21986 :: Cannot find item by 889192448
    0103 03:40:21986 :: Cannot find item by 889192448
    0103 03:40:21986 :: Cannot find item by 16777217
    0103 03:40:21986 :: Cannot find item by 16777217
    0103 03:40:24955 :: Cannot find item by 2930944
    0103 03:40:25912 :: Cannot find item by 889192448
    0103 03:40:26060 :: Cannot find item by 889192448
    0103 03:40:27067 :: Cannot find item by 16777217
    0103 03:40:29872 :: CPythonNetworkStream::RecvShopPacket: Unknown subheader

    0103 03:40:31390 :: CPythonNetworkStream::RecvShopPacket: Unknown subheader

    0103 03:40:31918 :: CPythonNetworkStream::RecvShopPacket: Unknown subheader

     

    i dont know what this means: CPythonNetworkStream::RecvShopPacket: Unknown subheader

    i dont know how to fix pls help me :)

  5. Open game/src/config.cpp

    Search: TOKEN("max_level")

    Add:

    		TOKEN("stone_chance")
    		{
    			str_to_number(stone_chance, value_string);
    			
    			stone_chance = MINMAX(1, stone_chance, 100);
    			
    			fprintf(stderr, "STONE_CHANCE: %u/n", stone_chance);
    		}

     

    Search int gPlayerMaxLevel = 99;

    Add:

    int stone_chance = 30;

    Open  game/src/char_item.cpp
    Search: const int ITEM_BROKEN_METIN_VNUM =

    Add: 

    extern int stone_chance; // Chance Stone Chance

     

    Search: if (number(1, 100) <= 30)

    Replace or edit it:

    						// Stein Chance
    						if (number(1, 100) <= stone_chance) // Erfolgreich
    						{
    							ChatPacket(CHAT_TYPE_INFO, LC_TEXT("메틴석 부착에 성공하였습니다."));
    							item2->SetSocket(i, item->GetVnum());
    						}
    						else // Nicht Erfolgreich
    						{
    							ChatPacket(CHAT_TYPE_INFO, LC_TEXT("메틴석 부착에 실패하였습니다."));
    							item2->SetSocket(i, ITEM_BROKEN_METIN_VNUM);
    						}

     

     

    Now u can change the chance in ur game CONFIG 

    STONE_CHANCE: 

     

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