Jump to content

MORTE

Inactive Member
  • Posts

    364
  • Joined

  • Last visited

  • Days Won

    3
  • Feedback

    0%

Posts posted by MORTE

  1. item_attribute.cpp:

    Quote

     

        if (GetType() == ITEM_ARMOR)
        {
            switch (GetSubType())
            {
                case ARMOR_BODY:
    //            case COSTUME_BODY: // ÄÚ½ºÃõ °©¿ÊÀº ÀÏ¹Ý °©¿Ê°ú µ¿ÀÏÇÑ Attribute SetÀ» ÀÌ¿ëÇÏ¿© ·£´ý¼Ó¼º ºÙÀ½ (ARMOR_BODY == COSTUME_BODY)
                    return ATTRIBUTE_SET_BODY;

                case ARMOR_WRIST:
                    return ATTRIBUTE_SET_WRIST;

                case ARMOR_FOOTS:
                    return ATTRIBUTE_SET_FOOTS;

                case ARMOR_NECK:
                    return ATTRIBUTE_SET_NECK;

                case ARMOR_HEAD:
    //            case COSTUME_HAIR: // ÄÚ½ºÃõ Çì¾î´Â ÀÏ¹Ý Åõ±¸ ¾ÆÀÌÅÛ°ú µ¿ÀÏÇÑ Attribute SetÀ» ÀÌ¿ëÇÏ¿© ·£´ý¼Ó¼º ºÙÀ½ (ARMOR_HEAD == COSTUME_HAIR)
                    return ATTRIBUTE_SET_HEAD;

                case ARMOR_SHIELD:
                    return ATTRIBUTE_SET_SHIELD;

                case ARMOR_EAR:
                    return ATTRIBUTE_SET_EAR;
                
                case COSTUME_B:
                    return ATTRIBUTE_COSTUME_B;
            }
        } else if (GetType() == ITEM_COSTUME)
            return ATTRIBUTE_COSTUME_B;

     

    ClientManagerBoot.cpp:

    Search for: 2x

    Quote

    str_to_number(t.bMaxLevelBySet[ATTRIBUTE_SET_EAR], data[col++]);

    Add below: 2x

    Quote

    str_to_number(t.bMaxLevelBySet[ATTRIBUTE_COSTUME_B], data[col++]);

     

    Search for: 2x

    Quote

    t.bMaxLevelBySet[ATTRIBUTE_SET_EAR]);

    Add below: 2x

    Quote

    t.bMaxLevelBySet[ATTRIBUTE_COSTUME_B]);

     

    Search for: 2x

    Quote

    "SELECT apply, apply+0, prob, lv1, lv2, lv3, lv4, lv5, weapon, body, wrist, foots, neck, head, shield, ear FROM item_attr_rare%s ORDER BY apply",

    Add below: 2x

    Quote

    "SELECT apply, apply+0, prob, lv1, lv2, lv3, lv4, lv5, weapon, body, wrist, foots, neck, head, shield, ear, costume FROM item_attr_rare%s ORDER BY apply",

    length.h:

    Search for: 

    Quote

    ATTRIBUTE_SET_MAX_NUM

    Add below:

    Quote

    ATTRIBUTE_COSTUME_B,

    in Player.item_attr: add new field and configure as desired;

    #not tested

    • Love 2
  2. <?php
    $Notice="Ide írod a magvas gondolataidat...";
    //a következő 3 sor lehet nem kell, nem próbáltam nélküle
    $cleantext = array( "@", "ö", "Ö", "ü", "Ü", "ú", "Ú", "á", "Á");
    $replacetext = array( "\x40", "\xF6", "\xD6", "\xFC", "\xDC", "\xFA", "\xDA", "\xE1", "\xC1" );
    $Notice = str_replace($cleantext, $replacetext, $Notice);
    
    $socket = socket_create (AF_INET, SOCK_STREAM, SOL_TCP);
    $result = socket_connect ($socket, "szerver IP cím", "P2P port (pl 14000)");
    
    $query = "\x04\x08\x00\x00\x00\x20".$Notice."\x00";
    
    $query_size = strlen($query);
    $write_res = socket_write($socket, $query, $query_size);
    $recv_res = socket_recv($socket, $output, 5056, 0);
    socket_close($socket);
    ?>

    Erro: 

    Fatal error: Call to undefined function socket_create() in /home/notice.php on l                               ine 8

    Can anyone help me fix this problem or do I have a functional script I can share?

    Thank you in advance!

     

    Edit: Fix error but still not working: /

  3. Module Name: C:\Games\Client M2\metin2client.bin
    Time Stamp: 0x5b113e69 - (null)
    
    Exception Type: 0xc0000005
    
    eax: 0xfffffffe	ebx: 0x00000000
    ecx: 0x00680000	edx: 0x00000002
    esi: 0x00000000	edi: 0x00000000
    ebp: 0x0dfcf860	esp: 0x0dfcefa8
    
    0x750b6543	C:\WINDOWS\System32\combase.dll
    0x73ba8490	C:\WINDOWS\System32\RPCRT4.dll
    0x73ba806c	C:\WINDOWS\System32\RPCRT4.dll
    0x73ba839b	C:\WINDOWS\System32\RPCRT4.dll
    0x73ba7193	C:\WINDOWS\System32\RPCRT4.dll
    0x73ba763c	C:\WINDOWS\System32\RPCRT4.dll
    0x73babc81	C:\WINDOWS\System32\RPCRT4.dll
    0x73bac4af	C:\WINDOWS\System32\RPCRT4.dll
    0x73bb24b0	C:\WINDOWS\System32\RPCRT4.dll
    0x76f0e609	C:\WINDOWS\SYSTEM32\ntdll.dll
    0x76f0cd7f	C:\WINDOWS\SYSTEM32\ntdll.dll
    0x76c28484	C:\WINDOWS\System32\KERNEL32.DLL
    0x76f22ec0	C:\WINDOWS\SYSTEM32\ntdll.dll
    0x76f22e90	C:\WINDOWS\SYSTEM32\ntdll.dll
    

    After the latest updates every 5 minutes the client is closed, some explanation or solution?

  4. SYSERR: May 21 15:37:46 :: ModifyPoints: cannot find table by vnum 1539356675
    SYSERR: May 21 15:37:46 :: ItemLoad: cannot create item by vnum 12219 (name Test id 110964162)
    SYSERR: May 21 15:38:23 :: ModifyPoints: cannot find table by vnum 1539356675
    SYSERR: May 21 15:38:28 :: ModifyPoints: cannot find table by vnum 1539356675
    SYSERR: May 21 15:39:21 :: ModifyPoints: cannot find table by vnum 1539356675
    SYSERR: May 21 15:39:25 :: ModifyPoints: cannot find table by vnum 1539356675
    SYSERR: May 21 15:39:28 :: ModifyPoints: cannot find table by vnum 1539356675
    SYSERR: May 21 15:39:31 :: ModifyPoints: cannot find table by vnum 1539356675
    SYSERR: May 21 15:39:43 :: ModifyPoints: cannot find table by vnum 1539356675
    SYSERR: May 21 15:40:01 :: ModifyPoints: cannot find table by vnum 1539356675

    Hello!

    I've been trying to install an infinite arrow system, but I've encountered some errors and I have not been able to solve them. Even downloaded other sources (Best / Titania) that have the system to verify, but without success.

    Erros: 

    - If I create an item the server crashed

    - If I kill a mob the server crashed

    - If I open NPC or quest the server drops 

    - Effect of new arrow left, but no damage

     

    Can anyone help me or pass me files from a source that works?

  5. 
    (gdb) bt full
    #0  buffer_has_space (buffer=0x2eb31100) at buffer.c:247
    No locals.
    #1  0x0826960e in COfflineShop::Broadcast (this=0x2eb31100, data=0x4,
        bytes=-25606) at offline_shop.cpp:514
            it = {<std::tr1::__detail::_Hashtable_iterator_base<std::pair<CHARACTER*                                                                  const, bool>,false>> = {_M_cur_node = 0x3460bfe0,
        _M_cur_bucket = 0x2c0bd224}, <No data fields>}
    #2  0x0826995a in COfflineShop::RemoveAllGuest (this=0x2c0bd160)
        at offline_shop.cpp:163
            pack = {header = 47 '/', size = 4, subheader = 1 '\001'}
    #3  0x0826b322 in COfflineShopManager::ChangePrice (this=0xffffa9c4,
        ch=0x2ba53000, bPos=71 'G', llPrice=Unhandled dwarf expression opcode 0x93
    ) at offlineshop_manager.cpp:535
            pkOfflineShop = 0x2c0bd160
            __FUNCTION__ = "ChangePrice"
    #4  0x08156505 in CInputMain::OfflineShop (this=0x2df6f61c, ch=0x2ba53000,
        data=0x41c13000 "8\a", uiBytes=14) at input_main.cpp:1255
            c_pData = 0x41c13002 ""
            __FUNCTION__ = "OfflineShop"
    #5  0x0815b46e in CInputMain::Analyze (this=0x2df6f61c, d=0x2df6f580,
        bHeader=<value optimized out>, c_pData=0x41c13000 "8\a")
        at input_main.cpp:3483
            ch = 0x2ba53000
            iExtraLen = <value optimized out>
    ---Type <return> to continue, or q <return> to quit---Quit

     

  6. If they run out with an open warehouse, the right one would be to close the warehouse, but the persong is disconnected and it generates this line of error below, does anyone have any idea what it might be?

     

    Edit:

    1 - Only buga if the character is normal, if GM is not buga.

    2- On the test server there is no error.

     

    1009 21:14:51577 :: Traceback (most recent call last):
    
    1009 21:14:51577 ::   File "game.py", line 1296, in OnKeyUp
    
    1009 21:14:51578 :: TypeError
    1009 21:14:51578 :: : 
    1009 21:14:51578 :: 'NoneType' object has no attribute '__getitem__'
    1009 21:14:51578 :: 
    
    	def OnKeyUp(self, key):
    		try:
    			self.onClickKeyDict[key]()
    		except KeyError:
    			pass
    		except:
    			raise
    
    		return TRUE

     

  7. MErdzU4tSx2qCPVaGpBhaA.png

    If I'm using it it gets normal, but if another player uses it it keeps changing depending on the distance between me and the other player, does anyone know what it can be, and a possible solution? Thank you very much in advance!

    MSM:

    Group ShapeData64
    	{
    		SpecialPath			"d:/ymir Work/pc/warrior/"
    
    		ShapeIndex			40063
    		Model				"warrior_Springwear1.GR2"
    		SourceSkin			"warrior_Springwear1.dds"
    		TargetSkin			"warrior_Springwear1.dds"
    	}

     

  8. 1 hour ago, avertuss said:

    elif item.ITEM_TYPE_RING == itemType:
                self.__AppendLimitInformation()
                self.__AppendAffectInformation()
                self.__AppendAttributeInformation(attrSlot)
                self.AppendWearableInformation(itemVnum)

     

    if you have bonuses in item_proto.

    18009    "CintodeLinho+9"    "ITEM_BELT"    0    1    "NONE"    "NONE"    "NONE"    "NONE"    800000    800000    0    0    10    "LEVEL"    50    "LIMIT_NONE"    0    "APPLY_MAX_HP"    1500    "APPLY_NONE"    0    "APPLY_NONE"    0    4    0    0    0    0    0    0    0    0


    It did not work, I tried it that way too, but it did not work ..: /

     

    elif item.ITEM_TYPE_BELT == itemType:
                if itemVnum >= 18000 and itemVnum <= 18089:
                    self.AppendSpace(5)
                    for g in xrange(item.ITEM_APPLY_MAX_NUM):
                        (affectType, affectValue) = item.GetAffect(g)
                        affectString = self.__GetAffectString(affectType, affectValue)
                        if affectString:
                            affectColor = self.GetChangeTextLineColor(affectValue)
                            self.AppendTextLine(affectString, affectColor)
                            
                for i in xrange(item.LIMIT_MAX_NUM):
                    (limitType, limitValue) = item.GetLimit(i)

                    if item.LIMIT_REAL_TIME == limitType:
                        self.AppendMallItemLastTime(metinSlot[0])

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