Jump to content

GDTR

Member
  • Posts

    22
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

Posts posted by GDTR

  1. 13 hours ago, GeoGeo123 said:

    merhaba, araç için teşekkürler harika, ama bu hata hakkında bir şey biliyor musun?
    (3ds max'ta içe aktarırken)

      İçeriği gizle

    nMGkzqm.png

    ve bu

      İçeriği gizle

    animasyonla model içe aktarma işleminden sonra bazı kemikler doğru yerde değil
    bmALLHv.png

    jMRVzJx.png

     

    Hello, unfortunately

    • Metin2 Dev 1
    • Good 1
    • Love 1
  2. M2 Download Center

    This is the hidden content, please
    ( Internal )

     

    <?php
    
    class SocketConnection {
          
        private $m_socket;
        private $m_recv_buf;
       
        public function __construct()
        {
            $this->m_socket = 0;
            $this->m_recv_buf = "";
        }
    
        public function Connect($host, $port, $timeout)
        {
            $this->m_socket = fsockopen($host, $port, $errno, $errstr, $timeout);
    
            if (!$this->m_socket)
            {
                echo(sprintf("%s (%d)<br>\n", $errstr, $errno));
                return false;
            }
    
    
            return true;
        }
    
        public function Recv($len)
        {
            $this->m_recv_buf = fread($this->m_socket, $len);
        }
    
        public function Send($buf)
        {
            fwrite($this->m_socket, $buf);
        }
       
        public function GetRecvBuf()
        {
            return $this->m_recv_buf;
        }
    
    }
    
    class GameConnector
    {
        private $m_socketConnector;
    
        public function __construct($host, $port)
        {
            $this->m_socketConnector = new SocketConnection;
    
            if (!$this->m_socketConnector->Connect($host, $port, 5))
                return false;
    
            $this->m_socketConnector->Recv(32);
    
            $recvBuf = $this->m_socketConnector->GetRecvBuf();
           
            if (ord($recvBuf[0]) != 253)
            {
                echo("GameConnector does not handle this packet!");
                return false;
            }
        }
    
        public function Send($str)
        {
            $this->m_socketConnector->Send("@".$str."\n");
            $this->m_socketConnector->Recv(64);
        }
    
        public function GetBuffer()
        {
            return $this->m_socketConnector->GetRecvBuf();
        }
       
    }
    
    $host = "192.168.1.120"; //ip adresi
    $port = 13000; // port
    $api = new GameConnector($host, $port);
    $api->Send("sjefjfhsfjkfs1"); // p2p şifre
    $api->Send("NOTICE Web Uzerinden Bildirim Yolla Testi 2"); // Komut
    $apiBuf = substr($api->GetBuffer(), 0, -1);
    
    if(empty($apiBuf))
    {
        echo "Game did not respond";
        exit;
    }
    
    if(is_numeric($apiBuf[0]))
    {
        $userCount = explode(" ", $apiBuf);
        echo sprintf("Total[%d] %d / %d / %d (this server %d)", $userCount[0], $userCount[1], $userCount[2], $userCount[3], $userCount[4]);
        exit;
    }
    
    if($apiBuf=="UNKNOWN")
        echo "Command send and executed no custom response";
    else
        echo $apiBuf;
    ?>

    source

     

    • Metin2 Dev 6
    • Eyes 1
    • Good 4
    • Love 10
  3. cmd.h open: 

     

    search>

    extern void SendNoticeMap(const char* c_pszBuf, int nMapIndex, bool bBigFont);

    add on top>

    extern const char * userDC(const char * userName);  

    cmd_gm.cpp open:

    search>

    void SendLog(const char * c_pszBuf)
    {
        const DESC_MANAGER::DESC_SET & c_ref_set = DESC_MANAGER::instance().GetClientSet();
        std::for_each(c_ref_set.begin(), c_ref_set.end(), log_packet_func(c_pszBuf));
    }

    add on top>

    const char * userDC(const char * userName)
    {
    
        LPDESC d = DESC_MANAGER::instance().FindByCharacterName(userName);
        LPCHARACTER    tch = d ? d->GetCharacter() : NULL;
    
        if (!tch)
        {
            return "Player not in game";
        }else{
            DESC_MANAGER::instance().DestroyDesc(d);
            return "Player kicked out";
        }
    
    
    }

    input.cpp open:

     

    search:

    else if (!stBuf.compare(0, 3, "DC "))

    change code completely

     

    else if (!stBuf.compare(0, 3, "DC "))
                    {
                    
                    
                        std::string msg = stBuf.substr(3, LOGIN_MAX_LEN);
    
                     ///  dev_log(LOG_DEB0, "DC : '%s'", msg.c_str());
    
    
                        stResult = userDC(msg.c_str());
                    
                        /*TPacketGGDisconnect pgg;
    
                        pgg.bHeader = HEADER_GG_DISCONNECT;
                        strlcpy(pgg.szLogin, msg.c_str(), sizeof(pgg.szLogin));
    
                        P2P_MANAGER::instance().Send(&pgg, sizeof(TPacketGGDisconnect));
    
                        // delete login key
                        {
                            TPacketDC p;
                            strlcpy(p.login, msg.c_str(), sizeof(p.login));
                            db_clientdesc->DBPacket(HEADER_GD_DC, 0, &p, sizeof(p));
                        }*/
                    
                    }

    @xP3NG3Rx @WeedHex

    Test:

     

    • Love 6
  4. 0617 22:48:14965 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010).  Automatic conversion will be attempted.
    0617 22:48:15266 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/emoticon/klicon.mse) Error
    0617 22:48:15266 :: CInstanceBase::RegisterEffect(eEftType=106, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/emoticon/klicon.mse, isCache=0) - Error
    0617 22:48:17934 :: Failed to load script file : uiscript/attachstonedialog.py
    0617 22:48:17934 :: error  : No file or directory
    0617 22:48:17938 :: 
    ui.py(line:3115) LoadScriptFile
    system.py(line:192) execfile
    system.py(line:161) Run
    system.py(line:176) __LoadTextFile__
    system.py(line:61) __init__
    
    LoadScriptFile1 - exceptions.IOError:No file or directory
    
    0617 22:48:17939 :: ============================================================================================================
    0617 22:48:17939 :: Abort!!!!
    
    
    0617 22:48:17939 :: 
    uiAttachMetin.py(line:21) __LoadScript
    ui.py(line:3121) LoadScriptFile
    exception.py(line:36) Abort
    
    AttachStoneDialog.__LoadScript.LoadObject - exceptions.SystemExit:
    
    0617 22:48:17940 :: ============================================================================================================
    0617 22:48:17940 :: Abort!!!!
    
    

     

     

    HELP ME PLS.....

  5. Hello

    ZEVVjV.png

     

    0617 00:08:30890 ::   File "game.py", line 1908, in BINARY_Cube_ResultList
    
    0617 00:08:30890 :: ValueError
    0617 00:08:30890 :: : 
    0617 00:08:30890 :: invalid literal for int(): 
    0617 00:08:30890 :: 
    
    0617 00:08:49370 :: Traceback (most recent call last):
    
    0617 00:08:49371 ::   File "game.py", line 1869, in BINARY_Cube_Open
    
    0617 00:08:49371 :: KeyError
    0617 00:08:49371 :: : 
    0617 00:08:49371 :: materialList
    0617 00:08:49371 :: 
    
    0617 00:09:10935 :: Traceback (most recent call last):
    
    0617 00:09:10935 ::   File "game.py", line 1908, in BINARY_Cube_ResultList
    
    0617 00:09:10935 :: ValueError
    0617 00:09:10935 :: : 
    0617 00:09:10936 :: invalid literal for int(): 
    0617 00:09:10936 :: 

    Error

     

    How to show icons

     

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